ARM Cortex-M Embedded Design from 0 to 1
Hobbyists can mash together amazing functional systems using platforms like Arduino or Raspberry Pi, but it is imperative that engineers and product designers understand the foundational knowledge of embedded design. There are very few resources available that describe the thinking, strategies, and processes to take an idea through hardware design and low-level driver development, and successfully build a complete embedded system. Many engineers end up learning the hard way, or never really learn at all.
ARM processors are essentially ubiquitous in embedded systems. Design engineers building novel devices must understand the fundamentals of these systems and be able to break down large, complicated ideas into manageable pieces. Successful product development means traversing a huge amount of documentation to understand how to accomplish what you need, then put everything together to create a robust system that will reliably operate and be maintainable for years to come.
This book is a case study in embedded design including discussion of the hardware, processor initialization, low‑level driver development, and application interface design for a product. Though we describe this through a specific application of a Cortex-M3 development board, our mission is to help the reader build foundational skills critical to being an excellent product developer. The completed development board is available to maximize the impact of this book, and the working platform that you create can then be used as a base for further development and learning.
The Embedded in Embedded program is about teaching fundamental skill sets to help engineers build a solid foundation of knowledge that can be applied in any design environment. With nearly 20 years of experience in the industry, the author communicates the critical skill development that is demanded by companies and essential to successful design. This book is as much about building a great design process, critical thinking, and even social considerations important to developers as it is about technical hardware and firmware design.
Downloads
EiE Software Archive (200 MB)
IAR ARM 8.10.1 (Recommended IDE version to use) (1.2 GB)
IAR ARM 7.20.1 (Optional IDE version to use) (600 MB)
History and Future in the Internet of Things
This book thoroughly reviews the history of the development of embedded Operating Systems, covers the technical characteristics, historic facts, as well as background business stories of mainstream embedded Operating Systems, and analyzes the technical evolution, market development, and new opportunities of embedded Operating Systems in the age of the Internet of Things.
From the perspective of time, the book examines the evolution of critical technical aspects, including real-time and Power Management of embedded Operating Systems and Linux, Internet of Things security, communication, and cloud computing.
The book looks into applications of embedded Operating Systems with important markets of mobile phones, communication equipment, automobile, and wearable devices, and also discusses business model and the issue of intellectual property of embedded Operating Systems.
In addition, the book walks through the status quo, technical features, product evaluation and background of the Internet of Things Operating Systems in the second half of the book.
Linux auf dem Desktop – das ist heute leicht und einfach möglich. Embedded Linux ebenso, auch wenn es kompliziert erscheint. Das vorliegende Buch gibt allen Interessierten Hilfestellung, die Linux auf einer Embedded-Plattform installieren und nutzen möchten. Das im Buch vorgestellte System arbeitet mit der Toshiba-ARM9-Familie.Grundlegende Linux-Kenntnisse auf dem PC werden Schritt für Schritt in Richtung Embedded Linux erweitert. Das Buch beantwortet die Fragen, welche Komponenten hierzu erforderlich sind und wie sich diese erstellen lassen. Nach der Vorstellung der verwendeten Hardware beginnt dies bei der Toolchain und setzt sich über JTAG-Debugger, Bootloader und Kernel bis zur Applikation fort.Rezension: c't 25/2010"... Ein Buch aus der Praxis für die Praxis – besser geht es kaum."
This collection features the best of Elektor Magazine's articles on embedded systems and artificial intelligence. From hands-on programming guides to innovative AI experiments, these pieces offer valuable insights and practical knowledge for engineers, developers, and enthusiasts exploring the evolving intersection of hardware design, software innovation, and intelligent technology.
Contents
Programming PICs from the Ground UpAssembler routine to output a sine wave
Object-Oriented ProgrammingA Short Primer Using C++
Programming an FPGA
Tracking Down Microcontroller Buffer Overflows with 0xDEADBEEF
Too Quick to Code and Too Slow to Test?
Understanding the Neurons in Neural NetworksEmbedded Neurons
MAUI Programming for PC, Tablet, and SmartphoneThe New Framework in Theory and Practice
USB Killer DetectorBetter Safe Than Sorry
Understanding the Neurons in Neural NetworksArtificial Neurons
A Bare-Metal Programming Guide
Part 1: For STM32 and Other Controllers
Part 2: Accurate Timing, the UART, and Debugging
Part 3: CMSIS Headers, Automatic Testing, and a Web Server
Introduction to TinyMLBig Is Not Always Better
Microprocessors for Embedded SystemsPeculiar Parts, the Series
FPGAs for BeginnersThe Path From MCU to FPGA Programming
AI in Electronics DevelopmentAn Update After Only One Year
AI in the Electronics LabGoogle Bard and Flux Copilot Put to the Test
ESP32 and ChatGPTOn the Way to a Self-Programming System…
Audio DSP FX Processor Board
Part 1: Features and Design
Part 2: Creating Applications
Rust + EmbeddedA Development Power Duo
A Smart Object CounterImage Recognition Made Easy with Edge Impulse
Universal Garden LoggerA Step Towards AI Gardening
A VHDL ClockMade with ChatGPT
TensorFlow Lite on Small MicrocontrollersA (Very) Beginner’s Point of View
Mosquito DetectionUsing Open Datasets and Arduino Nicla Vision
Artificial Intelligence Timeline
Intro to AI AlgorithmsPrompt: Which Algorithms Implement Each AI Tool?
Bringing AI to the Edgewith ESP32-P4
The Growing Role of Edge AIA Trend Shaping the Future
History and Future in the Internet of Things
This book thoroughly reviews the history of the development of embedded Operating Systems, covers the technical characteristics, historic facts, as well as background business stories of mainstream embedded Operating Systems, and analyzes the technical evolution, market development, and new opportunities of embedded Operating Systems in the age of the Internet of Things.
From the perspective of time, the book examines the evolution of critical technical aspects, including real-time and Power Management of embedded Operating Systems and Linux, Internet of Things security, communication, and cloud computing.
The book looks into applications of embedded Operating Systems with important markets of mobile phones, communication equipment, automobile, and wearable devices, and also discusses business model and the issue of intellectual property of embedded Operating Systems.
In addition, the book walks through the status quo, technical features, product evaluation and background of the Internet of Things Operating Systems in the second half of the book.
Technology is constantly changing. New microcontrollers become available every year and old ones become redundant. The one thing that has stayed the same is the C programming language used to program these microcontrollers. If you would like to learn this standard language to program microcontrollers, then this book is for you!
ARM microcontrollers are available from a large number of manufacturers. They are 32-bit microcontrollers and usually contain a decent amount of memory and a large number of on-chip peripherals. Although this book concentrates on ARM microcontrollers from Atmel, the C programming language applies equally to other manufacturer’s ARMs as well as other microcontrollers.
Features of this book
Use only free or open source software.
Learn how to download, set up and use free C programming tools.
Start learning the C language to write simple PC programs before tackling embedded programming - no need to buy an embedded system right away!
Start learning to program from the very first chapter with simple programs and slowly build from there.
No programming experience is necessary!
Learn by doing - type and run the example programs and exercises.
Sample programs and exercises can be downloaded from the Internet.
A fun way to learn the C programming language.
Ideal for electronic hobbyists, students and engineers wanting to learn the C programming language in an embedded environment on ARM microcontrollers.
This book is all about building your own DIY home control system. It presents two innovative ways to assemble such a system: By recycling old PC hardware – possibly extending the life of an old PC, or by using Raspberry Pi. In both cases, the main system outlined in this book will consist of a computer platform, a wireless mains outlet, a controller and a USB webcam – All linked together by Linux.
By using the Raspberry Pi in conjunction with Arduino (used as an advanced I/O system board), it is possible to construct a small, compact, embedded control system offering enhanced capacity for USB integration, webcams, thermal monitoring and communication with the outside world.
The experience required to undertake the projects within this book are minimal exposure to PC hardware and software, the ability to surf the internet, burn a CD-ROM and assemble a small PCB.
Mit seinem Buch möchte der Autor dem Einsteiger in die analoge Elektronik helfen, sich im Dschungel der oft verwirrenden Fachbegriffe zurecht zu finden, ohne ihn dabei mit abschreckenden Formeln zu verwirren. In der Absicht, dem Leser eine möglichst breite Themenpalette darzubieten, hat er auf allzu tiefschürfende Erläuterungen verzichtet und sich auf das Wesentliche konzentriert, wobei er es sich natürlich nicht nehmen ließ, seine Lieblingsthemen, Messtechnik und Musikelektronik mit Operationsverstärkern, in den Vordergrund zu stellen.
Der Autor zeigt (nachdem er die Funktionsweise der bekanntesten elektronischen Bauelemente erklärt hat), dass sich hinter vielen komplexen Schaltungen immer wieder dieselben Grundelemente verbergen und verdeutlicht anhand zahlreicher Beispiele, wie man durch geschickte Kombination solcher „Module“ nahezu alle an die analoge Messtechnik gestellten Anforderungen erfüllen kann (Stichwort „Signalkonditionierung“), was besonders für Anwender von Mikrocontrollern im Bereich von Umweltmessungen interessant sein dürfte.
Die zahlreichen Anekdoten aus der Zeit, in welcher sich der Autor selbst noch an die „Geheimnisse“ der Elektronik herantastete, sind der Beweis dafür, dass es sich hier in erster Linie nicht um ein mit Fachchinesisch und Formeln vollgestopftes Lehrbuch handelt, sondern um einen leichten und mit Humor gewürzten Überblick über die Themen, über die ein Newcomer Bescheid wissen sollte. Das Buch, das sich stellenweise fast wie ein Roman liest, wird abgerundet durch wertvolle, auf praktischen Erfahrungen basierende Tipps. Erfahrungen, die der Autor beim Ätzen von Platinen, beim Herstellen von Frontplatten und beim Bau von Gehäusen im Laufe der Zeit gesammelt hat. Kurzum: Ein Buch, das nicht nur Kenntnisse vermittelt, sondern den Leser auch zum Entwickeln eigener Schaltungen inspiriert.
All you need to know about good acoustics and sound systems in performance and worship spaces!
Everyone knows that the ability to hear music in balance and to understand speech is essential in any space used for performance or worship. Unfortunately, in the early 21st century, we find that buildings with good acoustics are the exception rather than the rule. Much of the fault leading to this result can be traced to the widespread perception that acoustics is a black art. In fact, scientific acoustics as developed in the last century is a well-defined engineering practice that can lead to predictable excellent results.
A basic, non-engineering understanding of acoustics will help building owners, theater managers, ministers and teachers of music, performers, and other professionals to achieve their goals of excellent acoustics in venues with which they work. Performers having a basic understanding of acoustics will be able to make the most of the acoustics of the venue in which they perform.
This book helps those responsible for providing good acoustics in performance and worship spaces to understand the variables and choices entailed in proper acoustic design for performance and worship. Practicing acoustical consultants will find the book a useful reference as well. The level of presentation is comfortable and straightforward without being simplistic. If correct acoustical principles are incorporated into the design, renovation, and maintenance of performance and worship venues, good acoustics will be the result.
Das Durchführen von Messungen gehört zu den grundlegenden Tätigkeiten eines jeden Elektronikers, wie das tägliche Brot zum Leben. Ob bei der Entwicklung von Schaltungen, der Überprüfung während der Produktion oder bei der Fehlersuche in defekten Geräten: Messgeräte sind das wichtigste Handwerkszeug und kommen stets zum Einsatz.
„Wer misst, misst Mist“ lautet ein oft zitiertes Motto. Damit dem nicht so ist, muss der Elektroniker wissen, was er tut, muss die Genauigkeit seiner Messgeräte und vor allem die Schwachpunkte des Messverfahrens kennen. Hier setzt dieses Buch an: Ausgehend von theoretischen Betrachtungen und Begriffsdefinitionen geht die Reise von den einfachen Zeigerinstrumenten über Multimeter und Oszilloskop hin zu FFT-Analysen und spezialisierten Messgeräten wie Audio-Analyser, Schallpegelmesser, Geräte- und Installationstester.
Selbst für so manchen an der Elektronik Interessierten ist die Röhrentechnologie ein technischer Anachronismus, Röhrenverstärkern könne doch allenfalls noch ein Ehrenplatz im Museum zugewiesen werden. Das ist einerseits durchaus richtig, Röhren haben eine fast hundertjährige Geschichte hinter sich. Seit der Erfindung des Transistors, der Öffentlichkeit vorgestellt am 23.12.1947, war das Ende der Röhrenära eingeläutet. Von da ab sollte es immerhin noch mehr als zwanzig Jahre dauern, bis die Röhren – von Sonderanwendungen abgesehen – aus dem Blickfeld des durchschnittlichen Elektronikgeräte-Konsumenten weitgehend verschwunden waren.
So gesehen, sind Röhren tatsächlich veraltet, haben Röhren Museumcharakter. Niemand käme wohl heute auch mehr ernsthaft auf die Idee, sein leistungsfähiges Digitalmessinstrument gegen ein Röhrenvoltmeter auszutauschen; hochintegrierte Halbleiterchips können nun einmal bei eigentlich unvergleichlich geringerem Platz- und Energiebedarf mehr. Auf die Überlegenheit moderner Mikroprozessoren in Bezug auf Rechengeschwindigkeit und Speicherkapazität braucht man eigentlich gar nicht zu verweisen. Der erste programmgesteuerte Elektronikrechner Eniac im Jahre 1945 wog rund 30 Tonnen, enthielt neben insgesamt etwa 500.000 übrigen Bauteilen 18.000 Elektronenröhren und füllte eine mittlere Halle.
In einem Bereich allerdings, im Bereich der Audio-Signalverarbeitung, haben Röhren bei Kennern und Musikliebhabern ihre Bedeutung bewahrt oder zurückerlangt: Für eine mittlerweile gestiegene Zahl kritischer Hi-Fi-Hörer steht "ihr" Röhrenverstärker im Zentrum der heimischen Anlage und für unzählige Musiker ist der Gitarrenröhrenverstärker nach wie vor ein Garant für guten Sound.
Dieses Book spricht jeden an, der sich für Röhren aus den verschiedensten Gründen interessiert, den "Audiophilen" ebenso wie den aktiven Musiker und natürlich auch den, der einfach nur etwas über die Geschichte und die gegenwärtige Anwendbarkeit von Röhren wissen will. Aus diesem Grund hat der Autor sowohl Informationen über ein interessantes Stück Technikgeschichte als auch – praxisorientiert – Schaltungen und Selbstbauanleitungen zusammengetragen.
Das Internet of Things (IoT) wird unseren Alltag noch viel komfortabler machen als heute und dabei helfen, Geld und Ressourcen einzusparen. Der Einstieg ins Thema fällt allerdings nicht leicht. Denn auf dem Markt konkurrieren inzwischen unzählige Lösungen miteinander – meist sind es Bundles aus (Eval-)Boards, Software und einem Cloud-Zugang. Solche Kits versprechen schnelle Erfolge, doch ein fundierteres Wissen erhält nur derjenige, der ein eigenes Projekt von Grund auf realisiert.
Jens Nickel – Chefredakteur der deutschen Elektor-Ausgabe – hat sich auf diesem Weg in das IoT gemacht. Im Rahmen einer Artikelserie entstanden Schritt für Schritt mehrere kleine Demo-Projekte, von der Lampensteuerung im Heimnetzwerk bis zum autarken Sensorboard, das Messwerte in die Cloud sendet. Nach dem Motto „Learning by Doing“ werden dabei Themen wie TCP/IP, MQTT, Steuerung per Smartphone, WLAN-Zugang, Embedded-Webserver, Anbindung eines Cloud-Service, Zuverlässigkeit bei Verbindungsabbrüchen, Objektorientierte Programmierung und vieles mehr behandelt.
Die Demo-Programme (meist im einsteigerfreundlichen Arduino-C-Dialekt) stehen selbstverständlich im Quellcode zur Verfügung und sind damit leicht an eigene Bedürfnisse anpassbar.
In diesem Buch sind die ersten 24 Folgen dieser Serie kompakt zusammengefasst. Mit der von Elektor gewohnten Mischung aus Theorie und Praxis geht es in das Internet of Things – seien Sie dabei!