From the course: Learning Arduino: Interfacing with Hardware
Schalten Sie den kompletten Kurs noch heute frei
Join today to access over 23,300 courses taught by industry experts.
The LCD interface - Arduino Tutorial
From the course: Learning Arduino: Interfacing with Hardware
The LCD interface
- [Narrator] Now let's take a look at how to interface the 16x2 LCD with Arduino board. So as mentioned previously, the HD controller chip uses a series of 16 interface pins. Now, let's take a closer look at each of the pins. The first two pins are VSS, which is the ground, you need to connect this to Arduino, in order to keep a common ground. The second pin is VDD, which is the source power. And you are going to connect it, to the five volt Arduino board. So pin one and pin two are the power supply pins. Pin three is the Display Contrast pin. You are going to connect it to a potentiometer. This pin, is used for controlling the brightness of the screen. This is accomplished by adjusting the power supply voltage to the LCD. Pin four, which is RS, that refers to Register Select pin. This controls where in the the LCD memory you're writing the data to. And we have two modes for it, Low and High. So for this specific LCD,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Inhalt
-
-
-
(Locked)
Introduction to the liquid crystal display (LCD)1m 29s
-
(Locked)
Understanding HD4470 controller1m 58s
-
(Locked)
The LCD interface2m 44s
-
Wire up the LCD5m 6s
-
(Locked)
Coding the LCD interface4m 31s
-
(Locked)
Optional review: Understanding "for" loops3m 36s
-
(Locked)
Optional review: Understanding arrays2m 3s
-
(Locked)
Displaying random numbers and scrolling4m 5s
-
(Locked)
-
-
-
-