Australia
Asked — Edited

LED For WALL-E'S Eye

Hey guys,

I tried to use the original LED that comes with the WALL-E U-Command with the EZ-B, but the LED does not turn on (using digital ports).

Should the original LED work, or should I use another type of LED with the EZ-B?


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

PRO
Synthiam
#1  

Must be connected backwards. LEDs are polarity specific: LED Info

Australia
#2  

Thanks for the quick reply DJ :)

Tried LED both ways (polarity), but still not turning on. Maybe I have 2 faulty LEDs...?

They were working before pulling apart the WALL-E though.

PRO
Synthiam
#3  

Connect one side to GND and the other to a SIGNAL pin of the EZ-B?

Australia
#4  

Yes, that's what I did.

Did you use the original LED for the eye on WALL-E?

PRO
Synthiam
#5  

I can't remember. I probably would have. I usually do use the LED's that come with the toys

PRO
Canada
#6  

Hey Hexxen,

Sometimes LEDs cannot self limit the current going through them and burn out when direct voltage is applied. Usually a 330 ohm or 220ohm resistor is needed to limit the current going through the LED to around 20mA for common 5mm LEDs.

EZ-B puts out 5V (TRUE) on each I/O pin, so using ohm's law Voltage = I(current) * Resistance 5V = 20mA * R

R = 5V/20mA = 250 ohms so the closest more common resistor values are 220 and 330 ohms. 330ohms is the safer value cause it limits the current going through the LED to 15mA. This resistor can be in series with the LED on either the anode (+) or cathode (-) of the LED.

Hope the mini-tutorial is useful:)

PRO
Synthiam
#7  

I never use a resistor with the EZ-B because digital I/O on the EZ-B has a source supply of 25mA only. All of my robots are just LED's connected directly to Signal and GND.

*Note: If you were to use Signal and +5, then you will need a resistor. And your LED would always be on.

Australia
#8  

Thanks for your help guys.

It turned out to be both original LEDs were faulty (I must have blown them somehow).

Tested a LED I pulled from a LED torch & it works fine with the EZ-B.

Now that I need to get some new blue LEDs for WALL-E, was thinking of using "color changing LEDs" instead to simulate Wall-e's different moods.

Will the color changing LEDs work with the EZ-B?