Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Encoder stops working when enabling REPRAPWORLD_KEYPAD (Marlin 2.0.9.2) (no replies)

$
0
0
Hi all,

Recently I upgraded to 2.0.9.2 and added a 2004 character LCD display and a reprapworld_keypad to one of my printers. As controller board I'm using a Megatronics V3.3 .

The LCD and encoder (with switch) are working correctly if I'm enable ULTIPANEL in the configuration file:

#define ULTIPANEL

However, when I also enable REPRAPWORLD_KEYPAD the encoder (and switch) stops working:

#define REPRAPWORLD_KEYPAD
#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // (mm) Distance to move per key-press

So somehow enabling REPRAPWORLD_KEYPAD disables the encoder and switch. I cannot figure out what's wrong. Anybody Ideas?


What I've done to further debug:
- Swapped the keypad with the keypad of another printer running 1.X firmware. Everything works fine then.
- I used an oscilloscope to check the signal levels on the keypad. There also everything seems to be ok.
- I used M43 to check if changes are detected on the encoder pins (BTN_EN1, BTN_EN2, BTN_ENC). That was all ok.

I've attached my configuration files to this post ([attachment 119034 Configuration.h], [attachment 119035 Configuration_adv.h])

So, my assumption is that something in the firmware changes between 1.X and 2.0.9.2 that disables the encoder. But I cannot locate it. There are too many changes between 1.X and 2.0.9.2.

Any help would be appreciated!

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>