- First upload a blank sketch to arduino while pressing the GPIO0 button and then test the AT commands.
- Once AT commands are working, you need to connect your esp8266 with a wifi.
- Now change the circuit to the one shown in the video. (Image given after the code)
- NOTE: Use only 1k resistors for making the voltage divider.
- Then create an account on thingspeak and create a new channel as shown in the video.
- Now copy the write API key and paste it in your code of LM35. (Code given below)
- After this is done and if all the connections are done correctly you should start receiving data on your channel and a graph starts plotting on the field that you have made.
- Now you can play around with different sensors and use more than 1 fields.
Thursday, 26 May 2016
HOW TO UPLOAD DATA OF LM35 TO THINGSPEAK USING ESP8266
Monday, 23 May 2016
FLASHING AND RUNNING AT COMMANDS ON ESP8266
- First generate 3.3v using LD33 voltage regulator and 7805 to get 5v.
- Connect GPIO0 to ground, vcc to 3.3v and gnd pin to ground.
- Connect the RX pin of ESP8266 to RX of arduino and TX to TX.
- Now connect the power supply and then connect the ch_pd to 3.3v (after connecting the battery).
- Now open the ESP8266_flasher and set the correct COM port to which the arduino is connected.
Introduction to ESP8266
The ESP8266 WiFi 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. Each ESP8266 module comes pre-programmed with an AT command set firmware, meaning, you can simply hook this up to your Arduino device and get about as much WiFi-ability as a WiFi Shield offers (and that’s just out of the box)! The ESP8266 module is an extremely cost effective board with a huge, and ever growing, community.
Introduction to IoT
The Internet of Things (IoT) is a scenario in which objects, animals or people are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. The internet of things (IoT) is the network of physical objects—devices, vehicles, buildings and other items—embedded with electronics, software, sensors, and network connectivity that enables these objects to collect and exchange data.
Subscribe to:
Posts (Atom)