ben njus
Published

IOT Project

Hey Everyone!

IntermediateShowcase (no instructions)5 hours190
IOT Project

Things used in this project

Story

Read more

Schematics

image

hey

Code

code

C/C++
hey!
Design:

2 modes, an automatic and Manual

The program starts in Manual

1) The light on the Encoder turns Purple
2) By turning the Encoder, the Neopixels light up one by one manually
3) i put in a little game
3) in my code, i did a slope function to connect the neopixel number to the Encoder position
4) Also the Hue light (at my desk) gets brighter as i turn the Encoder dial
5) All Hue lights turn off in setup

Then by pushing the Encoder switch again: the program goes into the Automatic state:

1) The light on the Encoder switch turns yellow
2) Two WeMo devices turn on, one my my desk (WeMo device 4), and WeMo device 3 
3) All 6 Hue lights turn on and vary in both color and brightness from my code
4) Also all the neopixel lights turn red if the temp is above 20 degrees C
5) The OLED display shows a message when the Humidity is low, and it shows the humidity measurement
6) when the temp decreases from an ice bottle, all the neopixel lights turn blue
7) also when the humidity is increased (by breathing on it), a new message gets displayed on the OLED


Code

Problems

Things i learned

Questions???

Credits

ben njus
2 projects • 1 follower

Comments