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
Learn to use Python productively in real-life scenarios at work and in everyday life
If you have mastered the basics of Python and are wanting to explore the language in more depth, this book is for you. By means of concrete examples used in different applications, the book illustrates many aspects of programming (e.g. algorithms, recursion, data structures) and helps problem-solving strategies. Including general ideas and solutions, the specifics of Python and how these can be practically applied are discussed.
Python 3 for Science and Engineering Applications includes:
practical and goal-oriented learning
basic Python techniques
modern Python 3.6+ including comprehensions, decorators and generators
complete code available online
more than 40 exercises, solutions documented online
no additional packages or installation required, 100% pure
Python Topics cover:
identifying large prime numbers and computing Pi
writing and understanding recursive functions with memorisation
computing in parallel and utilising all system cores
processing text data and encrypting messages
comprehending backtracking and solving Sudokus
analysing and simulating games of chance to develop optimal winning strategies
handling genetic code and generating extremely long palindromes
Downloads
Software
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
Programmieren mit GNU Radio
HackRF ist eine Open-Source-Entwicklung von Great Scott Gadgets und dient als vielseitiges Frontend für Software Defined Radio (SDR). Mit HackRF One und dem Nachfolger HackRF Pro lassen sich eigene SDR-Anwendungen entwickeln, leistungsfähige Empfänger und Sender aufbauen sowie anspruchsvolle Aufgaben der HF-Messtechnik realisieren.
Dieses Buch eröffnet einen praxisnahen Einstieg in die Welt des Software Defined Radio. Schritt für Schritt zeigt der Autor, wie sich mit HackRF leistungsfähige SDR-Projekte umsetzen lassen – von den Grundlagen der HF-Technik bis hin zu anspruchsvollen Anwendungen mit GNU Radio.
Neben dem Umgang mit SDR Sharp (SDR#), RadioConda und GNU Radio vermittelt das Buch auch die Grundlagen moderner digitaler Signalverarbeitung. Zahlreiche Experimente und leicht nachvollziehbare Praxisbeispiele führen durch Themen wie AM-, FM- und SSB-Empfang, digitale Filter, Kurzwelle, Amateurfunk, Messsender und eigene HF-Projekte bis 6 GHz.
Ob Maker, Funkamateur, Elektronik-Enthusiast oder SDR-Einsteiger – dieses Buch vermittelt fundiertes Wissen, praxisnahe Anwendungen und die Motivation, die Möglichkeiten moderner SDR-Technik kreativ auszuschöpfen.
Für viele Audiopuristen sind Röhrenverstärker noch immer – oder wieder erneut – das Nonplusultra in der Audioverstärkertechnik überhaupt. Gutes Aussehen gepaart mit einem unübertroffenen Klangerlebnis – so die Meinung vieler Audiofreaks – sind hierfür ausschlaggebend. Tatsächlich erleben seit vielen Jahren die "totgesagten Röhren" eine für viele unerwartete Renaissance; das gilt im professionellen als auch im Hobbybereich.
Die Kombination von klassischer Technik mit modernen Komponenten haben zur Wiederbelebung der Röhrenverstärker beigetragen; so auch der durch den Autor entwickelte "Ringkern-Ausgangstransformator". Über das Wie und Warum solcher Ausgangsübertrager gibt das Buch ausreichend Auskunft. Dazu zählen Begriffserläuterungen und auch die genaue technische Funktionsbeschreibung in Zusammenarbeit zwischen Röhren, Ausgangstransformator und Lautsprecher. Schließlich folgen noch komplette Baubeschreibungen: vom einfachen 10-W- bis zum Highend-100-W-Röhrenverstärker.
Dieses E-Buch beschreibt innovative Lösungen für eine perfekte Audioqualität. Sowohl der Pragmatiker, der sein Gerät selbst baut, wie auch der Theoretiker, den die Komplexität von Transformatoren, Röhrenverstärkern und die Verarbeitung von Audiosignalen interessiert, finden Gefallen an diesem Buch.
Like its predecessors in the 300 series of electronics projects books, 303 Circuits is aimed at the active electronics enthusiast, professional or amateur. Since the series was started in the early 1980s, many thousands of readers have found in these books that new approach, new concept, or new circuit they were looking for.
In 303 Circuits you will find new ideas, new concepts and new circuits covering the gamut of electronics. The book is arranged in subject sections to make it easier for you to find the circuit or idea you are looking for.
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.
From Theory to Practical Applications in Wireless Energy Transfer and Harvesting
Wireless power transmission has gained significant global interest, particularly with the rise of electric vehicles and the Internet of Things (IoT). It’s a technology that allows the transfer of electricity without physical connections, offering solutions for everything from powering small devices over short distances to long-range energy transmission for more complex systems.
Wireless Power Design provides a balanced mix of theoretical knowledge and practical insights, helping you explore the potential of wireless energy transfer and harvesting technologies. The book presents a series of hands-on projects that cover various aspects of wireless power systems, each accompanied by detailed explanations and parameter listings.
The following five projects guide you through key areas of wireless power:
Project 1: Wireless Powering of Advanced IoT Devices
Project 2: Wireless Powered Devices on the Frontline – The Future and Challenges
Project 3: Wireless Powering of Devices Using Inductive Technology
Project 4: Wireless Power Transmission for IoT Devices
Project 5: Charging Robot Crawler Inside the Pipeline
These projects explore different aspects of wireless power, from inductive charging to wireless energy transmission, offering practical solutions for real-world applications. The book includes projects that use simulation tools like CST Microwave Studio and Keysight ADS for design and analysis, with a focus on practical design considerations and real-world implementation techniques.
50+ Android Apps with Raspberry Pi, ESP32 and Arduino
This book is about developing apps for Android compatible mobile devices using the MIT App Inventor online development environment. MIT App Inventor projects can be in either standalone mode or use an external processor. In standalone mode, the developed application runs only on the mobile device (e.g. Android). In external processor-based applications, the mobile device communicates with an external microcontroller-based processor, such as Raspberry Pi, Arduino, ESP8266, ESP32, etc.
In this book, many tested and fully working projects are given both in standalone mode and using an external processor. Full design steps, block programs, circuit diagrams, QR codes and full program listings are given for all projects.
The projects developed in this book include:
Using the text-to-speech component
Intonating a received SMS message
Sending SMS messages
Making telephone calls using a contacts list
Using the GPS and Pin-pointing our location on a map
Speech recognition and speech translation to another language
Controlling multiple relays by speech commands
Projects for the Raspberry Pi, ESP32 and Arduino using Bluetooth and Wi-Fi
MIT APP Inventor and Node-RED projects for the Raspberry Pi
The book is unique in that it is currently the only book that teaches how to develop projects using Wi-Fi and Node-RED with MIT App Inventor. The book is aimed at students, hobbyists, and anyone interested in developing apps for mobile devices.
All projects presented in this book have been developed using the MIT App Inventor visual programming language. There is no need to write any text-based programs. All projects are compatible with Android-based mobile devices. Full program listings for all projects as well as detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, modifying them to suit their own needs.
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
Easy and Affordable Digital Signal ProcessingThe aim of this book is to teach the basic principles of Digital Signal Processing (DSP) and to introduce it from a practical point of view using the bare minimum of mathematics. Only the basic level of discrete-time systems theory is given, sufficient to implement DSP applications in real time. The practical implementations are described in real time using the highly popular ESP32 DevKitC microcontroller development board. With the low cost and extremely popular ESP32 microcontroller, you should be able to design elementary DSP projects with sampling frequencies within the audio range. All programming is done using the popular Arduino IDE in conjunction with the C language compiler.After laying a solid foundation of DSP theory and pertinent discussions on the main DSP software tools on the market, the book presents the following audio-based sound and DSP projects:
Using an I²S-based digital microphone to capture audio sound
Using an I²S-based class-D audio amplifier and speaker
Playing MP3 music stored on an SD card through an I²S-based amplifier and speaker
Playing MP3 music files stored in ESP32 flash memory through an I²S-based amplifier and speaker
Mono and stereo Internet radio with I²S-based amplifiers and speakers
Text-to-speech output with an I²S-based amplifier and speaker
Using the volume control in I²S-based amplifier and speaker systems
A speaking event counter with an I²S-based amplifier and speaker
An adjustable sinewave generator with I²S-based amplifier and speaker
Using the Pmod I²S2 24-bit fast ADC/DAC module
Digital low-pass and band-pass real-time FIR filter design with external and internal A/D and D/A conversion
Digital low-pass and band-pass real-time IIR filter design with external and internal A/D and D/A conversion
Fast Fourier Transforms (FFT)
Dieser Praxis-Ratgeber wendet sich an alle, die sich für die Elektroinstallation interessieren. Auch wenn Sie nicht wissen, warum Ihre elektrische Anlage nicht zufriedenstellend funktioniert oder wie ein Fehler in Ihrer Anlage beseitigt wird, kann dieses Buch Ihnen helfen. Nützlich ist es aber sicherlich auch dann, wenn Sie nur über die Installation elektrischer Anlagen mehr wissen wollen.
Von einfachen Installationsschaltungen bis hin zur vollständigen Wohnungsinstallation zeigt Ihnen dieses Buch alles, was für Planung, Ausführung und Prüfung von elektrischen Anlagen wichtig ist. Alle üblichen Installationspraktiken haben wir für Sie mit sehr vielen Bildern und Planzeichnungen anschaulich dargestellt. Interessierte Leser erhalten somit Wissen, das für die Installation von elektrischen Anlagen notwendig ist.
Jeder einzelne Schritt wird erläutert, und wertvolle Kniffe aus der Praxis helfen Ihnen, Zeit und Geld zu sparen.