ESP32 Publish Data to Cloud without Wi-Fi (TTGO T-Call ESP32 SIM800L)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys in this video we're going to use the tickle ESP 32 sim 800 board to publish sensor data to the cloud from anywhere in the world without using Wi-Fi will connect the ESP 32 to the Internet using a SIM card without a plan the TT go t call is an ESP 32 development part that comes with a cimmyt and rate gsm/gprs module you can get it for around 11 to 18 dollars besides Wi-Fi and Bluetooth you can communicate with this ESP 32 board using SMS phone calls or you can connect it to the Internet this is great for IOT projects that don't have access to a nearby router with Wi-Fi to use this board you need to have a nano SIM card with data plan and the USBC cable to upload calls the package includes some other pins a battery connector and the next terminal antenna that you need to connect your word however we add some signal strength issues with that antenna so we've decided to switch to one of these antennas and all those connection problems were solved a link for a complete overview of this board and where to buy it is available in the video description let's get started the idea of this project is to publish sensor data from anywhere in the world to a cloud surface the ESP 32 doesn't need to have access to a router via Wi-Fi because will connect to the internet using a SIM card data plan in a previous project we've set the server and the main name with a data base to plot sensor readings in charts that you can access from anywhere in this project will connect the ESP 32 with sim 800 to a BM e 280 sensor to publish sensor readings to that server you can publish your sensor readings to any other service like things peak IFTTT other fruit at i/o or others it's a simple HTTP POST command that will work with any other provider if you want to follow this exact project first you should complete that previous tutorial to prepare your own server then a protocol provided in the project G RESP 32 I recommend using Bluehost as your hosting provider because they can handle all the project requirements basically you'll need a server with PHP and MySQL if you don't have a sting account I would appreciate if you sign up for Bluehost using my link which doesn't cost you anything extra and help support my work you can find a link below this video in summary years other project works the tea call ESB 32 sim 800 bard is in deep sleep mode it wicks up connects to the internet using a sim card publishes the sensor readings to a server and goes back to deep sleep in our example the sleep time is 60 minutes but you can change it in the code we'll be using a p.m. EDT sensor but you should be able to use any other sensor that best suits your needs before proceeding with this project you need to install some libraries for the BM e 280 we'll use the other fruit BM e 280 library and the other fruit sensor library there are many ways to interface with a semi tangent module we'll be using the tiny GSM library these libraries are available to install through the Ardoin IV library manager after installing the required libraries wire the BM e 280 sensor to RESP 32 we're using GP I was 18 and 19 were not using the default I to see pins because they are being used by the battery power management IC then open your arduino IV and copy the code provided first you need to search for your phone plan provider APN details you'll find a domain name a username and password that is used to establish an internet connection using your sim card in some cases the username and password aren't required so you can leave them empty in my case I'm using what a fun particle if you search for GPRS APN settings followed by your phone plan provider name in my case it's GPRS APN Vodafone Portugal you can usually find in a forum or in a web site all the information that you need I've found a good website called wiki dot APN change.org that can be very useful to find all the information that you need it might be a bit tricky if you don't use a well-known provider so you might need to contact them directly after having your APN details you need to insert your SIM card PIN if set otherwise leave it empty then insert your server details domain name and resource which is the URL path this is where you'll publish your sensor data in the setup initialize the sim 800 module and the VM e 280 sensor enable deep sleep with timer wake up in the loop connect to the internet using our sim card data plan then in these lines we prepare the HTTP POST request we're sending the temperature readings in Celsius degrees if you want to use Fahrenheit you just need to uncomment these lines finally make the HTTP POST request in the end close the connection disconnect the module from the internet and start the deep sleep mode for a complete explanation on other good works visit the project page now to upload Cotillard word go to tools board and select ESP 32 dev module select the comm part and click the upload button open the serial monitor at the baud rate of 1152 zero zero and press the board reset button first the model initializes and then it tries to connect to the Internet please note that this can take some time in some cases it took almost one minute after connecting to the internet it will connect your server and make the HTTP POST request finally it disconnects from the server disconnects the internet and goes to sleep in this case it publishes new sensor readings every 60 seconds but for testing purposes you can use a shorter time frame open a browser type your URL in my case it's ESP - art dot PHP you should see the charts with the latest sensor readings this project is already running for quite a while and that's why you can see so many readings if at this point your module can't connect to the internet it can be caused by one of the following reasons the APN URL our APN credentials might not be correct the antenna might not be working properly in our case we had to replace the antenna with this one you might need to go outside to get a better signal coverage are you might not be supplying enough current to the module if you are connecting the module to your computer it might not provide enough current to operate I hope you like this project I really enjoyed using the tikal sim 800 ESP 32 word it can be very useful for IOT projects that don't have Wi-Fi access I'll be publishing more projects with this bard soon so stay tuned and subscribe to my youtube channel if you want to get the tea called simit and rave ESP 32 word check the links in the video description thanks for watching and don't forget subscribe
Info
Channel: Rui Santos
Views: 133,028
Rating: undefined out of 5
Keywords: rui santos, randomnerdtutorials, random nerd tutorials, ESP32 SIM800L Publish Data to Cloud without Wi-Fi, TTGO T-Call ESP32 with SIM800L GSM GPRS, ESP32 SIM800L TinyGSM library 2G, ESP32 SIM800L Arduino IDE Guide Connect to Internet, ESP32 SIM800 Arduino IDE Internet Connection
Id: aCeVsySh-v4
Channel Id: undefined
Length: 7min 55sec (475 seconds)
Published: Thu Sep 05 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.