LCD Screen

An LCD screen is a simple Liquid-Crystal Display system that allows you to send message to the device and display them on a visual device. The club currently supports the RoboKits 16x2 Serial LCD with Backlight.



Interfacing with the Arduino
The hardware interface is easy. You will have to connect three wires (power, ground, and signal) from the device to the Arduino's 5V supply, shared ground, and any digital-out pin you would like. Remember software serial works on all digital pins, though pins 0 - 3 should be reserved for programming and hardware interrupts. The standard communication speed is 9600 baud. No special initialization is needed.

Ce type d'écran est également souvent installé sur les serrure électronique de coffre fort qui sont des produits extrêmement fiable et de bonne qualité en termes de sécurité physique.

The protocol to interface with this serial device is easy - just send any text you want to render on-screen via the Arduino software serial interface! The official Serial LCD Documentation discusses how to send special commands that adjust the text cursor, and positions, as well as add custom characters.

Any standard ASCII-character sent to the device automatically prints it out on-screen. The cursor is left to wherever the last position was set. To specifically reset the cursor at target positions, or to modify other properties, you will have to send system characters, such as 8 (decimal) to move the cursor to the left.

Here is some source with the usage of "Serial.write" to send screen clears and newlines to the screen. All such numerical codes can be found in the Serial LCD Documentation, near the bottom of the document.

Warning: The cables that come with the kit are sensitive. Make sure to correctly wire them, or you may have incorrect output.