Breadboard Basics II (Add PICAXE)
Time to add PICAXE to the board.
- 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
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
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.