07 October 2019

ServoDog

You can learn a lot about a dogs emotion by the movement of their tail. The goal of my servo project is to create a cartoon dog that conveys three different emotional states: alertness, excitement, and sadness/shame.

The dog was illustrated on card stock that was cut out and mounted to a piece of cardboard. A hole was made in the cardboard for the servo motor which has the dog's tailed tapped to it.

When the Arduino sketch is started, the dog loops through the programmed emotions; first sadness, then alert, and finally happiness. I used for loops and delays to control how long long the dog stays in each emotional state as I could not get millis() working the way I wanted.







Servo Schematic

ServoDog Sketch



No comments:

Post a Comment

Note: Only a member of this blog may post a comment.