
seigezapf
USA
Asked
— Edited

Hello again. My current question regards LED lights. I just want to turn them on and off. I searched the forum and all of the forum responses regarding LED lights were much more involved than the answer I need. I gather you use a servo control to do it. I've tried several different servo options, but none have worked to do what I need. I just want to turn them on and off. I have them connected to a digital connection D06. Maybe I should use an analog connection? Thanks.
Nope, keep them connected to a digital Signal pin and the ground. Use the Digital Set control to operate the LED You can also use script commands;
and
Or to flash it at half second intervals;
This will only work for one LED per port. Any more will be too much current draw for the EZ-B's signal pin and will require a transistor switching circuit.
Thanks Rich. I tried the Digital Set. Didn't work. The lights remain on and will not turn off in either the red or green setting. Maybe the problem is that it is a light bar with 6 LEDS? If I understand you right, it only works for one LED per port.
Hmmm. What is happening is that the lights turn on whenever I connect them to any port. Even an unassigned one. That is strange but maybe an indicator to what is going on?
The 6 LEDS are going through a light control unit. The control unit does not have any settings, just connections for the LED array.
How do the leds come wired? What kind of plug and what are their voltage requirements, mA's etc........ You may not be able to drive them directly from the ezb... The signal pin pushes 5v but can only supply about 20ma.. The power pin equals battery voltage that you are using... So if you're using a 7.4v battery be aware your LED light strip is getting that voltage too...
It sounds like you are connecting to the ground and VCC port (black and red) not ground and signal (black and white). As Richard said, the VCC port will provide whatever voltage you are giving your EZ-B. Without a resister or voltage regulator, that will burn out most LED's, so the fact that yours are just staying on is lucky.
(@Richard R - signal pin on the V4 is 3.3v, not 5v. V3 had a 5v signal pin).
Alan
Thanks Richard. I don't know if I can answer your questions but I will try. The LEDS are from a Tamiya RC light kit (TLU-01) and are 5mm LEDS. I don't know the voltage. Yes the power supply is from a 7.4v 2 cell Lipo. The LED are connected with a small white connector (don't know the proper name) to an Axial "Simple LED Controller" which has two inputs for lights and one output that connects to the EZ-B. The LED controller commonly handles 6 LEDS. For RC the LED controller is typically connected to the receiver which is, I believe typically powered by 5 vdc through an electronic speed control (ESC).
The lights are on, so the power seems adequate. I just can't figure out how to turn them off. I'm thinking maybe the problem is in the LED controller, but I'm not sure.
Hey Alan. Thanks. You are right on again. The connector is from the LED controller is black and red. That must be the problem. Now, how to fix it. I have a bunch of servo extension wires. If I solder the LED controller black wire to black and the LED controller red wire to white it should work? I'll get right on it.
From the precious little documentation available (http://www.tamiyausa.com/pdf/manuals/53909ml.pdf) it doesn't look like the controller actually does anything except provide regulated power to the LEDs. the only control is the power switch on the controller itself, which turns on or off the LEDs when you provide power.
You would be better off cutting the LEDs off and just connecting them to digital pins on the EZ-B (of just buying LEDs directly, they cost just a few cents a piece).
Alan