Hands-on in more than 50 projects
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described.
The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably.
All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE.
In this book you will learn about
STM32 microcontroller architecture;
the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool;
external and internal interrupts and DMA;
DEBUG, a program developed using the STM32CubeIDE;
the MCU in Sleep, Stop, and in Standby modes;
Nucleo Expansion Boards with the Nucleo development boards.
What you need
a PC with Internet connection and a USB port;
STM32CubeIDE software (available at STMicroelectronics website free of charge)
the project source files, available from the book’s webpage hosted by Elektor;
Nucleo-L476RG development board;
simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more;
Nucleo Expansion Boards (optional).
Easy and Affordable Digital Signal Processing
The aim of this book is to teach the basic principles of Digital Signal Processing (DSP) and to introduce it from a practical point of view using the bare minimum of mathematics. Only the basic level of discrete-time systems theory is given, sufficient to implement DSP applications in real time. The practical implementations are described in real time using the highly popular ESP32 DevKitC microcontroller development board. With the low cost and extremely popular ESP32 microcontroller, you should be able to design elementary DSP projects with sampling frequencies within the audio range. All programming is done using the popular Arduino IDE in conjunction with the C language compiler.
After laying a solid foundation of DSP theory and pertinent discussions on the main DSP software tools on the market, the book presents the following audio-based sound and DSP projects:
Using an I²S-based digital microphone to capture audio sound
Using an I²S-based class-D audio amplifier and speaker
Playing MP3 music stored on an SD card through an I²S-based amplifier and speaker
Playing MP3 music files stored in ESP32 flash memory through an I²S-based amplifier and speaker
Mono and stereo Internet radio with I²S-based amplifiers and speakers
Text-to-speech output with an I²S-based amplifier and speaker
Using the volume control in I²S-based amplifier and speaker systems
A speaking event counter with an I²S-based amplifier and speaker
An adjustable sinewave generator with I²S-based amplifier and speaker
Using the Pmod I²S2 24-bit fast ADC/DAC module
Digital low-pass and band-pass real-time FIR filter design with external and internal A/D and D/A conversion
Digital low-pass and band-pass real-time IIR filter design with external and internal A/D and D/A conversion
Fast Fourier Transforms (FFT)
The Internet of Things is rapidly gaining interest, and that has fueled the development of the Edison. A tiny computer, the size of a postage stamp, with a lot of power and built-in wireless communication capabilities.
In this eBook we will help you get up-to-speed with the Edison, by installing the software both on the Edison as well as on your Windows PC. We will use the Edison Arduino break-out board because it is easy to work with. We will discuss Linux, Arduino C++ and Python, and show examples of how the Edison can interface with other hardware. We will use Wi-Fi and Bluetooth to set up wireless connections, and show you a trick to program sketches over Wi-Fi.
Once you have completed this book your Edison will be up and running with the latest software version, and you will have sufficient knowledge of both hardware and software to start making your own applications. You will even be able to program the Edison over USB and wireless both in Arduino C++ and Python.
This is not a projects eBook, but a toolbox that will allow you to explore the wonderful world of the Intel Edison!
Einfache und kostengünstige digitale Signalverarbeitung
Ziel dieses Buches ist es, die Grundprinzipien der digitalen Signalverarbeitung (DSP) zu vermitteln und sie unter Verwendung eines Minimums an Mathematik aus praktischer Sicht einzuführen. Es wird nur das Grundniveau der Theorie zeitdiskreter Systeme vermittelt, das ausreicht, um DSP-Anwendungen in Echtzeit zu implementieren. Die praktischen Umsetzungen werden in Echtzeit mithilfe des beliebten Mikrocontroller-Entwicklungsboards ESP32 DevKitC beschrieben. Mit dem kostengünstigen und äußerst beliebten ESP32-Mikrocontroller sollten Sie in der Lage sein, grundlegende DSP-Projekte mit Abtastfrequenzen im Audiobereich zu entwerfen. Die gesamte Programmierung erfolgt mit der beliebten Arduino IDE in Verbindung mit dem C-Sprachcompiler.
Nachdem das Buch eine solide Grundlage der DSP-Theorie und relevante Diskussionen über die wichtigsten DSP-Softwaretools auf dem Markt gelegt hat, werden die folgenden audiobasierten Sound- und DSP-Projekte vorgestellt:
Verwendung eines I²S-basierten digitalen Mikrofons zur Audioaufnahme
Verwendung eines I²S-basierten Klasse-D-Audioverstärkers und Lautsprechers
Wiedergabe von auf einer SD-Karte gespeicherter MP3-Musik über einen I²S-basierten Verstärker und Lautsprecher
Wiedergabe von im ESP32-Flash-Speicher gespeicherten MP3-Musikdateien über einen I²S-basierten Verstärker und Lautsprecher
Mono- und Stereo-Internetradio mit I²S-basierten Verstärkern und Lautsprechern
Text-zu-Sprache-Ausgabe mit einem I²S-basierten Verstärker und Lautsprecher
Verwendung der Lautstärkeregelung in I²S-basierten Verstärker- und Lautsprechersystemen
Ein sprechender Veranstaltungszähler mit einem I²S-basierten Verstärker und Lautsprecher
Ein einstellbarer Sinusgenerator mit I²S-basiertem Verstärker und Lautsprecher
Verwendung des schnellen 24-Bit-ADC/DAC-Moduls Pmod I²S2
Digitales Tiefpass- und Bandpass-Echtzeit-FIR-Filterdesign mit externer und interner A/D- und D/A-Wandlung
Digitales Tiefpass- und Bandpass-Echtzeit-IIR-Filterdesign mit externer und interner A/D- und D/A-Wandlung
Schnelle Fourier-Transformationen (FFT)
STmicroelectronics’ wireless IoT & wearable sensor development kit
‘SensorTile.box’ is a portable multi-sensor circuit board housed in a plastic box and developed by STMicroelectronics. It is equipped with a high-performance 32-bit ARM Cortex-M4 processor with DSP and FPU, and various sensor modules, such as accelerometer, gyroscope, temperature sensor, humidity sensor, atmospheric pressure sensor, microphone, and so on. SensorTile.box is ready to use with wireless IoT and Bluetooth connectivity that can easily be used with an iOS or Android compatible smartphone, regardless of the level of expertise of the users. SensorTile.box is shipped with a long-life battery and all the user has to do is connect the battery to the circuit to start using the box.
The SensorTile.box can be operated in three modes: Basic mode, Expert mode, and Pro mode. Basic mode is the easiest way of using the box since it is pre-loaded with demo apps and all the user has to do is choose the required apps and display or plot the measured data on a smartphone using an app called STE BLE Sensor. In Expert mode users can develop simple apps using a graphical wizard provided with the STE BLE Sensor. Pro mode is the most complex mode allowing users to develop programs and upload them to the SensorTile.box.
This book is an introduction to the SensorTile.box and includes the following:
Brief specifications of the SensorTile.box; description of how to install the STE BLE Sensor app on an iOS or Android compatible smartphone required to communicate with the box.
Operation of the SensorTile.box in Basic mode is described in detail by going through all of the pre-loaded demo apps, explaining how to run these apps through a smartphone.
An introduction to the Expert mode with many example apps developed and explained in detail enabling users to develop their own apps in this mode. Again, the STE BLE Sensor app is used on the smartphone to communicate with the SensorTile.box and to run the developed apps.
The book then describes in detail how to upload the sensor data to the cloud. This is an important topic since it allows the sensor measurements to be accessed from anywhere with an Internet connection, at any time.
Finally, Pro mode is described in detail where more experienced people can use the SensorTile.box to develop, debug, and test their own apps using the STM32 open development environment (STM32 ODE). The Chapter explains how to upload the developed firmware to the SensorTile.box using several methods. Additionally, the installation and use of the Unicleo-GUI package is described with reference to the SensorTile.box. This PC software package enables all of the SensorTile.box sensor measurements to be displayed or plotted in real time on the PC.
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
STmicroelectronics’ wireless IoT & wearable sensor development kit
‘SensorTile.box’ is a portable multi-sensor circuit board housed in a plastic box and developed by STMicroelectronics. It is equipped with a high-performance 32-bit ARM Cortex-M4 processor with DSP and FPU, and various sensor modules, such as accelerometer, gyroscope, temperature sensor, humidity sensor, atmospheric pressure sensor, microphone, and so on. SensorTile.box is ready to use with wireless IoT and Bluetooth connectivity that can easily be used with an iOS or Android compatible smartphone, regardless of the level of expertise of the users. SensorTile.box is shipped with a long-life battery and all the user has to do is connect the battery to the circuit to start using the box.
The SensorTile.box can be operated in three modes: Basic mode, Expert mode, and Pro mode. Basic mode is the easiest way of using the box since it is pre-loaded with demo apps and all the user has to do is choose the required apps and display or plot the measured data on a smartphone using an app called STE BLE Sensor. In Expert mode users can develop simple apps using a graphical wizard provided with the STE BLE Sensor. Pro mode is the most complex mode allowing users to develop programs and upload them to the SensorTile.box.
This book is an introduction to the SensorTile.box and includes the following:
Brief specifications of the SensorTile.box; description of how to install the STE BLE Sensor app on an iOS or Android compatible smartphone required to communicate with the box.
Operation of the SensorTile.box in Basic mode is described in detail by going through all of the pre-loaded demo apps, explaining how to run these apps through a smartphone.
An introduction to the Expert mode with many example apps developed and explained in detail enabling users to develop their own apps in this mode. Again, the STE BLE Sensor app is used on the smartphone to communicate with the SensorTile.box and to run the developed apps.
The book then describes in detail how to upload the sensor data to the cloud. This is an important topic since it allows the sensor measurements to be accessed from anywhere with an Internet connection, at any time.
Finally, Pro mode is described in detail where more experienced people can use the SensorTile.box to develop, debug, and test their own apps using the STM32 open development environment (STM32 ODE). The Chapter explains how to upload the developed firmware to the SensorTile.box using several methods. Additionally, the installation and use of the Unicleo-GUI package is described with reference to the SensorTile.box. This PC software package enables all of the SensorTile.box sensor measurements to be displayed or plotted in real time on the PC.
Dieses Bundle enthält:
Buch: Get Started with the NXP FRDM-MCXN947 Development Board (Einzelpreis: 40 €)
NXP FRDM-MCXN947 Development Board (Einzelpreis: 30 €)
Buch: Get Started with the NXP FRDM-MCXN947 Development Board
Projekte zu Konnektivität, Grafik, maschinellem Lernen, Motorsteuerung und Sensoren entwickeln
Dieses (englischsprachige) Buch behandelt die Verwendung des FRDM-MCXN947 Development Boards, entwickelt von NXP Semiconductors. Es integriert den Dual Arm Cortex-M33, der mit bis zu 150 MHz arbeitet. Ideal für industrielle, IoT- und maschinelles Lernen-Anwendungen. Es verfügt über Hi-Speed USB, CAN 2.0, I³C und 10/100 Ethernet. Das Board beinhaltet einen integrierten MCU-Link-Debugger, FlexI/O zur Steuerung von LCDs und Dual-Bank-Flash für Lese-und-Schreib-Operationen, mit Unterstützung für große externe serielle Speicherkonfigurationen.
Eine der wichtigen Funktionen des Entwicklungsboards ist die integrierte eIQ Neutron Neural Processing Unit (NPU), die es den Nutzern ermöglicht, AI-basierte Projekte zu entwickeln. Das Entwicklungsboard unterstützt auch Arduino Uno-Header-Pins, was es mit vielen Arduino-Shields kompatibel macht, sowie einen mikroBUS-Anschluss für MikroElektronika Click Boards und einen Pmod-Anschluss.
Ein weiterer Vorteil des FRDM-MCXN947 Development Boards ist, dass es mehrere integrierte Debug-Probes enthält, die es Programmierern ermöglichen, ihre Programme direkt mit dem MCU zu debuggen. Mit Hilfe des Debuggers können Programmierer Schritt für Schritt durch ein Programm gehen, Breakpoints setzen, Variablen ansehen und ändern, und vieles mehr.
Im Buch wurden viele funktionierende und getestete Projekte mit der beliebten MCUXpresso IDE und dem SDK unter Verwendung verschiedener Sensoren und Aktoren entwickelt. Auch die Verwendung der populären CMSIS-DSP-Bibliothek wird anhand mehrerer häufig genutzter Matrixoperationen erklärt.
Die im Buch bereitgestellten Projekte können ohne Änderungen in vielen Anwendungen eingesetzt werden. Alternativ können die Leser ihre eigenen Projekte auf den im Buch vorgestellten Projekten aufbauen, während sie ihre eigenen Projekte entwickeln.
NXP FRDM-MCXN947 Development Board
TDas FRDM-MCXN947 ist ein kompaktes und vielseitiges Entwicklungsboard, das für das Rapid Prototyping mit MCX N94- und N54-Mikrocontrollern konzipiert wurde. Es verfügt über Industriestandard-Header für den einfachen Zugang zu den I/Os der MCU, integrierte serielle Schnittstellen nach offenem Standard, externen Flash-Speicher und einen Onboard-MCU-Link-Debugger.
Technische Daten
Mikrocontroller
MCX-N947 Dual Arm Cortex-M33-Kerne mit jeweils 150 MHz und optimierter Leistungseffizienz, bis zu 2 MB Dual-Bank-Flash mit optionalem Full-ECC-RAM, externer Flash
Beschleuniger: Neural Processing Unit, PowerQuad, Smart DMA usw.
Speichererweiterung
*DNP MicroSD-Kartensteckplatz
Konnektivität
Ethernet Phy und Connector
HS USB-C-Anschlüsse
SPI/I²C/UART-Anschluss (PMOD/mikroBUS, DNP)
WiFi-Anschluss (PMOD/mikroBUS, DNP)
CAN-FD-Transceiver
Debuggen
Integrierter MCU-Link-Debugger mit CMSIS-DAP
JTAG/SWD-Anschluss
Sensor
P3T1755 I³C/I²C-Temperatursensor, Touchpad
Erweiterungsoptionen
Arduino-Header (mit FRDM-Erweiterungszeilen)
FRDM-Header
FlexIO/LCD-Header
SmartDMA/Kamera-Header
Pmod *DNP
mikroBUS
Benutzeroberfläche
RGB-Benutzer-LED sowie Reset-, ISP- und Wakeup-Tasten
Lieferumfang
1x FRDM-MCXN947 Development Board
1x USB-C Kabel
1x Quick Start Guide
Downloads
Datasheet
Block diagram
Hands-on in more than 50 projects
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described.
The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably.
All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE.
In this book you will learn about
STM32 microcontroller architecture;
the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool;
external and internal interrupts and DMA;
DEBUG, a program developed using the STM32CubeIDE;
the MCU in Sleep, Stop, and in Standby modes;
Nucleo Expansion Boards with the Nucleo development boards.
What you need
a PC with Internet connection and a USB port;
STM32CubeIDE software (available at STMicroelectronics website free of charge)
the project source files, available from the book’s webpage hosted by Elektor;
Nucleo-L476RG development board;
simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more;
Nucleo Expansion Boards (optional).
A Beginner's Guide to AI and Edge Computing
Artificial Intelligence (AI) is now part of our daily lives. With companies developing low-cost AI-powered hardware into their products, it is now becoming a reality to purchase AI accelerator hardware at comparatively very low costs. One such hardware accelerator is the Hailo module which is fully compatible with the Raspberry Pi 5. The Raspberry Pi AI Kit is a cleverly designed hardware as it bundles an M.2-based Hailo-8L accelerator with the Raspberry Pi M.2 HAT+ to offer high speed inferencing on the Raspberry Pi 5. Using the Raspberry Pi AI Kit, you can build complex AI-based vision applications, running in real-time, such as object detection, pose estimation, instance segmentation, home automation, security, robotics, and many more neural network-based applications.
This book is an introduction to the Raspberry Pi AI Kit, and it is aimed to provide some help to readers who are new to the kit and wanting to run some simple AI-based visual models on their Raspberry Pi 5 computers. The book is not meant to cover the detailed process of model creation and compilation, which is done on an Ubuntu computer with massive disk space and 32 GB memory. Examples of pre-trained and custom object detection are given in the book.
Two fully tested and working projects are given in the book. The first project explains how a person can be detected and how an LED can be activated after the detection, and how the detection can be acknowledged by pressing an external button. The second project illustrates how a person can be detected, and how this information can be passed to a smart phone over a Wi-Fi link, as well as how the detection can be acknowledged by sending a message from the smartphone to your Raspberry Pi 5.
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
Learn the basics of designing and making things with Inventables' software (Easel) and 3D carving machines (X-Carve and Carvey)
This book was written for people who have never carved before. It teaches the basics of designing and making things with Inventables' software (Easel) and 3D carving machines (X-Carve and Carvey). It showcases five step-by-step projects you can build yourself as a beginner, including an inspiration tile, kitchen cutting board, custom block stamp, fidget spinner, and balsa wood glider. The book also features a gallery of aspirational projects, like an electric guitar and a box joint toolbox, to show what else is possible through 3D carving. The design files and instructions for these more complex projects can be found on the Inventables website.
Projects Included
Participate in the world's largest mosaic tile wall
Build a glider to your own specifications
Create your own inlay cutting boards
Carve a fidget spinner toy
Craft wooden 3D stamps you can use to create your own greeting cards