Forum >Arduino LCD DFR0009 key value voltage-divider
ArduinoGeneral

Arduino LCD DFR0009 key value voltage-divider

userHead Account cancelled 2012-02-02 14:17:23 3607 Views1 Replies
I just got an Arduino Uno and the LCD Shield DFR0009. Coolest little new toy I've had in a while!

I've been coding using the Arduino app on a Mac to explore timing issues and to use the display buttons. I notice in the examples that the voltage values for deciding which key has been pressed are not evenly spaced: [url=http://www.dfrobot.com/wiki/index.php?title=Arduino_LCD_KeyPad_Shield_(SKU:_DFR0009)]http://www.dfrobot.com/wiki/index.php?title=Arduino_LCD_KeyPad_Shield_(SKU:_DFR0009)[/url] Looking at the schematic and doing a little calculating shows that the voltage-divider resistor network isn't set up for evenly spaced voltages: [url=http://www.dfrobot.com/image/data/DFR0009/LCDKeypad%20Shield%20SCH.pdf]http://www.dfrobot.com/image/data/DFR0009/LCDKeypad%20Shield%20SCH.pdf[/url]

If there's ever another rev of this wonderful little shield, these changed resistor values will give evenly spaced voltages from the voltage divider:
R3 510
R4 820
R5 1.8k
R6 4.7K
Attached PNG shows details.

Cheers,
-Hugh


2012-02-03 06:11:44 Hi Hugh,


Thanks for the input!  ;D  We will keep it in mind for future revisions.
userHeadPic Hector