Greetings enthusiasts!
I've joyfully immersed myself in a DIY project controlling Hue lights with a wall switch. Hoping for some tips to get me through as I haven't done any electronics since high school. In my 40s now.
My main inspirations is a project on diyhue and one on this forum using a ESP8266 wi-fi microcontroller. My goal is to combine the two for a low power (battery powered) solution with a double wall switch i.e. four states, small in size for mounting behind the switch.
For the moment, we'll not worry about the actual GPIOs. The ESP8266 apparently provides a deep sleep mode and is awaked by pulling down the RST pin. The diyhue project demonstrates this with a push button, however, like the aac-project, I need pulses on both the on and off sides. The mcu will wake up, read the state, do its thing and go back to sleep.
On the other hand, I'm worried about the power consumption of the aac-project. No point in exploiting the deep sleep function if the support circuit is going to drain the battery if any switch is in the on state, requiring an exchange of battery every few weeks. Perhaps redimensioning the spark protection would do it, but I'm out of my depth as to side effects.
One of the first questions asked in the aac-project was, discrete or IC. I'm not concerned either way, as long as power consumption and dimensions are kept low.
Any tips very much appreciated!
I've joyfully immersed myself in a DIY project controlling Hue lights with a wall switch. Hoping for some tips to get me through as I haven't done any electronics since high school. In my 40s now.
My main inspirations is a project on diyhue and one on this forum using a ESP8266 wi-fi microcontroller. My goal is to combine the two for a low power (battery powered) solution with a double wall switch i.e. four states, small in size for mounting behind the switch.
For the moment, we'll not worry about the actual GPIOs. The ESP8266 apparently provides a deep sleep mode and is awaked by pulling down the RST pin. The diyhue project demonstrates this with a push button, however, like the aac-project, I need pulses on both the on and off sides. The mcu will wake up, read the state, do its thing and go back to sleep.
On the other hand, I'm worried about the power consumption of the aac-project. No point in exploiting the deep sleep function if the support circuit is going to drain the battery if any switch is in the on state, requiring an exchange of battery every few weeks. Perhaps redimensioning the spark protection would do it, but I'm out of my depth as to side effects.
One of the first questions asked in the aac-project was, discrete or IC. I'm not concerned either way, as long as power consumption and dimensions are kept low.
Any tips very much appreciated!