Julia Benevides

Output Devices

Servo Motor

Also something that pertains to my final is maybe using servo motors to move the eyes around and the eyelids.

It seems relatively straightforward I thought I could just plug it into a main board I am designing. Going off of the example Adrian Torres made I used that for all my breakout boards to attach to. Which I will probably make a new one later down the line.

I grabbed a servo motor and just want to understand how to get code to move it. I went to one of the professor's at my school named Fred Wolflink to just talk about my final project with and he explained to me the inner workings of servos.

So I then downloaded the servo rp2040 library to use some example code to do a sweep, which would be the general motion I would use. I didn't do anything fancy and just wanted to be able to have some output for this week and to understand how I could go about using it.

So I connected the GND, 5V, and pin 3 to the servo, and played around with the speeds of the pulses. The odd thing was even after changing the angle it would alwyas stay at 90Degrees. Which is what I did for doing an output assignment.