Hardware:
- Arduino pro micro
- 2x 104 ceramic capacitor
- 2x 100ohms resistance
- 2x 10kohm resistance
- colored wires
Steps done:
- I've disassembled the panel and I've measured resistance between contacts
- I've soldered 16 colored wires to the panel connector contact points
- I've found on the russian forum drive2 this image to understand fully how leds and rotary encoder works
- More info in the cd30mp3_keyboard.ino file
contact scheme1
I've used the two 10kohm resistance as pull down resistance for the encoder A and encoder B pins, and the two 104 ceramic capacitor as filter to clean signal, the two 100ohms resistance are used between the pulldown resistance and the signal filter to connect them in series
Final result, I've had to solder USB wires directly to the board because the micro USB port came off
echo -n 255 > /dev/ttyACM0
Footnotes
-
Image of the contact scheme taken from: https://www.drive2.ru/l/8687044, all rights reserved. ↩