tashkas
Published © GPL3+

Atari Flashback controller conversion for PC

Simple to make and simple to use Atari Flashback system controller conversion from 9 pin to USB-C with Arduino Micro Pro.

BeginnerShowcase (no instructions)35
Atari Flashback controller conversion for PC

Things used in this project

Hardware components

Pro Micro - 5V/16MHz
SparkFun Pro Micro - 5V/16MHz
Used this model from Amazon: https://www.amazon.com/dp/B0B6HYLC44?ref=ppx_yo2ov_dt_b_fed_asin_title
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Bambu A1 MINI
Any other 3D printer works fine too.

Story

Read more

Custom parts and enclosures

Bottom part of the Atari controller

Controller printed with default PLA settings with supports. (Supports are used for nicer looking part)

Schematics

Wire coding for controller actions

Simple list of wires and their used action.

Code

SImple code using Keyboard library.

Arduino
Nothing to special with the code here, uses Arduino Keyboard library 1.0.6 version. Checks if pins are HIGH or LOW state and sets keyboard command.
#include "Keyboard.h" //keyboard lib

void setup() {
  delay(5000);
  pinMode (3, INPUT_PULLUP);
  pinMode (4, INPUT_PULLUP);
  pinMode (5, INPUT_PULLUP);
  pinMode (6, INPUT_PULLUP);
  pinMode (7, INPUT_PULLUP);
  Keyboard.begin();

}

void loop() {
  int Action = digitalRead(6);
  int Up = digitalRead(3);
  int Down = digitalRead(4);
  int Left = digitalRead(5);
  int Right = digitalRead(7);

  if (Action == LOW)
  {
    Keyboard.press(' ');
  }
  if (Action == HIGH)
  {
    Keyboard.release(' ');
  }

  if (Up == LOW)
  {
    Keyboard.press('w');
  }
  if (Up == HIGH)
  {
    Keyboard.release('w');
  }

    if (Down == LOW)
  {
    Keyboard.press('s');
  }
  if (Down == HIGH)
  {
    Keyboard.release('s');
  }

    if (Left == LOW)
  {
    Keyboard.press('a');
  }
  if (Left == HIGH)
  {
    Keyboard.release('a');
  }

    if (Right == LOW)
  {
    Keyboard.press('d');
  }
  if (Right == HIGH)
  {
    Keyboard.release('d');
  }

}

Credits

tashkas
1 project • 0 followers

Comments