ESP8266 Software

For my sensor project I want the ESP8266 and The HC-SR04 Ultrasonic sensor to periodically collect and send data to my server. For easy configuration of the esp I took the ESPwebconfig software and stripped it to the essential parts that I needed.

Schematic view:
flow

I’m currently finetuning the sourcecode, I added a sensor.h file where the sensor function resides, this way it will be easy to reuse the code with another sensor and keep everything else in place.

You can find the source on github

 

Leave a Reply

Your email address will not be published.