Homework 5: Mood Cue
Personally, building this project is much easier than the last one because there aren’t that many components. The problem I met in this project is that the potentiometer didn’t connect that well which cause the motor moves unpredictably.
For the challenge part, I used a phototransistor and a temperature sensor to control the angle of the motor by simply adding up the two converted values after they received. At first, I map the value to angel from 0-180, but I found that I don’t really need that huge angle so I narrowed it down to be from 30-150 and it works as I expected.