lec 5 Flashcards
what benefit is provided with the addition of a display on Arduino
microcontroller does not need to be connected to a computer to display data
what is a 16 by 2 segment LCD
16 columns and 2 rows, capable
of displaying a maximum of 32 characters
how many modes can LCD be controlled by and what are they called
2 modes: 4-bit and 8-bit
how many pins are required for an 8-bit display
and what pins are used
10 pins on digital I/O port
pins D0 through to D7
how many pins are required for an 4-bit display
and what pins are used
6 pins on digital I/O port
pins D4 to D7
what is it called when data is sent in two parts
nibbles
what is Vss and Vdd
two power supply lines for the LCD that will need to have +5volts and ground
applied to them respectively
what is ‘Backlight Anode & Backlight Cathode’
Inside the display there is a LED to provide illumination of the characters. The cathode needs
to be grounded and the anode connected via an external 220 ohm limiting current resistor to
+5 volts
what is VE
Allows control over the contrast of the display, using a voltage between zero and +5 volts.
what is RS
Controls where in the memory of the LCD driver you are writing data to.
what is RW
Tells LCD driver whether you are writing data to the display, or reading data from it. Use +5
volts to read and ground to write to the display
what is E
pin enables data to be written to the registers
what does the function myLCD.clear() mean
All data and text is removed from the display.
what does the function myLCD.home() mean
Moves the cursor to the upper left hand corner of the display (position 0,0). Any print, or write
instructions will result in characters being printed from this location.
what does the function
myLCD.setCursor(column,row) mean
Moves the cursor to the position specified on the display. Any print or write instructions will result
in characters being printed from this new location.