Let's Make Robots!

Breadboard Basics II (Add PICAXE)

Time to add PICAXE to the board.

This requires:

  1. A breadboard
  2. 5volt power source
  3. PICAXE 28x1 chip
  4. Stereo Socket
  5. USB or Seriel Transfer cable
  6. 4k7 ohm resistor
  7. 330 ohm resistor
  8. 22k ohm resistor
  9. 10k ohm resistor
  10. LED
  11. 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.







Symbol LED = 0

pause 1000

pause 1000




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.

  1. Click START (lower left corner of your screen)
  2. Right click My Computer
  3. Click Properties
  4. Click Hardware Tab
  5. Click Device Manager Button
  6. Expand the Ports (COM & LPT)
  7. It should have an item called AXE027 PICAXE USB (COMX) X is your COM Port Number
  8. In the editor go to View->Options
  9. Click Seriel Port tab
  10. Select the Com Port you found in step 7 and click OK
  11. Try to transfer the code again.
  12. If it still doesn't work make sure your batteries are charged and connected to the breadboard.
  13. 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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
It is how to build a basic circuit on a breadboard that makes a picaxe blink a LED.
oooohhh ok now i get it. but how do the led flash with just one microcontroller.
you could build it, and find out..!
You only need 1 to make 30 or 40 flash if you daisychain them. (I know someone will fact check to make sure it could really do 30-40 I pulled that numbe rout of my arse, but I'm sure you could easily do over 20 with charlieplexing. I'm just too lazy to look up the formula to calculate it.
Thanks jklug80! It is working! :D Nice tutorial!

Nice tutorial.. Except now for some reason i cant see the pictures