Go to Post Now I have yet another webpage that I will feel the need to constantly check - rachelholladay [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 17-02-2014, 00:14
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Controlling 12V lights via arduino

We have a set of these 12V LED light strips that we'd like to control using a (5V) arduino.

With these LEDs each color (RGB) is a ground, and there's one lead for 12V voltage.
I'm assuming that the LEDs would go straight to PDB or through a relay (either way 12V), and then have power adjusted by the arduino. How can we control these LEDs, in a manner similar to this, using an arduino or similar device?
  #2   Spotlight this post!  
Unread 17-02-2014, 00:18
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Controlling 12V lights via arduino

With 'dumb' LED strips that just have a common positive terminal and negative terminals for the three colors, you wont get the individually addressable LEDs as show in the video, but you still can control the color of the entire strip.

See this,
http://bildr.org/2012/03/rfp30n06le-arduino/
and
http://www.jerome-bernard.com/blog/2...by-an-arduino/
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
  #3   Spotlight this post!  
Unread 17-02-2014, 00:28
NWChen's Avatar
NWChen NWChen is offline
Alum
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: New York City
Posts: 205
NWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to beholdNWChen is a splendid one to behold
Re: Controlling 12V lights via arduino

Quote:
Originally Posted by Nirvash View Post
With 'dumb' LED strips that just have a common positive terminal and negative terminals for the three colors, you wont get the individually addressable LEDs as show in the video, but you still can control the color of the entire strip.
Would we achieve the same effect by controlling each color with a relay, or with a motor controller (to achieve a fading effect)?
  #4   Spotlight this post!  
Unread 17-02-2014, 00:38
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: Controlling 12V lights via arduino

Quote:
Originally Posted by Signet View Post
Would we achieve the same effect by controlling each color with a relay, or with a motor controller (to achieve a fading effect)?
If controlled by a relay, the strip can only have RGB channels in the full on or full off state, which would give you limited colors and no fading.

With a motor controller (or MOSFET) you get the full range of output from every RGB channel, this gives you thousands of colors and the ability to 'fade' the strip.

The bildr post I linked explains how to do this with a MOSFET and a PWM signal from the arduino.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
  #5   Spotlight this post!  
Unread 17-02-2014, 00:53
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 107
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Controlling 12V lights via arduino

Here's a tutorial for controlling LED strips using MOSFETs and an Arduino. It even includes part numbers, wiring diagrams, and code!

http://learn.adafruit.com/rgb-led-strips/usage
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
  #6   Spotlight this post!  
Unread 17-02-2014, 01:09
om_nom_nom om_nom_nom is offline
Registered User
AKA: Nam
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Pennsylvania
Posts: 6
om_nom_nom is an unknown quantity at this point
Re: Controlling 12V lights via arduino

This may not be of much assistance, but you could consider wiring them to a pneumatics bumper and treat the LEDs as solenoids. My team is doing something similar to this, and we have yet to have much issue. You would have one relay for each colour, and power each as needed for different colour combinations.
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 19:25.

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