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

Posted on Wednesday, November 26th, 2014 in Chips, hacks by DP


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.

This entry was posted on Wednesday, November 26th, 2014 at 1:56 pm and is filed under Chips, hacks. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “ESP8266 powered web server + LED control + DHT22 temperature/humidity sensor reading”

  1. Richard says:

    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 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!


Leave a Reply

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

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please