In this article, we will connect the M235 LCD screen, which has little documentation on the Internet, to the Arduino, and make it work.
It is necessary
- - Arduino;
- - a computer;
- - LCD screen Clover Display M235;
- - potentiometer 10 kOhm;
- - connecting wires;
- - breadboard (optional).
Instructions
Step 1
Wiring diagram for LCD screen Clover Display M235 - as in the figure. The M235 display is not backlit, but the contrast of the characters can be adjusted with a 10 kΩ potentiometer.
Step 2
A sketch for displaying a message on the LCD screen of the M235 is shown in the illustration. It is included in the standard Arduino libraries. Open the sketch through the menu: File -> Samples -> LiquidCrystal -> HelloWorld. Load the sketch into Arduino's memory. In older versions of the Arduino IDE, the download was in the "File" menu, in later versions it was moved to the "Sketch" menu. The combination of hot keys remains the same: Ctrl + U. After the firmware, disconnect "Arduino" from the computer.
Step 3
Let's build the circuit on the breadboard - a breadboard. We have already discussed earlier the technique of working with a breadboard. When assembling the circuit, we are guided by the principle: "Measure seven times, cut once"!
When everything is assembled and rechecked, turn on the Arduino. The screen shows the greeting: "Hello, KakProsto" and counts the seconds from the moment of switching on.