Go to Post It only takes micro-seconds to release the magic smoke and empty the teams' budget. - Jim E [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 18-02-2016, 21:36
Peyton Yeung's Avatar
Peyton Yeung Peyton Yeung is offline
45 Alumni
AKA: Peyton Yeung
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Kokomo, IN
Posts: 823
Peyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond repute
Re: How to wire a flashlight?

Quote:
Originally Posted by TimTheGreat View Post
So we tried connecting the light straight to a talon and limiting the output to 4.5 volts, but it burned out the light. Will that happen with this?
You should look into how much current is going through the talon at 4.5 volts.
__________________
461 Westside Boiler Invasion
2016 Tippy Quarter finalist, Warren Finalist, IN State Semi Finalist,B^3 Double Finalist
2015 Indy Semi finalist, Purdue Quarter Finalist, IN State Quarter Finalist, CORI QF, R2OC Finalist, RAGE Winner
2014 Boilermaker Semi finalist, Crossroads Quarter Finalist, & CAGE Quarter Finalist
45 Technokats
2013 Boilermaker Quarter finalist
2012 CAGE Semi finalist & Queen City Champion
2011 CAGE Quarter finalist & Midwest Semi finalist
2010 CAGE Quarter finalist, Boilermaker Champion, & Washington DC Quarter Finalist
  #17   Spotlight this post!  
Unread 18-02-2016, 22:28
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,010
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
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....
  #18   Spotlight this post!  
Unread 19-02-2016, 10:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How to wire a flashlight?

Quote:
Originally Posted by TimTheGreat View Post
So we tried connecting the light straight to a talon and limiting the output to 4.5 volts, but it burned out the light.
The output of a Talon is actually either 0 volts or battery voltage. It's pulsed fast enough to yield a variable average voltage, but apparently it's not fast enough to keep the LED from being fried due to too much current.

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.
  #19   Spotlight this post!  
Unread 19-02-2016, 14:14
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,622
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: How to wire a flashlight?

Quote:
Originally Posted by Alan Anderson View Post
The output of a Talon is actually either 0 volts or battery voltage. It's pulsed fast enough to yield a variable average voltage, but apparently it's not fast enough to keep the LED from being fried due to too much current.

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.
Seconding Alan's suggestion here: I had to read this topic over and over before I realized what people were suggesting. I would seriously think twice about using a FRC style electronic speed control as a power switch in an application like this. As a CSA I'd be looking at that wondering 'why?'. The Spike makes quite a bit more sense, is cheaper and probably smaller.

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.

Last edited by techhelpbb : 19-02-2016 at 14:30.
  #20   Spotlight this post!  
Unread 19-02-2016, 14:57
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,010
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
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
  #21   Spotlight this post!  
Unread 01-03-2016, 08:13
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 107
Coach Seb is an unknown quantity at this point
Re: How to wire a flashlight?

Quote:
Originally Posted by MrForbes View Post
We put a spotlight on our robot...a cheap $14 unit from Walmart. We only used the LED and reflector from the spotlight. The custom circuit consists of a LM7805 voltage regulator and 3.6 Ohm 5 Watt series resistor, and it also uses a Spike relay. The relay is controlled by a relay output on the roborio.

http://www.simple-electronics.com/20...regulator.html

in case you don't know how to figure the resistance and wire up this type of custom circuit.
Any info on the "spike" relay ? we are just starting on this and not finding much yet... Thanks
  #22   Spotlight this post!  
Unread 01-03-2016, 09:10
nHoude's Avatar
nHoude nHoude is offline
Robot Enthusiast
AKA: Nathan H
FRC #3467 (Windham Windup)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Windham, NH
Posts: 6
nHoude is an unknown quantity at this point
Re: How to wire a flashlight?

Quote:
Originally Posted by Coach Seb View Post
Any info on the "spike" relay ? we are just starting on this and not finding much yet... Thanks
The spike is just an H-Bridge relay that was used in the years of the C-RIO to power the compressor (along with the DC-DC converter mentioned in previous posts), but was replaced in 2015 with the PCM.

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.
__________________
  #23   Spotlight this post!  
Unread 01-03-2016, 09:32
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,622
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: How to wire a flashlight?

Quote:
Originally Posted by nHoude View Post
The spike is just an H-Bridge relay that was used in the years of the C-RIO to power the compressor (along with the DC-DC converter mentioned in previous posts), but was replaced in 2015 with the PCM.

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.
http://www.ebay.com/itm/Vex-Pro-Spik...AMXQKQhRIE1 p
  #24   Spotlight this post!  
Unread 01-03-2016, 11:49
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,362
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
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!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #25   Spotlight this post!  
Unread 01-03-2016, 12:09
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,010
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
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.
  #26   Spotlight this post!  
Unread 01-03-2016, 12:09
pmangels17's Avatar
pmangels17 pmangels17 is offline
Mechanical Marauders - Alumnus
AKA: Paul Mangels
FRC #0271 (Mechanical Marauders)
Team Role: Mechanical
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Bay Shore, NY
Posts: 404
pmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond reputepmangels17 has a reputation beyond repute
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.
__________________
Junior at the University of Notre Dame, Mechanical Engineering

Got questions (about Notre Dame, robots, college, etc), don't hesitate to ask.

**Bang Boom Pop!** "Was that the robot?" "I don't know, do it again"
**BANG BOOM POP** "Oh, now it's on fire."
  #27   Spotlight this post!  
Unread 01-03-2016, 12:34
Breadbocks Breadbocks is offline
Registered User
FRC #1002
 
Join Date: Oct 2013
Location: United States
Posts: 39
Breadbocks is on a distinguished road
Re: How to wire a flashlight?

Quote:
Originally Posted by billbo911 View Post
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.
I just got a batch of those LEDs and I have been wondering how best to power them. Can you use one of the drivers for multiple of those LEDs in series? Like someone above said, LEDs don't follow standard V=IR rules so I've been somewhat lost on how to handle them.
  #28   Spotlight this post!  
Unread 01-03-2016, 13:21
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,362
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How to wire a flashlight?

Quote:
Originally Posted by Breadbocks View Post
I just got a batch of those LEDs and I have been wondering how best to power them. Can you use one of the drivers for multiple of those LEDs in series? ....
Yes, absolutely!
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.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #29   Spotlight this post!  
Unread 01-03-2016, 13:22
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 107
Coach Seb is an unknown quantity at this point
Re: How to wire a flashlight?

Quote:
Originally Posted by billbo911 View Post
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!
So if i understand this correctly, i could use the CCS and LED above connected to the PCM module instead of a Spike Relay... ???? Basically my LED is now controlled just like if it was a solenoid on a pneumatic valve right ?
  #30   Spotlight this post!  
Unread 01-03-2016, 14:03
jwallace15's Avatar
jwallace15 jwallace15 is offline
What am I going to do with my life?
AKA: Wally
FRC #0068 (Truck Town Thunder)
Team Role: College Student
 
Join Date: Aug 2012
Rookie Year: 2013
Location: Michigan
Posts: 435
jwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud ofjwallace15 has much to be proud of
Re: How to wire a flashlight?

Quote:
Originally Posted by Alan Anderson View Post
The Pneumatic Control Module User's Guide gives the information you want.
My team and I used the PCM's outputs to control 12v LED strips last year. Very easy to program that way, and saves weight from having a Spike (yeah, the whole quarter of a pound or so). I'm not sure what the students this year are planning to do, whether they want them to flash or not will determine using a PDP or a PCM output.

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:
Originally Posted by billbo911 View Post
Yes, absolutely!
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.
I've never heard of these before, but they seem really cool!
__________________
J Wallace IV
Truck Town Thunder
Just a college student now.

Last edited by jwallace15 : 01-03-2016 at 14:07.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi