element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Addressable RGB LED project
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 7 replies
  • Answers 2 answers
  • Subscribers 28 subscribers
  • Views 878 views
  • Users 0 members are here
  • help
  • led
  • idea
  • ben_heck
  • arduino
Related

Addressable RGB LED project

Former Member
Former Member over 11 years ago

Hello, I am relatively new to this community, and I am working on my first project ever.

 

I have an idea of what I would like and how it works, but if you see a better way of doing this please tell me.

 

I would like to build a custom computer case with Addressable RGB LED strips. I would like the lights in the case to shine different colors depending on who is signed in and have different patterns with the different status of the computer.

 

For example, if no one is signed in the lights would show a default color... Let's say blue. And when someone signs in the lights would fade to that persons color automatically. Also when the computer is in standby or sleep it will slowly pulse the users color.

I Have a pretty good idea of that I need for this project, but please correct me if you know of a better option.

 

The parts I'm looking at are;

  • Arduino Uno R3-Arduino Uno R3 (Atmega328 - assembled) ID: 50 - $29.95 : Adafruit Industries, Unique & fun DIY electronics and kits
  • 9v power supply for the Arduino-http://adafruit.com/products/63
  • Addressable RGB LED strips-http://www.adafruit.com/products/306

 

The first step in this system, I think, would be to creat a program that would run on startup and check who is signed in. And would later recognize when the computer goes into standby/sleep mode. I don't know if this is possible, so any pointers would help (btw i'm using Windows 7)

 

Then this program would find the users settings and send a command to the Arduino telling it what color and pattern to display. I hope to connect the Arduino via USB to my computer.

The Arduino will be plugged into the power supply mentioned above, and connected to the LED strip mentioned above.

 

I read up on the Arduino uno, and found that it is able to output +5v Which I am hoping to use for the LED strip. Also the ground,data in, and clock in wires from the LED strip will also be connected to the Arduino via their respective connections. Would this supply enough power for the lights?

 

PLEASE NOTE that this is in no way a final plan and can be changed easily seeing that I have no commitments at the moment. Like I mentioned earlier I am new to this type of stuff so I have no equipment. Any basic advice would be greatly appreciated.

 

So what do you think? Is this plan feasible? Are there any ways this could be done cheaper? And what language would I need to know to write these programs mentioned above (I'm thinking C, but I'm not sure)?

 

Thanks again, and sorry for such a long post.

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 9 years ago +1
    thanks let me to talk about Rgb addressable led & Arduino, Arduino is module language basic on C.It is easy user just need to call module.recently I am trying to get the apa102 led strip http://www.ledlightmake…
  • ckraft
    0 ckraft over 11 years ago

    Interesting idea. A few things come to mind. The 5v output of the Arduino will not have enough power to drive the LED strip. If you check the Adafruit site you will see they call that out in the product details and also the tutorial.

     

    As far as the software on the PC to send info to the Arduino there is no need to write it in C. You could use the free version of Visual Studio to write something in C# that will talk to the Arduino via the serial port. That is how I did the code for the tweeting heart episode

     

    You could also write it in Python if you wanted

     

    I imagine there are examples of how to do what you want to do floating around the net. If you did some googling I wouldn't be surprised if you found something very close to what your trying to make.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to ckraft

    Wold I be able to power the Arduino through a USB port and talk to it, this is what Ben seems to do in his Tweeting Heart episode?

    I could run the lights off of a separate power supply.

    Also my motherboard doesn't have a serial port, is there an alternative for this?

    My motherboard is an MSI X79A-GD45 Plus.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ckraft
    0 ckraft over 11 years ago in reply to Former Member

    You can power the Arduino off the USB port and also talk to it.

     

    You don't need a motherboard with a serial port. I should have made that clear. When you plug the Arduino into the USB port the drivers make it appear as a serial port. This allows you to use standard serial libraries to talk to the Arduino. That is how I wrote the code for the tweeting heart episode. I wrote a C# program that used built in serial libraries to talk to the Arduino.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to ckraft

    Thanks for the help! I'll post some pictures when I have it finished.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • stipogill
    0 stipogill over 11 years ago

    How is going on with the project? Waiting for the exciting pictures,image

    I like the LPD8806 RGB strips very much, order them from a Chinese factory, who always developing kinds of digital RGB Leds,

    now they have new developed a 60 LED/M LPD8806 RGB Strip

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    If you need independently-controllable LED RGB values, you can always use an I2C connection from an Arduino to something like the BlinkM (pricey) or "ghetto" version of the BlinkM you can build from AtTiny chips for a few bucks each (Ghetto Pixels - Building an open source BlinkM). I use those and a Raspberry Pi to illuminate the display of grid-computing projects aligned with individual CPU cores (small program reads the BOINC project settings for the World Computing Grid and contacts the RasPi website to aggregate CPUs across multiple distributed systems). Pretty simple setup and build for the pixels and config using I2C is a quick solution.

     

    Kirk

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    thanks let me to talk about Rgb addressable led & Arduino,

    Arduino is module language basic on C.It is easy user just need to

    call module.recently I am trying to get the apa102 led strip http://www.ledlightmake.com/rgb-addressable-led-strip-c-80_87/apa102-led-pixel-strip144pcs-apa1025050-ledm-with-144pixels-p-308.html timer to generate a (The diagram"apa102 Protocolhttp://www.ledlightmake.com/ledlightmake_serv/apa102%20datasheet%28Parameter&Data%20format%29.pdf") squarewave using the output with Arduino.

    That wasn't so bad!!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube