Week 10
![](images/final12.jpg)
This week I programmed a stepper motor to turn.
![](images/wk10-5.jpg)
I used A9488 Chip to program the stepper motor.
![](images/wk10-4.jpg)
![](images/wk10-6.jpg)
First I used an arduino bread board with SAMD21 to figure out the connections.
![](images/wk10-11.jpg)
Here are the connections for the stepper motor.
![](images/wk10-3.jpg)
I connected a jaw on the stepper motor to make it look like a mouth opening and closing.
![](images/wk10-2(D21).jpg)
I used arduino IDE to program the motor and here's my code for the SAMD21E18 arduino board.
![](images/wk10-2(D21).jpg)
Once i figured out the connnections in the bread board I used my SAMD11 to program it, and here's the code for SAMD11 PCB
![](images/wk10-7.jpg)
![](images/wk10-8.jpg)
The motor worked and the jaw opened and closed, here's a link of the movement in my final project.