LoRaWAN s'est remarquablement développé en tant que solution de communication dans l'IdO. The Things Network (TTN) y a contribué. The Things Network a été mis à niveau vers The Things Stack Community Edition (TTS (CE)). Les clusters TTN V2 ont été fermés vers la fin de l'année 2021.
Ce livre vous explique les étapes nécessaires pour exploiter les n?uds LoRaWAN à l'aide de TTS (CE) et peut-être étendre le réseau de passerelles avec votre propre passerelle. Entre-temps, il existe même des passerelles LoRaWAN adaptées à une utilisation mobile avec lesquelles vous pouvez vous connecter au serveur TTN via votre téléphone portable.
L'auteur présente plusieurs n?uds LoRaWAN commerciaux et un nouveau matériel peu coûteux et alimenté par batterie pour construire des n?uds LoRaWAN autonomes. L'enregistrement des n?uds et des passerelles LoRaWAN dans le TTS (CE), la transmission des données collectées via MQTT et la visualisation via Node-RED, Cayenne, Thingspeak et Datacake permettent de réaliser des projets IdO complexes et des applications inédites à très faible coût.
Ce livre vous permettra de fournir et de visualiser les données collectées avec des capteurs alimentés par batterie (n?uds LoRaWAN) sans fil sur Internet. Vous apprendrez les bases des applications de villes intelligentes et d'IdO qui permettent, entre autres, de mesurer la qualité de l'air, le niveau de l'eau, l'épaisseur de la neige, de déterminer les places de stationnement libres (smart parking) et de contrôler intelligemment l'éclairage public.
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.
Introduction à la programmation des PLC avec OpenPLC, le premier contrôleur logique programmable entièrement open source utilisé avec le Raspberry Pi, et exemples de Modbus avec Arduino Uno et ESP8266.
La programmation de contrôleurs logiques programmables est très courante dans l'industrie et la domotique. Ce livre décrit comment le Raspberry Pi 4 peut être utilisé comme un contrôleur logique programmable. Avant de s'attaquer à la programmation, l'auteur commence par expliquer l'installation du logiciel sur le Raspberry Pi et de l'éditeur de PLC sur le PC, puis il décrit le matériel.
Vous trouverez ensuite des exemples intéressants dans les différents langages de programmation conformes à la norme IEC 61131-3. Ce manuel explique également en détail comment utiliser l'éditeur de PLC et comment charger et exécuter les programmes sur le Raspberry Pi. Tous les langages DEfinis dans la norme CEI sont expliqués à l'aide d'exemples, des schémas à contacts (Ladder Diagram) au SFC (Special Function Chart) en passant par le ST (Structured Control Language). Tous les exemples peuvent être téléchargés sur le site Web de l'auteur.
La communication réseau fait également l'objet d'une attention particulière. L'Arduino Uno et l'ESP8266 sont programmés comme des modules ModbusRTU ou ModbusTCP pour accéder à des périphériques externes, lire des capteurs et commuter des charges électriques. Les circuits d'E/S conformes à la norme industrielle 24 V pourront retenir votre attention.
Le livre se termine par un aperçu des commandes pour ST et LD. Après avoir lu le livre, vous serez en mesure de réaliser vos propres contrôleurs avec le 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!
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
Projets avec Thonny-IDE, uPyCraft-IDE et ESP32 Le langage de programmation « Python » a connu un énorme essor ces dernières années. Enfin, divers systèmes monocarte tels que le Raspberry Pi ont contribué à sa popularité. Mais Python a également été largement utilisé dans d’autres domaines, comme l’intelligence artificielle (IA) ou l’apprentissage automatique (ML). Il est donc évident d'utiliser également Python ou la variante « MicroPython » pour une utilisation dans les SoC (Systems on Chip).
Des contrôleurs puissants tels que l'ESP32 d'Espressif Systems offrent d'excellentes performances ainsi que des fonctionnalités Wi-Fi et Bluetooth à un prix abordable. Avec ces fonctionnalités, la scène Maker a été prise d’assaut. Comparé à d'autres contrôleurs, l'ESP32 dispose d'une mémoire Flash et SRAM nettement plus grande, ainsi que d'une vitesse de processeur beaucoup plus élevée. Grâce à ces caractéristiques, la puce convient non seulement aux applications C classiques, mais également à la programmation avec MicroPython. Ce livre présente l'application des systèmes modernes à puce unique. En plus du contexte technique, l'accent est mis sur MicroPython lui-même. Après l’initiation au langage, les compétences en programmation acquises sont immédiatement mises en pratique. Les projets individuels conviennent aussi bien à une utilisation en laboratoire qu'à des applications quotidiennes. Ainsi, outre l’effet d’apprentissage réel, l’accent est également mis sur le plaisir de construire des appareils complets et utiles. En utilisant des planches à pain de laboratoire, des circuits de toutes sortes peuvent être réalisés avec peu d'effort, transformant les tests et le débogage des projets 100 % homebrew en un plaisir instructif.
Les différentes applications, telles que les stations météorologiques, les voltmètres numériques, les télémètres à ultrasons, les lecteurs de cartes RFID ou les générateurs de fonctions, rendent les projets présentés parfaitement adaptés aux cours pratiques ou aux travaux de matières et d'études en sciences naturelles ou aux cours de sciences et technologies.
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.
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 multitâche et le multitraitement sont devenus un sujet très important dans les systèmes basés sur des microcontrôleurs, notamment dans les applications complexes d'automatisation commerciale, domestique et industrielle. À mesure que la complexité des projets augmente, davantage de fonctionnalités sont exigées des projets. De tels projets nécessitent l'utilisation de plusieurs tâches interdépendantes exécutées sur le même système et partageant les ressources disponibles, telles que le processeur, la mémoire et les ports d'entrée-sortie. En conséquence, l’importance des opérations multitâches dans les applications basées sur des microcontrôleurs n’a cessé de croître au cours des dernières années. De nombreux projets d'automatisation complexes utilisent désormais une forme de noyau multitâche. Ce livre est basé sur des projets et son objectif principal est d'enseigner les fonctionnalités de base du multitâche à l'aide du langage de programmation Python 3 sur Raspberry Pi. De nombreux projets entièrement testés sont fournis dans le livre utilisant les modules multitâches de Python. Chaque projet est décrit de manière complète et détaillée. Des listes complètes de programmes sont fournies pour chaque projet. Les lecteurs doivent pouvoir utiliser les projets tels quels ou les modifier en fonction de leurs propres besoins.
Les modules multitâches Python suivants ont été décrits et utilisés dans les projets :
Fourchette
Fil
Enfilage
Sous-processus
Multitraitement
Le livre comprend des projets multitâches simples tels que le contrôle indépendant de plusieurs LED, jusqu'à des projets multitâches plus complexes tels que le contrôle de la température marche/arrêt, le contrôle des feux de circulation, un compteur d'événements LED à 2 et 4 chiffres à 7 segments, une minuterie de réaction, un moteur pas à pas. contrôle, projets basés sur le clavier, contrôleur de parking et bien d'autres. Les concepts fondamentaux du multitâche tels que la synchronisation des processus, la communication des processus et les techniques de partage de mémoire ont été décrits dans des projets concernant les indicateurs d'événements, les files d'attente, les sémaphores, les valeurs, etc.
Programming the Finite State Machine with 8-Bit PICs in Assembly and C
Andrew Pratt provides a detailed introduction to programming PIC microcontrollers, as well as a thorough overview of the Finite State Machine (FSM) approach to programming. Most of the book uses assembly programming, but do not be deterred. The FSM gives a structure to a program, making it easy to plan, write, and modify. The last two chapters introduce programming in C, so you can make a direct comparison between the two techniques. The book references the relevant parts of the Microchip datasheet as familiarity with it is the best way to discover detailed information.
This book is aimed at Microsoft Windows and Linux users. To keep your costs to a minimum and to simplify the toolchain, specific applications are provided as a free download to enable you to use an FTDI serial lead as the programmer. The assembler used is the open-source "gpasm". All programming can be done in a text editor. There are detailed instructions on how to perform the necessary installations on Windows, Linux Debian, and derivatives such as Ubuntu and Fedora. For programming in C, Microchip's XC8 compiler is used from the command line. In addition to the programming applications, two serial read and serial write applications can be used for communicating with the PICs from a computer.
A voltmeter project including practical instructions on building a circuit board from scratch is included. All theory is covered beforehand, including how to do integer arithmetic in assembly.
Two PICs are covered: the PIC12F1822 and the PIC16F1823. Both can run at 32 MHz with an internal oscillator. You do not need to buy a factory-made development board and programmer. With relatively inexpensive parts including a serial lead, microcontroller, a few resistors, and LEDs, you can get started exploring embedded programming.
Links
Updated Programmer
Secrets sonores et technologie
Que serait la musique rock et pop d'aujourd'hui sans les guitares électriques et les basses ? Ces instruments donnent le ton depuis plus de soixante ans. Leur son sous-jacent est largement déterminé par leurs composants électriques. Mais comment fonctionnent-ils concrètement ? Presque personne n’est capable d’expliquer cela au vrai musicien sans formation technique. Ce livre répond à de nombreuses questions de manière simple et compréhensible. Pour le musicien intéressé (et les autres), ce livre dévoile, de manière simple et approfondie, ce qui était jusqu'à présent considéré comme des secrets de fabrication. L'examen explore les profondeurs de la guitare, y compris les micros et l'environnement électrique, afin que l'électronique de la guitare ne soit plus considérée comme hautement secrète. Avec quelques interventions habiles, de nombreux instruments peuvent être rendus plus polyvalents et mieux sonner – de la manière la plus rentable.
L'auteur est un professionnel de l'électronique expérimenté et un musicien actif. Il a testé minutieusement tout ce qui est décrit ici, dans la pratique.
Projets d'électronique analogique et de microcontrôleurs
L'électronique amateur peut être une façon amusante d'acquérir de nouvelles compétences qui peuvent être utiles à votre carrière. Ceux qui comprennent les bases de l’électronique peuvent concevoir leurs propres circuits et projets. Cependant, avant de courir, vous devez apprendre à marcher. Tout commence avec l'électronique analogique. Vous devez être familier avec les composants et circuits simples et comprendre leurs comportements de base ainsi que les problèmes que vous pouvez rencontrer. La meilleure façon d’y parvenir est de procéder à des expériences réelles. La théorie seule ne suffit pas. Ce livre propose un grand nombre de circuits pratiques d'entrée de gamme, avec lesquels chacun peut acquérir l'expérience de base.
Grâce à l’introduction généralisée des microcontrôleurs, un nouveau chapitre de l’électronique s’ouvre. Les microcontrôleurs effectuent désormais de plus en plus de tâches qui étaient initialement résolues à l'aide de composants discrets et de circuits intégrés conventionnels. Débuter est devenu de plus en plus facile grâce à des plateformes telles que Bascom, Arduino, micro:bit. Le livre présente de nombreuses applications de microcontrôleurs gérables. Il s'agit désormais de moins de soudure et plus de programmation.
3rd Edition – Fully updated for Raspberry Pi 4
The Raspberry Pi is a very cheap but complete computer system that allows all sorts of electronics parts and extensions to be connected. This book addresses one of the strongest aspects of the Raspberry Pi: the ability to combine hands-on electronics and programming.
Combine hands-on electronics and programming
After a short introduction to the Raspberry Pi you proceed with installing the required software. The SD card that can be purchased in conjunction with this book contains everything to get started with the Raspberry Pi. At the side of the (optional) Windows PC, software is used which is free for downloading. The book continues with a concise introduction to the Linux operating system, after which you start programming in Bash, Python 3 and Javascript. Although the emphasis is on Python, the coverage is brief and to the point in all cases – just enabling you to grasp the essence of all projects and start adapting them to your requirements. All set, you can carry on with fun projects.
The book is ideal for self-study
No fewer than 45 exciting and compelling projects are discussed and elaborated in detail. From a flashing lights to driving an electromotor; from processing and generating analog signals to a lux meter and a temperature control. We also move to more complex projects like a motor speed controller, a web server with CGI, client-server applications and Xwindows programs.
Each project has details of the way it got designed that way
The process of reading, building, and programming not only provides insight into the Raspberry Pi, Python, and the electronic parts used, but also enables you to modify or extend the projects any way you like. Also, feel free to combine several projects into a larger design.
Dans ce livre, l'auteur présente tous les aspects essentiels de la programmation des microcontrôleurs, sans surcharger le lecteur avec des informations inutiles ou quasi pertinentes. Après avoir lu le livre, vous devriez être capable de comprendre et de programmer des microcontrôleurs 8 bits.
L'introduction à la programmation des microcontrôleurs s'effectue à l'aide de microcontrôleurs de la série PIC. Pas vraiment à la pointe de la technologie avec seulement 8 bits, le micro PIC a l'avantage d'être simple à comprendre. Il est proposé dans un boîtier DIP, largement disponible et pas trop complexe. La fiche technique complète du micro PIC est plus courte de plusieurs décennies que la description de l'architecture décrivant la section processeur d'un microcontrôleur avancé. La simplicité a ici ses avantages. Après avoir maîtrisé le fonctionnement fondamental d’un microcontrôleur, vous pourrez facilement entrer plus tard dans le domaine des softcores avancés. Après avoir placé le code assembleur comme langage de programmation exécutif au premier plan dans la première partie du livre, l'auteur atteint un niveau plus profond avec le « C » dans la deuxième partie. Parallèlement au sujet officiel, le livre présente des trucs et astuces, une technologie de mesure intéressante, des aspects pratiques de la programmation des microcontrôleurs, ainsi que des options pratiques pour faciliter le travail, le débogage et la recherche de pannes.
40+ Projects using Arduino, Raspberry Pi and ESP32
This book is about developing projects using the sensor-modules with Arduino Uno, Raspberry Pi and ESP32 microcontroller development systems. More than 40 different sensors types are used in various projects in the book. The book explains in simple terms and with tested and fully working example projects, how to use the sensors in your project. The projects provided in the book include the following:
Changing LED brightness
RGB LEDs
Creating rainbow colours
Magic wand
Silent door alarm
Dark sensor with relay
Secret key
Magic light cup
Decoding commercial IR handsets
Controlling TV channels with IT sensors
Target shooting detector
Shock time duration measurement
Ultrasonic reverse parking
Toggle lights by clapping hands
Playing melody
Measuring magnetic field strength
Joystick musical instrument
Line tracking
Displaying temperature
Temperature ON/OFF control
Mobile phone-based Wi-Fi projects
Mobile phone-based Bluetooth projects
Sending data to the Cloud
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared sensor kit is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
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.
Over 45 Builds for the Legendary 555 Chip (and the 556, 558)
The 555 timer IC, originally introduced by the Signetics Corporation around 1971, is sure to rank high among the most popular analog integrated circuits ever produced. Originally called the IC Time Machine, this chip has been used in many timer-related projects by countless people over decades.
This book is all about designing projects based on the 555 timer IC. Over 45 fully tested and documented projects are presented. All projects have been fully tested by the author by constructing them individually on a breadboard. You are not expected to have any programming experiences for constructing or using the projects given in the book. However, it’s definitely useful to have some knowledge of basic electronics and the use of a breadboard for constructing and testing electronic circuits.
Some of the projects in the book are:
Alternately Flashing Two LEDs
Changing LED Flashing Rate
Touch Sensor On/Off Switch
Switch On/Off Delay
Light-Dependent Sound
Dark/Light Switch
Tone Burst Generator
Long Duration Timer
Chasing LEDs
LED Roulette Game
Traffic Lights
Continuity Tester
Electronic Lock
Switch Contact Debouncing
Toy Electronic Organ
Multiple Sensor Alarm System
Metronome
Voltage Multipliers
Electronic Dice
7-Segment Display Counter
Motor Control
7-Segment Display Dice
Electronic Siren
Various Other Projects
The projects given in the book can be modified or expanded by you for your very own applications. Electronic engineering students, people engaged in designing small electronic circuits, and electronic hobbyists should find the projects in the book instructive, fun, interesting, and useful.
An 8-in-1 test & measurement instrument for the electronics workbench
A well-equipped electronics lab is crammed with power supplies, measuring devices, test equipment and signal generators. Wouldn‘t it be better to have one compact device for almost all tasks? Based on the Arduino, a PC interface is to be developed that’s as versatile as possible for measurement and control. It simply hangs on a USB cable and – depending on the software – forms the measuring head of a digital voltmeter or PC oscilloscope, a signal generator, an adjustable voltage source, a frequency counter, an ohmmeter, a capacitance meter, a characteristic curve recorder, and much more.
The circuits and methods collected here are not only relevant for exactly these tasks in the "MSR" electronics lab, but many details can also be used within completely different contexts.
PC USB Logic Analyzers with Arduino, Raspberry Pi, and Co.
Step-by-step instructions guide you through the analysis of modern protocols such as I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 and 1-Wire protocols. With the help of numerous experimental circuits based on the Raspberry Pi Pico, Arduino Uno and the Bus Pirate, you will learn the practical application of popular USB logic analyzers.
All the experimental circuits presented in this book have been fully tested and are fully functional. The necessary program listings are included – no special programming or electronics knowledge is required for these circuits. The programming languages used are MicroPython and C along with the development environments Thonny and Arduino IDE.
This book uses several models of flexible and widely available USB logic analyzers and shows the strengths and weaknesses of each price range.
You will learn about the criteria that matter for your work and be able to find the right device for you.
Whether Arduino, Raspberry Pi or Raspberry Pi Pico, the example circuits shown allow you to get started quickly with protocol analysis and can also serve as a basis for your own experiments.
After reading this book, you will be familiar with all the important terms and contexts, conduct your own experiments, analyze protocols independently, culminating in a comprehensive knowledge set of digital signals and protocols.
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
Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
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?
Plot, Cut, Drill, Mill and Laser with the Z99
This book covers the construction, hardware, software, and operation of the Z99 – CNC machine. This is a multifunctional 4-axis machine for home construction.
The capabilities of the Z99 machine include:
large-format schematic plotting
PCB plotting with etch-resist pens
schematic plotting with conductive-ink pens
letter cutting out of vinyl
paper cutting
PCB/substrate drilling
PCB/substrate milling
text milling
laser engraving
laser cutting of solder paste masks
By making the support software available as freeware, readers of the book are challenged and encouraged to develop new applications for the Z99.
The machine would not be of much use if the user has no option to create suitable files for the designs in mind. A large part of this book is dedicated to creating source files in a variety of freeware software packages, including Inkscape, DesignSpark PCB, KiCad, and FlatCAM.
The book is also useful for readers keen to comprehend and then master the basic structure of HPGL, Gerber, Drill, and G-code files, as well as to have a go at deciphering them using software.
Get Cracking with the Arduino Nano V3, Nano Every, and Nano 33 IoT
The seven chapters in this book serve as the first step for novices and microcontroller enthusiasts wishing to make a head start in Arduino programming. The first chapter introduces the Arduino platform, ecosystem, and existing varieties of Arduino Nano boards. It also teaches how to install various tools needed to get started with Arduino Programming. The second chapter kicks off with electronic circuit building and programming around your Arduino. The third chapter explores various buses and analog inputs. In the fourth chapter, you get acquainted with the concept of pulse width modulation (PWM) and working with unipolar stepper motors.
In the fifth chapter, you are sure to learn about creating beautiful graphics and basic but useful animation with the aid of an external display. The sixth chapter introduces the readers to the concept of I/O devices such as sensors and the piezo buzzer, exploring their methods of interfacing and programming with the Arduino Nano. The last chapter explores another member of Arduino Nano family, Arduino Nano 33 IoT with its highly interesting capabilities. This chapter employs and deepens many concepts learned from previous chapters to create interesting applications for the vast world of the Internet of Things.
The entire book follows a step-by-step approach to explain concepts and the operation of things. Each concept is invariably followed by a to-the-point circuit diagram and code examples. Next come detailed explanations of the syntax and the logic used. By closely following the concepts, you will become comfortable with circuit building, Arduino programming, the workings of the code examples, and the circuit diagrams presented. The book also has plenty of references to external resources wherever needed.
An archive file (.zip) comprising the software examples and Fritzing-style circuit diagrams discussed in the book may be downloaded free of charge below.
An Ultra-Rapid Programming Course
This book serves as the very first step to for novices to learn Python programming. The book is divided into ten chapters. In the first chapter, readers are introduced to the basics of Python. It has the detailed instructions for installation on various platforms such as macOS, Windows, FreeBSD, and Linux. It also covers the other aspects of Python programming such as IDEs and Package Manager. The second chapter is where the readers get an opportunity to have a detailed hands-on with Python programming. It covers a group of built-in data structures popularly known as Python Collections. The third chapter covers the important concepts of strings, functions, and recursion.
The fourth chapter focuses on the Object-Oriented Programming with Python. The fifth chapter discusses most commonly used custom data structures such as stack and queue. The sixth chapter spurs the creativity of the readers with Python’s Turtle graphics library. The seventh chapter explores animations and game development using the Pygame library. The eighth chapter covers handling data stored in a variety of file formats. The ninth chapter covers the area of Image processing with Wand library in Python. The tenth and the final chapter presents an array of assorted handy topics in Python.
The entire book follows a step-by-step approach. The explanation of the topic is always followed by a detailed code example. The code examples are also explained in suitable detail and they are followed by the output in the form of text or screenshot wherever possible. Readers will become comfortable with Python programming language by closely following the concepts and the code examples in this book. The book also has references to external resources for readers to explore further.
A download of the software code, and links to tutorial videos can be found on the Elektor website.