2-Axis JoyStick on a Basic Stamp

by mpylant in Circuits > Microcontrollers

1672 Views, 9 Favorites, 0 Comments

2-Axis JoyStick on a Basic Stamp

temp_383753363.jpg
temp_-1326203364.jpg
temp_439225486.jpg
temp_-2125669479.jpg
temp_1028363091.jpg
temp_-12799918.jpg
temp_-798805705.jpg
temp_431586953.jpg
JoyStick

Your New Microcontroller.

temp_1965659192.jpg
Step back and look over the basic stamp and get to know everything on it.

Install the -VSS Wires

temp_562399192.jpg
Put two wires on the -VSS at the top of the board. then run one wire to pin 11 on the breadboard. The second wire will go to pin 0 on the breadboard.

JoyStick Install

temp_-2093500837.jpg
temp_1302701461.jpg
Now take the joystick and install it on the breadboard. it should be sitting all the way to the left at the very bottom. GND should be on pin 0 on breadboard.

Capacitor Install!

temp_-1731103462.jpg
You will need two 0.01uF capacitors. install them on the breadboard at pin 0,1 and then at 9,11.

Resistor Time!

temp_-946854794.jpg
Now take 2 220-Ohm resistors and put on the breadboard at pin 1,4 then the other at 7,9.

Pin Wires.

temp_1587201101.jpg
Now take 2 wires and put them on pin 0,1 then the other end on pin 4,7 on the breadboard.

JoyStick Code

Here is the PBasic code to make the joystick work.

Downloads