Breadboard Basics II (Add PICAXE)

jklug80's picture
Time to build: 
0.5 hours
Cost to build: 
$20

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. LED
  9. Wire

I'm not going to go into detail about how to hook things up. If you are having problems and the images aren't helping I will answer questions if I can :) 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.

1.jpg

2.jpg2.jpg

3.jpg

3.jpg

4.jpg

5.jpg

6.jpg

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.

  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 or my poorly manicured fingernails...

Your rating: None Average: 5 (3 votes)
fritsl's picture

Really wicked!! / Fritsl

Really wicked!! 

/ Fritsl

TigPT's picture

nice, just a advice.. when u

nice, just a advice.. when u put a connection in the breadboard, use the most away from the components.. normaly most close to the power lines of the breadboard.. that way you can easy replace components, count the number of the pins, and test the pins signals with a multimeter.

did you understud me?! GL with your projects =)

Cool!

Cool!
TheCowGod's picture

Nice work. Does the Picaxe

Nice work. Does the Picaxe not need an external resonator or oscillator crystal? I've been interested in this kind of thing, finding the minimum number of components you need for a microcontroller, to shrink it down once you're building you project. But at least with the Arduino, it looks like you always need at least a voltage regulator for power and resonator or crystal to tell it how fast to run. I guess maybe the Picaxe has that internally?

Dan

jklug80's picture

I'm assuming no because I

I'm assuming no because I didn't use any. My assumption is that it is internal. I guess it is smart enough to run its own clock cycles. Someone with more knowledge would have to chime in.

Don't sweat the petty things. Don't pet the sweaty things.

fritsl's picture

Please stop writing "Don't

Please stop writing "Don't sweat the petty things. Don't pet the sweaty things." on every #€#´!! post! :D Thanks :)

/ Fritsl

I don't think this is being

I don't think this is being typed everytime. This comes from the signature setup in the profile.  If you don't want this repeated, why not remove this feature?
jklug80's picture

It was my signature I

It was my signature I cleared it out. I had the bright idea to change the quote every week or so, but got lazy.
fritsl's picture

 :)/ Fritsl

 :)

/ Fritsl

fritsl's picture

Some Picaxes do, some

Some Picaxes do, some Picaxes have their own swing :)

There are 3 "ranges", depending on the chosen chip:

  • Some just need 2 resistors, and you are go
  • Some needs 3 resistors
  • Some need 3 resistors and some kind of oscillator

That's it!

List:

http://www.rev-ed.co.uk/picaxe/details.asp?prodname=product_chips

Manual:

http://www.rev-ed.co.uk/docs/picaxe_manual1.pdf 

/ Fritsl

PICAXE is based on PIC from

PICAXE is based on PIC from Microchip which still needs 4.8 or 5 volts to operate. If 5V power source is not directly availble then a voltage regulator is needed. I wish that Sketch and Arduino can have an option to use internal OSC and other clock values than fixed at 16Mhz. That would be nice. Definitely using Atmega 168 without Sketch you can set to use internal clock option but it must be developped using the straight compiler and load the code outside Sketch. Sketch is a nice envirnoment that eliminates these separate tools and it also has many handy libraries.

-Pandit

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.