Thanks I will get the parts and try the circuit and post the results.
But I don’t get it how do I program it? Can I just run some cables from the serial port of my computer to the breadboard and connect it to the picaxe pins? Or I need to buy one of those boards that connect with my computer? Can you tell me the code with which to program it? Sorry for the dumb questions.
Did you read the Picaxe information? The Picaxe family does not require a hardware programmer/compiler. There's a wealth of information on the Picaxe web page. Download the Programmer/Compiler software and the manuals, they're all free. You can be running basic code in the simulator by this time tomorrow.
http://www.picaxe.com/What-Is-PICAXE
You can program a Picaxe with a Serial cable and a few passive components but most PCs no longer have RS232 ports. Picaxe sells a USB/Serial cable for this. Here's a Starter kit.
http://www.picaxe.com/Getting-Started/Purchasing-a-Starter-Kit/
For direct RS232 connection see page 8 of the "Getting Started" manual.
http://www.picaxe.com/docs/picaxe_manual1.pdf
Last edited: