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 36GETTING STARTEDUSB Download CircuitThe USB download circuit is identical for all <strong>PICAXE</strong> chips. It consists of 3 wiresfrom the <strong>PICAXE</strong> chip to the AXE027 USB 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.Note this circuit can also be used for the AXE026 serial cable. Therefore the samecircuit can be used with either USB or serial cable.The minimum download circuit is shown here.abcAbove viewxxcxxxab10k22kserial outserial in0V<strong>PICAXE</strong>Note 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.36

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

Saved successfully!

Ooh no, something went wrong!