Project: Weather Display
Objective: create a display to show the weather conditions or temperature for the day using a servo motor to control a plastic arm that would indicate the current weather.
Process:
I started to work with the servo motor by creating a function that would take a number (between 0 and 180) as input to represent the angular position and position the servo accordingly.
After successfully getting the initial function to work, I created two new functions that would (1) take temperature between 0 and 100 degrees as input or (2) take weather (mapped to discrete numbers 1 through 4) and move the servo hand to the corresponding angle for that temperature or weather type.
You can upload files of up to 20MB using this form.