CLICK HERE FOR INDEX PAGE

CONNECTING THE PICAXE-08 MICROCONTROLLER

TO OTHER COMPONENTS

V. Ryan © 2004 - 2010

 

PDF FILE - CLICK HERE FOR PRINTABLE WORKSHEET
 

OUTPUT TO MOTORS AND RELAYS

   

ThePICAXE-08 Microcontroller can be connected to output components such as motors, solenoids and relays, with ease. Up to five output devices can be connected although this reduces the number of input devices that can be connected at the same time. Below are circuit diagrams of the layout, showing the components and how they are connected.
When connecting a component such as a motor or relay it is advisable to include a diode, arranged in parallel. When an ‘inductor’ device such as a relay/motor is turned off a high voltage can be generated for a short time. This voltage ‘spike’ (also called ‘back E.M.F') can damage fragile components such as microcontollers. The diode does not allow current to pass through it in the wrong direction and short circuits this spike, protecting other components.

   

   

 

 

OUTPUT TO LEDs

   

LEDs are another output device that can be connected to the PICAXE-08. However, they only require a low voltage and consequently need protecting with a resistor. Without a resistor an LED would be destroyed. The resistor reduces the output voltage from the PICAXE-08 to an acceptable level, allowing it to light without being damaged.

   

   

QUESTIONS:

1. Draw a circuit diagram representing connecting an output from the PICAXE-08 to a relay.

2. Draw a circuit diagram representing connecting an output from a PICAXE-08 to an LED.

 
 
 

CLICK HERE FOR PIC-MICROCONTROLLER INDEX PAGE

   
 
Google
 
Web www.technologystudent.com