JohSchneider / ppk_usb_lufa

Palm Portable Keyboard USB conversion
13 stars 1 forks source link

ppk_usb_lufa

Palm Portable Keyboard USB conversion

keyboard

inspired by this great project ([featured on Hackaday.com](featured on HackADay)

with the main goals/changes:

the later was achieved by porting the arduino code to plain avr-c with lufa for the HID-keyboard handling and half a software serial implementation based on application note avr309 (with code snippets from here)

parts list

dis-assembly

ditched parts

desoldered micro-usb

wiring

since these keyboards where built for multiple kinds of PDAs the dock-adapters had to be easily exchangable - that seems to be the reason why the flat cable running from the dock itself is joined to another "commmon" 6-wire flex cable with a special conductive tape that runs the remaining length around a bend to the keyboards pcb on the other side

this common flex cable has the following pinout viewed from above - "through" the keyboard; from left to right:

Number Name
F1 VCC
F2 RX_PIN
F3 RTS_PIN
F4 probably TX_PIN, unused anyway
F5 PIN_DCD
F6 GND

On the Micro the following pins are used:

flex cable name Micro Pin
- - (reset to GND via the tactile switch)
F1 VCC Pin 5
F6 GND Pin 6
F2 RX Pin 3
F3 RTS Pin 2
F5 DCD Pin 4
- - pulldown resistor from Pin 8 to Pin 3

assembly

code compilation

requires gcc-avr and avrdude to compile via the makefile