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.
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.
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
In 35 Projects with the Raspberry Pi and Arduino
The Internet of Things (IoT) is a trend with a strong technological impulse. At home, we want to do everything on our tablets, from browsing Facebook to watching TV, from operating lights to keeping an eye on the temperature.
In 35 fun projects, this book will show you how to build your own Internet of Things system. We'll cover the hardware (primarily the Raspberry Pi and Arduino) and the software that makes control via Internet possible. We employ Wi-Fi and radio links so no requirement any longer to install cabling crisscross through your home.
Assuming the projects in the book are finished, you have a complete Internet of Things system that allows you to control and view of everything in your home. For example, if there's something in the mail box or the car is securely in the garage. Also, you can switch on the lights and the alarm from your couch. The crisp explanations allow the projects to be customized with ease, for example, to turn on your coffee machine or TV remotely. The index gives easy access to creative projects that can serve as an example, enabling you to do all the connecting to the IoT independently. All project software can be downloaded free of charge from the Elektor website.
In this unique book, Raspberry Pi, Arduino and HTML webpages with stylesheets and JavaScript come together in clearly-described, easy-to-build projects. This special book is an essential part of your collection!
The Arduino Pro Portenta Cat. M1/NB IoT GNSS Shield allows you to enhance the connectivity features of your Portenta H7 applications. The shield leverages a Cinterion TX62 wireless module by Thales, designed for highly efficient, low-power IoT applications to deliver optimized bandwidth and performance.
The Portenta Cat. M1/NB IoT GNSS Shield combines with the strong edge computing power of the Portenta H7 to enable the development of asset tracking and remote monitoring applications in industrial settings, as well as in agriculture, public utilities and smart cities. The shield offers cellular connectivity to both Cat. M1 and NB-IoT networks with the option to use eSIM technology. Easily track your valuables – across the city or worldwide – with your choice of GPS, GLONASS, Galileo or BeiDou.
Features
Change connectivity capabilities without changing the board
Add NB-IoT, CAT. M1 and positioning to any Portenta product
Possibility to create a small multiprotocol router (WiFi - BT + NB-IoT/CAT. M1)
Greatly reduce communication bandwidth requirements in IoT applications
Low-power module
Compatible also with MKR boards
Remote Monitoring
Industrial and agricultural companies can leverage the Portenta Cat. M1/NB IoT GNSS Shield to remotely monitor gas detectors, optical sensors, machinery alarm systems, biological bug traps and more.
Technology providers providing smart city solutions can compound the power and reliability of the Portenta H7 with the Portenta Cat. M1/NB IoT GNSS Shield, to connect data and automate actions for a truly optimized use of resources and enhanced user experience.
Asset Monitoring
Add monitoring capabilities to any asset by combining the performance and edge computing features of the Portenta family boards. The Portenta Cat. M1/NB IoT GNSS Shield is ideal to monitor valuable goods and also for monitoring industrial machinery and equipment.
Specifications
Connectivity
Cinterion TX62 wireless module; NB-IoT - LTE CAT.M1; 3GPP Rel.14 Compliant Protocol LTE Cat. M1/NB1/NB2; UMTS BANDS: 1 / 2 / 3 / 4 / 5 / 8 / 12(17) / 13 / 18 / 19 / 20 / 25 / 26 / 27 / 28 / 66 / 71 / 85; LTE Cat.M1 DL: max. 300 kbps, UL: max. 1.1 Mbps; LTE Cat.NB1 DL: max. 27 kbps, UL: max. 63 kbps; LTE Cat.NB2 DL: max. 124 kbps, UL: max. 158 kbps
Short messaging service (SMS)
Point-to-point mobile terminated (MT) and mobile originated (MO) Text Mode; Protocol Data Unit (PDU) Mode
Localization support
GNSS capability (GPS/BeiDou/Galileo/GLONASS)
Other
Embedded IPv4 and IPv6 TCP/IP stack access; Internet Services: TCP server/client, UDP client, DNS, Ping, HTTP client, FTP client, MQTT client Secure Connection with TLS/DTLS Secure boot
Dimensions
66 x 25.4 mm
Operating temperature
-40° C to +85° C (-104° F to 185°F)
Downloads
Datasheet
Schematics
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry Pi
The book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.
The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.
In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.
The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.
Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.
Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.
A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.
A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
Clever Tricks with ATmega328 Pro Mini Boards
With a simple Pro Mini board and a few other components, projects that 20 or 30 years ago were unthinkable (or would have cost a small fortune) are realized easily and affordably in this book: From simple LED effects to a full battery charging and testing station that will put a rechargeable through its paces, there’s something for everyone.
All the projects are based on the ATmega328 microcontroller, which offers endless measuring, switching, and control options with its 20 input and output lines. For example, with a 7-segment display and a few resistors, you can build a voltmeter or an NTC-based thermometer. The Arduino platform offers the perfect development environment for programming this range of boards.
Besides these very practical projects, the book also provides the necessary knowledge for you to create projects based on your own ideas. How to measure, and what? Which transistor is suitable for switching a certain load? When is it better to use an IC? How do you switch mains voltage? Even LilyPad-based battery-operated projects are discussed in detail, as well as many different motors, from simple DC motors to stepper motors.
Sensors are another exciting topic: For example, a simple infrared receiver that can give disused remote controls a new lease on life controlling your home, and a tiny component that can actually measure the difference in air pressure between floor and table height!
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.
Learn programming for Alexa devices, extend it to smart home devices and control the Raspberry Pi
The book is split into two parts: the first part covers creating Alexa skills and the second part, designing Internet of Things and Smart Home devices using a Raspberry Pi.
The first chapters describe the process of Alexa communication, opening an Amazon account and creating a skill for free. The operation of an Alexa skill and terminology such as utterances, intents, slots, and conversations are explained. Debugging your code, saving user data between sessions, S3 data storage and Dynamo DB database are discussed.
In-skill purchasing, enabling users to buy items for your skill as well as certification and publication is outlined. Creating skills using AWS Lambda and ASK CLI is covered, along with the Visual Studio code editor and local debugging. Also covered is the process of designing skills for visual displays and interactive touch designs using Alexa Presentation Language.
The second half of the book starts by creating a Raspberry Pi IoT 'thing' to control a robot from your Alexa device. This covers security issues and methods of sending and receiving MQTT messages between an Alexa device and the Raspberry Pi.
Creating a smart home device is described including forming a security profile, linking with Amazon, and writing a Lambda function that gets triggered by an Alexa skill. Device discovery and on/off control is demonstrated.
Next, readers discover how to control a smart home Raspberry Pi display from an Alexa skill using Simple Queue Service (SQS) messaging to switch the display on and off or change the color.
A node-RED design is discussed from the basic user interface right up to configuring MQTT nodes. MQTT messages sent from a user are displayed on a Raspberry Pi.
A chapter discusses sending a proactive notification such as a weather alert from a Raspberry Pi to an Alexa device. The book concludes by explaining how to create Raspberry Pi as a stand-alone Alexa device.
The Piccolino rapid development board can be used to design microcontroller circuits quickly. The Piccolino has a fast 16f887 PIC microcontroller, voltage regulator, and communications module, and can be easily extended using its four headers.
This e-book contains 30 projects based on the Piccolino. We'll use its unique communications facilities and get the Piccolino to communicate with programs on a PC. On the PC, we use the free programming language Small Basic. You can use this to create Windows programs with buttons and graphs quickly. You will learn how to analyze components such as inductors, capacitors, and OPAMPs, and how to display the measurement results in a graphical format. This will help you to design your circuits easily.
We will then start to adapt to the Piccolino. We'll add components to it to make it more powerful, with extra features such as flow control and digital to analog conversion. The clear instructions will enable you to design and build your adaptations. This way you can make your custom designed Piccolino.
We'll end up making an extension: a PCB that that can be mounted on the Piccolino headers. As an example, we'll design and build an extension for an LCD. You can use the included board layout to make your PCB or have it made for you. At the same time, you will learn how to make your extensions. The only limitation is your imagination!
The clear descriptions along with circuit diagrams and photos, will make the building of these projects an enjoyable experience. Each project has a clear explanation of the reasons why it was designed in a particular way. This helps you learn a lot about the Piccolino, as well as Small Basic, and the components that are used in this e-book. You can adapt the projects to suit your requirements or combine several projects.
A Hands-on Guide to Crafting Your Own Power Plant
The book you are about to read provides a step-by-step guide for building a renewable energy power plant at home. Our goal was to make the book as practical as possible. The material is intended for immediate application with a small amount of theory. Yet, the theory is important as a foundation that saves time and effort by disabusing the readers of potential misconceptions. Specifically, upon having a firm understanding of photovoltaic physics, you will not be inclined to fruitlessly search for 90% efficient solar panels!
We want our readers to be the “doers”. If the book gets covered in grime and some pages become torn while you are building your power plant – this is the best compliment to us. The book covers solar and wind energy. Also, a curious power source based on manure is discussed as well, giving the doers an opportunity to further develop the manure fuel cell.
It is important to note that there are many companies offering installation of complete solar solutions. Upon installing the panels, the system is not owned by the customer. Therefore, there is no freedom for experimentation and optimization. Also, none can beat the cost of a DIY solution as well as the ultimate satisfaction.
All that is written here is a result of us building a renewable energy solution in Southern California. As the book was completed, the energy began flowing!
,
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...