We've built a Simple Chess Clock using this project:
When we switch it on the LCD display shows "Simple Arduino Chess Clock" but then goes blank. The LCD display should show the setup menu - but it doesn't. We can't figure out what is wrong.
We've checked and double checked the connections and circuit.
Is the issue with EEPROM. Seems like the LCD can't read or write EEPROM Values.
Welcome to the forum
The LCD itself certainly can't read or write EEPROM values. Which Arduino board are you using ?
I assume that your LCD has buttons on it
We're using an Arduino Uno.
Please post a link to the LCD that you are using
It's a 1602A QAPASS 16×2 LCD display.
That display has no buttons on it but the clock code depends on them to control it.
See the read_LCD_buttons() function
Have you implemented external buttons and, if so, how are they wired ?
Yes - we've set up external buttons. Wired exactly as in the circuit diagram on the project page.
Start by testing the hardware using a sketch that reads the individual buttons and prints the values returned
That's a great suggestion. Any good pointers of a good sketch to use?
Start with the AnalogInput example in the IDE
J-M-L
September 23, 2022, 6:19pm
11
It’s a very few line of codes. Don’t you know how to read the state of a pin declared as INPUT?
Are you using pull-up or pull down resistor ? Is your button bouncing are going to be the next questions.
The buttons use a resistor ladder and an analogue input
J-M-L
September 23, 2022, 6:29pm
13
You have eagle eyes if you see that in post #7 ’s picture
You mean to say that you can't follow the schematic of the project from the picture ? What is the World coming to
However, I gleaned the facts from the code on GitHub not the birds nest in the picture
J-M-L
September 23, 2022, 8:13pm
15
In my defense I'm seeing this on my iPhone without my glasses... that's why. Of course on a normal day it would be piece of cake
Thanks folks. In our defence the birds nest was the sole handiwork of a 10 year old!
J-M-L
September 23, 2022, 8:48pm
17
nice bird nest then
(but hard to see if it's wired appropriately so testing would help)
system
Closed
March 22, 2023, 8:48pm
18
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.