updated January 2011

how to connect an LED to P10 on the breadboard...



Robotics systems often require LED indicator lights as end user feedback.

Here we connect a red light emitting diode on the breadboard at P10 to demonstrate our simple LED flashing program.

WARNING: If you get it wrong you can burn out the LED and or microprocessor. Please follow these instructions carefully.







01. These are breadboard hookup wires. They are 0.6mm to 1mm single strand wire. Red is usually used for positive, blue or black is usually negative and orange or yellow is usually signal or digital pulse.

WARNING: If you connect an LED directly between the positive and negative power rails it may heat up glow too bright and burn out. Always put a 220 ohm resistor (red red brown gold) in series with the LED on 5 volts, 1 kilo ohm resistor (brown black red gold) with 9v and 2.2 kilo ohms resistor (red red red gold) with 12 volts, etcetera.



02. This is a close up of a red and green LED. Notice there's a flat side. That's the side usually oriented towards negative in any circuit.


Notice in the next picture there's a short and long leg. The short leg is usually negative and the long leg towards positive. Notice the flat side of the body of the LED and the short leg are on the same side (-).



This is a resistor that has a value of 220 ohms (red red brown gold). There's a colour chart with the different values on this website and how to work the values out.



This is the RoBO BS2 motherboard. Notice the breadboard. That's the white area with holes that you stick parts into without needing to use a soldering iron and burn those fingers.



Top view showing the breadboard power rails (red is positive blue is negative) and switched servo power headers...



Plug in the LED with the sort leg (-) or flat indent side to the right...



Connect a blue or black wire to the blue or negative power rail and push the wire into the same row on the breadboard. See our page about HOW BREADBOARDS WORK. See our page about PARTS OF THE MOTHERBOARD.



WARNING: Always connect a 220 ohm resistor to the supply from the chip to the LED.



Another view ...



This is the same circuit but wired slightly differently ...


To test this LED circuit you need to load a program from our PROGRAMMING section. In the programming section there's a program called FLASHING AN LED that will work.




For a SKiPPy Kit with everything you need contact Michael 082 962 2772.

Once you've built it please email us pictures.


www.RoBOtSCieNCe.co.za



TRAINING INDEX HOME