Wall mounted 'mood light'
-
I really love this project.
May I can include it in all of my sensors (doorbell, thermostat, alarm,...).Really sounds great, thanks
-
Is there a way to get your wiring schema ?
-
Is there a way to get your wiring schema ?
@Mehdi-HAMIDA There is nothing to it. A standard MySensors node (5v) with the strip connected to D5 and a button between ground and D4.
const int stripPin = 5 ; // pin where 2812 LED strip is connected const int buttonPin = 4 ; // push button -
@Mehdi-HAMIDA There is nothing to it. A standard MySensors node (5v) with the strip connected to D5 and a button between ground and D4.
const int stripPin = 5 ; // pin where 2812 LED strip is connected const int buttonPin = 4 ; // push button@AWI OK, just ordered the PCB
thx -
@AWI: Won't this part of your sketch create sort of an endless loop?
case RGB_TextColorChild: // Text color from controller if (message.type == V_TEXT) { // if get color from text child gw.request(RGB_TextColorChild, V_TEXT);@mfalkvidd Good observation. Probably the the result of an 'efficient' copy/paste :flushed:
The line
gw.request(RGB_TextColorChild, V_TEXT);I there with no reason, can be deleted...
-
Im building the same light, but i use 12v LED strips controlled with mosfets. Is it possible to use the same scetch?
-
Im building the same light, but i use 12v LED strips controlled with mosfets. Is it possible to use the same scetch?
@Tore-André-Rosander If you use standard 12v strips it won't work as such. The ws2812/11 chips in the strip used make it possible to address the individual led's.
-
@Tore-André-Rosander If you use standard 12v strips it won't work as such. The ws2812/11 chips in the strip used make it possible to address the individual led's.
@AWI Is this code for version 1.5?
Im trying to compile it for the dev (v2) but i get a lot of errors.
Mostly alot of code that "was not declared in this scope".EDIT: Just found your link to the "Conversion guide", will have look at it!