Atmel 32u4 boards wiring

using dupont cables and connectors

To connect our Arduino Leonardo, Micro, Teensy 2.0 or ProMicro board, we are going to need Dupont type cable extensions, male and/or female.

It’s also useful to use a 20 pins strip to plug to the C-64 keyboard connector, you just have to remove two non-used pins. In the other end, you are going to need female or male Dupont connector, according of your board.

Here you have an example of male pins for the Arduino Leonardo board.

Schematics

Arduino Leonardo

This is the pinout to connect our Arduino Leonardo to the keyboard, and RGB (or normal) LED.

If you prefer to use the original red LED of your C64, remember to insert a ~330 Ohms resistor!!!

Arduino Micro

The Arduino Micro board has to be connected this way.

Warning: This board hasn’t been tested yet due to not having one. It has been done using the same code than other 32u4 boards changing only pins input assignment so it should work. In case it doesn’t please let me know.

Teensy 2.0

The Teensy 2.0 is connected this way. You can also replace the RGB LED for a monochromatic one, just remember the ~300 Ohms.

Warning: This board hasn’t been tested yet due to not having one. It has been done using the same code than other 32u4 boards changing only pins input assignment so it should work. In case it doesn’t please let me know.

ProMicro

For the popular ProMicro, follow this schematic.

As I explained before, the ProMicro board has only 18 inputs/outputs so there is no room for a LED.

However it has two built in LEDs, so Modes of Compatibility will be shown using them (those who has experience soldering sourface-mount components, can solder wires to a RGB LED).

The (optional) LED in the diagram is a Power LED. It will show if the board is powered or not (like the LED of the C-64 case).

Optional connection for original Atari/commodore Joysticks

As explained before, the Atmel 32u4 board does not have enough pins to allocate the two Joysticks separately, so some «Y» connections in parallel are needed, as exlained here.

Here there’s the schematics and an example with female pins.