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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum RGB LED night light
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 405 subscribers
  • Views 1136 views
  • Users 0 members are here
  • light
  • arduino_uno
  • night
  • leds
  • reg
Related

RGB LED night light

josh_j
josh_j over 12 years ago

Ok this is what I'm trying to do. I want to create a RGB LED night for my girlfriend using an Arduino and have the LEDs fade through different colors. I want to drive at least 6 LEDs. I've been talking to people on the Arduino Google+ group but this one guy gave me a schematic for my idea, but I'm really really new to all this. Is there a driver board for RGB LEDs that I can buy and use that and the Arduino to make this? I just want something that will do what I'm planning but is easy for newbies like myself. It would be cool too if the Arduino could detect the ambient light in the room and come on as needed. I would also buy a 9V wall adaper for so the Arduino could run off power from a outlit.

 

If someone on here is able to help me work through this project and give me ideas and easy ways of creating this for my GF that would be amazing!

 

P.S. I have a Arduino Uno

 

Thanks!

Josh

  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 12 years ago in reply to josh_j +1
    By chance did you look at the Adafruit tutorial.? I'm sure the fact you did the code (rather than have someone else supply) will impress you girlfriend. mark
  • ntewinkel
    ntewinkel over 12 years ago in reply to josh_j +1
    Cool project! You'd have to add the variable resistor to one of the analog inputs, and then use analogWrite to output to the LED. Oomlout has a basic example (See "Making it better, Control the Brightness…
Parents
  • josh_j
    josh_j over 12 years ago

    Here is something else I found on adafruit! http://www.adafruit.com/product/1430 The only thing I need to know is how to code this. I want it to fade through the normal RGB but also have Yellow and Purple. Now can I use a variable resister and use a 1K resister so my gf won't over volt the shield? I want to be able to manually adjest the brightness instead of using a Cds cell to check ambient light.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • josh_j
    josh_j over 12 years ago

    Here is something else I found on adafruit! http://www.adafruit.com/product/1430 The only thing I need to know is how to code this. I want it to fade through the normal RGB but also have Yellow and Purple. Now can I use a variable resister and use a 1K resister so my gf won't over volt the shield? I want to be able to manually adjest the brightness instead of using a Cds cell to check ambient light.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • mcb1
    mcb1 over 12 years ago in reply to josh_j

    By chance did you look at the Adafruit tutorial.?

     

    I'm sure the fact you did the code (rather than have someone else supply) will impress you girlfriend.

     

    mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • josh_j
    josh_j over 12 years ago in reply to mcb1

    Yeah I did go look at adafruit and found what I was looking for.http://www.adafruit.com/product/1430 Now how do I add a variable resister so she can adjust the brightness manually?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ntewinkel
    ntewinkel over 12 years ago in reply to josh_j

    Cool project!

     

    You'd have to add the variable resistor to one of the analog inputs, and then use analogWrite to output to the LED.

    Oomlout has a basic example (See "Making it better, Control the Brightness") http://www.oomlout.com/oom.php/products/ardx/circ-01

     

    For a diffuser, I've seen people use pingpong balls, drinking straws, and also plexiglass covered with "invisible tape".

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • josh_j
    josh_j over 12 years ago in reply to ntewinkel

    thanks I'll look into it! I'm really gonna have to take some time learning all the coding for this whole thing. lol

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • josh_j
    josh_j over 12 years ago in reply to ntewinkel

    Also I just noticed that the analogpins the variable resister is going to use are also the same pins that the adafruit NeoPixel Shield uses. How do I wire it it so they work together?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • josh_j
    josh_j over 12 years ago in reply to mcb1

    Which tutorial was that? Could you be send the the link to it?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mcb1
    mcb1 over 12 years ago in reply to josh_j

    its the tab on the right of the page link you sent.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2026 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