Experiments 5.x: Arduino LCD Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,508
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 19, 2011

This short video looks at the different options available for connecting an LCD character display to an Arduino. It uses a wide set of displays: The nuelectronics display shield, 20x4, 20x2,16x2 and 8x2 display modules. It shows the code that you need to create an example display and describes the use of the POT in the display. The modules used are the nuelectronics display shield, JHD 204, WH1602, CM200200 and a YJ 802A. This experiment is part of an introductory module to Digital and Analogue Electronics at Dublin City University, Ireland: http://www.eeng.dcu.ie/~molloyd/EE223/

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (DerekMolloyDCU)

  • any way to connect more than 1 16x2 lcd to the arduino? (5lcd)

  • @fabiuh991 Yes, but you have to be careful in the display that you choose. With this display type there are 4-bit and 8-bit displays, so it should be possible to connect at least 2 4-bit displays - you may have to do some clever programming though. If you are looking at more than 2 displays, I2C Serial LCD displays that need only 2 wires and you could have up to 7 LCD displays on the same I2C bus. Web4Robot have some for sale at around $15.

  • Wow, that was quick! Thanks a lot... I needed the PWM pins to control my servos so couldn't compromise them for the LCD. Oh and is there a way to control my servos without PWM? I'm planning to use an Arduino Mega 2560 which has 54 digital I/O pins out of which 14 and PWM. But My project uses 17 servos...

  • @flymerlion Do a search for the TLC5940 - It's a 16 channel 12-bit PWM unit. It could be your solution (well for 16 of your 17 servos!) - about $6 from Sparkfun and others, Derek.

  • Hey umm, do you need to connect the LCD digital pins to the Arduino's PWM outputs or is it alright if we connect them to the normal digital I/O pins?

  • @flymerlion It's okay to use the regular digital I/O pins as there is no 'dimming' functionality required here. I think that in the RGB LED example I had to avoid using the PWM pins as I needed them to drive the three RGB channels.

Top Comments

  • boo for lead free solder

    2% flux lead thin 40/60 best

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • i have a rgb lcd as you have in one of your tutorial, but i cant get it to work! have a simple code, just a txt, but it is just blinking : s like in a a old computer, a squere that is blinking

  • @DerekMolloyDCU Wow, that was quick! Thanks a lot... I needed the PWM pins to control my servos so couldn't compromise them for the LCD. Oh and is there a way to control my servos without PWM? I'm planning to use an Arduino Mega 2560 which has 54 digital I/O pins out of which 14 and PWM. But My project uses 17 servos...

  • weird way to instantiate object O_o

  • uh is it that handy to put wire connections on pin 0 and 1 ? since these are serial pins ...

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more