Light Controller

Design Challenge: Make a device to control an RGB light. The features of the device include:

  1. A control to turn the light on and off. When it turns on, it should retain the relative red, green, and blue brightness levels from when it was last turned on.
  2. The ability to fade each color channel (red, green, and blue) from off to full brightness.
  3. Fade level should be maintained when you release the fade controller.
  4. Fade should be interruptible by other controllers, e.g. on/off or another fade controller.
  5. The ability to fade the overall brightness of the light.

Code

Testing: This code explores turning on an LED with a switch. A potentiometer is then used to control the brightness of the LED. I worked with a white LED for this to ensure the code worked before connecting the RGB LED.

RGB LED Code:

 

Schematics

Design and Fabrication 

References
https://itp.nyu.edu/physcomp/labs/labs-arduino-digital-and-analog/analog-in-with-an-arduino/
http://cdn.sparkfun.com/datasheets/Components/LED/YSL-R596AR3G4B5C-C10.pdf
https://learn.adafruit.com/adafruit-arduino-lesson-3-rgb-leds/arduino-sketch

197 thoughts on “Light Controller”

  1. Hi, I was just on your site and filled out your feedback form. The contact page on your site sends you these messages to your email account which is the reason you’re reading my message at this moment correct? This is the most important accomplishment with any type of online ad, making people actually READ your message and I did that just now with you! If you have an advertisement you would like to blast out to thousands of websites via their contact forms in the US or to any country worldwide let me know, I can even target particular niches and my charges are super low. Reply here: Benja57mik57@gmail.com

  2. You Can DOUBLE Your Productivity For Life In Under 48 Hours

    And when it comes to changing your life, there’s nothing more important to fixing your productivity.

    Think about it.

    If you’re twice as productive, then, as far as your environment supports it, you’re going to make at least twice as much. However, the growth is almost always exponential. So expect even more income, free time, and the ability to decide what you want to do at any given moment.

    Here’s the best course I’ve seen on this subject:

    https://bit.ly/michaeltips-com

    It’s a fun and pretty short read… and it has the potential to change your life in 48 hours from now.

    Michael Hehn

  3. TRIFECTA! A novel that starches your emotional – erotic itch!
    Against a background of big business, deceit, frustration, oppression drives a wide range of emotions as three generations of women from the same family, turn to the same man for emotional support and physical gratification!
    A wife deceives her husband while searching for her true sexuality!
    What motivates the wife’s mother and son-in-law to enter into a relationship?
    The wife’s collage age daughter, with tender guidance from her step-father, achieves fulfillment!
    Does this describe a dysfunctional family? Or is this unspoken social issues of modern society?
    BLOCKBUSTER Opening! A foursome of two pair of lesbians playing golf. A little hanky – panky, while searching for a lost ball out of bounds. Trifecta has more turns and twist than our intestines.
    Trifecta! Combination of my personal experiences and creativity.
    https://bit.ly/www-popejim-com for “CLICK & VIEW” VIDEO. Send me your commits.
    Available amazon, book retailers.
    Trifecta! by James Pope

  4. Greetings, I was just visiting your website and submitted this message via your “contact us” form. The feedback page on your site sends you messages like this via email which is the reason you are reading my message right now correct? That’s the most important accomplishment with any type of online ad, making people actually READ your ad and that’s exactly what I just accomplished with you! If you have something you would like to blast out to tons of websites via their contact forms in the US or to any country worldwide send me a quick note now, I can even target your required niches and my pricing is very reasonable. Send a message to: fredspencer398@gmail.com

  5. Stem cell therapy has proven itself to be one of the most effective treatments for COPD (Chronic Obstructive Pulmonary Disorder). IMC is the leader in stem cell therapies in Mexico. For more information on how we can treat COPD please visit:
    https://bit.ly/copd-integramedicalcenter

  6. Are you looking to become a Trained & Certified Skilled Tradesman in only 4 weeks?

    No High School Diploma? No problem!

    We offer online certification & training for:

    *HVAC
    *Plumbing
    *Electrical
    *Solar

    And more!

    Visit: https://bit.ly/dmaceducation

  7. Do you want more people to visit your website? Receive thousands of keyword targeted visitors directly to your site. Boost revenues quick. Start seeing results in as little as 48 hours. To get info Visit: http://www.getwebsitevisitors.xyz

  8. Stem cell therapy has proven itself to be one of the most effective treatments for COPD (Chronic Obstructive Pulmonary Disorder). IMC is the leader in stem cell therapies in Mexico. For more information on how we can treat COPD please visit:
    https://bit.ly/copd-integramedicalcenter

  9. Good morning, I was just checking out your website and filled out your contact form. The “contact us” page on your site sends you messages like this to your email account which is the reason you’re reading through my message at this moment right? That’s the holy grail with any type of advertising, getting people to actually READ your advertisement and I did that just now with you! If you have an ad message you would like to blast out to thousands of websites via their contact forms in the U.S. or to any country worldwide let me know, I can even target particular niches and my prices are very affordable. Write an email to: juniordannyqprj@gmail.com

  10. Wanna promote your business on thousands of advertising sites every month? One tiny investment every month will get you virtually endless traffic to your site forever!

    For more information just visit: http://www.permanent-web-links.xyz

  11. I invite you to visit my site and learn new knowledge for the benefit of our country so what are you waiting for and learn more
    I would like many to prove to my family that if they stand on both feet without asking for their sleep and being knocked down by the way if they are right
    카지노사이트

  12. my baby is sick now the height of the fever he likes always beside me and i just want to do that he’ll be my baby just pray
    You snooze, you lose. If you aren’t paying attention, you won’t have any control over the outcome
    바카라사이트

  13. Good morning everyone I want to tell you my knowledge of a site that will give you a good life and certainly will not regret it because it can help you greatly
    When I’m listening to the music I’m losing my stresses and even though I’m in the air and I can think of good things in life oh work
    바카라사이트추천

  14. I have a lot to do in my life for my family that I could fulfill all my wishes for them and I love them all
    very happy young people with good dreams in life but they have difficulty fulfilling their dreams for reasons they do not want to spend on life so I want to help them when it’s time for me to react
    카지노사이트

  15. My grandfather and grandmother are happy with your family especially if your grandma and grandmother care about me because my grandfather and grandmother love to miss my mom
    When I’m not doing that I’m thinking of a good thing to do to make it even harder than myself to do my own work and home hard work that even when you’re in trouble
    카지노

  16. Looking for fresh buyers? Get thousands of keyword targeted visitors directly to your site. Boost revenues super fast. Start seeing results in as little as 48 hours. For more info Visit: http://www.easy-web-traffic.xyz

  17. Excellent goods from you, man. I have understand your stuff previous to and
    you’re just extremely excellent.I really like what you’ve acquired here,

  18. Ankhi Das, Facebook’s head of public policy in India, allowed a politician from the country’s ruling party to remain on its platform even though his anti-Muslim posts flouted its rules against hate speech, current and former Facebook employees
    카지노사이트

  19. I like what you guys are usually up too. This kind of clever work and coverage! Keep up the very good works guys I’ve incorporated you guys to blogroll.
    a

  20. Good morning, I was just visiting your website and submitted this message via your “contact us” form. The contact page on your site sends you messages like this via email which is why you’re reading through my message at this moment right? This is the holy grail with any kind of advertising, getting people to actually READ your ad and that’s exactly what I just accomplished with you! If you have something you would like to blast out to lots of websites via their contact forms in the US or anywhere in the world send me a quick note now, I can even target specific niches and my pricing is super reasonable. Shoot me an email here: AndradeTristanc15963@gmail.com

  21. Want more visitors for your website? Receive hundreds of keyword targeted visitors directly to your site. Boost revenues fast. Start seeing results in as little as 48 hours. To get details Have a look at: http://www.easy-web-traffic.xyz

  22. Hey

    I had already sent you an email earlier, but I had not received any answers yet.

    I have a question, i see a lot of products in this store I have made a screenshot of some products, https://screenshot.photos/product463 that you also sell in your store. But there items are 48% cheaper, well my question is what is the difference between your product ,is it the quality or something else, I hope you can answer my question.

    greetings
    Colin Aponte

    “Sent from my Ipad”

  23. Tired of paying for clicks and getting lousy results? Now you can post your ad on 5000 advertising sites and it’ll cost you less than $40. Never pay for traffic again!

    For all the details, check out: https://bit.ly/zero-payment-traffic

  24. Excellent goods from you, man. I have understand your stuff previous to and
    you’re just extremely excellent.I really like what you’ve acquired here,

  25. PULSE is a full system integrator working diligently to provide a customized solution for every client. Combining design expertise, seamless integration with intentional transparency PULSE provides clients with scalable engineered solutions. Cultivating over 45 years of material handling experience to specifically help companies leverage the right mix of technology (digital and physical) in their facilities. The PULSE team ingrains Industry 4.0 Thinking into the design philosophy at every level to deliver truly agnostic solutions that adapt to continuous evolving customer requirements.

    https://bit.ly/www-pulse-si-com

  26. I am only writing to make you understand what a superb experience our princess undergone viewing yuor web blog. She picked up such a lot of things, with the inclusion of what it is like to possess an ideal teaching style to make the mediocre ones without hassle master specified tricky topics. You undoubtedly surpassed visitors’ expected results. Thanks for showing those valuable, trustworthy, revealing not to mention unique tips on your topic to Sandra.

  27. Did you know notes like these that come through your website’s contact page can actually be an effective method to get more sales for your online business? How exactly is this done? Very simple, we create an ad text like this one for your site and we blast it out to lots of website contact pages on any website and in any business category or area you need. Does this method of advertising work? Of course they do! You’re reading this now aren’t you? The awesome thing is, this won’t cost you much more than $3 a day! Want to get more info? fire off a quick email to: UlisesMelinav85668@gmail.com

  28. I am commenting to let you know of the great encounter my friend’s daughter found reading your web page. She figured out numerous issues, not to mention what it’s like to have a wonderful giving mood to have men and women really easily have an understanding of selected hard to do subject areas. You really exceeded our own expectations. Many thanks for imparting the interesting, safe, explanatory and even easy thoughts on the topic to Janet.

  29. It is possible to promote your online business absolutely free! Have a quick gander at this complete directory consisting of the top search sites over here >bit.ly/list-of-free-classified-sites-4u

  30. Do you want more people to visit your website? Get loads of niche targeted traffic straight to your site or blog. Boost revenues super fast. Start seeing results in as quick as a few hours. For additional information Check out: http://bit.ly/your-niche-traffic

  31. Sick of wasting money on PPC advertising that just doesn’t deliver? Now you can post your ad on 1000s of advertising sites and you only have to pay a single monthly fee. Get unlimited traffic forever!

    For more information just visit: http://bit.ly/zero–cost–traffic

  32. Have you heard that messages that come through on your website contact form can actually be a great way to get more web traffic, sales, video views etc. for your website? How do we do this? Very simple, we create an ad for your business and we mass post it to hundreds of thousands contact forms on any website and in any business category or area you need. Does this method of advertising work? Well you’re reading this now aren’t you? The best part is, you can do this for less than $25 a week! Want more info? just send a quick message here: Myahlara647gxhf3@gmail.com

  33. Excellent goods from you, man. I’ve take note your stuff previous to and you’re just too magnificent.
    I actually like what you’ve received here, really like
    what you’re stating and the best way by which you are saying it.
    You’re making it entertaining and you still care for
    to keep it smart. I cant wait to read much more from you.
    That is actually a tremendous site.

    Here is my blog post … best CBD gummies

  34. I truly wanted to write down a small word to be able to thank you for those unique tips and tricks you are writing on this website. My time consuming internet search has now been rewarded with useful suggestions to write about with my relatives. I would suppose that we website visitors are very lucky to live in a very good website with very many wonderful professionals with very helpful tips. I feel very much privileged to have used your entire website page and look forward to tons of more pleasurable times reading here. Thanks a lot once more for everything. https://bronchitismed.com bronchitis medication over the counter

  35. Hi there! Would you mind if I share your blog with my twitter group?

    There’s a lot of people that I think would really enjoy
    your content. Please let me know. Cheers

    Here is my web blog :: CBD for dogs

  36. Heya i am for the first time here. I came across
    this board and I in finding It truly useful & it helped me out much.
    I am hoping to provide something back and help others like you helped me.

  37. Your style is really unique in comparison to other folks I’ve read stuff from.
    Many thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this blog.

  38. I’m really impressed with your writing skills as well as with the layout on your
    weblog. Is this a paid theme or did you customize it yourself?
    Either way keep up the nice quality writing, it’s rare to see a nice blog like this one these days.

  39. What’s Going down i am new to this, I stumbled upon this
    I’ve found It positively helpful and it has aided me out loads.
    I hope to give a contribution & aid other customers like its helped me.
    Good job.

  40. Greetings! Very useful advice in this particular article!

    It is the little changes that will make the most significant changes.
    Thanks for sharing!

  41. Hello There. I found your blog using msn. This is a very smartly written article.

    I will be sure to bookmark it and return to learn more of
    your useful info. Thanks for the post. I will certainly return.

  42. Great blog you have here but I was curious about if you knew of
    any forums that cover the same topics discussed here? I’d really like
    to be a part of community where I can get feed-back
    from other knowledgeable people that share the same
    interest. If you have any recommendations, please let me know.
    Kudos!

  43. Tanhu; Toptan ve Perakende Ürün Seçeneklerimiz ile Alışveriş Yapabileceğiniz, Seçenekleri Görebilirsiniz. Gönül Rahatlığıyla Güvenli Alışveriş Yapabilirsiniz.!

  44. Stop paying tons of cash for ripoff online advertising! We’ve got a method that requires only a minute payment and delivers an almost endless volume of web visitors to your website

    For all the details, check out: http://bit.ly/unlimited-free-traffic

  45. Dzięki za sugestii dotyczących naprawy kredytu na temat tego konkretnego blogu. Co ja chciałbym rada ludziom jest zrezygnować z tej mentalności że mogą teraz i zapłać później. As a as be a} społeczeństwo {my|my wszyscy|my wszyscy|wielu z nas|większość z nas|większość ludzi} ma tendencję do {robienia tego|robienia tamtego|próbowania tego|zdarzyć się|powtórz to} dla wielu {rzeczy|problemów|czynników}. Obejmuje to {wakacje|wakacje|wypady|wyjazdy wakacyjne|wycieczki|rodzinne wakacje}, meble, {i|jak również|a także|wraz z|oprócz|plus} przedmiotów {chcemy|chcielibyśmy|życzymy|chcielibyśmy|naprawdę chcielibyśmy to mieć}. Jednak {musisz|musisz|powinieneś|powinieneś chcieć|wskazane jest, aby|musisz} oddzielić {swoje|swoje|to|twoje obecne|swoje|osoby} chcą {od wszystkich|z potrzeb|z}. {Kiedy jesteś|Kiedy jesteś|Kiedy jesteś|Jeśli jesteś|Tak długo, jak jesteś|Kiedy} pracujesz, aby {poprawić swój kredyt|poprawić swoją zdolność kredytową|zwiększyć swój kredyt|zwiększyć swój kredyt|podnieś swój ranking kredytowy|popraw swój kredyt} wynik {musisz zrobić|zrobić|faktycznie potrzebujesz|naprawdę musisz} dokonać kilku {poświęceń|kompromisów}. Na przykład {możesz|możesz|możesz|możesz|będziesz mógł|| możesz|prawdopodobnie możesz} robić zakupy online {aby zaoszczędzić pieniądze|aby zaoszczędzić pieniądze|aby zaoszczędzić} lub {możesz przejść do|może się zwrócić|może odwiedzić|może obejrzeć|może sprawdzić|może kliknąć} używane {sklepy|sklepy|detaliści|sprzedawcy|punkty sprzedaży|dostawcy} zamiast {drogie|drogie|drogie|drogie|drogie|drogich} domów towarowych {dla|w odniesieniu do|dotyczących|odnoszących się do|przeznaczonych dla|do zdobycia} odzieży {termometr bezdotykowy|termometry bezdotykowe|termometry bezdotykowe ranking|termometr do czoła|termometry do czoła|termometr bezkontaktowy|termometry bezkontaktowe|termometr koronawirus|termometr|termometr na podczerwień|termometry na podczerwień|termometr lekarski|termometry lekarskie|szybki termometr medyczny|szybkie termometry medyczne}.

  46. I absolutely love your website.. Pleasant colors & theme.

    Did you build this web site yourself? Please reply back as I’m attempting to create my very own blog and want to
    learn where you got this from or exactly what the theme is called.
    Kudos!

    My page: cbd gummies

  47. I just like the helpful information you supply for your articles. I’ll bookmark your weblog and test once more here regularly. I’m fairly sure I will learn many new stuff proper right here! Best of luck for the following!

  48. Make Your BITCOIN Double In Just 12 Hours.
    The website promises to double your BITCOIN with no human intervention required. Our system is fully automated it only needs 12 hours to double your BITCOINs.
    Click to : https://bitdouble.net

  49. An outstanding share! I’ve just forwarded this onto a co-worker who had been conducting a little research on this. And he actually ordered me lunch simply because I discovered it for him… lol. So allow me to reword this…. Thanks for the meal!! But yeah, thanx for spending some time to talk

    스피드바카라

    bout this topic here on your web page.

  50. Have you ever thought about creating an e-book or guest authoring
    on other websites? I have a blog based upon on the
    same subjects you discuss and would really like to have you share some stories/information.
    I know my viewers would value your work. If you’re even remotely interested, feel free
    to shoot me an e-mail.

    Also visit my site … delta 8 thc

  51. Great work! That is the type of info that are supposed to be shared across the internet. Disgrace on Google for not positioning this post upper! Come on over and talk over with my

    바카라

    web site . Thank you =)|

  52. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I
    receive 4 emails with the exact same comment. Perhaps there is an easy method you are able to remove
    me from that service? Thanks!

    My homepage: delta 8 thc

  53. Have you ever considered writing an ebook or guest authoring on other websites?
    I have a blog centered on the same topics you discuss
    and would love to have you share some stories/information. I know
    my viewers would value your work. If you are even remotely interested, feel
    free to shoot me an e-mail.

    Visit my web site :: buy cbd

  54. great publish, very informative. I’m wondering why the
    opposite experts of this sector do not realize this.
    You must proceed your writing. I am sure, you have a huge readers’ base already!

    Also visit my blog delta 8

Leave a Reply

Your email address will not be published.