BASIC Stamp 2

Home BASIC Stamp 2 TI 83/84 Windows Zune HD

PBASIC programs written for the BASIC Stamp 2 Microcontroller will be posted here.

Video Game Controller Input

I wrote a BASIC Stamp program that detects input from a video game joystick (from an Atari 2600, Colecovision, Sega Genesis, etc.), and sends numbers to a computer’s serial port.  A program that I wrote in C# uses those numbers and translates them into keyboard presses (the joystick controls the arrow keys and the fire button controls the space bar).  This allows me to use an Atari 2600 controller with emulators such as stella, or I can use it to play games online.

Here is a download of the PBASIC program:

download

And here is a download of the computer program:

download

Here is a schematic of the circuit that I quickly drewusing a controller with a DB9 connector:

Schematic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.