Go to Post Ask the right questions and you can get the right answers. - Chief Hedgehog [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
  #1   Spotlight this post!  
Unread 24-03-2013, 20:34
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
DC-DC voltage converter for flashlight

We got a flashlight to use as a photon canon. And are having issues driving it.

The flashlight we are using is "LED Lenser P7"
http://www.amazon.com/gp/product/B001AT1F6S

It uses 4 AAA batteries so it needs 6V into it. We got a DC-DC converter specifically this one: http://www.amazon.com/gp/product/B008BHAOQO

And wired it up on the bench and everything seemed fine when we plugged it into a battery.

Then we wired it to a relay on the bot - so that the relay provided power to the DC-DC converter which was then wired to the flashlight. After that - it wouldn't work. Before bagging we found that the DC-DC converter output was only 1.6V instead of the 6V it had been adjusted to. Playing with the adjustement screw did not seem to give any different output.

So - any ideas on what we might have done wrong? I think the polarity was always right for the input to the DC-DC converter. Would have reversing it on accident blown something you think?

Any other ideas? Is there a better/more robust DC-DC converter we should be using?

Our regional starts in a few days and we would like to be ready to swap out the offending part for a quick recovery.

Thanks!
Dan
  #2   Spotlight this post!  
Unread 24-03-2013, 20:43
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

How much current do you need?

You can source 6v from the digital sidecar. If you aren't using all 10 PWMs then you just have to put in the servo power jumper and then use 2 of the 3 pins of the PWM connector for 6v and ground. If you are using all 10 PWMs then you could wire up a 2-pin header to the jumper of a PWM port that isn't used for a servo to get 6v and another header somewhere on the DIO or Relay section to get a ground.

The spec says you can pull up to 3a from the 6v supply, I doubt you need anywhere that much.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 25-03-2013, 09:45
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

Dan,
It is entirely possible to have reversed the voltage. Remember that the Spike relay can supply positive on either or both pins depending on the state of the input.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 25-03-2013, 09:48
Brandon Holley's Avatar
Brandon Holley Brandon Holley is offline
Chase perfection. Catch excellence.
AKA: Let's bring CD back to the way it used to be
FRC #0125 (NU-TRONs, Team #11 Alumni (GO MORT))
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 2,593
Brandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond repute
Send a message via AIM to Brandon Holley
Re: DC-DC voltage converter for flashlight

I agree with Al on this one. It sounds like you may have flipped a set of wires somewhere, or the Spike is outputting in "reverse".

-Brando
__________________
MORT (Team 11) '01-'05 :
-2005 New Jersey Regional Chairman's Award Winners
-2013 MORT Hall of Fame Inductee

NUTRONs (Team 125) '05-???
2007 Boston Regional Winners
2008 & 2009 Boston Regional Driving Tomorrow's Technology Award
2010 Boston Regional Creativity Award
2011 Bayou Regional Finalists, Innovation in Control Award, Boston Regional Finalists, Industrial Design Award
2012 New York City Regional Winners, Boston Regional Finalists, IRI Mentor of the Year
2013 Orlando Regional Finalists, Industrial Design Award, Boston Regional Winners, Pine Tree Regional Finalists
2014 Rhode Island District Winners, Excellence in Engineering Award, Northeastern University District Winners, Industrial Design Award, Pine Tree District Chairman's Award, Pine Tree District Winners
2015 South Florida Regional Chairman's Award, NU District Winners, NEDCMP Industrial Design Award, Hopper Division Finalists, Hopper/Newton Gracious Professionalism Award
  #5   Spotlight this post!  
Unread 25-03-2013, 09:54
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Re: DC-DC voltage converter for flashlight

Since this is powered by 4 AAA batteries in series - it shouldn't draw more current than what a single AAA could provide. I am having a hard time finding good numbers on that, but everything I have found has been way less than 1A so getting it from the digital sidecar is possible.

The more I think about it - the more I like it. It means one less component.

I assume that would then always have 6V present on that channel once I set the jumper? i.e. we couldn't turn the light on/off then???
  #6   Spotlight this post!  
Unread 25-03-2013, 09:58
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Re: DC-DC voltage converter for flashlight

I agree - with the spike being able to reverse the polarity AND knowing how many different hands were helping with getting the last things wired - I am ALL to aware the voltage could have been reversed at some point.

I am not sure if reversing the input polarity to that particular converter would "let out the magic smoke" - but considering the cheap price I wouldn't be surprised that there is no protection against that.

Any suggestions for a more robust DC-DC converter? I like the idea of using the 6V from the side car, but not if we can't turn on/off the light.
  #7   Spotlight this post!  
Unread 25-03-2013, 09:58
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

True, you cannot switch the 6v power.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #8   Spotlight this post!  
Unread 25-03-2013, 10:30
Bruceb's Avatar
Bruceb Bruceb is offline
Registered User
FRC #0706 (Cyberhawks)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Merton, wi
Posts: 616
Bruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to beholdBruceb is a splendid one to behold
Re: DC-DC voltage converter for flashlight

using power from the digital sidecar is exactly how we are powering our LED flashlight. As far as switching goes, how about using a switch? Nothing says you have to switch it with a spike. Our shooter goes up and down and when it is up it closes a switch that powers the flashlight.
Done
__________________
Mentor Team 706 The CyberHawks
2010 Wisconsin Regional Rockwell Automation Innovation in Control Award
2010 Wisconsin Regional Finalist
2013 Buckeye Regional Finalist
2014 Superior Regional Industrial Design Award
2014 Superior Regional Finalist
2014 Wisconsin Regional Finalist
2014 Wisconsin Motorola Quality Award
2015 Wisconsin Regional Motorola Quality Award
2015 Queen City Creativity Award
2016 Buckeye Regional Finalist
2016 Wisconsin Regional Finalist
2016 Wisconsin Regional Industrial Safety Award
2016 Wisconsin Regional Excellence in Engineering Award

https://www.youtube.com/user/Cyberhawks706
  #9   Spotlight this post!  
Unread 25-03-2013, 10:59
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

Kind of an aside, but we get our dc-dc converters from here:

http://www.current-logic.com/dcdc_converter_car.php

Unfortunately, I don't see one that fits your immediate needs.

We typically pick up a Mag light from Lowes or Home Depot and mod it to use a 12:5v (or 12:3.3v) stepdown converter. Then, use a SPIKE as a switch.

(I like Bruceb's and apalrd's approaches as well )

Thanks,
Eric
__________________

Don't PANIC!
S. P. A. M.

Last edited by EricS-Team180 : 25-03-2013 at 11:05.
  #10   Spotlight this post!  
Unread 25-03-2013, 12:29
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: DC-DC voltage converter for flashlight

Quote:
Originally Posted by apalrd View Post
You can source 6v from the digital sidecar.
Quote:
Originally Posted by apalrd View Post
The spec says you can pull up to 3a from the 6v supply, I doubt you need anywhere that much.
My read of section 4.1.8 allows it, as does my read of the Inspection Checklist. The key is that your flashlight is not a motor or actuator. The rules focus on motor/actuator power paths, and are relatively loose on custom circuits.

As for whether this is a good idea - sure. That supply can more than handle any reasonable flashlight load, and is reasonably well protected against shorts/etc.
  #11   Spotlight this post!  
Unread 25-03-2013, 14:36
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Re: DC-DC voltage converter for flashlight

So are the Spikes "just" a straight relay with the coil powered completely from the digital sidecar? Or, are they using the voltage from the input side along with a signal from the sidecar to drive the coil.

The reason I ask - is *if* the coil is powered completely by the side car, then I would think we could wire the 6V from the sidecar's servo control thru a spike that is controlled from the relay control of the sidecar and use the output from the spike to the flashlight.

Everything I have found for the spike relay's shows them wired to 12V, but a straight up relay wouldn't care what that voltage is. I haven't found a circuit diagram of the guts of a spike.
  #12   Spotlight this post!  
Unread 25-03-2013, 14:57
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

Quote:
Originally Posted by Dan Oelke View Post
Everything I have found for the spike relay's shows them wired to 12V, but a straight up relay wouldn't care what that voltage is. I haven't found a circuit diagram of the guts of a spike.
The technical specs list an operating voltage of 6v-16v. http://www.vexrobotics.com/vexpro/mo.../217-0220.html
  #13   Spotlight this post!  
Unread 25-03-2013, 14:58
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: DC-DC voltage converter for flashlight

I think you will encounter rule issues if you take this approach, as the Spike is called out specifically in several places as to how you can legally wire it.

I'm reasonably sure the spike has optoisolators on its input, but its been a few years since I looked too closely.

Personally, I'd just put a N-fet in line: 6V+, light, FET, ground. Attach the gate to a GPIO.
  #14   Spotlight this post!  
Unread 26-03-2013, 07:10
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

Dan, the Spike is actually two relays powered from the input voltage. There are opto isolators on the input as Eric mentioned. You won't find a schematic, IFI doesn't publish that. If you look at the manual you will see the truth table for relay operations. This version can make either output at common or either output at + volts. Old versions (from about 2002 and earlier) did not have the full functionality.
Edit..
BTW, relays usually can stay energized when the voltage falls well below the operating voltage. The problem is pulling in at low voltage. Often the relay is speced to always pull in at a specific voltage. Often that is below the operating voltage specified.

In thinking about this, a LED ring is a custom circuit. There is nothing preventing one from using a transistor switch triggered from a digital output to provide either power or common to the LED string to turn it on. This would be considered part of the custom circuit as well. You can then feed it from the PD through an appropriate breaker to protect the wiring and custom circuit.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 27-03-2013 at 12:02.
  #15   Spotlight this post!  
Unread 26-03-2013, 21:52
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: DC-DC voltage converter for flashlight

Um, maybe I am showing my age, but what about a simple LM7806 regulator? Super cheap, an Amp or two, and rock stable.
__________________

I am N2IRZ - What's your callsign?
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 20:01.

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