Class: Technology, Arduino
Hardware:
- Arduino Uno
- Breadboard Circuit
- Jumper Wires
- DHT11 sensor x 1
- Mini Servo Motor x 2
Software:
- Arduino
Task:
The idea was to program servo motors to rotate according to humidity and temperature as an input. I used two servo motors and DHT 11 sensor. When temperature gets higher than 26c, servos start rotating for 180, when the temperature goes down, they rotate back.Assembly:
I prepared all the components. After I began to wire them, actually it took much time, because I didn’t know how how to do that. I started searching on www.instructables.com for similar projects, i found some and began to create the code. When I finished it all worked well, servos were rotating according to the temperature and humidity. I was really proud of myself. You can check my code at the end of the post.
Arduino Uno code servo DHT11