You are browsing as a guest. Sign up (or log in) to start making projects!

Color Mixing Lamp

Hardware
  • 2 Devlogs
  • 2 Total hours

Arduino based lamp that mixes colors based on sensor input

Ship #1 Pending review

I made an "lamp" that mixes color based on different sensor input, the input can for example be a thermometer or an RGB phototransistor array, in my project i did both. firstly i made the basic RGB phototransistor build by following the guide for project 04 in the Arduino projects book so that i would have an understanding of how the RGB led and its inputs work. i then proceeded to adapt the code so that it could take an input from an thermometer and turn it into an set of RGB colors that gets sent to the RGB led. the biggest difficulties for me in this project was fully understanding the code that i was dealing with and how to rewrite it to function with a thermometer instead of phototransistors.

in the picture you can see the project working flawlessly and displaying that it is 25C+ in the room it is in. the colors it displays when it is between 0-7c is blue 7-15 is increasingly white and 15-25 is increasingly orange until it turns red when over 25C.

  • 2 devlogs
  • 2h build
Video of Project → See source code →
Open comments for this post

1h 27m 26s logged

Re wrote the code so that i can use a thermometer to decide what colors are displayed, the range of colors goes from blue 0-7 white 7-15 and red/orange 15-25, anything above 25 is just plain red. I know the led lacks an deuser but i dont feel like ordering one just for this small project. the code for this versjon can also be found at my github

0
0
3
Open comments for this post

47m 21s logged

currently made my prototype by following a guide that is in the Arduino starter kit where you make an color changing lamp based on your environmental lighting, i also discovered that my set lacks an red gel to put over an phototransistor. i will now start to modify this build so that i can use other sensor inputs, for example an thermometer. the code for this has been uploaded to github

0
0
15

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…