Blog-of-gain

A tech-oriented blog from a Linux user


Latest blog updates

2020-06-06Motu M4 review: Add note about systemd and realtime audio.
2020-06-06Resizing KVM disk images: Add how to remove Windows recovery partition.
2020-05-11Converting modules into bitstream format: Add case study: Unreal Tournament soundtrack.
2020-04-12Of life and love: New article.
2019-12-31Uupumus - burnout (in Finnish): Lisätty loppuvuoden tilannepäivitys.

Filtering by tag: IoT

ESP8266 deep-sleep repeatedly

How to deep-sleep for a long time and save power

Preview

I made my indoor plant a soil moisture meter which reports the values to Azure cloud. However, I had some trouble making my D1 mini board to sleep and wake up reliably. Turns out, just calling the deep-sleep function once doesn't do the trick. I had to deep-sleep for several shorter cycles before reporting the measurement. Check out the article for a brief how-to.

Updates

2019-11-23Add power consumption measurements.

WebLED: my first IoT project on the Arduino platform

...or: how to open a garage door using WiFi

Preview

For a long time I've wanted to get more into embedded stuff and closer to the physical world when it comes to computers. As a kid I was quite interested in electronics and tweaked some small stuff, but I never really got into programming anything. Now with the market full of cheap Arduino-compatible chips, I decided to hook myself up into the Internet of Things and make a WiFi-operated garage door opener. Check out the article for an overview of the project.

Powered by GainCMS