2

I found hundreds of questions about display not working with arduino. However, no matter how trivial this looks like I am having the same problem I cannot understand by reading the other posts.

I have an Arduino micro connected to a display from the adafruit kit

RGB LCD SHIELD KIT W/ 16X2 CHARACTER DISPLAY

I haven't been able to understand whether positive or negative, but I think from the picture is RGB positive.

I have connected everything as shown in the diagram in this page:

LCD "Hello World!"

enter image description here

enter image description here

Obviously changing the pins as I have

RS at 8
E at 7
d4 = 12
d5 = 11
d6 = 10
d7 = 9;

The potentiometer changes the contrast, if I saturate it I can see the black boxes.

In the code put this as

const int rs = 8, en = 7, d4 = 12, d5 = 11, d6 = 10, d7 = 9;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

I checked with the multimeter whether the soldering is good and it carries the signal at the end of the wires.

and the rest as the example in the link,

This is my mess (please ignore the other arduino and the thermocople which is not connected, the other orange wire goes to GND of the Arduino).

enter image description here

Any ideas that might help?

  • 1
    If you also have an Arduino Uno, I would try exactly the example on your link, to see if at least you haven't a bad display. – next-hack Aug 24 '17 at 6:24
  • Agreed. Whether or not you use Nano or Uno, wire it up precisely according to the instructions with no changes. Test it that way first. Then you can make changes as you like. – SDsolar Aug 24 '17 at 22:47
1
  1. disconnect the E line, power up the system and adjust the contrast so you see 1 black bar on the first line;

  2. reconnect the E line and see if your code is working.

  3. go from there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.