Go to Post You never really graduate out of FIRST.... - Gnomegirl [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-02-2015, 16:19
MikePerreman's Avatar
MikePerreman MikePerreman is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Michigan
Posts: 46
MikePerreman is an unknown quantity at this point
Question Help with LEDs

Hello everyone,
i am having a problem with getting leds lighting up, unless i wire them to a motor controller or the PCM, yet someone wired on in to the DIO. what im wondering is if that works, and if it does how do you go about programming it?
thanks everyone,
-Mike
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2015, 17:00
VeqIR's Avatar
VeqIR VeqIR is offline
Registered User
AKA: Dave
FRC #4488 (ShockWave)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2005
Location: Hillsboro, OR
Posts: 29
VeqIR is on a distinguished road
Re: Help with LEDs

Hi Mike,
Can you give us a little more info about these LEDs? Are they LED strips or lights on a component?
Are they 12V or 5V LEDs?
Are they individually addressable, RGB or solid color?
How many LEDs are you trying to drive with the DIO?

My offhand guess is that you're exceeding the current supplying capability of the DIO pin unless you're only driving a few LEDs
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2015, 17:20
GeeTwo's Avatar
GeeTwo GeeTwo is online now
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,667
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Help with LEDs

As you have made them work through a motor controller and PCM, I'm presuming this is a 12V LED strip. The DIO only puts out 5V, and it doesn't have enough current to drive very much. You can use a spike relay or the PCM (the LEDs are considered a CUSTOM CIRCUIT), though if you go the PCM route, you want to watch the current; the total PCM current supplied to all of the solenoid pins must stay under 500mA, or about 6W of power.

Since we weren't using any of the relay ports for actuators this year, we used spikes to control our LEDs. If that's not an option, you can get A 5V relay module at a number of sites online. This will let you power them from a WAGO connector and switch them using the DIO port.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
Reply


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 08: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