Ready-to-use devices and self-built Arduino nodes in the 'The Things Network'
LoRaWAN has developed excellently as a communication solution in the IoT. The Things Network (TTN) has contributed to this. The Things Network was upgraded to The Things Stack Community Edition (TTS (CE)). The TTN V2 clusters were closed towards the end of 2021.
This book shows you the necessary steps to operate LoRaWAN nodes using TTS (CE) and maybe extend the network of gateways with an own gateway. Meanwhile, there are even LoRaWAN gateways suitable for mobile use with which you can connect to the TTN server via your cell phone.
The author presents several commercial LoRaWAN nodes and new, low-cost and battery-powered hardware for building autonomous LoRaWAN nodes. Registering LoRaWAN nodes and gateways in the TTS (CE), providing the collected data via MQTT and visualization via Node-RED, Cayenne, Thingspeak, and Datacake enable complex IoT projects and completely new applications at very low cost.
This book will enable you to provide and visualize data collected with battery-powered sensors (LoRaWAN nodes) wirelessly on the Internet. You will learn the basics for smart city and IoT applications that enable, for example, the measurement of air quality, water levels, snow depths, the determination of free parking spaces (smart parking), and the intelligent control of street lighting (smart lighting), among others.
The unPhone is an open-source IoT development platform powered by the ESP32S3 microcontroller. It features integrated LoRa, Wi-Fi, and Bluetooth connectivity, a touchscreen, and a LiPo battery, offering a robust and versatile solution for IoT development. Its compatibility with Adafruit's FeatherWing standard enables easy expansion, making it an ideal choice for educators, makers, and developers seeking a flexible and user-friendly platform.
Features
ESP32S3 microcontroller (with 8 MB flash and 8 MB PSRAM)
LoRaWAN licence-free radio communication (plus the ESP32's excellent wifi and bluetooth support)
3.5" (320 x 480) LCD capacitive touchscreen for easy debugging and UI creation
IR LEDs for surreptitiously switching the cafe TV off
1200 mAh LiPo battery with USB-C charging
Vibration motor for notifications
Compass/Accelorometer
A robust case
SD card slot
Power and reset buttons
Programmable in C++ or CircuitPython
Expander board that supports two Featherwing sockets and a prototyping area
Open source firmware compatible with the Arduino IDE, PlatformIO and Espressif's IDF development framework
Included
unPhone (assembled)
Expander board
FPC cable (to link the expander board to unPhone)
Self adhesive mounts for the expander board
Code Examples
C++ library
Kick the tyres on everything in the box
The main LVGL demo
CircuitPython
Support forum
Textbook (especially chapter 11)
The AVR-IoT WA development board combines a powerful ATmega4808 AVR MCU, an ATECC608A CryptoAuthentication secure element IC and the fully certified ATWINC1510 Wi-Fi network controller – which provides the most simple and effective way to connect your embedded application to Amazon Web Services (AWS). The board also includes an on-board debugger, and requires no external hardware to program and debug the MCU.
Out of the box, the MCU comes preloaded with a firmware image that enables you to quickly connect and send data to the AWS platform using the on-board temperature and light sensors. Once you are ready to build your own custom design, you can easily generate code using the free software libraries in Atmel START or MPLAB Code Configurator (MCC).
The AVR-IoT WA board is supported by two award-winning Integrated Development Environments (IDEs) – Atmel Studio and Microchip MPLAB X IDE – giving you the freedom to innovate with your environment of choice.
Features
ATmega4808 microcontroller
Four user LED’s
Two mechanical buttons
mikroBUS header footprint
TEMT6000 Light sensor
MCP9808 Temperature sensor
ATECC608A CryptoAuthentication™ device
WINC1510 WiFi Module
On-board Debugger
Auto-ID for board identification in Atmel Studio and Microchip MPLAB X
One green board power and status LED
Programming and debugging
Virtual COM port (CDC)
Two DGI GPIO lines
USB and battery powered
Integrated Li-Ion/LiPo battery charger
LWL01 is powered by a CR2032 coin battery, in a good LoRaWAN Network Coverage case, it can transmit as many as 12,000 uplink packets (based on SF 7, 14 dB). In poor LoRaWAN network coverage, it can transmit ~ 1,300 uplink packets (based on SF 10, 18.5 B). The design goal for one battery is up to 2 years. User can easily change the CR2032 battery for reuse. The LWL01 will send periodically data every day as well as for water leak event. It also counts the water leak event times and also calculates last water leak duration. Each LWL01 is pre-load with a set of unique keys for LoRaWAN registration, register these keys to local LoRaWAN server and it will auto connect after power on. Features LoRaWAN v1.0.3 Class A SX1262 LoRa Core Water Leak detect CR2032 battery powered AT Commands to change parameters Uplink on periodically and water leak event Downlink to change configure Applications Wireless Alarm and Security Systems Home and Building Automation Industrial Monitoring and Control
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
The MKR IoT Carrier comes equipped with 5 RGB LEDs, 5 capacitive touch buttons, a colored display, IMU and a variety of quality sensors. It also features a battery holder for a 18650 Li-Ion battery, SD card holder and Grove connectors.
Data Capture: Map the environment around the carrier using the integrated temperature, humidity, and pressure sensors and collect data about movement using the 6 axis IMU and light, gesture, and proximity sensors. Easily add more external sensors to capture more data from more sources via the on-board Grove connectors (x3).
Data Storage: Capture and store all the data locally on an SD card, or connect to the Arduino IoT Cloud for real-time data capture, storage, and visualization.
Data Visualisation: Locally view real-time sensor readings on the built-in OLED Color Display and create visual or sound prompts using the embedded LEDs and buzzer.
Total Control: Directly control small-voltage electronic appliances using the onboard relays and the five tactile buttons, with the integrated display providing a handy on-device interface for immediate control.
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
There are many so-called 'Arduino compatible' platforms on the market. The ESP8266 – in the form of the WeMos D1 Mini Pro – is one that really stands out. This device includes WiFi Internet access and the option of a flash file system using up to 16 MB of external flash memory. Furthermore, there are ample in/output pins (though only one analogue input), PWM, I²C, and one-wire. Needless to say, you are easily able to construct many small IoT devices!
This book contains the following builds:
A colourful smart home accessory
refrigerator controller
230 V power monitor
door lock monitor
and some further spin-off devices.
All builds are documented together with relevant background information for further study. For your convenience, there is a small PCB for most of the designs; you can also use a perf board. You don’t need to be an expert but the minimum recommended essentials include basic experience with a PC, software, and hardware, including the ability to surf the Internet and assemble PCBs.
And of course: A handle was kept on development costs. All custom software for the IoT devices and PCB layouts are available for free download from at Elektor.com.
Affordable solutions with the ESP8266 and 3D printing
If you are looking for a small yet powerful IoT device, you are likely to come across the ESP8266 and compatible products on the market today. One of these, the Wemos/Lolin D1 Mini Pro board strikes a remarkable balance between cost and performance. A small and very affordable prototype board, the D1 Mini Pro stands out with its WiFi functionality and a 16-Mbytes flash memory for easy creation of a flash file system. In addition, there are sufficient input and output pins (only one analog input though) to support PWM, I²C, and One-Wire systems to mention but a few. The book describes the operation, modding, construction, and programming of home appliances including a colorful smart home accessory, a refrigerator/greenhouse controller, an AC powerline monitor, a door lock monitor, and an IKEA Trådfri controller.
As a benefit, all firmware developed for these DIY, "IoT-ized" devices can be updated over-the-air (OTA).
For most of the designs in the book, a small printed circuit board (PCB) and an enclosure are presented so readers can have a finished and attractive-looking product. Readers having – or with access to! – a 3D printer can "print" the suggested enclosures at home or in a shop.
Some of the constructions benefit from a Raspberry Pi configured as a gateway or cms server. This is also described in detail with all the necessary configuring.
You don’t need to be an expert but the prerequisites to successful replication of the projects include basic skills with PC software including the ability to surf the Internet. In terms of hardware, you should be comfortable with soldering and generally assembling the PCBs presented in the book.
All custom software written for the IoT devices, the PCB layouts, and 3D print files described in the book are available for free downloading.
From basics to flows for sensors, automation, motors, MQTT, and cloud services
This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.
This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.
Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.
Quick book facts
Project-based learning approach.
Assumes no prior knowledge of flow-based programming tools.
Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.
Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.
Step-by-step instructions on everything.
All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.
Hardware (including the Raspberry Pi Pico W) is available as a kit.
Downloads
GitHub
Design IoT Projects with Raspberry Pi, Arduino and ESP32 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.
,
by Saad Imtiaz
SparkFun Thing Plus Matter (MGM240P): A Versatile Matter-Based IoT Development Board (Review)
The SparkFun Thing Plus Matter (MGM240P) is a versatile and feature-rich development board designed for creating Matter-based IoT devices. Matter, formerly known as Project CHIP...