Un aperçu approfondi de l'architecture AVR 8 bits présente dans les microcontrôleurs ATtiny et ATmega, principalement d'un point de vue logiciel et programmation. Explorez l'architecture AVR en utilisant le langage C et le langage assembleur dans Microchip Studio (anciennement Atmel Studio) avec les microcontrôleurs ATtiny.
Apprenez les détails du fonctionnement interne des microcontrôleurs AVR, notamment les registres internes et la carte mémoire des microcontrôleur ATtiny.
Programmez les microcontrôleurs ATtiny en utilisant un programmateur/débogueur Atmel-ICE, ou utilisez un programmateur "maison" bon marché, ou même un Arduino Uno comme programmateur.
La plupart des exemples de code peuvent être exécutés à l'aide du simulateur AVR de Microchip Studio.
Apprenez à écrire des programmes pour les microcontrôleurs ATtiny en langage assembleur.
Découvrez comment le langage assembleur est converti en instructions de code machine par le programme assembleur.
Découvrez comment les programmes écrits en langage de programmation C se traduitsent en langage assembleur et finalement en instructions de code machine.
Utiliser le débogueur Microchip Studio en combinaison avec un programmateur/débogueur USB matériel pour tester les programmes en langage assembleur et langage C ou utiliser le simulateur AVR Microchip Studio.
Les microcontrôleurs ATtiny en boîtier DIP sont utilisés dans ce volume pour une exploitation facile sur des platine d'essai électroniques, en ciblant principalement les ATtiny13(A) et ATtiny25/45/85.
Comprenez la synchronisation des instructions et les horloges des microcontrôleurs AVR en utilisant les microcontrôleurs ATtiny.
Devenez un expert AVR avec des compétences avancées en débogage et en programmation.
TINA Design Suite is a professional, powerful and affordable circuit simulator. It is a circuit designer and PCB design software package for analysing, designing, and real-time testing of analogue, digital, IBIS, VHDL, Verilog, Verilog AMS, SystemC, MCU, and mixed electronic circuits and their PCB layouts.
In this book, top-selling Elektor author, Prof. Dr. Dogan Ibrahim aims to teach the design and analysis of electrical and electronic circuits and develop PCB boards using both TINA and TINACloud. The book is aimed at electrical/electronic engineers, undergraduate electronic/electrical engineering students at technical colleges and universities, postgraduate and research students, teachers, and hobbyists. Many tested and working simulation examples are provided covering most fields of analogue and digital electrical/electronic engineering. These include AC and DC circuits, diodes, zener diodes, transistor circuits, operational amplifiers, ladder diagrams, 3-phase circuits, mutual inductance, rectifier circuits, oscillators, active and passive filter circuits, digital logic, VHDL, MCUs, switch-mode power supplies, PCB design, Fourier series, and spectrum. Readers do not need to have any programming experience unless they wish to simulate complex MCU circuits.
ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
A Handbook on DIY
Nowadays, security problems are rarely properly solved or correctly addressed. Electronic security is only part of the chain in making a system secure. Electronic security is usually addressed as network or software security, neglecting other aspects, but the chain is only as strong as its weakest link.
This book is about electronic hardware security, with an emphasis on problems that you can solve on a shoestring DIY budget. It deals mostly with secure communications, cryptosystems, and espionage. You will quickly appreciate that you can’t simply buy a trustworthy and reliable cryptosystem off the shelf. You will then realise that this applies equally to individuals, corporations, and governments.
If you want to increase your electronic security awareness in a world already overcrowded with networks of microphones and cameras, this is a book for you. Furthermore, if you want to do something DIY by designing and expanding upon simple electronic systems, please continue reading. Some of the devices described are already published as projects in the Elektor magazine. Some are still ideas yet to be worked out.
Complexity is the main enemy of security, so we'll try to keep to simple systems. Every chapter will analyse real-life espionage events or at least several hypothetical scenarios that will hopefully spark your imagination. The final goal is to build a security-conscious mindset (or “to get into a head of a spy”) which is necessary to recognise possible threats beforehand, to design a truly secure system.
Don’t bother reading if:
you think you and your secrets are 100% safe and secure
you think somebody else can effectively handle your security
you think conspiracy theories only exist in theory – Telefunken’s masterpiece the “FS-5000 Harpoon” was built on one!
Quelques extraits du contenu Décodeur Surround Ampli 50 W compact Convertisseur de taux d’échantillonnage Préamplificateur alimenté par piles Ampli Titan 2000 Crescendo-Millennium amplificateur Audio-DAC/ADC Émetteur/récepteur IR-S/PDIF Amplificateur Perfection Casque sans fil haute fidélité Commande de tonalité paraphase et plus… Vous pourrez, par le biais du Reader d’Adobe, faire apparaître et rechercher les différents articles sur votre écran et imprimer les textes, schémas et dessins de platine.
La mesure des émissions conduites est la méthode la plus simple et la plus abordable pour savoir si une conception peut répondre aux exigences IEM/CEM. Le Réseau de Stabilisation d'Impédance de Ligne (RSIL ou LISN en anglais) est un composant indispensable d'une installation de test de préconformité CEM.
En coopération avec Würth Elektronik, Elektor a conçu un RSIL CC double de 5 µH, 50 Ω qui supporte des tensions jusqu'à 60 V et des courants jusqu'à 10 A.
L'appareil mesure les interférences RF sur les deux canaux (l'alimentation) au moyen d'inductances de blocage de 5 μH. Le réseau interne d'atténuation de 10 dB – un dans chaque canal – contient un filtre passe-haut de 3e ordre avec une fréquence de coupure de 9 kHz pour protéger l'entrée d'instruments tels qu'un analyseur de spectre contre les tensions continues ou les basses fréquences potentiellement dangereuses provenant de l'EST (Équipement Sous Test).
Spécifications
RF
Kanaux
2 (avec diodes de serrage)
Bande passante
150 kHz – 200 MHz
Impédance
5 μH || 50 Ω
Atténuation
10 dB
Connecteurs
SMA
Courant continu
Courant max.
< 10 ADC
Tension max.
< 60 VDC
Résistance
< 2 x 70 mΩ
Dimensions du PCB
94,2 x 57,4 mm
Connecteurs
Banane de 4 mm
Boîtier Hammond
Type
1590N
Dimensions
121 x 66 x 40 mm
Contenu
1x PCB à 4 couches avec tous les composants SMD montés
1x Boîtier prépercé et imprimé
5x Prises banane de 4 mm, isolées et plaquées or, prévues pour 24 A, 1 kV
1x Boîtier Hammond 1590N1, aluminium (alliage moulé sous pression)
Plus d’info
Projet sur Elektor Labs: Dual DC LISN for EMC pre-compliance testing
Elektor 9-10/2021 : Test de préconformité CEM pour un projet alimenté en courant continu (partie 1)
Elektor 11-12/2021 : Test de préconformité CEM pour un projet alimenté en courant continu (partie 2)
Les mots-clés du magazine ELEX publié par Elektor sont ÉLECTRONIQUE – EXPÉRIMENTATION – EXPLORATION. L'électronique est une discipline originale qui consacre l'essentiel de ses efforts à se perfectionner elle-même, mais la connaissance de ses principes et de ses fondements reste cruciale. L'expérimentation est fondamentale aussi, parce que c'est le goût de la manipulation qui, un jour lointain, de chiffons mouillés et de quelques plaques de métal a fait la première pile électrique. L'exploration, parce que pour guider l'expérimentation, il y a la passion de l'inconnu, la soif de comprendre, l’obstination, le sens de l'effort (souvent) gratuit. Tout ce qui fait la différence entre passion et indifférence.
ELEX c'est : Rési & Transi (deux personnages d’une géniale bande dessinée d'initiation à l’électronique) mais aussi les rubriques Analogique Anti-Choc, Logique sans hic ou encore Mesure & Labo. Ce sont aussi des centaines de réalisations (audio, auto & moto & vélo, maison, jeux, bruitage, mini-circuits, modélisme, photo, radio & HF) etc. Bonus vidéo sur cette clé USB : 'Rési et Transi dans La conquête de l'électronique', un film de quatre épisodes autour de la réalisation d'un mini-orgue électronique.
An Introduction to RISC-V
RISC-V is an Instruction Set Architecture (ISA) that is both free and open. This means that the RISC-V ISA itself does not require a licensing fee, although individual implementations may do so. The RISC-V ISA is curated by a non-profit foundation with no commercial interest in products or services that use it, and it is possible for anyone to submit contributions to the RISC-V specifications. The RISC-V ISA is suitable for applications ranging from embedded microcontrollers to supercomputers.
This book will first describe the 32-bit RISC-V ISA, including both the base instruction set as well as the majority of the currently-defined extensions. The book will then describe, in detail, an open-source implementation of the ISA that is intended for embedded control applications. This implementation includes the base instruction set as well as a number of standard extensions.
After the description of the CPU design is complete the design is expanded to include memory and some simple I/O. The resulting microcontroller will then be implemented in an affordable FPGA development board (available from Elektor) along with a simple software application so that the reader can investigate the finished design.
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
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
A Reference and User Guide for the Arduino Mega 2560 Hardware and Firmware
A manual providing up-to-date hardware information for the Arduino Mega 2560.
The Arduino Mega 2560 is an upgrade to the popular Arduino Uno board, providing more pins, serial ports and memory. Arduino is the easy to use open-source electronics platform used by hobbyists, makers, hackers, experimenters, educators and professionals.
Get all the information that you need on the hardware and firmware found on Arduino Mega 2560 boards in this handy reference and user guide. Ideal for the workbench or desktop. This manual covers the Arduino Mega 2560 hardware and firmware, and is a companion volume to the Ultimate Arduino Uno Hardware Manual, which covers the Arduino Uno hardware and firmware.
Contains all of the Arduino Mega 2560 hardware information in one place
Covers Arduino / Genuino Mega 2560 revision 3 and earlier boards
Easily find hardware technical specifications with explanations
Pin reference chapter with interfacing examples
Diagrams and illustrations for easy reference to pin functions and hardware connections
Learn to back up and restore firmware on the board, or load new firmware
Basic fault finding and repair procedures for Arduino Mega 2560 boards
Power supply circuits simplified and explained
Mechanical dimensions split into five easy to reference diagrams
Contains circuit diagrams, parts list and board layout to easily locate components
A chapter on shield compatibility explains how shields work across different Arduino boards
Develop your own custom home automation devices
Espressif's ESP8266 and ESP32 microcontrollers have brought DIY home automation to the masses. However, not everyone is fluent in programming these microcontrollers with Espressif's C/C++ SDK, the Arduino core, or MicroPython. This is where ESPHome comes into its own: with this project, you don’t program your microcontroller but configure it.
This book demonstrates how to create your own home automation devices with ESPHome on an ESP32 microcontroller board. You’ll learn how to combine all kinds of electronic components and automate complex behaviours. Your devices can work completely autonomously, and connect over Wi-Fi to your home automation gateways such as Home Assistant or MQTT broker.
By the end of this book, you will be able to create your own custom home automation devices the way you want. Thanks to ESPHome and the ESP32, this is within everyone’s grasp.
Set up an ESPHome development environment and create maintainable configurations
Use buttons and LEDs
Sound a buzzer and play melodies
Read measurements from various types of sensors
Communicate over a short distance with NFC, infrared light, and Bluetooth Low Energy
Show information on various types of displays
Downloads
Software
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
Develop innovative hardware-based projects in C
The Raspberry Pi has traditionally been programmed using Python. Although this is a very powerful language, many programmers may not be familiar with it. C on the other hand is perhaps the most commonly used programming language and all embedded microcontrollers can be programmed using it.
The C language is taught in most technical colleges and universities and almost all engineering students are familiar with using it with their projects. This book is about using the Raspberry Pi with C to develop a range of hardware-based projects. Two of the most popular C libraries, wiringPi and pigpio are used.
The book starts with an introduction to C and most students and newcomers will find this chapter invaluable. Many projects are provided in the book, including using Wi-Fi and Bluetooth to establish communication with smartphones.
Many sensor and hardware-based projects are included. Both wiringPi and pigpio libraries are used in all projects. Complete program listings are given with full explanations. All projects have been fully tested and work.
The following hardware-based projects are provided in the book:
Using sensors
Using LCDs
I²C and SPI buses
Serial communication
Multitasking
External and timer interrupts
Using Wi-Fi
Webservers
Communicating with smartphones
Using Bluetooth
Sending data to the cloud
Program listings of all Raspberry Pi projects developed in this book are available on the Elektor website. Readers can download and use these programs in their projects. Alternatively, they can customize them to suit their applications.
A Reference and User Guide for the Arduino Uno Hardware and Firmware
A manual providing up-to-date hardware information for the popular Arduino Uno, the easy to use open-source electronics platform used by hobbyists, makers, hackers, experimenters, educators and professionals.
Get all the information that you need on the hardware and firmware found on Arduino Uno boards in this handy reference and user guide.
ldeal for the workbench or desktop
Contains all of the Arduino Uno hardware information in one place
Covers Arduino / Genuino Uno revision 3 and earlier boards
Easily find hardware technical specifications with explanations
Pin reference chapter with interfacing examples
Diagrams and illustrations for easy reference to alternate pin functions and hardware connections
Learn to back up and restore firmware on the board, or load new firmware
Basic fault finding and repair procedures for Arduino Uno boards
Power supply circuits simplified and explained
Mechanical dimensions split into five easy to reference diagrams
Contains circuit diagrams, parts list and board layout reference to easily locate components
Le Raspberry Pi Pico est un microcontrôleur de haute performance conçu spécialement pour l'informatique physique. N'ayant pas de système d'exploitation, les microcontrôleurs diffèrent des ordinateurs monocartes, comme le Raspberry Pi 4. Le Raspberry Pi Pico peut être programmé pour exécuter efficacement une seule tâche dans des applications de contrôle et de surveillance en temps réel nécessitant de la rapidité. Le 'Pico', comme on l'appelle, est basé sur le microcontrôleur ARM Cortex-M0+ RP2040 à double cœur, rapide, efficace et peu coûteux, fonctionnant jusqu'à 133 MHz et disposant de 264 Ko de SRAM et de 2 Mo de mémoire Flash. Outre sa grande mémoire, le Pico présente des caractéristiques encore plus attrayantes, notamment un grand nombre de broches GPIO et des modules d'interface populaires comme ADC, SPI, I²C, UART et PWM. Pour couronner le tout, il offre des modules de synchronisation rapides et précis, une interface de débogage matériel et un capteur de température interne.Le Raspberry Pi Pico se programme facilement à l'aide des langages de haut niveau les plus courants, tels que MicroPython ou C/C++. Ce livre est une introduction à l'utilisation du microcontrôleur Raspberry Pi Pico avec le langage de programmation MicroPython. L'environnement de développement (IDE) Thonny est utilisé dans tous les projets décrits. Le livre contient plus de 50 projets testés et fonctionnels couvrant les sujets suivants:Installation de MicroPython sur Raspberry Pi Pico à l'aide d'un Raspberry Pi ou d'un PCLes interruptions du Timer et les interruptions externesDes projets sur convertisseur analogique-numérique Utilisation du capteur de température interne et du capteur de température externeDes projets d'enregistrement de donnéesDes projets de PWM, UART, I²C, et SPI Utilisation du Wi-Fi et des applications pour communiquer avec les smartphonesUtilisation de Bluetooth et d'applications pour communiquer avec les smartphonesDes projets sur convertisseur numérique-analogiqueTous les projets présentés dans ce livre sont fonctionnels et ont été entièrement testés. Des connaissances de base en programmation et en électronique sont nécessaires pour suivre les projets. De brèves descriptions, des schémas fonctionnels, des schémas de circuits détaillés et des listings complets des programmes MicroPython sont fournis pour tous les projets décrits. Les lecteurs peuvent trouver les listings des programmes sur la page Web Elektor créée à l'appui de ce livre.
Le Raspberry Pi Pico est un microcontrôleur de haute performance conçu spécialement pour l'informatique physique. N'ayant pas de système d'exploitation, les microcontrôleurs diffèrent des ordinateurs monocartes, comme le Raspberry Pi 4. Le Raspberry Pi Pico peut être programmé pour exécuter efficacement une seule tâche dans des applications de contrôle et de surveillance en temps réel nécessitant de la rapidité. Le 'Pico', comme on l'appelle, est basé sur le microcontrôleur ARM Cortex-M0+ RP2040 à double cœur, rapide, efficace et peu coûteux, fonctionnant jusqu'à 133 MHz et disposant de 264 Ko de SRAM et de 2 Mo de mémoire Flash. Outre sa grande mémoire, le Pico présente des caractéristiques encore plus attrayantes, notamment un grand nombre de broches GPIO et des modules d'interface populaires comme ADC, SPI, I²C, UART et PWM. Pour couronner le tout, il offre des modules de synchronisation rapides et précis, une interface de débogage matériel et un capteur de température interne.Le Raspberry Pi Pico se programme facilement à l'aide des langages de haut niveau les plus courants, tels que MicroPython ou C/C++. Ce livre est une introduction à l'utilisation du microcontrôleur Raspberry Pi Pico avec le langage de programmation MicroPython. L'environnement de développement (IDE) Thonny est utilisé dans tous les projets décrits. Le livre contient plus de 50 projets testés et fonctionnels couvrant les sujets suivants:Installation de MicroPython sur Raspberry Pi Pico à l'aide d'un Raspberry Pi ou d'un PCLes interruptions du Timer et les interruptions externesDes projets sur convertisseur analogique-numérique Utilisation du capteur de température interne et du capteur de température externeDes projets d'enregistrement de donnéesDes projets de PWM, UART, I²C, et SPI Utilisation du Wi-Fi et des applications pour communiquer avec les smartphonesUtilisation de Bluetooth et d'applications pour communiquer avec les smartphonesDes projets sur convertisseur numérique-analogiqueTous les projets présentés dans ce livre sont fonctionnels et ont été entièrement testés. Des connaissances de base en programmation et en électronique sont nécessaires pour suivre les projets. De brèves descriptions, des schémas fonctionnels, des schémas de circuits détaillés et des listings complets des programmes MicroPython sont fournis pour tous les projets décrits. Les lecteurs peuvent trouver les listings des programmes sur la page Web Elektor créée à l'appui de ce livre.
Learn to program displays and GUIs with Python
This book is about Raspberry Pi 4 display projects. The book starts by explaining how to install the latest Raspbian operating system on an SD card, and how to configure and use the GPIO ports.
The core of the book explains the following topics in simple terms with fully tested and working example projects:
Simple LED projects
Bar graph LED projects
Matrix LED projects
Bitmap LED projects
LED strips
LCDs
OLED displays
E-paper displays
TFT displays
7-inch touch screen
GUI Programming with Tkinder
One unique feature of this book is that it covers almost all types of display that readers will need to use in their Raspberry Pi based projects. The operation of each project is fully given, including block diagrams, circuit diagrams, and commented full program listings. It is therefore an easy task to convert the given projects to run on other popular platforms, such as Arduino or PIC microcontrollers.
Python program listings of all Raspberry Pi projects developed in this book are available for download at Elektor.com. Readers can use these programs in their projects. Alternatively, they can modify the programs to suit their applications.
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).
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).
Master the software tools behind the STM32 microcontroller
This book is project-based and aims to teach the software tools behind STM32 microcontroller programming. Author Majid Pakdel has developed projects using various different software development environments including Keil MDK, IAR Embedded Workbench, Arduino IDE and MATLAB. Readers should be able to use the projects as they are, or modify them to suit to their own needs. This book is written for students, established engineers, and hobbyists. STM32 microcontroller development boards including the STM32F103 and STM32F407 are used throughout the book. Readers should also find it easy to use other ARM-based development boards.
Advanced Programming with STM32 Microcontrollers includes:
Introduction to easy-to-use software tools for STM32
Accessing the features of the STM32
Practical, goal oriented learning
Complete code available online
Producing practical projects with ease
Topics cover:
Pulse Width Modulation
Serial Communication
Watchdog Timers
I²C
Direct Memory Access (DMA)
Finite State Machine Programming
ADCs and DACs
External Interupts
Timers and Counters
Learn to use Python productively in real-life scenarios at work and in everyday life
If you have mastered the basics of Python and are wanting to explore the language in more depth, this book is for you. By means of concrete examples used in different applications, the book illustrates many aspects of programming (e.g. algorithms, recursion, data structures) and helps problem-solving strategies. Including general ideas and solutions, the specifics of Python and how these can be practically applied are discussed.
Python 3 for Science and Engineering Applications includes:
practical and goal-oriented learning
basic Python techniques
modern Python 3.6+ including comprehensions, decorators and generators
complete code available online
more than 40 exercises, solutions documented online
no additional packages or installation required, 100% pure
Python Topics cover:
identifying large prime numbers and computing Pi
writing and understanding recursive functions with memorisation
computing in parallel and utilising all system cores
processing text data and encrypting messages
comprehending backtracking and solving Sudokus
analysing and simulating games of chance to develop optimal winning strategies
handling genetic code and generating extremely long palindromes
Downloads
Software
Create Models for 3D Printing, CNC Milling, Process Communication and Documentation
Engineers dread designing 3D models using traditional modeling software. OpenSCAD takes a refreshing and completely different approach. Create your models by arranging geometric solids in a JavaScript-like language, and use them with your 3D printer, CNC mill, or process communication.
OpenSCAD differs from other design systems in that it uses programmatical modeling. Your model is made up of primitives that are invoked using a C-, Java- or Python-like language. This approach to model design is close to the “mechanical work” done in the real world and appeals to engineers and others who are not a member of the traditional creative class.
OpenSCAD also provides a wide variety of comfort functions that break the 1:1 relationship between code and geometry. This book demonstrates the various features of the programming language using practical examples such as a replacement knob for a LeCroy oscilloscope, a wardrobe hanger, a container for soap dispensers, and various other real-life examples.
Written by an engineer with over 15 years of experience, this book is intended for Linux and Windows users alike. If you have programming experience in any language, this book will have you producing practical three-dimensional objects in short order!