Comments on: Controlling a 40 x 2 character LCD with Arduino Uno and the LiquidCrystal Library https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/ Hobby robotics and electronics with Arduino, ESP82666 and Raspberry Pi Mon, 11 May 2015 03:30:07 +0000 hourly 1 https://wordpress.org/?v=5.6.11 By: Stan https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/#comment-140059 Mon, 11 May 2015 03:30:07 +0000 http://42bots.com/?p=468#comment-140059 In reply to S.Wood.

I did not need to do anything special to get mine working…Are you sure you got the pins of the 40×2 modules right?

]]>
By: S.Wood https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/#comment-140030 Mon, 11 May 2015 00:32:37 +0000 http://42bots.com/?p=468#comment-140030 Hello
I have 2 of the 40×2 lcd modules described in your tutorial.
I have a 16×2 lcd running ok a breadboard and Arduino.
I ran a 2’nd set of wires to the 40×2 from the breadboard and rechecked wiring
to confirm correct pin names to pin names (The names are the same on both modules)
Changed Lcd.begin to (40, 2) ,compiled and downloaded to Arduino.
The 16×2 still works, but the 40×2 does not (I tried the other 40×2 also)
Any ideas ?
I have used the 40×2 with an 8052 Basic with a 6 line initialization routine that repeated 8 bit mode 3 times before new commands were sent. This was to clear any cobwebs in case the 40×2 didn’t wake up right. I’m wondering if the lcd library has this in it.
It is very possible I missed a step.

Thanks , S.Wood

]]>
By: Stan https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/#comment-11798 Mon, 21 Jul 2014 14:14:01 +0000 http://42bots.com/?p=468#comment-11798 In reply to Erik Burman.

Thanks for the tip on the clear function!

]]>
By: Erik Burman https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/#comment-11721 Sun, 20 Jul 2014 16:41:21 +0000 http://42bots.com/?p=468#comment-11721 I had a similar surplus 40×2 module lying around with the same chip set that you show in your example photo. Following your tutorial I was able to wire it up correctly and get it running. Thanks!
Also I found that the lcd.clear() function does not work properly unless followed by a 1 millisecond delay:

lcd.clear();
delay(1);

Apparently the larger displays need a little time to catch up before moving on to the next instruction.

]]>
By: Wagner https://42bots.com/tutorials/controlling-a-40-x-2-character-lcd-with-arduino-uno-and-the-liquidcrystal-library/#comment-22 Tue, 26 Nov 2013 22:42:18 +0000 http://42bots.com/?p=468#comment-22 Nice tutorial!

]]>