Breadboard Basics II (Add PICAXE)
Time to add PICAXE to the board.
This requires:
- A breadboard
- 5volt power source
- PICAXE 28x1 chip
- Stereo Socket
- USB or Seriel Transfer cable
- 4k7 ohm resistor
- 330 ohm resistor
- 22k ohm resistor
- 10k ohm resistor
- LED
- Wire
Note how there are 5 pins on the socket, but you only really use 3 (serial out, serial in, and ground). The 2 sets of 2 pins get tied together and then they get tied to each other via a 10k ohm resistor. When looking above the socket as shown in the picture the left 2 pins go to ground, the right 2 pins go to serial in via a 22k resistor, then the last pin which is near the opening of the socket goes to serial out.
Basically all this did was help me to learn how to hook up the chip and a stereo socket to a breadboard and get basic output (blinking LED). Hopefully it will help someone else too! Lots of pics to follow so you can see how it is connected. The code follows the pictures.
For help on how to hook up the stereo socket or for what pins do what on the chip click here.
http://www.rev-ed.co.uk/docs/AXE001_pinout.pdf
Symbol LED = 0
AGAIN:
HIGH LED
pause 1000
LOW LED
pause 1000
GOTO AGAIN
END
The code assumes you are using output 0 for the LED. If you can't get the editor to connect to your chip make sure you have the com port setting correct.
- Click START (lower left corner of your screen)
- Right click My Computer
- Click Properties
- Click Hardware Tab
- Click Device Manager Button
- Expand the Ports (COM & LPT)
- It should have an item called AXE027 PICAXE USB (COMX) X is your COM Port Number
- In the editor go to View->Options
- Click Seriel Port tab
- Select the Com Port you found in step 7 and click OK
- Try to transfer the code again.
- If it still doesn't work make sure your batteries are charged and connected to the breadboard.
- If it STILL doesn't work take a picture that shows the connections and post
For larger more detailed images click here. No fair making fun of my dirty coffee table.
Updated to include new pics using resistors, which should have been there in the first place.



@ Thu, 2010-06-10 08:58
pictures
Nice tutorial.. Except now for some reason i cant see the pictures
@ Thu, 2010-01-07 23:59
Thanks jklug80! It is
@ Wed, 2009-07-08 05:08
oooohhh ok now i get it. but
@ Wed, 2009-07-08 16:33
You only need 1 to make 30
@ Wed, 2009-07-08 05:15
try it..
@ Tue, 2009-07-07 20:55
ok all this basic stuff is
@ Tue, 2009-07-07 21:19
It is how to build a basic
@ Sat, 2008-11-29 21:40
ok.......... EUgh...... i
ok.......... EUgh...... i got go to bed
@ Sat, 2008-11-29 19:58
:( does it have to be
@ Sat, 2008-11-29 20:23
That is what the datasheet