Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 1.48 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.48 KB

Another Sun Keyboard USB driver

This one has fewer features than most others because the goal is to make it basic enough that LUFA and an ATmega32U4 can do all the work.

Hardware

Any of these boards should work.

A 5V inverter is needed so that the MCU's UART can process the keyboards 1200 baud, which while TTL level is idle low like RS232. I used a 7404.

Connections

The 8-pin DIN is connected as follows.

Connector Signal Pin Arduino Color
1 GND GND GND brown
2 GND GND GND white
3 +5V VCC 5V black
4 MOUSE N/C blue
5 RX PD3 (*) TX (1) green
6 TX PD2 (*) RX (0) yellow
7 POWER PD0 3 orange
8 +5V VCC 5V red

(*) Keyboard RX goes to 1Y of the inverter and 1A to AVR TX. Keyboard TX goes to 2A of the inverter and 2Y to AVR RX.