Difference: InternetAccess (1 vs. 2)

Revision 22020-05-07 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Internet access

Changed:
<
<
Once we have collected data from the sensors we want to get access o them. This can be accomplished most easily by transferring the data over the Internet. Most of the time we also want to plot the data in some form or another. Often it is also desired to see real time data.
>
>
Once we have collected data from the sensors we want to get access to them. This can be accomplished most easily by transferring the data over the Internet. Most of the time we also want to plot the data in some form or another. Often it is also desired to see real time data.

WiFi

Before doing anything on the Internet we must first connect the ESP32 to the WiFi network. The module:

https://iotworkshop.africa/pub/IoT_Course_English/InternetAccess/wifi_connect.py.txt

provides all necessary functions to do this. It first connects to WiFi as a station interface and print the IP address it is connected to. If it is already connected it simply returns. Once connected it gets the current time from the NTP time server and sets up the ESP32 real time clock. You can get the current GMT time with gmtTime() or CET time with cetTime().

wifi_connect.png

which corresponds to the 7th of May 2020 at 9:44:33 GMT.

Exercises for the Internet part of the IoT course

  In this course we will have a look into two ways of accessing our data:
Line: 12 to 24
 

Comments

<--/commentPlugin-->
Added:
>
>
META FILEATTACHMENT attachment="wifi_connect.py.txt" attr="" comment="" date="1588842852" name="wifi_connect.py.txt" path="wifi_connect.py.txt" size="2552" user="UliRaich" version="1"
META FILEATTACHMENT attachment="wifi_connect.png" attr="" comment="" date="1588844762" name="wifi_connect.png" path="wifi_connect.png" size="31594" user="UliRaich" version="1"

Revision 12020-04-28 - UliRaich

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Internet access

Once we have collected data from the sensors we want to get access o them. This can be accomplished most easily by transferring the data over the Internet. Most of the time we also want to plot the data in some form or another. Often it is also desired to see real time data.

In this course we will have a look into two ways of accessing our data:

-- Uli Raich - 2020-04-28

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback