Class: Technology, Arduino



  • Arduino Uno
  • Breadboard Circuit
  • Jumper Wires
  • DHT11 sensor x 1
  • Mini Servo Motor x 2


  • Arduino


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.


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 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  

Tags: , ,

Trackback from your site.

address: 20 Myasnitskaya ulitsa
(metro stations ‘Lubyanka’ and ‘Kitay-Gorod’)
Moscow 101000 Russia

phone: +7(495)772-95-90 *15026