Week 10

This week I programmed a stepper motor to turn.

I used A9488 Chip to program the stepper motor.


First I used an arduino bread board with SAMD21 to figure out the connections.

Here are the connections for the stepper motor.

I connected a jaw on the stepper motor to make it look like a mouth opening and closing.
.jpg)
I used arduino IDE to program the motor and here's my code for the SAMD21E18 arduino board.
.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


The motor worked and the jaw opened and closed, here's a link of the movement in my final project.