Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:iotprogramming2 [2023/11/05 10:48] – [Programming for IoT Networking] pczekalskien:iot-open:iotprogramming2 [2023/11/23 10:45] (current) pczekalski
Line 1: Line 1:
-====  ==== +======  Programming for IoT Networking ====== 
-<box #5374d5></box> +{{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_m.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\ 
-<box #5374d5></box> +The Internet of Things has revolutionised how we interact with the physical world mainly because of the ease of data exchange, which we can make almost everywhere. IoT relies on exchanging information between a myriad of devices and sensors, all of which need to communicate with each other and often with the cloud or other servers. The most exciting Internet of Things features are the possibility of using data transmission between nodes, between nodes and servers, and the ability to read measurements and control the behaviour of devices remotely. All these features use networking functionality. IoT networking is the backbone of the IoT ecosystem, enabling devices to collect and transmit data, receive instructions, and interact with other devices, even from other parts of the world.\\
-====  Programming for IoT Networking ==== +
-<box #5374d5></box> +
-<box #5374d5></box> +
- +
-The Internet of Things has revolutionized how we interact with the physical world mainly because of the ease of data exchange, which we can make almost everywhere. IoT relies on exchanging information between a myriad of devices and sensors, all of which need to communicate with each other and often with the cloud or other servers. The most exciting Internet of Things features are the possibility of using data transmission between nodes, between nodes and servers, and the ability to read measurements and control the behaviour of devices remotely. All these features use networking functionality. IoT networking is the backbone of the IoT ecosystem, enabling devices to collect and transmit data, receive instructions, and interact with other devices, even from another part of the World.\\+
  
 Network programming is specific to IoT devices. It uses hardware built into the microcontroller or as an external communication coprocessor connected to the main MCU using one of the popular embedded systems protocols. Many IoT MCUs include a variety of programmable communication radios. Wired communication is possible with external modules (if at all). On the low ISO/OSI layers, the most popular implementations include 802.11 (a variety of WiFi standards) and 802.15 (Bluetooth, Thread, Zigbee and so on). Most modern radios implement many standards and use SDR (Software Defined Radio), but due to constrained resources, use of all standards in parallel may not be possible.\\ Network programming is specific to IoT devices. It uses hardware built into the microcontroller or as an external communication coprocessor connected to the main MCU using one of the popular embedded systems protocols. Many IoT MCUs include a variety of programmable communication radios. Wired communication is possible with external modules (if at all). On the low ISO/OSI layers, the most popular implementations include 802.11 (a variety of WiFi standards) and 802.15 (Bluetooth, Thread, Zigbee and so on). Most modern radios implement many standards and use SDR (Software Defined Radio), but due to constrained resources, use of all standards in parallel may not be possible.\\
Line 14: Line 9:
  
 In the previous chapters, some examples were presented for sensors, actuators and other interesting elements, but without computer networks. This chapter presents some elementary programming examples for networking using Espressif SoCs as the Edge-class devices and Raspberry PI as the Fog-class device. Espressif SoCs can be used as WiFi network controllers connected to other microcontrollers (e.g. Arduino Uno) and programmed with "AT" commands. They can also be stand-alone microcontrollers with on-board network capabilities.\\  In the previous chapters, some examples were presented for sensors, actuators and other interesting elements, but without computer networks. This chapter presents some elementary programming examples for networking using Espressif SoCs as the Edge-class devices and Raspberry PI as the Fog-class device. Espressif SoCs can be used as WiFi network controllers connected to other microcontrollers (e.g. Arduino Uno) and programmed with "AT" commands. They can also be stand-alone microcontrollers with on-board network capabilities.\\ 
-ESP8266 and ESP32 can use Wi-Fi connectivity, while many versions of ESP32 can also use Bluetooth.  +ESP8266 and ESP32 can use WiFi connectivity, while many versions of ESP32 can also use Bluetooth.  
-In WiFi networks, the Espressif chips can operate as the network client (like a normal computer connected to the Access Point or Router), as the network provider (Access Point), or in both modes simultaneously (as the Repeater).\\+In WiFi networks, the Espressif chips can operate as the network client (like a regular computer connected to the Access Point or Router), as the network provider (Access Point), or in both modes simultaneously (as the Repeater).\\
 Currently, none of the STM32 devices supports WiFi, but the Wireless Series of the STM32 family have built-in Bluetooth radio and can use other 802.15.4 IoT protocols.\\ Currently, none of the STM32 devices supports WiFi, but the Wireless Series of the STM32 family have built-in Bluetooth radio and can use other 802.15.4 IoT protocols.\\
-<todo @ktokarz>Please add a sentence on nRF here regarding its connectivity capabilities</todo>+Nordic Semiconductor nRF52 family of SoCs supports Bluetooth, Bluetooth Low Energy, and 802.15.4 protocols. These chips cannot connect to the WiFi network directly.
  
 In the first part of this chapter, the emphasis will be put on the ESP8266 SoC, and all the examples will present software for this chip. The second part of the chapter presents some Scripting examples in Python (and Micropython) for the Fog and Edge classes of IoT devices.\\ In the first part of this chapter, the emphasis will be put on the ESP8266 SoC, and all the examples will present software for this chip. The second part of the chapter presents some Scripting examples in Python (and Micropython) for the Fog and Edge classes of IoT devices.\\
  
-  * [[en:iot-open:espressif_modes|Espressif modes of networking]] +<WRAP excludefrompdf> 
-  * [[en:iot-open:espressif_AT|Espressif AT networking]] +The following subchapters present more details on the networking programming
-  * [[en:iot-open:espressif_arduino|Programming Espressif SoCs for networking]] +  * [[en:iot-open:iotprogramming2:espressif_networking]], 
-  * [[en:iot-open:espressif_ESP8266_scanner|ESP8266 WiFi Scanner]] +  * [[en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:raspberrypi_rpi:networking_python]]. 
-  * [[en:iot-open:espressif_ES8266_HTTP_LED_control|ESP8266 wxample how to control LED with simple Web page]] +</WRAP>
-  * [[en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:raspberrypi_rpi:networking_python|Networking in Python]] +
-  * [[en:iot-open:frameworkstools2|Frameworks and tools]]+
en/iot-open/iotprogramming2.1699181288.txt.gz · Last modified: 2023/11/05 10:48 by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0