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
De Elektor Zenerdiode-tester is in wezen een constante-stroombron die in stappen van 1 tot 50 mA kan worden geschakeld. Hij kan worden gebruikt om zenerdiodes tot een maximum van 54 V te testen. Dankzij een 60-V step-upconverter kan het apparaat worden gevoed met de gebruikelijke 5 tot 12 V.
Het principe van deze tester is eenvoudig. Een zenerdiode of een ander DUT (device under test, zoals een LED) wordt gevoed door een instelbare stroombron. De spanning over het DUT kan met een multimeter worden gemeten. De spanning van de meeste (kleine) zenerdiodes wordt gespecificeerd bij een stroom van 5 mA. Afhankelijk van de toepassing kan ook de spanning bij andere stromen interessant zijn. Daarom zijn er zes stroominstellingen beschikbaar: 1, 2, 5, 10, 20 en 50 mA. LED’s worden vaak gespecificeerd bij een stroom van 20 mA.
Wat kan worden getest:
Of een zenerdiode defect is (kortsluiting of hoogohmig).
Of een zenerdiode de juiste zenerspanning heeft.
Hoe een zenerspanning verandert bij verschillende stromen.
Welke exacte spanning aanwezig is bij een geïntegreerde spanningsreferentie.
Of LED’s in een serieschakeling verschillen in helderheid (vandaar de stroom van 20 mA).
Wat de stroomversterking is bij verschillende basisstromen in (vermogens)transistoren.
De kit bevat alle onderdelen die in de stuklijst staan vermeld, inclusief printplaat en behuizing.
Specificaties
Voedingsspanning
5…12 V/2 A (USB-C)
Voedingsstroom (Itest = 50 mA)
1,1 A bij 5 V / 412 mA bij 12 V
Selecteerbare stromen
1, 2, 5, 10, 20 en 50 mA
Max. testspanning
>54 V bij Itest ≥1 mA
Max. uitgangsspanning
60 V bij Itest = 0 mA
Spanningslimiet bij 5 V
4,5 V bij Itest = 1 mA / 5,18 V bij Itest = 50 mA
Afmetingen (behuizing)
110 x 82 x 44 mm
Afmetingen (PCB)
105,4 x 67,3 mm
Aansluitingen
4 mm banaanstekkerbussen voor multimeter
2 mm banaanstekkerbussen voor testklemmen
USB-C-aansluiting voor voeding
Inbegrepen
Weerstanden
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%
Condensatoren
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
Inductor
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)
Halfgeleiders
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
Overige
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
Links
Artikel
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.
De MDP-P906 heeft een ingebouwde ventilator en een maximaal uitgangsvermogen van 300 W, wat toereikend is voor een breed scala aan testbehoeften en toepassingen. Via 2,4 GHz draadloze communicatie kan hij worden aangesloten op de MDP-M01 Smart Digital Monitor module om daarmee een flexibele combinatie van meerdere kanalen van 300 W per kanaal te kunnen realiseren. De MDP-P906 heeft een basis, stabiliteit en betrouwbaarheid die te vergelijken is met een professionele voeding. Hij kan puur stroom leveren én krachtige functies hieraan toevoegen, zoals programmeerbare uitgang, getimede uitgang, getimede regeling, automatische compensatie, boost modus, enz. Dit maakt hem tot een kosteneffectieve, slimme en op maat programmeerbare lineaire DC-voeding. De MDP-P906 heeft een zorgvuldig CNC-gefreesde aluminium behuizing, met verfijnde afwerking, eigentijds, bescheiden en prachtig uiterlijk. Hij wijkt hiermee volledig af van het standaard uiterlijk van een traditionele desktop voeding. Door een stackable modulair ontwerp en de draadloze communicatie kan de MDP-P906 onafhankelijk of onderling gekoppeld worden gebruikt, zowel in de normale werkruimte als bij onderhoud op locatie. De MDP-P906 is een perfecte oplossing voor elektrotechnici, met name servicemonteurs, om bij verschillende situaties en toepassingen de stroom te leveren. Ingebouwde stille ventilator, instant cooling, voor een stabiele en efficiënte output! Slimme lineaire compensatie, constante spanning & constante stroom Positieve en negatieve output, series boost, parallelle stroomverdeling Toepassingen Universele tests en onderwijsexperimenten in R&D laboratoria Onderhoud van digitale producten Eigendomsverificatie en foutdiagnose van apparaten en circuits Noodstroomvoorziening voor modelvliegtuigen en voertuigen Voedingen testen van RF en microgolfcircuits of -modules Kwaliteitscontrole en kwaliteitsinspectie Zuivere voeding voor zeer nauwkeurige digitaal-analoge hybride circuits en Hi-Fi audioapparaten Specificaties Input DC 4.2-30 V / 14 A (Max)QC 3.0/PD2.0, 20 V / 5 A (Max) Uitgang 0-30 V / 0-10 A, 300 W (Max) Conversie efficiëntie 95% Output resolutie 10 mV / 2 mA, tot 1 mV / 1 mA via Display Control module Output nauwkeurigheid 0,03%+5 mV0,05%+2 mV Adjustment rate Load adjustment rate <±0,01%Power adjustment rate <±0,01% Ripple en noise <250 uVrms, 3 mVpp; 2 mArms Transient response <4 uS Beveiligingen Te hoge voedingsspanning, onderspanning, omgekeerd aansluiten, te hoge uitgangsstroom, retourstroom en oververhitting Overig Automatisch afsluiten en naar micro-power modeOndersteuning van USB firmware upgrade Afmetingen 112 x 66 x 20 mm Gewicht 181 g Inbegrepen 1x MDP-P906 digitale voeding 2x uitgangskabel 1x gebruikershandleiding Downloads User Manual v1.1 Firmware v1.32
De Siglent SDM3045X is een 4½ digit digitale (66000 counts, sampling rate 150 Sa/s) multimeter met een dual-display, en is bijzonder geschikt voor het doen van zeer nauwkeurige, multifunctionele en automatische metingen.
Vanwege zijn grote 4,3' (10,9 cm) TFT kleurendisplay (480x272 pixels) is de navigatie door de menu’s zeer intuïtief en erg gemakkelijk afleesbaar.
Kenmerken
Een echte 4½ digit digitale (66000 counts) meetresolutie
Tot maximaal 150 rdgs/s meetsnelheid
True-RMS AC spanning en AC stroom metingen
1 GB NAND-flash, configuratiebestanden voor massaopslag en databestanden
Ingebouwde cold terminal compensation voor thermokoppel
Met eenvoudige, handige en flexibele PC-software: EasyDMM
Standaard interface: USB Device, USB Host, LAN
USB &LAN externe interfaces ondersteunen gemeenschappelijke SCPI commando set. Compatibel met andere populaire DMM's op de markt.
Toepassingen
Onderzoekslaboratorium
Ontwikkellaboratorium
Detectie en onderhoud
Kalibratie Laboratorium
Automatische productietest
Meetfuncties
DC spanning: 600 mV – 1000 V
DC stroom: 600 ?A – 10 A
AC spanning: True-RMS, 600 mV – 750 V
AC stroom: True-RMS, 60 mA – 10 A
2/4-draads weerstand: 600 ? – 100 M ?
Capaciteit: 2 nF – 10000 ?F
Continuïteitstest: Bereik vast ingesteld op 2 k?
Diode test: Bereik instelbaar van 0-4 V
Frequentiemeting: 20 Hz – 500 KHz
Periode meting: 2 ?s – 0,05 s
Temperatuur: Ondersteuning voor TC- en RTD-sensor
Max, Min, Gemiddelde, Standaarddeviatie, dBm/dB, Relatieve Meting, Pass/Fail, Histogram, Trend chart
Kenmerken
DC spanning
200 mV, 2 V, 20 V, 200 V, 1000 V
DC stroom
200 ?A, 2 mA, 20 mA, 200 mA, 2 A, 10 A
AC spanning
True-RMS, 200 mV, 2 V, 20 V, 200 V, 750 V
AC stroom
True-RMS, 20 mA, 200 mA, 2 A, 10 A
2/4-draads weerstand
200 ?, 2 K, 20 K, 200 K, 2 M, 10 M, 100 M?
Capaciteit
2 nF, 20 nF, 200 nF, 2 ?F, 20 ?F, 200 ?F, 10000 ?F
Continuïteitstest
Bereik is vast ingesteld op 2 k?
Diode test
Bereik instelbaar van 0-4 V
Frequentiemeting
20 Hz ~ 1 MHz
Periode meting
1 ?s ~ 0.05 s
Temperatuur
Ondersteuning van thermocouple, RTD temperature sensor
Maximum input spanning
1000 V
Configuratie Interface
USB Device, USB Host, LAN
Inbegrepen
1x Siglent SDM3065X Multimeter
1x USB kabel
2x multimeter probes
1x netstroom kabel
1x Quick Start Guide
Downloads
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
De FNIRSI DLA-serie combineert krachtige USB 3.0-logica-analyse met flexibele, meerkanaals signaalregistratie voor het debuggen en analyseren van digitale circuits en embedded systemen. De serie is verkrijgbaar in twee uitvoeringen: de DLA-16 Plus met 16 digitale kanalen en de DLA-32 Plus met 32 digitale kanalen.
Beide modellen bieden samplingfrequenties tot 1 GSa/s, 4 Gbit intern geheugen en ondersteuning voor meer dan 120 protocoldecoders. Dankzij de acquisitiemodi Buffer, Stream en Roll zijn ze geschikt voor zowel snelle signaalanalyse als langdurige monitoring.
Kies de DLA-16 Plus voor hogere samplingfrequenties bij gebruik van alle kanalen, of de DLA-32 Plus wanneer u meer kanalen en geavanceerde seriële en parallelle triggering nodig heeft.
Kenmerken
Verkrijgbaar met 16 of 32 digitale ingangskanalen
Bemonsteringssnelheid tot 1 GSa/s
DLA-16 Plus: tot 500 MSa/s bij gebruik van alle 16 kanalen
DLA-32 Plus: tot 250 MSa/s bij gebruik van alle 32 kanalen
4 Gbit intern geheugen
High-speed USB 3.0-interface
Acquisitiemodi: Buffer, Stream en Roll
Ondersteuning voor meer dan 120 protocoldecoders
Geavanceerde triggeropties
4 PWM-uitgangen met een frequentiebereik van 1 Hz tot 20 MHz
Data-export naar CSV en BIN
Specificaties
DLA-16 Plus
DLA-32 Plus
Digitale kanalen
16
32
Max. Sampling rate
1 GSa/s
Sampling rate (1 kanaal)
1 GSa/s
Sampling rate (8 kanalen)
1 GSa/s
Max. Buffer sampling
16 kanalen @ 500 MSa/s
32 kanalen @ 250 MSa/s
Max. Stream sampling
16 kanalen @ 125 MSa/s
32 kanalen @ 50 MSa/s
Hardwaregeheugen
4 Gbit
Interface
USB 3.0 / USB-C
Max. USB-overdrachtssnelheid
5 Gbit/s
Acquisitiemodi
Buffer / Stream / Roll
Protocoldecoders
120+
Ondersteuning voor aangepaste protocollen
Ja
Triggermodi
Stijgende flank, dalende flank, hoog, laag, elke flank
Geavanceerde trigger
Standaard triggering
Serieel en parallel
Parallelle triggerfasen
–
Tot 16
PWM-uitgangen
4
PWM-uitgangsspanning
3,3 V
PWM-frequentie
1 Hz–20 MHz
Gegevensexport
CSV, BIN
Afmetingen
90 x 81 x 11,5 mm
Inbegrepen
1x FNIRSI DLA-16/32 Plus Logic Analyzer
4 Sets van 5 afgeschermde kabels
18x Mini IC-testhaken (uitvoering met uitgebreide configuratie)
1x USB 3.0-datakabel
10x IC-testhaken
1x Transparante opbergdoos voor testhaken
1x Opbergtas
1x Manual
Downloads
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.