LCD 13 to Arduino Digital Pin 3 // Arduino sends LCD data.LCD 12 to Arduino Digital Pin 4 // Arduino sends LCD data.LCD 11 to Arduino Digital Pin 5 // Arduino sends LCD data. LCD 6 to Arduino Digital Pin 11 // Arduino sends LCD data (LCD initiate command).LCD 5 to breadboard negative power rail.LCD 4 to Arduino Digital Pin 12 // Arduino sends LCD data (LCD character coordinates).LCD 3 to potentiometer centre pin // this helps to change the LCD brightness.LCD 2 to breadboard positive power rail.LCD 1 to breadboard negative power rail.DHT11 S pin to Arduino Analog A0 // this feeds data from DHT11 to Arduino.DHT11 negative pin to breadboard negative power rail.DHT11 positive pin to breadboard positive power rail.Arduino 5v to breadboard positive power rail.Arduino GND to breadboard negative power rail.The first thing is the wiring diagram, which is a bit hard to follow, so I’ll add some text to explain which connectors go where: If you have no female connectors, you can push the DHT11 straight into the breadboard and make connections from there. I’ve provided wiring diagrams, code and guidance below, in case anyone is curious. In this experiment, I wanted to hook up a DHT11 temperature and humidity detector module to the Arduino Uno, and output the temp and humidity data to an LCD module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |