12.07.2015 Views

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.picaxe.co.uk<strong>Section</strong> 1 37GETTING STARTEDSerial Download CircuitThe serial download circuit is identical for all <strong>PICAXE</strong> chips. It consists of 3 wiresfrom the <strong>PICAXE</strong> chip to the AXE026 serial cable. One wire sends data from thecomputer to the serial input of the <strong>PICAXE</strong>, one wire transmits data from theserial output of the <strong>PICAXE</strong> to the computer, and the third wire provides acommon ground. See the USB adapter section for details on how to use the USBport adapter.The minimum download circuit is shown here. This circuit is appropriate formost educational and hobbyist work.abcAbove viewxxcxxxab10k22kserial outserial in0V<strong>PICAXE</strong>22kserial outserial in0V12312310k<strong>PICAXE</strong>2. to <strong>PICAXE</strong> serial out3. to <strong>PICAXE</strong> serial in5. to <strong>PICAXE</strong> 0VComputer9 Way D female socketNote that the two resistors are not a potential divider. The 22k resistor works withthe internal microcontroller diodes to clamp the serial voltage to the <strong>PICAXE</strong>supply voltage and to limit the download current to an acceptable limit. The 10kresistor stops the serial input ‘floating’ whilst the download cable is notconnected. This is essential for reliable operation.The two download resistors must be included on every <strong>PICAXE</strong> circuit (i.e. notbuilt into the cable). The serial input must never be left unconnected. If it is leftunconnected the serial input will ‘float’ high or low and will cause unreliableoperation, as the <strong>PICAXE</strong> chip will receive spurious floating signals which it mayinterpret as a new download attempt.revolution(c) Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.ukVersion 6.9 07/2009All rights reserved.37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!