This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-open:iotprogramming2 [2023/11/05 10:32] – [Programming for IoT Networking] pczekalski | en:iot-open:iotprogramming2 [2023/11/23 10:45] (current) – pczekalski | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== ==== | + | ====== |
- | <box # | + | {{: |
- | <box # | + | The Internet of Things has revolutionised |
- | ==== Programming for IoT Networking ==== | + | |
- | <box # | + | |
- | <box # | + | |
- | + | ||
- | The Internet of Things has revolutionized | + | |
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 " | 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 " | ||
- | ESP8266 and ESP32 can use Wi-Fi connectivity, | + | ESP8266 and ESP32 can use WiFi connectivity, |
- | In WiFi networks, the Espressif chips can operate as the network client (like a normal | + | In WiFi networks, the Espressif chips can operate as the network client (like a regular |
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> | + | 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: | + | <WRAP excludefrompdf> |
- | * [[en: | + | The following subchapters present more details on the networking |
- | * [[en:iot-open: | + | * [[en: |
- | * [[en: | + | * [[en: |
- | * [[en: | + | </ |
- | * [[en: | + | |
- | * [[en: | + |