Getting the RGB LED to respond like I wanted was more difficult than I thought it would be. My original idea was to have this project be a interactive example on how our country ignore the science of climate change using the light sensor and water sensor. As I put everything together it all worked, but it didn't work the way I was hoping so I had to table the idea for another time. I believe my main issue was with the light sensor, but I didn't have the time to redo what I have put together.
The result of all of this is an LED light that can be manipulated in three different ways: light sensor, potentiometer, and water sensor. The potentiometer can also be used to activate the active buzzer after crossing a certain threshold.
Materials:
- 17 Jumper Wires
- 1 Arduino UNO
- 1 RGB LED
- 3 220ohm resistors
- 1 photoresistor
- 1 Water Sensor
- 1 Potentiometer
- 1 active buzzer
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9CIPA6oJaEf1fWHHhw7vUeyRQlCRKgtjQtA1iyQd-YQwxpPn7cuh5VxH5nNfMUtePoICmU8nYXUJ5V_f3HnZLUuvCtQhiSSNvYoFgEoMu5JaIAYYHJDTL1x022D7QE-76JB2QWmPCrTs/s320/buzzerschematic.jpg) |
Active Buzzer Schematic |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSxVVNMT3ejIc8cGvWknbyOuO1hl2H7Iv6GLJ3RDQl6hYGhREkGoK0M7VExVup_QcrO9LJ1S9BZWHq-VSIGNicHiBiLOdzEdHDmKui4lNXkeFEVsLy7pCnBF6Fs7EEcXYpGGYKWG8evrY/s320/LEDSchematic.jpg) |
LED Schematic |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFDIOPwjue_TlF1GxO4Th3e5wsUfkVZrPtyK-iOG2uLV6bzx-tafaTevTqNNS51RlglyCK7gP9v1NbPljHUagj4za_ktBNgdqKb6RvGHrvI_q_XilEbo9hFzR6J-sKScbaugTV5Gmi9i4/s320/potentiometerschematic.jpg) |
Potentiometer Schematic |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia0omniFU3U1qt8x-mOaZUNGM7iM7z-7AWO40WMQY9MAFi-hH4X1I0BXZn61hONrJaJClv9Zt0jA0bArlC78nTaa931zwzatYJTevRzinJUjrnO2jR5nqyye325xq_2SsXUJZJ8lJBxb8/s320/watersensorschematic.jpg) |
Water Sensor Schematic |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6MGEHG_ZqSX97QxCy509ZDLYxLisJdvs5KpaXgC_D4btnl6Q162BULyFkOS7C-ira1A8YkLU7-tG2CTHUEQLWtyD_p2fNdl-pt-cXyWKe54UJQgn7ayrdhxDXut3tG0P12w6eXd3CReg/s320/sketch1569853902838.png) |
Original Sketch |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.