<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Project on &gt; Mattias Zurković</title><link>https://mattiasz.com/blog/categories/project/</link><description>Recent content in Project on &gt; Mattias Zurković</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 29 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mattiasz.com/blog/categories/project/index.xml" rel="self" type="application/rss+xml"/><item><title>Agentic PCB Development</title><link>https://mattiasz.com/blog/agentic-pcb-development/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0000</pubDate><guid>https://mattiasz.com/blog/agentic-pcb-development/</guid><description>&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;Recently I started designing a control board for hobby-style brushless motors. Part of this requires actually developing a PCB: schematics, component placements, and traces. In my daily work life as a software engineer, I have re-structured my workflow to leverage the power of AI Agents: I use agentic skills and loops to fully automate any manual and high-effort tasks, for example the act of writing software.&lt;/p&gt;
&lt;p&gt;Agents excel in this kind of work: repetitive, high-effort (for a person), and testable tasks. Since I have not touched KiCad in several years, I thought I would develop an agentic harness to do just that: build the PCB for the motor controller.&lt;/p&gt;</description></item><item><title>Building a Database in Rust from Scratch - GaribalDB</title><link>https://mattiasz.com/blog/garibaldb-database-in-rust/</link><pubDate>Thu, 22 Oct 2026 00:00:00 +0000</pubDate><guid>https://mattiasz.com/blog/garibaldb-database-in-rust/</guid><description>&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;One of the main pieces of advice I give as a software engineer is to understand the fundamentals. A piece of advice I have heard that is similar is &amp;ldquo;understand the layer below&amp;rdquo;. Essentially, to know how the tools and systems you use are actually built. The main advantage I have noticed in this comes up during the decision making process during design reviews. For example, when evaluating several technologies, knowing the layer below helps drive which criteria actually matter.&lt;/p&gt;</description></item><item><title>VFD Inverter Prototyping</title><link>https://mattiasz.com/blog/vfd-inverter-prototyping/</link><pubDate>Wed, 24 Nov 2021 22:49:00 -0800</pubDate><guid>https://mattiasz.com/blog/vfd-inverter-prototyping/</guid><description>&lt;p&gt;I began prototyping the VFD circuit discussed in the previous post, specifically the inverter stage. I modified it to be a single-phase full bridge inverter instead of the three-phase simulated. This is due to me using a single-phase shaded pole induction motor for testing down the line - 120 V, 60 Hz on the nameplate. Here is an image of the circuit:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Full-bridge inverter circuited&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Before making the circuit, I simulated the inverter in LTSpice. Similar to the PSIM simulation, a bipolar switching scheme is being generated for the SPWM signal.&lt;/p&gt;</description></item><item><title>AS5048A Magnetic Encoder and STM32</title><link>https://mattiasz.com/blog/as5048a-magnetic-encoder-and-stm32/</link><pubDate>Thu, 07 Oct 2021 22:14:00 -0700</pubDate><guid>https://mattiasz.com/blog/as5048a-magnetic-encoder-and-stm32/</guid><description>&lt;p&gt;This past week I began to write the controller firmware - mainly playing with the AS5048A angular position sensor from AMS. Here is the &lt;a href="https://ams.com/documents/20143/36005/AS5048_DS000298_4-00.pdf/910aef1f-6cd3-cbda-9d09-41f152104832" target="_blank" rel="noopener"&gt;datasheet&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;This sensor will be used to get the rotor position and then compute the resulting electrical angle for the Clarke/Park transforms and also it will be used to find rotor speed for the out loop.&lt;/p&gt;
&lt;p&gt;I will be using an STM32F446 board to run the loop as it has a high clock speed. The AS5048A sends its measurements over SPI. Below is the read package sent from the sensor:&lt;/p&gt;</description></item><item><title>Revised CNC Mill Design</title><link>https://mattiasz.com/blog/revised-cnc-mill-design/</link><pubDate>Wed, 15 Sep 2021 12:48:00 -0700</pubDate><guid>https://mattiasz.com/blog/revised-cnc-mill-design/</guid><description>&lt;p&gt;In the last post I fixed some of the clearance and parts issues for the x-axis assembly for the CNC mill. I since applied these same changes to all axes and dialed in most of the components. Here is a image of the full system:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt="Version 2 of the CNC mill design."&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Version 2 of the CNC mill design.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The entire assembly weighs 48 kg which is on the lighter side. To fix this I plan on casting epoxy granite around the y-axis base to add both mass and damping properties.&lt;/p&gt;</description></item><item><title>CNC Mill Axis Assembly Updates</title><link>https://mattiasz.com/blog/cnc-mill-axis-assembly-updates/</link><pubDate>Mon, 13 Sep 2021 22:07:00 -0700</pubDate><guid>https://mattiasz.com/blog/cnc-mill-axis-assembly-updates/</guid><description>&lt;p&gt;In the previous post I mentioned my concerns with the height and amount of parts needed for each axis assembly. The main problem was due to the ball screw (SFU1204) alignment bearings being tall (39 mm). This meant the guide rails and linear bearings needed to match that height in order for the table to clear (to get the full build area range).&lt;/p&gt;
&lt;p&gt;Here is the updated design:&lt;/p&gt;
&lt;p&gt;&lt;img src="img-01.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;The SFU1204 ball screw is being used, along with the BF/BK10 end housings. However, instead of MGN15H linear rails and bearings, a higher profile HGH 25 rails are being used with HGH 25CA linear bearings (&lt;a href="https://www.aliexpress.com/item/1005001597258922.html?spm=a2g0o.productlist.0.0.13f43f20SdjOhC&amp;amp;algo_pvid=ec6a0915-6b43-444c-b9c2-86136c461d7d&amp;amp;algo_exp_id=ec6a0915-6b43-444c-b9c2-86136c461d7d-11&amp;amp;pdp_ext_f=%7B%22sku_id%22%3A%2212000017446206167%22%7D" target="_blank" rel="noopener"&gt;linked here is the plan&lt;/a&gt;). The total height of bearing on rail is 40 mm, which gives 1 mm of clearance which should be enough (if not i can purchase precision &lt;a href="https://www.aliexpress.com/item/32961382024.html?spm=a2g0o.productlist.0.0.fa646ecfhxgI13&amp;amp;algo_pvid=27afc59b-bcc4-4a1e-985e-2e0f537e1ddf&amp;amp;aem_p4p_detail=202109132200533101173026187140075773395&amp;amp;algo_exp_id=27afc59b-bcc4-4a1e-985e-2e0f537e1ddf-0&amp;amp;pdp_ext_f=%7B%22sku_id%22%3A%2266430723709%22%7D" target="_blank" rel="noopener"&gt;1-5 mm spacers&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>CNC Mill CAD Design</title><link>https://mattiasz.com/blog/cnc-mill-cad-design/</link><pubDate>Sat, 11 Sep 2021 17:53:00 -0700</pubDate><guid>https://mattiasz.com/blog/cnc-mill-cad-design/</guid><description>&lt;p&gt;I started the CAD design for the CNC mill. I had several requirements and goals in mind that led the design process.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The mill can be constructed with the tools available to me&lt;/li&gt;
&lt;li&gt;Minimal parts&lt;/li&gt;
&lt;li&gt;Re-usability of sub-assemblies&lt;/li&gt;
&lt;li&gt;Strong frame&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I came up with this design. The work area is 250 x 180 x 150 mm in the x-y-z directions respectively. I mostly focused on the x and y axes and need a better design for the z gantry where the spindle is attached. There are some shortcomings which will be discussed below.&lt;/p&gt;</description></item><item><title>First Post for a DIY CNC Machine</title><link>https://mattiasz.com/blog/cnc-making/</link><pubDate>Wed, 08 Sep 2021 20:41:00 -0700</pubDate><guid>https://mattiasz.com/blog/cnc-making/</guid><description>&lt;p&gt;I have been wanting to have access to a CNC machine for milling materials. There are several good options available however I think it would be interesting to design and develop one from scratch while also it being cheaper.&lt;/p&gt;
&lt;p&gt;I need to flesh out the requirements for this project however at a high level the CNC machine should be able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mill aluminium parts at decent speeds&lt;/li&gt;
&lt;li&gt;Have a cost of ~$1500 CAD&lt;/li&gt;
&lt;li&gt;Be compact to fit in my laundry or garage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While looking online there are several good designs that hobbyists use to create their CNC mills.&lt;/p&gt;</description></item></channel></rss>