The Almost Complete Guide to the 1602 LCD and Arduino

The Almost Complete Guide to the 1602 LCD and Arduino In this video we go step by step in connecting the 16x2 LCD in 4 bit parallel to an Arduino Uno along with a DHT11 sensor. ------------------------------------------------------------------------- HERE IS THE CODE IN THE VIDEO ------------------------------------------------------------------------- #include “LiquidCrystal.h“ #include “DHT.h“ #define DHTPIN 8 #define DHTTYPE DHT11 const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); DHT dht(DHTPIN, DHTTYPE); void setup() { (); (16, 2); (“learnelectronics“); (0,1); (“ 1602 LCD DEMO“); delay(2000); (); } void loop() { (0,0); float f = (true); (“Temp: “); (f); (“F“); (0,1); float h = (); (“Rel Hum: “); (h); (“%“); delay(1000); } Get 5 boards in about a week for $22! ************************************************************************* *Please help support this channel at NO COST TO YOU. If you shop on* *Amazon, please use this link: * *I will get a small commission and it costs you nothing. * ************************************************************************* Learnelectronics Merchandise: Yes!! I now have merch: Electronics themed T-Shirts! ---------------------------------------------------------------------------------------------------------------- HEY YOU ABOUT TO POST SOMETHING STUPID: Yes, I know my hands are large/fat. It’s because of a heart condition I suffer from called Congestive Heart Failure. Here’s a link to some information about CHF: One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face.. -------------------------------------------------------------------------------------------------------------------- Amazon Store: If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ Please check out and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. Your help is appreciated. --------------------------------------------------------------------------------------------------------------------- Donation: you’d like to send a one-time donation you can use this link: --------------------------------------------------------------------------------------------------------------------- Gear I use: DMM: Owon B33 - Power Supply: Matrix 3206 - Portable O’scope: YEAPOOK ADS1013D - Bench O’Scope:Hantek DSO2D15 - Soldering Station - KSGER T12 - Multimeter leads: Probemaster -
Back to Top