(Created page with "<html> <iframe width="450" height="260" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/53608/charts/1?width=450&height=260&results=10&dynamic=true"...")
 
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:WiFi ESP8266]]
 +
We were invited today to give a  seminar on "How to get started with Embedded Systems" in a local Engineering college. With very little time on hand, wanted to quickly show the capabilities of ESP8266.  So I decided to make a temperature humidity logger. With [https://thingspeak.com/channels/53608/private_show Thingspeak.com], it was extremely easy to log data and even trigger tweets!
 +
[[File:IoT logger.jpeg|x600px|center]]
 +
 +
If you've not setup ESP8266 support for arduino, checkout the tutorial below:
 +
[[Arduino_Support_for_ESP8266_with_simple_test_code|Arduino Support for ESP8266 with simple test code]]
 +
 +
==Components/Boards Used==
 +
 +
{| class="wikitable"
 +
|-
 +
| 1|| [https://www.exploreembedded.com/product/Explore%20ESP8266%20Wi-Fi%20Module Explore ESP8266 Wi-Fi Module] || <html><img src="https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/explore-esp8266-wifi-module/1-dsc02708.jpg"  width = "300"></html>
 +
|-
 +
| 2|| [https://www.exploreembedded.com/product/OLED%20Display%20Module%20128X64 OLED Display Module 128X64]|| <html><img src="https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/oled_display/1-dsc02652.jpg"  width = "300"></html>
 +
 +
|-
 +
| 3|| [https://www.exploreembedded.com/product/DHT11%20Digital%20Temprature%20and%20Humidity%20Sensor DHT11]|| <html><img src="https://www.exploreembedded.com/blog/wp-content/uploads/img-collections/dht11-sensor/1-dsc04714.jpg"  width = "300"></html>
 +
|}
 +
 +
==Arduino code for ESP8266==
 +
<html>
 +
<script src="https://gist.github.com/Xplorer001/d47aa824054672af6785.js"></script>
 +
</html>
 +
 +
 +
 +
==Data logging on Thingspeak==
 +
 
<html>
 
<html>
 
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/53608/charts/1?width=450&height=260&results=10&dynamic=true" ></iframe>
 
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/53608/charts/1?width=450&height=260&results=10&dynamic=true" ></iframe>
Line 4: Line 32:
 
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/53608/charts/2?width=450&height=260&timescale=15&results=60&dynamic=true" ></iframe>
 
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="http://api.thingspeak.com/channels/53608/charts/2?width=450&height=260&timescale=15&results=60&dynamic=true" ></iframe>
 
</html>
 
</html>
 +
 +
==Downloads==
 +
* Complete Arduino code
 +
 +
==References and Credits==
 +
* https://hackaday.io/project/6132-esp8266oled this projected helped interfacing OLED with ESP8266
 +
* Thanks to ESP8266 Arduino Community for porting Arduino
 +
* [https://github.com/adafruit/DHT-sensor-library DHT11 code library]
 +
 +
{{DISQUS}}

Latest revision as of 16:54, 6 April 2016

We were invited today to give a seminar on "How to get started with Embedded Systems" in a local Engineering college. With very little time on hand, wanted to quickly show the capabilities of ESP8266. So I decided to make a temperature humidity logger. With Thingspeak.com, it was extremely easy to log data and even trigger tweets!

IoT logger.jpeg

If you've not setup ESP8266 support for arduino, checkout the tutorial below: Arduino Support for ESP8266 with simple test code

Components/Boards Used

1 Explore ESP8266 Wi-Fi Module
2 OLED Display Module 128X64
3 DHT11

Arduino code for ESP8266


Data logging on Thingspeak

Downloads

  • Complete Arduino code

References and Credits