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 -
1 view
32
3
4 weeks ago 02:01:18 1
Half-Life 2: 20th Anniversary Documentary
1 month ago 00:09:01 1
Anna Amalie von Preußen (1723-1787) - Sonata per il Flauto traverso (1771)
1 month ago 00:04:23 3
Type O Negative — Love You To Death [PIANO COVER]
1 month ago 00:15:40 1
15 Best Scrambler Motorcycles of 2024-2025 | Under $15,000
2 months ago 00:03:39 1
The Proclaimers - I’m Gonna Be (500 Miles) (Official Music Video)
2 months ago 02:02:22 1
A State of Trance Episode 843 (#ASOT843)
2 months ago 00:05:58 2
Michael Jackson - Thriller (Lyrics)
2 months ago 00:27:57 1
Три дня мировой славы. Как Казань провела 16-й саммит стран БРИКС | Репортаж недели
2 months ago 00:02:28 1
She Keeps Bees - Blind To The Cup (Official Video)
2 months ago 00:14:52 1
“Ethnic Cleansing“: Israeli Group B’Tselem Calls for World to Stop Israel’s Siege of Northern Gaza
2 months ago 05:53:31 1
Hernan Cattaneo b2b Sasha Live In Denver HQ Remastered
2 months ago 00:03:48 1
Gus vs LITERALLY everyone
2 months ago 00:04:07 1
Everything But The Girl - Missing (Todd Terry Remix) [Official Music Video]