Arduino Nano: Directly Connected 2 X 16 LCD Display With Visuino
Maybe your like
Introduction: Arduino Nano: Directly Connected 2 X 16 LCD Display With Visuino
By BoianMVisuinoFollowMore by the author:


Character LCD Displays are a very commonly used for Arduino projects, to display small amounts of textual information. The most common types are the basic directly connected displays, and the ones with I2C adapter. I already posted Instructable on how to use the I2C version. I also promised that I will post Instructable on how to directly connect the LCD Display.
In this Instructable, I will show you how easy it is to connect LCD Display directly to Arduino Nano without the use of the I2C adapter, and program it with Visuino to display whatever is typed in a Serial Terminal.
Please note that the annotation on some of the pictures in this Instructable will work correctly on some browsers only after you click on the image to expand it.
Please make sure you click on the image to see the annotation showing the correct spot on the image!
Step 1: Components
- One Arduino compatible board (I use Arduino Nano, because I have one, but any other will be just fine)
- One 16x2 LCD Display
- One 10K Potentiometer
- One 220 ohmResistor
- 8 Male-Female jumper wires
- 7 short Male-Male jumper wires
Step 2: Connect VSS, VDD, RS, RW and E Pins of the LCD
- Place the LCD on the Breadboard
- Connect with jumper wire the "VSS" pin of the LCD to Ground of the power bus of the Breadboard(Black wire)(Picture 1)
- Connect with jumper wire the "VDD" pin of the LCD to Power of the power bus of the Breadboard(Red wire)(Picture 1)
- Connect the Male end of one of the Male-Female wires(White wire) to the "RS" pin of the LCD (Picture 2)
- Connect with jumper wire the "RW" pin of the LCD to Ground of the power bus of the Breadboard (Black wire)(Picture 3)
- Connect the Male end of one of the Male-Female (Brown wire) wires to the "E" pin of the LCD (Picture 4)
Step 3: Connect D4, D5, D6, D7, a and K Pins of the LCD
- Connect the male ends of 4 Male-Female jumper wires to the D4(Yellow wire), D5(Green wire), D6(Blue wire), and D7(Purple wire) pins of the LCD (Picture 1)
- Connect the 220 ohmresistor between the "A" pin of the LCD and the Power of the power bus of the Breadboard (Picture 2)
- Connect with jumper wire the "K" pin of the LCD to Ground of the power bus of the Breadboard (Black wire)(Picture 3)
Step 4: Connect the Potentiometer to the V0 Pin of the LCD
- Place the Potentiometer on the Breadboard (Picture 1)
- Connect the middle(wiper) pin of the potentiometer to the "V0" pin of the LCD (Yellow wire) (Picture 2)
- Connect one of the end pins of the potentiometer to the Ground of the Power Bus of the Breadboard (Black wire) (Picture 3)
- Connect other end pin of the potentiometer to the Power of the Power Bus of the Breadboard (Red wire) (Picture 3)
Step 5: Connect Power to the Breadboard
- Connect the Male end of a Male-Female jumper wire(Red wire) to the Power of the Power bus of the Breadboard (Picture 1)
- Connect the Male end of a Male-Female jumper wire(Black wire) to the Ground of the Power bus of the Breadboard (Picture 1)
- Picture 2 shows the completely connected Breadboard
Step 6: Connect to Arduino
- Connect the other end of the Ground wire(Black wire) to Ground pin of the Arduino board (Picture 1)
- Connect the other end of the Power wire(Red wire) to the 5V power pin of the Arduino board (Picture 1)
- Connect the other end of the "RS" wire(White wire) to the Digital 2 pin of the Arduino board (Picture 2)
- Connect the other end of the "E" wire(Brown wire) to the Digital 3 pin of the Arduino board (Picture 2)
- Connect the other end of the "D4" wire(Yellow wire) to the Digital 4 pin of the Arduino board (Picture 3)
- Connect the other end of the "D5" wire(Green wire) to the Digital 5 pin of the Arduino board (Picture 3)
- Connect the other end of the "D6" wire(Blue wire) to the Digital 6 pin of the Arduino board (Picture 3)
- Connect the other end of the "D7" wire(Purple wire) to the Digital 7 pin of the Arduino board (Picture 3)
- Picture 4 shows the all the Arduino and Breadboard connections
Step 7: Start Visuino, and Select the Arduino Board Type
To start programming the Arduino, you will need to have the Arduino IDE installed from here: http://www.arduino.cc/.
Please be aware that there are some critical bugs in Arduino IDE 1.6.6.
Make sure that you install 1.6.7 or 1.6.5, otherwise this Instructable will not work!
The Visuino: https://www.visuino.com also needs to be installed.
- Start Visuino as shown in the first picture
- Click on the "Tools" button on the Arduino component (Picture 1) in Visuino
- When the dialog appears, select Arduino Nano as shown in Picture 2
Step 8: In Visuino: Add LCD Component, and Connect It
- Type "lcd" in the Filter box of the Component Toolbox then select the "Liquid Crystal Display (LCD)" component (Picture 1), and drop it in the design area
- Connect the "RegisterSelect" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 2 ]" channel of the Arduino component (Picture 2)
- Connect the "Enable" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 3 ]" channel of the Arduino component (Picture 3)
- Connect the "Data0" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 4 ]" channel of the Arduino component (Picture 4)
- Connect the "Data1" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 5 ]" channel of the Arduino component (Picture 4)
- Connect the "Data2" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 6 ]" channel of the Arduino component (Picture 4)
- Connect the "Data3" output pin of the LiquidCrystalDisplay1 component to the "Digital" input pin of the "Digital[ 7 ]" channel of the Arduino component (Picture 4)
- Connect the "Out" pin of the Serial[ 0 ] channel of the Arduino component to the "In" pin of the LiquidCrystalDisplay1 component (Picture 5)
Step 9: Generate, Compile, and Upload the Arduino Code
- In Visuino, Press F9 or click on the button shown on Picture 1 to generate the Arduino code, and open the Arduino IDE
- In the Arduino IDE, click on the Upload button, to compile and upload the code (Picture 2)
Step 10: And Play...
Congratulations! You have completed the project.
Picture 1 shows the connected and powered up project.
If you open Serial Terminal in the Arduino IDE or Visuino, type some text and press Enter, you should see the text appearing on the LCD.
Avoid entering lines of text of more characters than the LCD has per line, as you can overflow its buffers.
You may need to adjust the potentiometer to get clearly displayed text.
On Picture 3 you can see the complete Visuino diagram.
Also attached is the Visuino project, that I created for this Instructable. You can download and open it in Visuino: https://www.visuino.com
Attachments
ArduinoLCDInstructable.zipDownload
Tag » Arduino Lcd V0 Pin
-
Do Not Want To Adjust LCD Contrast - Displays - Arduino Forum
-
How To Connect The VO Pin With Potentiometer On Lcd 1602a With ...
-
Liquid Crystal Displays (LCD) With Arduino
-
Controlling 16x2 LCD Contrast Pin By Software (i.e. PWM Pin) Instead ...
-
"Hello World!" | Arduino
-
LCD Display Without Potentiometer And Resistor - Arduino Project Hub
-
Arduino DIY Potentiometer Value Display On LCD 16x2
-
LCD 16×2 Pin Configuration And Working - Linux Hint
-
Arduino Hooking Up LCD Without POT
-
Arduino UNO Tutorial 10 - LCD - HobbyTronics
-
LCD Voltage Inputs For LCD Displays Explained - Focus LCDs
-
Arduino 16×2 LCD Tutorial – Everything You Need To Know
-
Arduino DIY Potentiometer Value Display On LCD 16x2
