This tutorial will explain how to connect LEDs to the EZ-B.
Peripherals:
1 x LED [eBay]
1 x servo Cable [eBay]
Instructions:
Step 1
Purchase LEDs and servo Wires from eBay or your favourite electrical supply shop.
Step 2
Cut the MALE side off the servo wire if it exists.
Step 3
Expose the conductive wire of the White and Black. Cut the Red short and leave it.
Step 4
Solder the White wire to the longest LED lead (Positive).
Step 5
Solder the Black wire to the shortest LED lead (Negative).
Step 6
Connect the servo Plug to the EZ-B (Black is facing outwards, White is closest to the microchip)
Step 7
Wrap electrical tape around each lead to prevent shorting.








Here is a video of another part of my Halloween project. A crow with red LED eyes and soon a micro servo to turn the head.
I wanted a flame type look for the eyes.
http://www.youtube.com/watch?v=cvflz0wPL50
Flickering LEDs using the EZB robot controller and ARC:
Set up LED using a servo control rather than the set digital control which is just on or off. The servo control allow you to vary the intensity of the LED.
Script:
Servorandom(D8,1,36)
sleeprandom(50,400)
And check repeat.
That's it. Simple and effective.
Note: for some reason I couldn't embed the YouTube video on here. Sorry about that.
just go to the video, click "share" then copy just the last part of the link,
everything after /
and then click "add youTube video" on the right. and cha ching!