• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

DF Robot LCD Keypad shield buttons not responding .

Offline
#1 cjohnny67
Hello to every body !

I was trying to build this intervalometer and for first i have install the lcd shield on the arduino uno and i have uploaded the latest version LRTimelapse-Pro-Timer-Free 0.90 with no problems , but not all buttons are responding , only up, right and reset are responding .
I have tryied a simple sketch and all buttons are responding and i can not understand what is the problem ...
Offline
#2 abejarutas
Hello, cjohnny67:
  I will try to help you as much as possible.
First make sure that the LCD shield on Arduino is well assembled and that there is no bent terminal.
Second and most importantly make sure you have bought the exact model that advises Gunther, since the code is specific for him.
http://amzn.to/2lvkqAO
I hope I've helped. Sincerely
Jesús Serrano
Video of Nature http://www.videonatura.es
Offline
#3 cjohnny67
Thank you , abejarutas for your reply ! Yes , i don,t use the same display as Gunther , so i will buy a same one and i will come with the result ...
Offline
#4 Gunther
You might just have to change the settings in LCD_Keypad_Reader.h
See this thread in the German forum, use Google translate if needed: https://forum.lrtimelapse.com/Thread-alt...d#pid31110

Posted mobile via Tapatalk...
Subscribe to: LRTimelapse Newsletter, Youtube Channel, Instagram, Facebook.
Offline
#5 cjohnny67
I have changed the values in LCD_Keypad_Reader.h:
//DFRobot LCD Keypad Shield 1.0
#define SAMPLE_WAIT -1
#define NO_KEY 0
#define UP_KEY 2
#define DOWN_KEY 3
#define LEFT_KEY 4
#define RIGHT_KEY 1
#define SELECT_KEY 5

LCD_Keypad_Reader.cpp:
//DFRobot LCD Keypad Shield 1.0
static int UPKEY_ARV = 101;
static int DOWNKEY_ARV = 257;
static int LEFTKEY_ARV = 411;
static int RIGHTKEY_ARV = 0;
static int SELKEY_ARV = 641;
static int NOKEY_ARV = 1023;

und schließlich
LRTimelaps_Pro_Timer_Free:
//DFRobot LCD Keypad Shield 1.0 Key constants
const int NONE = 0;
const int SELECT = 5;
const int LEFT = 4;
const int UP = 2;
const int DOWN = 3;
const int RIGHT = 1;

As i founded in the jk.photo post and now everything works fine !
Thank you very much Gunther for the advice !

...also check out: