(IoT) Intertnet of Things With Ubidots (ESP8266+LM35)
by mcmchris in Circuits > Sensors
2110 Views, 3 Favorites, 0 Comments
(IoT) Intertnet of Things With Ubidots (ESP8266+LM35)
![(IoT) Internet de las cosas con Ubidots | ESP8266 + LM35 | Temperatura](/proxy/?url=https://content.instructables.com/FFJ/18I0/JPSNZGHC/FFJ18I0JPSNZGHC.jpg&filename=(IoT) Internet de las cosas con Ubidots | ESP8266 + LM35 | Temperatura)
Today we are going to learn to use the Ubidots platform to visualize data over the internet in a friendly way.
Materials and Assembly:
![2018.12.18-11.32.png](/proxy/?url=https://content.instructables.com/FJL/SUJ6/JPSNZHDK/FJLSUJ6JPSNZHDK.png&filename=2018.12.18-11.32.png)
![2018.12.18-11.32_01.png](/proxy/?url=https://content.instructables.com/FTY/ZZ2V/JPSNZHGO/FTYZZ2VJPSNZHGO.png&filename=2018.12.18-11.32_01.png)
1-Protoboard.
2-NodeMCU (ESP8266)
3-LM35 temperature sensor.
4-Some wire
Arduino IDE Setting Up to NodeMCU:
![2018.12.18-11.33.png](/proxy/?url=https://content.instructables.com/F44/H2A3/JPSNZHGQ/F44H2A3JPSNZHGQ.png&filename=2018.12.18-11.33.png)
![2018.12.18-11.33_01.png](/proxy/?url=https://content.instructables.com/F7G/12ZY/JPSNZHHR/F7G12ZYJPSNZHHR.png&filename=2018.12.18-11.33_01.png)
![2018.12.18-11.34.png](/proxy/?url=https://content.instructables.com/FVJ/NA77/JPSNZHIQ/FVJNA77JPSNZHIQ.png&filename=2018.12.18-11.34.png)
Link to be pasted in preferences boards URL:
http://arduino.esp8266.com/stable/package_esp8266c...
-Download the ESP8266 shields package in the boards manager.
-Select your board (NodeMCU).
-And that's it.
Code Credentials Fill and Ubidots Account:
![2018.12.18-11.34_01.png](/proxy/?url=https://content.instructables.com/FXX/HXAC/JPSNZHJP/FXXHXACJPSNZHJP.png&filename=2018.12.18-11.34_01.png)
![2018.12.18-11.35.png](/proxy/?url=https://content.instructables.com/FJT/6C0I/JPSNZHNH/FJT6C0IJPSNZHNH.png&filename=2018.12.18-11.35.png)
![2018.12.18-11.35_01.png](/proxy/?url=https://content.instructables.com/FPG/Z99H/JPSNZHOG/FPGZ99HJPSNZHOG.png&filename=2018.12.18-11.35_01.png)
![2018.12.18-11.35_03.png](/proxy/?url=https://content.instructables.com/F9S/BJIE/JPSNZHRL/F9SBJIEJPSNZHRL.png&filename=2018.12.18-11.35_03.png)
![2018.12.18-11.35_02.png](/proxy/?url=https://content.instructables.com/F9P/XKVZ/JPSNZHQM/F9PXKVZJPSNZHQM.png&filename=2018.12.18-11.35_02.png)
![2018.12.18-11.35_04.png](/proxy/?url=https://content.instructables.com/FW2/W6CP/JPSNZHSK/FW2W6CPJPSNZHSK.png&filename=2018.12.18-11.35_04.png)
Go to https://ubidots.com/ , sign up, and search for your "default token" and paste it in the code, next to your Wi-Fi credentials.
Library and code here:
-Upload the code to the NodeMCU and verify that it got connected and says OK.
Ubidots Config and Visualization:
![2018.12.18-11.36_01.png](/proxy/?url=https://content.instructables.com/FTY/0X1H/JPSNZGNP/FTY0X1HJPSNZGNP.png&filename=2018.12.18-11.36_01.png)
![2018.12.18-11.36_02.png](/proxy/?url=https://content.instructables.com/FH5/U7W8/JPSNZGPD/FH5U7W8JPSNZGPD.png&filename=2018.12.18-11.36_02.png)
![2018.12.18-11.36_03.png](/proxy/?url=https://content.instructables.com/F91/HBRZ/JPSNZGQD/F91HBRZJPSNZGQD.png&filename=2018.12.18-11.36_03.png)
![2018.12.18-11.36_05.png](/proxy/?url=https://content.instructables.com/FW5/TBB5/JPSNZGTU/FW5TBB5JPSNZGTU.png&filename=2018.12.18-11.36_05.png)
![2018.12.18-11.37.png](/proxy/?url=https://content.instructables.com/F6O/V75S/JPSNZGUU/F6OV75SJPSNZGUU.png&filename=2018.12.18-11.37.png)
![2018.12.18-11.37_01.png](/proxy/?url=https://content.instructables.com/FSQ/JEBY/JPSNZGWR/FSQJEBYJPSNZGWR.png&filename=2018.12.18-11.37_01.png)
![2018.12.18-11.41.png](/proxy/?url=https://content.instructables.com/FY0/LIIQ/JPSNZGYY/FY0LIIQJPSNZGYY.png&filename=2018.12.18-11.41.png)
![2018.12.18-11.41_01.png](/proxy/?url=https://content.instructables.com/FIF/THNK/JPSNZH2E/FIFTHNKJPSNZH2E.png&filename=2018.12.18-11.41_01.png)
![2018.12.18-11.41_02.png](/proxy/?url=https://content.instructables.com/F7U/EDQG/JPSNZH4K/F7UEDQGJPSNZH4K.png&filename=2018.12.18-11.41_02.png)
![2018.12.18-11.42.png](/proxy/?url=https://content.instructables.com/FSP/SKSS/JPSNZH5K/FSPSKSSJPSNZH5K.png&filename=2018.12.18-11.42.png)
![2018.12.18-11.42_01.png](/proxy/?url=https://content.instructables.com/FVG/0OGG/JPSNZH6L/FVG0OGGJPSNZH6L.png&filename=2018.12.18-11.42_01.png)
![2018.12.18-11.42_02.png](/proxy/?url=https://content.instructables.com/FXN/SL2K/JPSNZH7L/FXNSL2KJPSNZH7L.png&filename=2018.12.18-11.42_02.png)
![2018.12.18-11.42_03.png](/proxy/?url=https://content.instructables.com/F56/1D1O/JPSNZH8K/F561D1OJPSNZH8K.png&filename=2018.12.18-11.42_03.png)
![2018.12.18-11.43.png](/proxy/?url=https://content.instructables.com/FFX/7GHM/JPSNZH9L/FFX7GHMJPSNZH9L.png&filename=2018.12.18-11.43.png)
1-Automatically a device called ESP8266 will appear on your Ubidots devices after uploading the code.
2-It will has a variable showing the lecture of the sensor in a range of 0-255.
3-We need to create a synthetic variable in function of the first one. To converte the 0-255 value into a Temperature (C) value we most use a function. ((value)*(3.3)*(100))/1024 = centigrade degrees.
4-We create a table in the data field, with a thermometer widget, typing the name of the variable (API LABEL), in this case is called "temp" and click ok.
5-And finally we are able to visualize the temperature of the sensor over the web, wherever we are, could be by the smartphone app and on.