repurposing a kid's nightlight mainboard and wiring it to an to make a wake up clock (sync it to NTP, set an alarm time via or just a Web UI, have it light up for a set period of time when the times match)

The nightlight's battery wouldn't hold a charge anymore and I didn't feel like throwing out a perfectly good 3 LED board, so I just traced the ground and power pins and then the individual light pads, soldered some wires to them (which are labeled despite being only red or black), and now get to tweak my alarm clock code to generate some nice RGB effects.

The thing has an infrared receiver on it as well as a vibration sensor, but I'm not in the mood right now to play with them. Technically I could turn this into a Kodi remote receiver, but that'd just be weird...

#ESP32 #s2mini #homeassistant #arduino

Last updated 2 years ago

When you get a vibration sensor and tape it to your old, dirty washing machine and hook it up to an (shown in a 3D case I whipped up).... you create your own "Smart" Washer.

You don't even care how absolutely filthy it is behind the ancient device cuz now you're getting notifications when the wash is done.

The code wasn't even that difficult, which was a bonus. Just had to find a spot on the machine that jiggled enough during all the cycles (fill, wash, spin, drain) but didn't get triggered by the dryer next to it, then whip up a little "vibrate this much for this long it must be on, okay it's been still for this long it must be off. Wash is done!" function.

I am addicted to these things and have more random stuff I ordered from AliExpress when drunk on the way as well.

#ESP32 #s2mini #pushover

Last updated 2 years ago

Years ago someone gave me one of these Google DIY kits that I had zero use for at that point since I didn't have a spare and having an Alexa-type device was never my cup of tea: aiyprojects.withgoogle.com/voi

However, since I'm all 'ing now and looking for stuff to hook up to them, I took another look at the kit and got interested in the microphone hat. Looking around online I found someone had gotten the pinouts of the 5-wire cable, so it was just a matter of connecting it to the right parts one of my boards.

The has the whole I2S thing going on, so I just had to find some good code examples to see if this little board worked.

After some fiddling about, I got that little guy recording to a WAV file to its file system and hosting a web server so I could download the audio.

The volume is a little low, but it's pretty cool.

However, my idea behind this isn't to record audio but to be a noise detection board that will activate at a specific threshold of sound and do something.

What it will do I have no idea. Maybe use it as an alternate method for detecting if the washing machine is still going.

I am addicted to these little boards. Help.

#rasperrypi #ESP32 #s2 #mini #wemos #s2mini #spiffs

Last updated 2 years ago