Watch out here, because the DIN wire colors do not correspond to classical wire coloring!
- Brown - VCC +5
- Black - data to KBD
- Green - data from KBD
- Yellow - power SW (unused)
- Red - Ground
Solder the Brown wire to the +5V on the micro, the Red wire goes to the Ground pin. Then connect The green and black wires to two digital pins (I used 2 and 3)