ESP8266 powered web server + LED control + DHT22 temperature/humidity sensor reading

2014-11-15-16.58.13

Martin writes:

The ESP8266 System-on-chip (SoC) has recently came out of nowhere and has been taking by storm the IoT DIY world. It is a $4.50 Wi-Fi capable chip that has remarkable specs, obsoleting overnight a number of similar products that are out there. The price factor, availability of SDK and a fast growing community make this chip quite attractive.
The most common usage for the chip so far has been to interface it to MCU and utilize the AT commands that are available in the default firmware, however that is quite an abuse of the power under the hood of the ESP8266. I’ve decided not to use external MCU and utilize the chip itself for a proof-of-concept project:

The project shall be able to

  • Run a HTTP daemon
  • Be configurable through web interface
  • Provide web UI for switching on/off a LED connected to GPIO pin
  • Provide web UI for reading a temperature+humidity sensor (DHT22)

Details and source code can be found on Martin’s website.

Join the Conversation

1 Comment

  1. Not sure where my first invitation went….. here is #2

    Everyone is invited to share their knowledge and ideas for all ESP8266 WiFi SoC projects at http://www.esp8266.com a free and open forum for all.

    This project about is a great example of the ESP8266 in use, what comes to mind for such a project also is the use of LUA the scripting language which you must checkout when you visit!

    Richard.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.