Project 5: Mood

 

Homework 5: Mood Cue

In this one we are going forward and will be using a servo motor to help show our Mood to surrounding area. This one was pretty simple to build, and I went Ahead and put the circuit together. 




I also added a simple way to show the moods. This could be done more exquisitely if you feel like it but I did not.

The system works by turning the white nob which will then move the servo motor to have our arrow point in a direction.


Coding 

The coding was pretty simple. This project did require an external library so we could access and use our servo. We set up the code to attach it to pin 9. Then we will read the value and map it to the servo value equivalent so the servo knows where to go.




Finished Product

I had a little issue where the servo was rubber banding then I realized that the image in the book does not properly line up with my kit so I had to move the cathode of the capacitor from the control wire to power wire so it would properly work. This one so far is my favorite. I did robotics in high school and things that deal with motors are fun. The setup was also simple, and the code was not complicated.




Comments

Popular posts from this blog

Personal Project 3: Etch A Sketch

Personal Project 4: Clap Lights

Personal Project 2: Tic Tac Toe