Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

LiquidCrystal - "Hello World!" wires to pins 12 and 11 are reversed

Open cague opened this issue 11 years ago • 2 comments

http://arduino.cc/en/Tutorial/LiquidCrystal

This wiring image is wrong. http://arduino.cc/en/uploads/Tutorial/LCD_bb.png

The blink code says to LCD RS pin to digital pin 12 LCD Enable pin to digital pin 11

The image incorrectly wires 12 to R/W and 11 to RS. See HD44780 spec, RS = 4, R/W = 5 Also, just try wiring like the image, and it won't work. Switch pins 12 and 11, and it works okay.

cague avatar Feb 20 '15 04:02 cague

Just comments.

While I share your concern for correct info I cannot help to wonder WHY is a machine (?) generated wiring diagram so important. Apparently INSTRUCTIONS what to connect where and / or schematic no longer work? Does the average experimenter really follows the wiring diagram as presented instead of checking the schematic? Just asking.

And what is wrong correcting the "error" in software? But you are right, the error is in hardware so it should be corrected there.

BTW the R/W means "read / write" not "enable". But nobody uses LCD memory to read from anyway so it does not matter.

JulyJim avatar Feb 20 '15 04:02 JulyJim

Updated thank you

agdl avatar Feb 20 '15 08:02 agdl