Ouput Devices



Stepper Motor Tests



5 rotation tests, 1'39''


Files:
hello.stepper.bipolar.44.leftright.c
hello.stepper.bipolar.44.rotate.c
hello.stepper.bipolar.44.rotateonce.c
traces interior components Eagle





#1 Board Design and Making : Stepper + Button + LED


To prepare my final project and learn stepper motor, I reference Neil's hello.stepper board. From the board, I add one switch and LED light to add a part to control the model.


01


02


03


04


05


06

Even before solder the first component ATiny44, I realized that I had a missing line connecting PA2 and VCC. Roughly, it tooks 30 minutes to mill the board, I just tried to link those by making solder bridge. After I made the bridge I check beep sound with digital multimeter and It worked well.
07


After I finished this board, I found that this board is not programmable. First, I thought my temporary solder bridge under ATiny44 made some problem, but it wasn't.I realized that I placed mofset rather than regulator on my board since REGULATORSOT23 and NMOSFETSOT23 in Eagle_fab look similar. after that I update those 2 part, missing PA2 and regulator, I made a board again.


11

11



#2 Programming :hello.stepper.bipolar.44 + more



I programmed the board with the Neil's hello.stepper.bipolar.44.c. On the top of the code, I add some code to operate my button and LED. The detail codes and video are documented at the top of this page.



#3 How can I control rotation velocity and angle of stepper motor?



To be continued...