NEMA 17 Closed Loop Controller
Hardware- 5 Devlogs
- 8 Total hours
As the name says I want to make a closed loop controller for the nema 17 stepper motor with an Attiny45
As the name says I want to make a closed loop controller for the nema 17 stepper motor with an Attiny45
Swapped to OPTIBOOT bootloader
I have been working on getting micronucleus to work on a attiny 84 over the past 3 weeks. Though due to me using a breabaord micronucleus was unreliable, I spent many hours trying to debug it, but was unable to. I am now working on swapping to the optiboot, a bootloader where I will use a USB to UART to program my attiny 84 instead of raw USB. I am currently waiting for my USB to UART converter to ship.
Bellow is the new block diagram
Devlog 4: Working on breadboard
I managed to wire the breadboard for the programmer of the attiny84, but after burning the micronuclues bootloader onto the Attiny I realized I did not have a USB-C data cable, it should be coming in the next few days.
With it should come a complete breadboard prototype and a PCB design ready for printing!
Devlog 3: Got AS5600 and USB-C Working
I soldered for the first time today.
After alot of issues with my solder wick getting caught and over soldering joints I got both my USB-C and AS5600 breakout boards to work.
Bellow is an image of the as5600 magnetic angle encoder working and part of the code used to test it.
Full Finished Schematic
I managed to complete the schematic, and get to 0 KICAD errors. In the process I realized I had to swap from an ATtiny 45 to 84 for more GPIO pins
What is next:
I ordered the parts to build a breadboard prototype. It should be coming soon. The next devlog will be about the physical prototyping.
Nearly Whole Schematic Done
I have the whole schematic done and validated. The imaged attached is just for the driver, I have an encoder, atiny45 and shift register I’ve wired. I now need to purchase the parts for the breadboard test before getting this PCB printed. LMK what you guys think of the project!