Une chronique illustrée de la teknologie pour les collectionneurs et les restaurateurs
Les oscilloscopes ont apporté une contribution majeure à l'avancement des connaissances humaines, non seulement en électronique, mais dans toutes les sciences, chaque fois qu'une grandeur physique peut être convertie en un signal électrique temporel.
Ce livre retrace l'histoire d'un instrument crucial à travers de nombreux produits Tektronix. C’est la société qui a inventé et breveté la plupart des fonctions présentes aujourd’hui dans tous les oscilloscopes. Tek est et sera toujours synonyme d'oscilloscope.
En près de 600 pages, avec des centaines de magnifiques photos, schémas, anecdotes et données techniques, vous voyagerez à travers l'histoire de Tektronix dans une superbe édition collector d'un point de vue technique. L’auteur n’a pas peur de mettre la main à la pâte en restaurant son propre équipement Tek. Le voyage commence au début des années 1950. Il se termine dans les années 90, après avoir exploré les tenants et les aboutissants des modèles les plus intéressants des séries 300, 400, 500, 5000, 7000 et 11000, des tubes aux technologies hybrides avancées.
Téléchargements
NOUVEAU : Supplément gratuit (136 pages, 401 Mo)
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!
Ce qui se passe en électronique est par définition invisible à l'oeil nu. L'instrument qui permet précisément de rendre visibles les signaux électriques, celui par le truchement duquel les effets de l'électronique se manifestent à nous, c'est l'oscilloscope.
Hélas, quand on commence à faire de l'électronique, c'est souvent sans oscilloscope. Et l'on en est réduit à tâtonner, aussi bien physiquement que mentalement. Le jour où l'on goûte à la visualisation des signaux sur un écran, c'est une révélation. Plus personne ne souhaite se priver de cet enchantement. Pas de retour en arrière. En électronique, si l'on veut progresser dans le plaisir et dans la compréhension, il faut un oscillo.
Commence alors une période d'interrogation : comment choisir ? Et à peine cette question-là aura-t-elle trouvé sa réponse, il en viendra une ribambelle d'autres que l'on peut résumer en une seule : comment se servir de l'oscilloscope de telle sorte que ce qu'il affiche corresponde bien à la réalité des signaux ?
Dans ce livre, Rémy Mallard, répond clairement à ces questions. Il donne aussi de nombreuses informations pour aider son lecteur à élucider lui-même de nouveaux mystères qui ne manqueront pas de surgir. Ceux qui le connaissent déjà comme l'auteur d'un livre sur l'électronique dont le titre est un programme à lui tout seul : L'électronique pour les débutants qui sèchent les cours mais soudent sans se brûler les doigts, ainsi que d'un livre d'initiation à la programmation des microcontrôleurs PIC, savent qu'ils trouveront ici un ouvrage utile, qu'ils rouvriront souvent.
Réalisés par les créateurs du MagPi, le magazine officiel de Raspberry Pi
Démarrez avec le Raspberry Pi 5, le dernier-né et le plus performant de la famille des nano-ordinateurs Raspberry Pi. Apprenez à coder et à réaliser des projets avec cet ordinateur étonnant.
Dans ce manuel dédié au Raspberry Pi 5, nous vous proposons aussi de nombreuses idées de projets également réalisables avec le Raspberry Pi 4, le Raspberry Pi Zero 2 W et le Raspberry Pi Pico W.
Avec des tutoriels, des projets pratiques, des essais techniques, des guides et bien plus encore, il s’agit de la ressource ultime pour le Raspberry Pi !
228 pages sur le Raspberry Pi
Tout ce que vous devez savoir sur le Raspberry Pi 5
Prise en main de tous les Raspberry Pi
Amusez-vous et apprenez l’électronique avec le Pico W
Des projets inspirants pour vous donner des idées de réalisations
Apprenez μPython en construisant une mini-console
Démarrez avec le module caméra Raspberry Pi
Intelligence artificielle, codage de son propre agent ChatGP
Entièrement mise à jour pour le Raspberry Pi 5
Raspberry Pi 5 est un petit ordinateur intelligent, de construction britannique qui regorge de potentiel. Fabriqué à l'aide d'un processeur économe en énergie, le Raspberry Pi est conçu pour vous aider à apprendre le codage, découvrir comment fonctionne un ordinateur et construire vos propres projets uniques et incroyables. Ce guide est conçu pour vous montrer à quel point il est facile de démarrer.
Apprendre à :
Configurez votre Raspberry Pi, installez son système d'exploitation, et commencez à utiliser cet ordinateur entièrement fonctionnel.
Commencez à coder des projets, avec des guides étape par étape utilisant les langages de programmation Scratch 3, Python et MicroPython.
Expérimentez en connectant des composants électroniques, et amusez-vous à créer des projets incroyables.
Nouveauté de la 5ème édition :
Mise à jour pour les derniers ordinateurs Raspberry Pi : Raspberry Pi 5 et Raspberry Pi Zèro 2 W.
Couvre le dernier système d'exploitation Raspberry Pi.
Comprend un nouveau chapitre sur le Raspberry Pi Pico !
Téléchargements
GitHub
... qui sèchent les cours mais soudent sans se brûler les doigts
Par où commencer pour débuter en électronique ? Vais-je m'égarer en explorant l'internet ? Il regorge de schémas, mais sont-ils fiables ? Me faut-il un livre avec des montages simples ou plutôt un livre sur les composants ?
Après trente ans de pratique, l'auteur de ce livre, resté l'éternel débutant qui réalisait lui-même son premier montage des l'âge de dix ans, partage ici sa soif toujours vive d'apprendre. Fin pédagogue, il guide les débutants et répond aux questions que trop de livres laissent en suspens : « Quel type de fer à souder acheter ? »... « Un multimètre à 5 € peut-il suffire ? »... « Un oscilloscope est-il indispensable ? »... « Peut-on installer son montage dans une boîte à cigares ? »...
Rémy Mallard démystifie l'électronique en n'utilisant que ce qu'il vous faut de théorie pour aborder joyeusement la pratique sans risque de faire de grosses bêtises. Vous apprendrez à identifier les composants et leur rôle (résistances, condensateurs, bobines, diodes, transistors, relais, commutateurs...) mais aussi à les récupérer, les tester et les ranger. Bientôt vous saurez lire un schéma, choisir vos outils et mettre en boîte vos montages. Rémy connaît toutes les astuces et vous révèle les pratiques à éviter.
La matière de cet ouvrage, ce sont des montages simples et ludiques, réalisables sur des plaques d'expérimentation sans soudure: sirène, orgue, chenillard lumineux, interrupteur photosensible, thermomètre, alarme, générateur de picotements, indicateur de niveau de liquide, clignotant à vitesse variable selon la lumière ambiante, indicateur à fenêtre programmable, minuterie avec préavis d'extinction, chenillard de style K2000 (lumineux et sonore), gradateur de lumière à commande infrarouge...
Vous commencerez par le code des couleurs et finirez par programmer des PIC !
From basics to flows for sensors, automation, motors, MQTT, and cloud services
This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.
This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.
Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.
Quick book facts
Project-based learning approach.
Assumes no prior knowledge of flow-based programming tools.
Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.
Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.
Step-by-step instructions on everything.
All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.
Hardware (including the Raspberry Pi Pico W) is available as a kit.
Downloads
GitHub
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
Du détecteur à la radio définie par logiciel La technologie des radiofréquences (RF) est l'un des domaines qui permet encore de mettre en pratique ses propres idées. D'innombrables variantes de circuits avec des objectifs particuliers laissent place à des expériences et des projets significatifs. Beaucoup de choses ne sont tout simplement pas disponibles dans le commerce. Des radios à détecteur de cristal sans source d'alimentation propre, de simples récepteurs à tube avec une touche de nostalgie, les premières tentatives de réception de Software Defined Radio, des récepteurs spéciaux pour radioamateur, tout cela peut être réalisé avec peu d'effort et comme une parfaite introduction à l'électronique RF.
Pendant longtemps, la construction radio a été le premier pas vers l’électronique. Il existe cependant d’autres moyens, notamment via les ordinateurs, les microcontrôleurs et le numérique. Cependant, les racines analogiques de l’électronique sont souvent négligées. La technologie radio élémentaire et les expériences faciles à réaliser sont particulièrement adaptées comme domaine d'apprentissage de l'électronique, car vous pouvez ici commencer par les bases les plus simples. Mais le lien avec la technologie numérique moderne est également évident, par exemple lorsqu'il s'agit de méthodes de réglage modernes telles que PLL et DDS ou de radios DSP modernes.
Ce livre vise à donner un aperçu et à présenter une collection de projets RF simples. L'auteur souhaite vous aider à développer vos propres idées, à concevoir vos propres récepteurs et à les tester.
Livre : Mastering the Arduino Uno R4
Basée sur le processeur ATmega328P 8 bits économique, la carte Arduino Uno R3 est sans doute la plus populaire de la famille Arduino, et ce modèle robuste nous accompagne depuis de nombreuses années. Onze ans plus tard, son successeur tant attendu, l'Arduino Uno R4, a vu le jour. Elle est conçue autour d'un microcontrôleur Arm Cortex-M4 32 bits cadencé à 48 MHz et offre une mémoire SRAM et Flash considérablement étendue. De plus, un convertisseur analogique-numérique (CAN) plus précis et un nouveau convertisseur numérique-analogique (CNA) ont été ajoutés. La carte Uno R4 prend également en charge le bus CAN grâce à une interface dédiée.
Deux versions de la carte sont disponibles : Uno R4 Minima et Uno R4 WiFi. Ce livre explique comment utiliser ces nouvelles cartes pour développer de nombreux projets variés et intéressants avec seulement quelques composants et modules externes. Tous les projets décrits dans ce livre ont été entièrement testés sur la carte Uno R4 Minima ou la carte Uno R4 WiFi, selon le cas.
Les sujets abordés incluent la lecture, le contrôle et le pilotage de nombreux composants et modules du kit ainsi que sur la carte Uno R4 correspondante, y compris
LED
Afficheurs à 7 segments (utilisant des interruptions programmées)
LCD
Capteurs
Lecteur RFID
Clavier 4×4
Horloge en temps réel (RTC)
Joystick
Matrice de LED 8×8
Moteurs
DAC (convertisseur numérique-analogique)
Matrice LED
Connectivité Wi-Fi
UART série
Bus CAN
Contrôleur et récepteur infrarouge
Simulateurs
… le tout de manière créative et pédagogique, le fonctionnement du projet et les logiciels associés étant expliqués en détail.
Arduino Uno R4 WiFi
La carte Arduino Uno R4 est équipée du processeur Renesas RA4M1 ARM Cortex-M4 32 bits, offrant une puissance de traitement, une mémoire et des fonctionnalités considérablement améliorées. La version WiFi intègre un module WiFi ESP32-S3 en plus du RA4M1, élargissant ainsi les possibilités créatives des makers et des ingénieurs.
L'Arduino Uno R4 fonctionne à 48 MHz, soit trois fois plus que la populaire Uno R3. De plus, la mémoire SRAM a été augmentée de 2 Ko à 32 Ko et la mémoire flash de 32 Ko à 256 Ko afin de prendre en charge des projets plus complexes. Suite aux retours de la communauté, le port USB est désormais de type USB-C et la tension d'alimentation maximale a été portée à 24 V, avec une conception thermique optimisée. La carte comprend un bus CAN et un port SPI, permettant aux utilisateurs de réduire le câblage et d'effectuer des tâches en parallèle en connectant plusieurs shields. Un convertisseur numérique-analogique (CNA) analogique 12 bits est également intégré.
Spécifications
Microcontrôleur
Renesas RA4M1 (ARM Cortex-M4)
USB
USB-C
Port de programmation
Broches
Broches d'E/S numériques
14
Broches
Broches d'entrée analogiques
6
CNA
1
TCR
1
Broches PWM
6
Communication
UART
1x
I²C
1x
SPI
1x
Connecteur I²C Qwiic
1x
CAN
1x Bus CAN
Alimentation
Tension de fonctionnement du circuit
5 V
Tension d'entrée (VIN)
6-24 V
Courant continu par broche d'E/S
8 mA
Fréquence d'horloge
Noyau principal
48 MHz
Mémoire
RA4M1
256 ko Flash, 32 ko RAM
Matrice LED
12 x 8 (96 LED rouges)
Dimensions
68,9 x 53,4 mm
Téléchargements
Datasheet
Schematics
Cette offre groupée contient :
Livre : Mastering the Arduino Uno R4 (d'une valeur de 45 €)
Arduino Uno R4 WiFi (d'une valeur de 30 €)
Programming and Projects for the Minima and WiFi
Based on the low-cost 8-bit ATmega328P processor, the Arduino Uno R3 board is likely to score as the most popular Arduino family member, and this workhorse has been with us for many years. Eleven years later, the long-overdue successor, the Arduino Uno R4, was released. It is built around a 48 MHz, 32-bit Arm Cortex-M4 microcontroller and provides significantly expanded SRAM and Flash memory. Additionally, a higher-precision ADC and a new DAC are added to the design. The Uno R4 board also supports the CAN Bus with an interface.
Two versions of the board are available: Uno R4 Minima, and Uno R4 WiFi. This book is about using these new boards to develop many different and interesting projects with just a handful of parts and external modules. All projects described in the book have been fully tested on the Uno R4 Minima or the Uno R4 WiFi board, as appropriate.
The project topics include the reading, control, and driving of many components and modules in the kit as well as on the relevant Uno R4 board, including
LEDs
7-segment displays (using timer interrupts)
LCDs
Sensors
RFID Reader
4x4 Keypad
Real-time clock (RTC)
Joystick
8×8 LED matrix
Motors
DAC (Digital-to-analog converter)
LED matrix
WiFi connectivity
Serial UART
CAN bus
Infrared controller and receiver
Simulators
… all in creative and educational ways with the project operation and associated software explained in great detail.
Mastering the Language and the Development Platform
Many people would like to learn Java but getting started is not easy since programming with Java requires at least two things: mastering the programming language and the development environment. With the help of many examples, this book shows how the language is structured. In addition, it employs the Eclipse development environment as an example of a powerful tool to teach developing Java programs.
In Basics, the first part of the book, you acquire your Java and Eclipse basic knowledge. This part lays the programming foundations, gives you an overview of Java technology, and shows you what is special about object-oriented programming.
In the second part called Java Language, everything revolves around the subtleties of the Java language and this is where the first small Java applications are created, aided by a fine blend of the knowledge part and practical exercises.
Java Technology is both the name and the focus of the third part which also introduces you to the rules to observe when programming, what class libraries are and what advantages they have. In addition, you will learn how to test programs, what algorithms are, and how to program them.
The fourth part, Java Projects, enables you to apply all the previous elements in an application with a graphical user interface. The project shows how to develop a larger application piece by piece with the Eclipse development environment. The Appendix concludes with a section on frequent errors that can occur when working with Eclipse, and a Glossary.
Practical Introduction to 3D Modeling from Enclosure to Front Panel
Embedding a vintage component, creating a professional looking home for a circuit board, or even designing a complex apparatus complete with a chassis – these and many other challenges turn into a stimulating pleasure with FreeCAD. Once you have internalized the basic processes, there are virtually no limits to your imagination.
Starting to use a new software is never straightforward – especially with a tool as versatile as FreeCAD. Manageable, but at the same time easily usable individual components provide the starting point in this book. Putting these components together later results in assemblies.
In the FreeCAD universe, a workable trajectory is demonstrated. The described procedure is illustrative so the examples are easily applied to custom tasks. The devices were made by the author and illustrated with photos.
Creating a 3D design is requiring some effort but the initial investment pays off soon. Besides the impressive spatial representation of the projects, the extracted drawings yield a solid base for documentation and production. Extended FreeCAD capabilities like the unfolding of sheet metal parts enormously add to efficiency and pushes models forward into practical assembly.
Soon you will definitely not want to do without FreeCAD!
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?
Program, build, and master 60+ projects with the Wireless RP2040
The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.
The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.
This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics:
Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
Timer interrupts and external interrupts
Analogue-to-digital converter (ADC) projects
Using the internal temperature sensor and external sensor chips
Using the internal temperature sensor and external temperature sensor chips
Datalogging projects
PWM, UART, I²C, and SPI projects
Using Bluetooth, WiFi, and apps to communicate with smartphones
Digital-to-analogue converter (DAC) projects
All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects.
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.
The book covers the following topics:
Open-loop and closed-loop control systems
Analog and digital sensors
Transfer functions and continuous-time systems
First-order and second-order system time responses
Discrete-time digital systems
Continuous-time PID controllers
Discrete-time PID controllers
ON-OFF temperature control with Raspberry Pi and Arduino Uno
PID-based temperature control with Raspberry Pi and Arduino Uno
PID-based DC motor control with Raspberry Pi and Arduino Uno
PID-based water level control with Raspberry Pi and Arduino Uno
PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
Architecture, Programming and Applications
The MSP430 is a popular family of microcontrollers from Texas Instruments. In this book we will work with the smallest type, which is the powerful MSP430G2553. We will look at the capabilities of this microcontroller in detail, as it is well-suited for self-made projects because it is available in a P-DIP20 package.
We will take a closer look at the microcontroller and then build, step by step, some interesting applications, including a 'Hello World' blinking LED and a nice clock application, which can calculate the day of the week based on the date.
You also will learn how to create code for the MSP microcontroller in assembler. In addition to that, we will work with the MSP-Arduino IDE, which makes it quite easy to create fast applications without special in-depth knowledge of the microcontrollers.
All the code used in the book is available for download from the Elektor website.
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.
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
Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.
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).
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
Sound Secrets and Technology
What would today’s rock and pop music be without electric lead and bass guitars? These instruments have been setting the tone for more than sixty years. Their underlying sound is determined largely by their electrical components. But, how do they actually work? Almost no one is able to explain this to the true musician with no technical background. This book answers many questions simply, in an easily-understandable manner.
For the interested musician (and others), this book unveils, in a simple and well-grounded way, what have, until now, been regarded as manufacturer secrets. The examination explores deep within the guitar, including pickups and electrical environment, so that guitar electronics are no longer considered highly secret. With a few deft interventions, many instruments can be rendered more versatile and made to sound a lot better – in the most cost-effective manner.
The author is an experienced electronics professional and active musician. He has thoroughly tested everything described here, in practice.