![]() |
Re: How to wire a flashlight?
Quote:
|
Re: How to wire a flashlight?
LEDs need to have the current to them limited somehow. Adding a resistor in series, will do this.
did you happen to look at the link I provided in my previous post? it kind of explains the resistor thing.... |
Re: How to wire a flashlight?
Quote:
If the flashlight is happy at 5 volts, then using one of the old 12-to-5-volt converters on the output of a Talon could work. But I'd suggest using a relay (e.g. a Spike) instead of a speed controller, so you never have the chance of making the converter itself unhappy with a PWM'd or reverse polarity input. |
Re: How to wire a flashlight?
Quote:
While it is possible to use PWM to control output voltage, like a switching power supply actually does, it requires a feedback loop and at some point a Spike and a resistor/regulator/converter would have done the job much easier (select the resistance and power rating as necessary to put the LEDs at the right voltage and current, use a series regulator to dissipate the extra voltage as heat or use a DC/DC converter module). Obviously if you use a resistor alone to reduce the voltage to your load the battery voltage will change as the battery discharges. So a series regulator or DC/DC converter may be more elegant but possibly physically heavier and larger. MrForbes's suggestion was the 7805 series regulator but it wasn't clear if the amount of current required by the light was specified. There are multiple packages for the 7805 depending on the current that will be drawn through it. It may also require a heatsink. A DC/DC converter is an even more complex circuit but the older 12V-5V DC/DC converters for the D-Link are frequently available and provide a healthy amount of current. Just remember those old DC/DC converters drop out if the battery goes below a specific voltage which was around 8VDC. |
Re: How to wire a flashlight?
Thanks for expanding on the info I provided. Note that I included a picture, which shows the LM7805 mounted to a piece of aluminum, which is a heat sink. Note also that the heat sink is mounted to a wood part, so it is insulated from the metal robot chassis, as required by the rules...since the metal tab on the LM7805 is connected to the negative battery terminal, through the PDP and Spike
|
Re: How to wire a flashlight?
Quote:
|
Re: How to wire a flashlight?
Quote:
The spike itself was discontinued at VEXPRO (http://www.vexrobotics.com/217-0220.html) but you may be able to find it somewhere else, or you can ask a veteran team who should have some stockpiled somewhere. |
Re: How to wire a flashlight?
Quote:
|
Re: How to wire a flashlight?
LEDs are basically current devices that have a voltage drop across them. They will have a maximum current they can handle before they burn up. Limiting the current in one way or another to less than their maximum current rating will allow them to survive a LONG time. This is what MrForbes is doing with the resistor in series with their LED and voltage regulator (LM7805).
This year we decided to add a "Photon Cannon" to our robot to aid the driver in shot alignment. To do this, we chose to use a constant current source LED driver and a 3W LED. Using the constant current source sets the current through the LED to either 330mA or 660mA, depending on how we configure the board, regardless of the battery voltage. This way it does not dim or flicker as we drive or manipulate things. We mounted a single lens 10cm (focal length of the lens) in front of the LED to give us a nicely collimated beam. The intensity of this beam is such that we decided not to leave the photon cannon on all the time, but switch it on only when needed. This is achieved by using a Spike relay. Let's just say, it works REALLY well. BTW, the LEDs we are using are are also available in Red, Green, and Blue. All of these work well and look really great! |
Re: How to wire a flashlight?
A little update...we never got around to making our little LM7805 cirucit properly, that is, we never secured the wires to anything, and one of the leads on the part broke off. Yesterday we got out an old 12v- 5v converter from a previous year KOP and wired it in place of the regulator chip, but kept the series resistor. seems to work fine.
Beam width on a light like this might be important, I expect there are several ways to get a spotlight effect. The spotlight we used with the reflector seems to be pretty good. |
Re: How to wire a flashlight?
To echo what other people have said, LEDs are diodes (it's in the name), so they have a couple things to remember.
Firstly, they are non-ohmic, meaning they don't behave according to regular ole' V=IR math. Secondly they have a polarity, calld bias. If you wire a diode in reverse bias, little current will flow, and it won't light up. If you wire it in forward bias, current will take off if you supply a voltage above something like .6-.7V, maybe a bit more or less depending on what your diode is made of. However, your diode will require much more than this voltage to light up (it depends on what LED you have, but somewhere in the neighborhood of a few volts most likely). When this voltage is supplied, current flows very quickly through the diode, in what you could think of as a short circuit, which, if enough current is flowing, will blow up your diode. That is why it is important to have a resistor in series with your LED, so that you can supply it with a high enough voltage to light up while limiting the current that flows through the LED so that it doesn't blow up. Make sure your resistor is rated for the amount of power you estimate will be dissipated through it, otherwise this can cause problems as well. |
Re: How to wire a flashlight?
Quote:
|
Re: How to wire a flashlight?
Quote:
Just remember, the voltage drop across each LED must be added as the LEDs are in series. The number of LEDs it can drive will be limited by the source voltage and the maximum voltage the driver can handle. Here is a quick hookup guide. It includes an example of putting the LEDs in series. |
Re: How to wire a flashlight?
Quote:
|
Re: How to wire a flashlight?
Quote:
As for you guys on 1418, I think that your best bet is to go with the LM7805 or the old voltage regulators for the radio. I would say that if you guys are stressing about weight to go with the 7805 and get a small, solderable breadboard at RadioShack or off of Amazon. The 7805 would be more work, though. The old radio regulator would probably be the simplest option. You guys could just wire that to the PDP on with a 20A breaker. Quote:
|
| All times are GMT -5. The time now is 11:01. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi