ESP8266 - WiFiManager and EEPROM
My next addition to previous projects Battery Powered Wifi IoT - Temperature, Humidity & Soil Moisture Sensors and Battery Powered ESP8266 IoT & Temperature Sensor is to make wifi configuration smooth and fast.
My next addition to previous projects Battery Powered Wifi IoT - Temperature, Humidity & Soil Moisture Sensors and Battery Powered ESP8266 IoT & Temperature Sensor is to make wifi configuration smooth and fast.
Idea for this project came with my new small fish tank. Since the fish tank is in a living room I did not want to have aquarium air pump on during the TV time due to its noise. Also the main light should be automatically turned off during the night. I wanted to add also night LED.
My new project consists of HW with cost under 20€. It is able to accurately measure electric power consumption and sends data via WiFi. Great source of knowledge is openenergymonitor.org which includes also Arduino library.
I have just made a prototype of ESP8266 (ESP-01) IoT temperature & humidity SI7021 sensor and also 2x three pin soil moisture sensors with only 0.006mA (6µA) current drain during the sleep.
I successfully run DHT22 battery ESP8266 temperature/humidity IoT sensor so my next project is a simple IoT Door Sensor. It is up and running and sending a simple event to my HTTP server via wifi chip ESP8266 (ESP-01 in my case). HTTP server is serving simple php script, that stores the data locally and also sending events to DWEET.IO and also sending email via Amazon SNS (AWS CLI api).
Since my latest ESP8266 temperature humidity IoT logger project is up and running I have decided to cut the last wire – power. There are more approaches how to make ESP8266 running on a battery, but why not to have a unique one… 😎
The idea is to use only 5µA AtTiny13A (5 microA 2-3V) during the idle time to decouple all other components from batteries! So really 0 power usage from all other components (power regulator, DHT22 sensor,..), since the more components the more idle power consumption. All other circuits should wake up only during limited time and then again turn off.
I learned how to program ESP8266 so I created my first temperature IoT ESP8266 project. I used DHT22 as a temperature and humidity sensor and also I did some testing of power consumption using LIGHT SLEEP (LIGHT_SLEEP_T) mode on ESP8266.
I was inspired by several DIY projects. The ESP8266 WiFi 802.11 b/g/n Module is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your WiFi network. The ESP8266 is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor.
This post describes step-by-steps instructions on how to program ESP-01 board in the following chapters:
You can find several breadboard adapters for ESP8266 WiFi module or nRF24L01+ RF transceiver and also several DIY manuals how to create your own, but I decided to use my new WiFi WSP8266 and NRD24L01 as soon as I got them, so I used only breadboards female headers to start my home projects.
Check my my first IoT ESP8266 temperature humidity sensor project and my own ESP8266 ESp-01 programmer board.