I am working on a school project and I have to make two arduino uno communicate together, one will be Master and the other will be the slave.
I am using Two Arduino UNO with Two 16X2 LCD display attached to each other and two potentiometers at both arduino to determine the sending values (0 to 127) from master to slave and slave to master by varying the potentiometer.
The problem is that the lcd display doesn't display anything. The code compiles, and I made the connections as described in the link that I found online.
The project is describet in the link below, but I can't find the error.
Can someone help me with any suggestion how to solve this problem and make it work?
Thank you!
Please read the sticky so you know what information we need to give you any suggestions on how to solve this, and add all the missing parts to this thread.
If you try the "Hello World" example sketch from the LiquidCrystal library on each Arduino do you get a display? That is, do not worry about I2C or reading the pot, just get the displays working, by themselves, on each Arduino.
If the displays are controlled over I2C as well (I wouldn't even want to do this otherwise for a 1602, too many wires - OP didn't specify either way) it's getting more complicated already.
The project in the link has the LCDs wired in 4 bit parallel. I assumed (yeah, I'll never learn) that the OP wired their project like that.
Do the LCD backlights illuminate? Have you tried the contrast adjustment?
OP, if your project is in any way different from the linked project you need to tell us. We need to see YOUR wiring and YOUR code. Actually a photo how your project is wired would be helpful.
groundFungus:
The project in the link has the LCDs wired in 4 bit parallel. I assumed (yeah, I'll never learn) that the OP wired their project like that.
I've learned to simply ignore such links Especially when the OP can't bother to make them clickable.