Автор: Dogan Ibrahim
Издательство: Elektor Publication
Год: 2020
Страниц: 325
Язык: английский
Формат: pdf (true)
Размер: 12.3 MB
The Internet of Things (IoT) is becoming a major application area for embedded systems. As a result, more and more people are becoming interested in learning about embedded design and programming. Technical colleges and universities are moving away from legacy 8 and 16-bit microcontrollers and are introducing 32-bit embedded microcontrollers to their curriculums. Many IoT applications demand precision, high processing power, and low power consumption.
Produced by IBM, Node-RED is an open-source visual editor for wiring the Internet of Things. Node-RED comes with a large number of nodes to handle a multitude of tasks. The required nodes are selected and joined together to perform a particular task. Node-RED is based on flow type programming where nodes are configured and joined together to form an application program. There are nodes for performing complex tasks, including web access, Twitter, E-mail, HTTP, Bluetooth, MQTT, controlling GPIO ports, etc. One particularly nice aspect of Node-RED is that the programmer does not need to learn how to write complex programs. For example, an email can be sent by simply joining nodes together and writing only a few lines of code.
The aim of this book is to teach how Node-RED can be used in projects. The main hardware platform used with most of the projects in this book is Raspberry Pi 4. Chapters are included to show how Node-RED can be also be used with Arduino Uno, ESP32 DevKitC, and the ESP8266 NodeMCU microcontroller development boards.
Many example projects are given in the book. All projects have been fully tested and were working at the time of writing this book. Users can select flow programs of the projects from the book website and configure them to suit their own applications. The operation of each flow program is fully described in the book.
Raspberry Pi is based on ARM architecture and it is currently one of the most commonly used single-board computers used by students, engineers, and hobbyists. There are hundreds of Raspberry Pi based projects available on the internet.
Arduino is also a very popular microcontroller development board. Although it is based on 8-bit architecture, it is widely used as it is supported by large numbers of software libraries, making it easy to develop projects in relatively short times.
Another popular microcontroller is ESP32. It is widely sold as a development board known as the ESP32 DevKitC. The reason why ESP32 is very popular is that it has onboard Wi-Fi and Bluetooth capability, many digital and analog input ports, and built-in timers. Additionally, its power consumption is very low and it has a processor that can be put into sleep mode, which consumes extremely low current.
Скачать Programming with Node-RED