Go to Post The best defense is a good offense, never back down - Nawaid Ladak [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
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 17-02-2016, 18:14
cantdecide cantdecide is offline
Registered User
FRC #5773 (YAFL Mechatronics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Turkey
Posts: 31
cantdecide is an unknown quantity at this point
Using the PCM to control a LED

We're using a custom LED assembly for illuminating the retro-reflective tape and it needs ~300 milliamps at 12V, meaning we can't use DIO, and because it heats up so quickly, we can't directly hook it up to the VRM(having the LED be on during the whole match would probably destroy the LEDs). I would have traditionally done this with a boring transistor, but it was 4 am(when the best ideas are formed) in the morning, and we had no transistors. That's when it suddenly came to us: we already had a device that had regulated 12V outputs which can be controlled via code: the PCM! We hooked up the LED to one of the solenoid outputs on the PCM, and it worked just fine. We checked the manual to see whether doing that was legal or not, and according to Table 4-4 under R53, CUSTOM CIRCUITS(I assume that our LED assembly is considered a CUSTOM CIRCUIT) can be controlled using the PCM. However, I still have the urge to ask: is this legal? It just feels so odd and honestly, it's something I wouldn't have allowed if I wrote the rules.

Kinda off-topic: third party fans for ESCs aren't allowed but wiring lights to solenoid slots is. Rules are weird.
  #2   Spotlight this post!  
Unread 17-02-2016, 18:16
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 387
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Using the PCM to control a LED

Quote:
Originally Posted by cantdecide View Post
We're using a custom LED assembly for illuminating the retro-reflective tape and it needs ~300 milliamps at 12V, meaning we can't use DIO, and because it heats up so quickly, we can't directly hook it up to the VRM(having the LED be on during the whole match would probably destroy the LEDs). I would have traditionally done this with a boring transistor, but it was 4 am(when the best ideas are formed) in the morning, and we had no transistors. That's when it suddenly came to us: we already had a device that had regulated 12V outputs which can be controlled via code: the PCM! We hooked up the LED to one of the solenoid outputs on the PCM, and it worked just fine. We checked the manual to see whether doing that was legal or not, and according to Table 4-4 under R53, CUSTOM CIRCUITS(I assume that our LED assembly is considered a CUSTOM CIRCUIT) can be controlled using the PCM. However, I still have the urge to ask: is this legal? It just feels so odd and honestly, it's something I wouldn't have allowed if I wrote the rules.

Kinda off-topic: third party fans for ESCs aren't allowed but wiring lights to solenoid slots is. Rules are weird.
We used this last year in week 2 and it wasn't an issue.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


  #3   Spotlight this post!  
Unread 17-02-2016, 18:29
cantdecide cantdecide is offline
Registered User
FRC #5773 (YAFL Mechatronics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Turkey
Posts: 31
cantdecide is an unknown quantity at this point
Re: Using the PCM to control a LED

Quote:
Originally Posted by Poseidon1671 View Post
We used this last year in week 2 and it wasn't an issue.
Alright, it's comforting to see that another team has done this.
  #4   Spotlight this post!  
Unread 17-02-2016, 19:28
richwong richwong is offline
Registered User
None #1701 (Robocubs)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Detroit, MI
Posts: 60
richwong is an unknown quantity at this point
Re: Using the PCM to control a LED

You could also use a Spike relay to control your LEDs.
  #5   Spotlight this post!  
Unread 17-02-2016, 23:22
GeeTwo's Avatar
GeeTwo GeeTwo is offline
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,614
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: Using the PCM to control a LED

The last row of table 4-4 (R53) explicitly allows 1 custom circuit to be controlled by each PCM channel.

Do keep a good eye on the per-channel and total current drawn by the PCM in any given state.

Another alternative is to use a 12V opto-isolated relay module. These can be controlled from DIO ports or relay ports, and are much smaller and less expensive than a spike for custom circuit loads of up to 10A.
__________________

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.
  #6   Spotlight this post!  
Unread 18-02-2016, 02:06
scca229 scca229 is offline
FTA acquiring knowledge
AKA: Nate
FRC #0060
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2011
Location: South of Phoenix, Arizona
Posts: 213
scca229 has a spectacular aura aboutscca229 has a spectacular aura about
Re: Using the PCM to control a LED

Quote:
Originally Posted by cantdecide View Post
We're using a custom LED assembly for illuminating the retro-reflective tape and it needs ~300 milliamps at 12V, meaning we can't use DIO, and because it heats up so quickly, we can't directly hook it up to the VRM(having the LED be on during the whole match would probably destroy the LEDs).
Can I ask a simple question? How BRIGHT is this LED assembly that would destroy the LEDs over the period of a match? The retro-reflective tape doesn't require all that much illumination and I'm now worried about a proverbial "light cannon" (as I've heard robot mounted flashlights called recently) shining into the opposing drive teams eyes. Remember that you aren't just on level ground but tilted if you are crossing the defenses at all.

Just curious is all...
__________________
Nate
  #7   Spotlight this post!  
Unread 18-02-2016, 02:38
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,223
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: Using the PCM to control a LED

A 300ma 12v led could be easily cooled by using a 3w led heatsink like the kinds you can find on ebay or local electronics stores. If the led is on a star, using thermal paste and screws to attach it to the chassis would heatsink it enough alone (the stars are usually isolated).
__________________
<Now accepting CAD requests and commissions>

  #8   Spotlight this post!  
Unread 18-02-2016, 13:15
cantdecide cantdecide is offline
Registered User
FRC #5773 (YAFL Mechatronics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Turkey
Posts: 31
cantdecide is an unknown quantity at this point
Re: Using the PCM to control a LED

Quote:
Originally Posted by scca229 View Post
Can I ask a simple question? How BRIGHT is this LED assembly that would destroy the LEDs over the period of a match? The retro-reflective tape doesn't require all that much illumination and I'm now worried about a proverbial "light cannon" (as I've heard robot mounted flashlights called recently) shining into the opposing drive teams eyes. Remember that you aren't just on level ground but tilted if you are crossing the defenses at all.

Just curious is all...
It's pretty much as bright as the ring light in FIRST Choice, but with much higher light per surface area(the ring light has 15 LEDs and outputs 304 lumen, meaning ~20 lumen per LED, whereas our assembly has 3 LEDs in total and outputs ~275 lumen(LED guy quote), so about ~90 lumen per LED). I'm trying to keep the light disabled as much as possible because of the nuisance factor. At the moment, it's only turned on when the robot is aiming towards the goal, which shouldn't take longer than 3 seconds(and the aim method has a 10 second timeout).
  #9   Spotlight this post!  
Unread 18-02-2016, 13:36
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Using the PCM to control a LED

We use both an LED ring light from Superbright LEDS for the camera targeting as well as a high-power LED for manual targeting. Both lights are driven off the same Spike relay module which we've used in past years.

Note: our lights are pointed upward and we only turn them on when we need to use them. Otherwise they stay off so as not to unduly distract the opposing castle defenders.
  #10   Spotlight this post!  
Unread 22-03-2016, 08:00
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: 106
Coach Seb is an unknown quantity at this point
Re: Using the PCM to control a LED

Any info on your setup with the Spike relay would be appreciated... i am trying ot get this going with a 12v to 3.3V converter but the 2 LEDs flashlight i used so far don't seem to hold up.... I have a nice bright light at forst, remove power then re-apply and then i can barely see it....
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 07:09.

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