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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

www.picaxe.co.uk<strong>Section</strong> 1 57GETTING STARTEDInterfacing Circuit SummaryThis section provides a very brief overview of input/output interfacing to the<strong>PICAXE</strong> microcontroller. For more detailed explanations see section 3 of themanual - Interfacing Circuits. <strong>Section</strong> 3 provides detailed connection diagramsand sample programs for most common input / output transducers.output pin 4Digital OutputsThe microcontroller can sink orsource 20ma on each output pin,maximum 90mA per chip. Thereforelow current devices such as LEDs canbe interfaced directly to the outputpin. Higher current devices can beinterfaced via a transistor, FET ordarlington driver array.5V0V330RM<strong>PICAXE</strong>0VDigital InputsDigital input switches can beinterfaced with a 10k pull downresistor. The resistor is essential as itprevents the input ‘floating’ when theswitch is in th open position. Thiswould give unreliable operation.5Vinput pinNote the 10k resistor is pre-fitted tothe project board inputs.10k<strong>PICAXE</strong>0VV+Analogue InputsAnalogue inputs can be connected in apotential divider arrangement between V+and 0V. The analogue reference is thesupply voltage, and the analogue signalmust not exceed the supply voltage.analogueinputADC pin<strong>PICAXE</strong>0Vrevolution(c) Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.ukVersion 6.9 07/2009All rights reserved.57

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

Saved successfully!

Ooh no, something went wrong!