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.
Pfiffige Projekte zum Messen, Steuern und Regeln
Der Raspberry Pi dominiert seit vielen Jahren die Maker-Szene. Frei verfügbare I/O-Pins machten ihn zu einem der beliebtesten Prozessorboards aller Zeiten. Allerdings verfügt der klassische Raspberry Pi über keinerlei Analogeingänge. Eine direkte Messung analoger Werte ist damit nicht möglich. So können weder Photodioden noch NTCs oder Hallsensoren etc. unmittelbar ausgelesen werden. Zudem sind die Pins direkt, d. h. ohne Treiber oder Schutzschaltung, mit den freiliegenden Kontakten verbunden. Dadurch kann der zentrale Controller und damit der gesamte Raspberry Pi schnell zerstört werden.
Mit dem Pico können diese Probleme elegant gelöst werden. Er kann als sogenanntes „Frontend“ problemlos vielfältige Messaufgaben übernehmen. Zudem ist der Pico deutlich preisgünstiger als ein klassischer Raspberry Pi 4. Falls eine Fehlbeschaltung zur Zerstörung des Pico führt, ist dies vor allem für nicht-professionelle Anwender relativ leicht zu verkraften. Der klassische Raspberry Pi und der Pico werden so zum idealen Duo.
Das Buch führt entsprechend in das weite und hochaktuelle Gebiet der modernen Controllertechnik anhand der beiden Boards „Raspberry Pi 4“ und „Raspberry Pi Pico“ ein. Neben einer tiefergehenden Einführung in die Arbeits- und Funktionsweise der Controllerboards selbst wird insbesondere auch auf die Messwerterfassung und -verarbeitung mit digitalen Prozessoren eingegangen. Insbesondere die Kombination beider Systeme bietet vielfältige und hochinteressante Möglichkeiten.
Praktische Projekte aus dem Inhalt:
USB-Verbindung zwischen Raspberry Pi 4 und Pico
I²C-Kommunikation und Pico als I²C-Device
Voltmeter und Computerthermometer
Pico W als Web-Server und WLAN-Scanner
Frequenzmesser und -generatoren
OLED-Displays an Pico und Raspberry Pi 4
Energiesparmonitor
Welche Astronauten sind im Orbit?
Mini-Monitor für den aktuellen Bitcoin-Kurs
Le testeur de diodes Zener Elektor est essentiellement une source de courant constant commutable par paliers de 1 à 50 mA. Il peut être utilisé pour tester des diodes Zener jusqu’à un maximum de 54 V. Grâce à un convertisseur élévateur de 60 V, l’appareil peut être alimenté par une tension courante de 5 à 12 V.
Le principe de ce testeur est simple. Une diode Zener ou un autre DUT (device under test, dispositif sous test, comme une LED) est polarisé par une source de courant réglable. La tension aux bornes du DUT peut être mesurée avec un multimètre. La tension de la plupart des (petites) diodes Zener est spécifiée pour un courant de 5 mA. Selon l’application, la tension à d’autres courants peut également présenter un intérêt. C’est pourquoi six réglages de courant sont disponibles : 1, 2, 5, 10, 20 et 50 mA. Les LED sont souvent spécifiées pour un courant de 20 mA.
Il est possible de tester :
Si une diode Zener est défectueuse (court-circuit ou haute impédance).
Si une diode Zener présente la bonne tension Zener.
Comment une tension Zener évolue avec différents courants.
Quelle tension exacte est présente sur une référence de tension intégrée.
Si des LED montées en série présentent des différences de luminosité (d’où le courant de 20 mA).
Quel est le gain en courant pour différents courants de base dans des transistors (de puissance).
Le kit contient toutes les pièces indiquées dans la nomenclature, y compris le circuit imprimé et le boîtier.
Spécifications
Tension d'alimentation
5…12 V/2 A (USB-C)
Courant d'alimentation (Itest = 50 mA)
1,1 A à 5 V / 412 mA à 12 V
Courants sélectionnables
1, 2, 5, 10, 20 et 50 mA
Tension de test max.
>54 V à Itest ≥1 mA
Tension de sortie max.
60 V à Itest = 0 mA
Limite de tension à 5 V
4,5 V à Itest = 1 mA / 5,18 V à Itest = 50 mA
Dimensions du boîtier
110 x 82 x 44 mm
Dimensions du circuit imprimé
105,4 x 67,3 mm
Connexions
Douilles banane 4 mm pour multimètre
Douilles banane 2 mm pour pinces de test
Connecteur USB-C pour l'alimentation
Inclus
Résistances
R1 = 3.3 kΩ, 600 mW, 1%
R2 = 0.15 Ω, 1 W, 5%, LS 12.7 mm, ø 3.5 mm
R3, R8 = 180 Ω, 600 mW, 1%
R4, R6, R16 = 1 kΩ, 600 mW, 1%
R5, R19 = 47 kΩ, 600 mW, 1%
R7 = 3.9 kΩ, 1 W, 5%, LS 12.7 mm, ø 3.5 mm
R9, R10, R12 = 10 kΩ, 600 mW, 1%
R11, R13 = 100 Ω, 600 mW 1%
R14 = 249 Ω, 600 mW, 1%
R15 = 499 Ω, 600 mW, 1%
R17 = 2.49 kΩ, 250 mW, 1%
R18 = 4.99 kΩ, 250 mW, 1%
Condensateurs
C1 = 470 uF / 35 V, 20%, Ir = 1.86 A, ø 12.5 mm, LS 5 mm, ESR = 0.038 Ω (Panasonic EEUTP1V471)
C2 = 1 uF / 100 V, 10%, X7R, LS 5 mm
C3 = 2.2 nF / 50 V, 10%, X7R, LS 5 mm
C4, C7 = 100 nF / 100 V, 10%, X7R, LS 5 mm
C5 = 100 uF / 100 V, 20%, ø 14 mm max., LS 5 mm
C6 = 1 nF / 100 V, 10%, X7R, LS 5 mm
Inducteur
L1 = 100 uH, Irms = 2.4 A, Isat = 3.5 A, 0.09 Ω, radial, pitch 2.5/5/10 mm, ø 14 mm max. (Kemet SBC8-101-242)
Semi-conducteurs
D1 = MUR120G, DO-41
D2, D4 = STPS3150RL, DO-201AD
D3 = Z-diode, 18 V, 1.3 W (BZX85C18)
D5 = Z-diode, 5.1 V, 0.5 W (1N5231B)
LED1 = LED in pushbutton S1
LED2 = LED, green, 3 mm
IC1 = MC34063, DIP-8
IC2 = LM4040BIZ-5.0/NOPB, TO-92 (TO-226AA-3)
IC3 = TL051CP, DIP-8
T1 = BC327.25, TO-92
T2 = STP40NF10L, TO-220
T3 = IRF9510PBF, TO-220
T4 = 2N7000, TO-92
Autres
K1, K2, S1, S3 = 2-way screw terminal block, LS 3.5 mm, max. 1.5 mm²
connected to K1 = USB-C socket, 30 V/3 A, chassis mounted, wired, 9 x 16 mm
connected to K2 = Banana Connector, 2 mm, Socket, 60 VDC, Panel Mount, red (Multicomp 24.102.1)
connected to K2 = Banana Connector, 2 mm, Socket, 60 VDC, Panel Mount, black (Multicomp 24.102.2)
Test clip, red, 30 VAC/60 VDC (Hirschmann 931467101)
Test clip, black, 30 VAC/60 VDC (Hirschmann 931467100)
S1 = Pushbutton, panel mount, SPST-NO, 30 DC/100 mA, with red LED
S2 = Rotary Switch, 6 position, 2 pole, 30°, 250 V/150 mA
S3 = Toggle switch, panel mount, SPDT, solder lugs, 28 VDC
T2, T3 = Heat sink, 15°C/W, FK 214 SA-CB
Enclosure Hammond 1591XXSSBK, ABS, 110 x 82 x 44 mm
Knob for S2, round shaft 6 mm, ø 21 mm, with indicator line (Multicomp CP-LB21-6-6D)
4 x Self-tapping screw #4-1/4", carbon steel, pan head
Banana plug, red, 2 mm, 60 VDC (Multicomp 25.205.1)
Banana plug, black, 2 mm, 60 VDC (Multicomp 25.205.2)
Banana socket, black 4 mm, panel mount
Banana socket, red 4 mm, panel mount
for LED1, LED2 = Pin header, 1 x 2, vertical, pitch 2.54 mm
for LED1, LED2 = Pin socket, 1 x 2, vertical, pitch 2.54 mm
for T2, T3 = M3 screw, 10 mm, steel, pan head
2 x M3 washer, plain, steel
4 x M3 nut
for IC1, IC3 = DIP-8 socket
Wire, black, 0.25 mm² (24 AWG), stranded 14 x 0.15 mm, 1 m
Wire, red, 0.25 mm² (24 AWG), stranded 14 x 0.15 mm, 1 m
PCB 250772-1 v1.1
Liens
Article
Elektor Labs
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.
Le MDP-P906 dispose d'un ventilateur de refroidissement intégré et d'une puissance de sortie maximale de 300 W, ce qui permet de répondre à un plus grand nombre de besoins en matière de tests et d'applications. Grâce à la communication sans fil 2,4 GHz, il peut être connecté au module MDP-M01 Smart Digital Monitor pour réaliser la combinaison libre de plusieurs canaux de 300 W par canal. Le MDP-P906 possède une stabilité et une fiabilité comparables à ceux d'une alimentation professionnelle. Il peut délivrer un courant constant et il offre des fonctions puissantes telles que la sortie programmable, la sortie temporelle, le contrôle temporel, la compensation automatique, le mode boost, etc., ce qui en fait un véritable bloc d'alimentation CC linéaire programmable, intelligent et personnalisé. Le MDP-P906 adopte une coque en alliage d'aluminium usinée avec précision par CNC, avec une finition soignée, un aspect nouveau, miniature et esthétique, il renverse complètement l'image rigide de l'alimentation de bureau traditionnelle. Grâce à sa conception modulaire empilable et à sa fonction de communication sans fil, le MDP-P906 peut fonctionner indépendamment ou en binôme, à la fois sur l'établi et pour la maintenance sur site. Le MDP-P906 est une solution parfaite pour les ingénieurs en électronique, en particulier les ingénieurs d'application sur le terrain, afin de répondre aux différents besoins en matière de sources d'alimentation. Ventilateur silencieux intégré, refroidissement instantané, assurant une sortie stable et efficace ! Compensation linéaire intelligente, tension et courant constants Sortie positive et négative, boost en série, partage du courant en parallèle Applications Tests universels et expériences pédagogiques en laboratoire de R&D Maintenance des produits numériques Vérification des propriétés et diagnostic des défauts des appareils et des circuits Alimentation de secours pour les modèles réduits d'avions et de véhicules Test d'alimentation de circuits ou de modules RF et micro-ondes Contrôle et inspection de la qualité Alimentation purifiée de circuits hybrides numériques-analogiques de haute précision et d'appareils audio Hi-Fi Specifications Entrée CC 4,2-30 V/14 A (Max) QC 3.0/PD2.0, 20 V/5 A (Max) Sortie 0-30 V/0-10 A, 300 W (Max) Efficacité de la conversion 95% Résolution de la sortie 10 mV/2 mA, jusqu'à 1 mV/1 mA via le module de contrôle de l'affichage Précision de la sortie 0,03%+5 mV0,05%+2 mV Taux d’ajustement Taux d'ajustement de la charge Taux d'ajustement de la puissance Ondulation et bruit rms, 3 mVpp ; 2 mArms Réponse transitoire Protections de sécurité Protection contre les surtensions d'entrée, les sous-tensions et les inversions de connexion, surintensité de sortie, protection contre les retours d'eau et protection contre la surchauffe Autres Arrêt automatique et passage en mode micro-alimentationPrise en charge de la mise à jour du micrologiciel par USB Dimensions 112 x 66 x 20 mm Poids 181 g Inclus 1x Alimentation numérique MDP-P906 2x Câble de sortie 1x Manuel de l'utilisateur Téléchargements User Manual v1.1 Firmware v1.32
Le Siglent SDM3045X est un multimètre numériques à 4½ digits (66 000 points, taux d'échantillonnage 150 ech/s) qui offre un affichage double et est spécialement conçu pour les applications nécessitant une précision élevée et des mesures automatiques.
Grâce à son grand écran couleur TFT de 4,3 pouces (10,9 cm) (480x272 pixels), la navigation dans les menus est très conviviale et la lisibilité est excellente.
Spécifications
Résolution de lectures de 4½ chiffres (66000 points).
Vitesse de mesure jusqu'à 150 lecture/s
Mesure de la tension et du courant alternatifs True-RMS
1 Go de mémoire flash NON-ET pour le stockage de configuration et des fichiers de données
Built-in cold terminal compensation for thermocouple
Logiciel PC simple, pratique et polyvalent : EasyDMM
Interface standard : appareil USB, hôte USB, LAN
Les interfaces distantes USB LAN prennent en charge les commandes SCPI usuelles. Compatible avec d'autres DMM répandus sur le marché.
Applications
Labo de recherche
Labo de développement
Détection et entretien
Étalonnage
Test de production automatique
Fonctions de mesure
DC Voltage: 600 mV – 1000 V
DC Current: 600 μA – 10 A
AC Voltage: True-RMS, 600 mV – 750 V
AC Current: True-RMS, 60 mA – 10 A
2/4-Wire Resistance: 600 Ω – 100 MΩ
Capacitance: 2 nF – 10000 μF
Continuity Test: Range is fixed at 2 kΩ
Diode Test: Adjustable range is 0-4 V
Frequency Measurement: 20 Hz – 500 KHz
Period Measurement: 2 μs – 0.05 s
Temperature: Support for TC and RTD sensor
Max, Min, Average, Standard Deviation, dBm/dB, Relative Measurement, Pass/Fail, Histogram, Trend Chart
Spécifications
Tension CC
200 mV, 2 V, 20 V, 200 V, 1000 V
Courant CC
200 μA, 2 mA, 20 mA, 200 mA, 2 A, 10 A
Tension CA
True-RMS, 200 mV, 2 V, 20 V, 200 V, 750 V
Courant alternatif
True-RMS, 20 mA, 200 mA, 2 A, 10 A
Mesure de résistances en configuration 2 ou 4 fils
200 Ω, 2 K, 20 K, 200 K, 2 M, 10 M, 100 MΩ
Capacité
2 nF, 20 nF, 200 nF, 2 μF, 20 μF, 200 μF, 10000 μF
Test de continuité
2 KΩ
Test de diode
2 V
Fréquence
20 Hz ~ 1 MHz
Période
1 μs ~ 0.05 s
Température
thermocouple, Capteur de temperature RTD
Tension d'entrée maximale
1000 V
Interfaces
USB Device, USB Host, LAN
Inclus
1x Multimètre SDM3065X de Siglent
1x Câble USB
2x Sondes de multimètre
1x Cordon d'alimentation
1x Guide d'initiation
Téléchargements
User Manual
Datasheet
Remote Manual
Service Manual
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
La série FNIRSI DLA associe une analyse logique USB 3.0 hautes performances à une capture de signaux multicanaux flexible, idéale pour le débogage et l'analyse de circuits numériques et de systèmes embarqués. Cette gamme se décline en deux versions : le DLA-16 Plus, doté de 16 canaux numériques, et le DLA-32 Plus, équipé de 32 canaux numériques.
Les deux modèles offrent des fréquences d'échantillonnage allant jusqu'à 1 Géch./s, une mémoire intégrée de 4 Gbits et la prise en charge de plus de 120 décodeurs de protocoles. Grâce aux modes d'acquisition Buffer, Stream et Roll, ils conviennent aussi bien à l'analyse de signaux à haute vitesse qu'à la surveillance à long terme.
Optez pour le DLA-16 Plus si vous recherchez des fréquences d'échantillonnage plus élevées lors de l'utilisation de tous les canaux, ou pour le DLA-32 Plus si vous avez besoin d'un nombre de canaux plus important ainsi que de fonctionnalités avancées de déclenchement série et parallèle.
Caractéristiques
Disponible avec 16 ou 32 canaux d'entrée numérique
Fréquence d'échantillonnage jusqu'à 1 Géch./s
DLA-16 Plus : jusqu'à 500 Méch./s sur les 16 canaux
DLA-32 Plus : jusqu'à 250 Méch./s sur les 32 canaux
Mémoire interne de 4 Gbits
Interface USB 3.0 haut débit
Modes d'acquisition : Buffer, Stream et Roll
Prise en charge de plus de 120 décodeurs de protocoles
Options de déclenchement avancées
4 sorties PWM avec une plage de fréquence de 1 Hz à 20 MHz
Exportation de données aux formats CSV et BIN
Spécifications
DLA-16 Plus
DLA-32 Plus
Canaux numériques
16
32
Fréquence d'échantillonnage max.
1 Géch./s
Fréquence d'échantillonnage (1 voie)
1 Géch./s
Fréquence d'échantillonnage (8 voies)
1 Géch./s
Échantillonnage max. Buffer
16 voies à 500 Méch./s
32 voies à 250 Méch./s
Échantillonnage max. Stream
16 voies à 125 Méch./s
32 voies à 50 Méch./s
Mémoire matérielle
4 Gbit
Interface
USB 3.0 / USB-C
Max. Débit de transfert USB
5 Gbit/s
Modes d'acquisition
Mémoire tampon / Flux / Défilement
Décodeurs de protocoles
Plus de 120
Prise en charge de protocoles personnalisés
Oui
Modes de déclenchement
Front montant, front descendant, niveau haut, niveau bas, tout front
Déclenchement avancé
Déclenchement standard
Série et parallèle
Étages de déclenchement parallèle
–
Jusqu'à 16
Sorties PWM
4
Tension de sortie PWM
3,3 V
Fréquence PWM
1 Hz – 20 MHz
Exportation de données
CSV, BIN
Dimensions
90 x 81 x 11,5 mm
Inclus
1x FNIRSI DLA-16/32 Plus Analyseur logique
4 Jeux de 5 câbles blindés
18x Mini-crochets de test pour CI (version haute configuration)
1x Câble de données USB 3.0
10x Crochets de test pour CI
1x Étui de rangement transparent pour crochets de test
1x Sac de rangement
1x Manual
Téléchargement
Manual
Software for Windows
Software for macOS (Apple Silicon)
Software for macOS (Intel)
The Raspberry Pi is a $35 credit-card sized computer with many applications, such as in desktop computing, audio and video playback, and as a controller in many industrial, commercial and domestic applications.
This book is about the Raspberry Pi computer and its use in control applications. The book explains in simple terms, with examples, how to configure the RPi, how to install and use the Linux operating system, how to write programs using the Python programming language and how to develop hardware based projects.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary equipment and installing/using the Linux operating system in command mode. Use of the user-friendly graphical desktop operating environment is explained using example applications. The RPi network interface is explained in simple steps and demonstrates how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language, hardware development tools, hardware interface details, and RPi based hardware projects. All the 23 projects given in the book have been tested and are working.
The following headings are given for each project:
Project title
Project description
Project block diagram
Project circuit diagram
Project program description using the Program Description Language (PDL)
Complete program listing
Description of the program
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and hobbyists.
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.
Design IoT Projects with Raspberry Pi, Arduino and ESP32 The Internet of Things (IoT) is becoming a major application area for embedded systems. As a result, more and more people are becoming interested in learning about embedded design and programming. Technical colleges and universities are moving away from legacy 8 and 16-bit microcontrollers and are introducing 32-bit embedded microcontrollers to their curriculums. Many IoT applications demand precision, high processing power, and low power consumption. Produced by IBM, Node-RED is an open-source visual editor for wiring the Internet of Things. Node-RED comes with a large number of nodes to handle a multitude of tasks. The required nodes are selected and joined together to perform a particular task. Node-RED is based on flow type programming where nodes are configured and joined together to form an application program. There are nodes for performing complex tasks, including web access, Twitter, E-mail, HTTP, Bluetooth, MQTT, controlling GPIO ports, etc. One particularly nice aspect of Node-RED is that the programmer does not need to learn how to write complex programs. For example, an email can be sent by simply joining nodes together and writing only a few lines of code. The aim of this book is to teach how Node-RED can be used in projects. The main hardware platform used with most of the projects in this book is Raspberry Pi 4. Chapters are included to show how Node-RED can be also be used with Arduino Uno, ESP32 DevKitC, and the ESP8266 NodeMCU microcontroller development boards.
From Simple Ciphers to Secure Systems
Understanding how to apply cryptography on modern microcontrollers is essential for building secure, reliable, and trustworthy systems. This book explains cryptography in the context of embedded hardware, from classical ciphers that illustrate core principles to modern techniques such as AES for practical high-security applications.
By combining mathematical theory with real-world microcontroller implementations, readers learn not only how cryptography works, but also how to implement it effectively on systems with limited processing power and memory. The book is intended for students starting out in cryptography, hobbyists securing personal projects, and engineers looking for a structured guide to embedded security.
The book covers these key topics in applied cryptography:
Classical ciphers on Arduino Uno and Raspberry Pi Pico, with full programs: Spartan Scytale, Hebrew Atbash, Caesar, ROT13, Alberti Disk, Vigenère, Affine, Polybius, Playfair, Beaufort, Ottoman Codebook, and One-Time Pad.
Hacking classical ciphers using microcontrollers, with examples.
Pseudo-random (PRNG) and true random number generation (TRNG) on microcontrollers.
Symmetric-key cryptography with full programs: DES and AES-128/256.
Memory and speed constraints of cryptography on microcontrollers.
Asymmetric cryptography: public/private keys, digital signatures, key distribution and derivation (KDF), RSA, and SHA-256 implementations.
A complete secure communication program using RSA and AES-256.
A glossary of commonly used cryptography terms.