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.
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 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
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.
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!
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Project-update: ESP32-gebaseerde energiemeterwe gaan verder met het prototype
Optimalisatie van balkon PV-centralesoverwegingen, interessante feiten en berekeningen
ESP32 met OpenDTU voor balkoncentralesgegevens van kleine omvormers via MCU’s uitlezen
Regelbare lineaire labvoeding0...50 V / 0...2 A + dubbele symmetrische voeding
Energieopslag – vandaag en morgeneen vraaggesprek met Simon Engelke
2024: een AI-odysseehet houdt nog lang niet op
Bluetooth LE op de STM32meetwaarden op afstand uitlezen
Mensvriendelijk slim keuken-voorraadsysteem
MAUI: programmeren voor PC, tablet en smartphonehet nieuwe framework in theorie en praktijk
ChatMagLevkunstmatig intelligente levitatie
Eenvoudige PV-regelaarbouw je eerste, volledig functionele PV-energiebeheersysteem
Koude-kathode-buizenvreemde onderdelen
Uit het leven gegrepennostalgie
Alle begin......bekijkt de FET
CAN-bus voor de Arduino UNO R4: een tutorialtwee UNO R4’s nemen de bus!
Elektor infographicvoeding en energie
Vergelijking van vermogensdichtheid en vermogensefficiëntie
Aluminium elektrolytische condensatorenstoringspotentieel in audiotechnologie
USB testen en metenmet de Fnirsi FNB58
De Pixel Pump pick&place-tooleenvoudiger handmatige assemblage van SMT-printen
Oost West Lab Bestnog niet zo lang geleden, in een land heel ver van hier...
“In de wereld van ethiek in elektronica kunnen zelfs kleine stappen een aanzienlijke invloed hebben.”
Ethiek in elektronicade OECD Guidelines en het Lieferkettensorgfaltspflichtengesetz
Chadèche: slimme NiMH-(ont)laderlezersproject in het kort
Project 2.0correcties, updates en brieven van lezers
IMAGE PROCESSING WITH THE NVIDIA JETSON NANO (PART 2)Image Recognition Using Edge Impulse
ELEKTOR JUMPSTARTER NEWSUpcoming Campaigns
AN OPEN-SOURCE GPS TRACKING PLATFORMTraccar Maps Vehicle Tracking Without the Need for a Third-Party Cloud Server
JOY-IT LCR-T7 MULTI-FUNCTION TESTERTesting Passives, Discrete Semiconductors and IR Remote Controls
NOISE SYNTHESIZERFrom Noise to Music with the PRBSynth1
STARTING OUT IN ELECTRONICSEasier than Imagined! ... Continuing with the Coil
UNDERSTANDING THE NEURONS IN NEURAL NETWORKS (PART 2)Logical Neurons
ISSUES WITH SECURITY? FIGHT FIRE WITH FIRE!Flashbulb-Protected Analogue Memory Add-on For the Tamper-Evident Box LCR METER POSTER
BLUETOOTH BEACONS IN PRACTICEBeacons Light the Way Ahead
C PROGRAMMING ON RASPBERRY PICommunicating over Wi-Fi (Sample Chapter)
EMC PRE-COMPLIANCE TEST FOR YOUR DC-POWERED PROJECT (PART 2)The Hardware and How to Use It
HANDS ON THE PARALLAX PROPELLER 2 (PART 5)Inside the Smart Pin
MODBUS OVER WLAN (PART 1)Hardware and Programming
HOMELAB TOURSWhere the Junior Computer Is Brought to Life Again
BUILD YOUR OWN HIGH-PRECISION CALIBRATOR-10 V to +10 V, 0 to 40 mA, 0.001%
ARDUINO NANO RP2040 CONNECTRaspberry Pi RP2040 + Wi-Fi + Bluetooth THE PHYSICAL BODY OF ARTIFICIAL INTELLIGENCE
ERR-LECTRONICSCorrections, Updates and Readers’ Letters
CREATE GUIS WITH PYTHONIntroducing guizero
CO2 METER KIT FOR THE CLASSROOMAn ESP8266-Based Device from the University of Applied Sciences Aachen
NOSTALGIC MK484 MW/LW RADIO...Always Fun to Build!
ELEKTOR @ 60Let There Be Light!
HEXADOKUThe Original Elektorized Sudoku
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
,
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...