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
Die serielle Schnittstelle dient dem Datenaustausch zwischen Mikrocontrollern und Peripheriegeräten. Bei einer seriellen Datenübertragung werden die Bits nacheinander – also seriell – über eine Leitung übertragen. Das Wissen um diese seriellen Schnittstellen erweitert die Einsatzmöglichkeiten von Mikrocontrollern und Peripheriegeräten ungemein.
In diesem Buch werden die Grundlagen der Kommunikation für die drei seriellen Schnittstellen I²C, SPI und 1-Wire vorgestellt. Anhand praxisnaher Beispiele werden die Schnittstellen anschaulich dargestellt und deren Einsatz verdeutlicht. Software- und Hardwarebeispiele, die man in diesem Buch finden kann, wurden in Assembler für PIC-Mikrocontroller von Microchip realisiert. Die verwendeten Algorithmen und Vorgehensweisen kann man aber auf beliebige Plattform übertragen.
Um den Inhalt des Buches ansprechend zu gestalten, demonstriert der Autor den Buchinhalt an zwei Platinen. Mit diesen Platinen ist es möglich, die in diesem Buch beschriebenen Beispiele auszuprobieren und mit den Schnittstellen zu experimentieren. Beide Platinen basieren auf 8-bit-PIC-Mikrocontrollern von Microchip.
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.
SPD3000X Series Linear Programmable DC Power Supply has a 4.3-inches TFT LCD display, Supports Programmability and Real Time Wave Display, bringing a new experience to users. It has three isolated outputs: two adjustable channels and one selectable channel from 2.5V, 3.3V, and 5V. It also has output short and overload protect function, and can be used in production and development.
Features
3 independent controlled and isolated output, 32V/3.2A×2, 2.5V/3.3V/5V/3.2A×1, total 220W.
5 digits Voltage, 4digits Current Display, Minimum Resolution: 10mV/10mA.
Supports panel timing output functions.
4.3 inch true color TFT LCD 480x272 pixel display.
3 kinds of output modes: independent, series, parallel.
100V/120V/220V/230V compatible design to meet the needs of different power grids.
Intelligent temperature-controlled fan, effectively reducing noise.
Clear graphical interface, with the waveform display function
Internal 5 groups of system parameter save/recall, supports data storage space expansion.
Provides PC software: Easypower, supports SCPI, LabVIEW driver.
High-resolution and high-precision output
The highest resolution of 10mV/10mA, provides excellent setting and read back accuracy. This ensures accurate output even with very with small changes in voltage or current. This is impossible for a low resolution power supply.
Series/parallel/independent mode function
Series and parallel function allows two channels combined into one output with more power output capability, extending the application range. Each of 3 channels power can be turned on or off independently and also can be turned all on or all off.
Panel displays the timing output
Through the panel operation, 5 groups of timing settings and output control can be displayed, which provides users a simple power programming function. Also a connection can be made with Siglent’s EasyPower PC software providing a full range of communication and control requirements.
Save/Recall setting parameters
SPD3000X series programmable power supply can save or recall 5 groups of setting parameter in internal storage, also supports external storage expansion. You can easily obtain the settings you needed.
The Red Pitaya (STEMlab) is a credit card-sized, open-source test and measurement board that can be used to replace most measurement instruments used in electronics laboratories. With a single click, the board can transform into a web-based oscilloscope, spectrum analyser, signal generator, LCR meter, Bode plotter, and microcontroller.
The Red Pitaya (STEMlab) can replace the many pieces of expensive measurement equipment found at professional research organisations and teaching laboratories. The device, that based on Linux, includes an FPGA, digital signal processing (DSP), dual core ARM Cortex processor, signal acquisition and generation circuitry, micro USB socket, microSD card slot, RJ45 socket for Ethernet connection, and USB socket – all powered from an external mains adaptor.
This book is an introduction to electronics. It aims to teach the principles and applications of basic electronics by carrying out real experiments using the Red Pitaya (STEMlab). The book includes many chapters on basic electronics and teaches the theory and use of electronic components including resistors, capacitors, inductors, diodes, transistors, and operational amplifiers in electronic circuits. Many fun and interesting Red Pitaya (STEMlab) experiments are included in the book. The book also makes an introduction to visual programming environment.
The book is written for college level and first year university students studying electrical or electronic engineering.
AVR-microcontrollers zijn populair, eenvoudig in het gebruik en bijzonder veelzijdig. In het elektronicatijdschrift 'Elektor' is dan ook al een groot aantal speciale toepassingen en printen met een ATmega- of een ATtiny-controller gepubliceerd. Meestal ging het daarbij om afgeronde projecten. In dit boek staat echter de programmering van deze controllers centraal. BASCOM is hiervoor een ideaal gereedschap. Na een minimale voorbereiding kunt u al beginnen uw eigen ideeën te realiseren.
BASCOM en AVR-controllers, een onverslaanbaar team! Wat u ook wilt ontwikkelen, in de meeste gevallen heeft een ATmega alles aan boord wat u nodig hebt. Poorten, timers, A/D-omzetters, PWM-uitgangen en seriële interfaces, RAM, flash-ROM en EEPROM: alles is ruimschoots voorhanden. En met BASCOM is het gebruik daarvan kinderspel. Ook ingewikkelder periferie als LCD, RC5 en I²C kan met slechts een handjevol instructies worden gebruikt. Er is een brede hardware-basis beschikbaar. Of u nu de STK500 van Atmel gebruikt, de ATM18 of een eigen print, u kunt de voorbeelden uit dit boek meteen in praktijk brengen. Voor heel kleine taken worden controllers uit de ATtiny-reeks gebruikt. Op die manier kunt u uw eigen projecten snel en met weinig kosten realiseren.
Downloads
Software
Vollständig aktualisiert für Raspberry Pi 5
Raspberry Pi ist ein kleiner, cleverer, in Großbritannien hergestellter Computer, der voller Potenzial steckt. Der Raspberry Pi basiert auf einem energieeffizienten Prozessor der Desktop-Klasse und soll Ihnen dabei helfen, das Programmieren zu erlernen, herauszufinden, wie Computer funktionieren, und Ihre eigenen erstaunlichen Dinge zu bauen. Dieses Buch wurde geschrieben, um Ihnen zu zeigen, wie einfach der Einstieg ist.
Lernen Sie, wie Sie:
Richten Sie Ihren Raspberry Pi ein, installieren Sie sein Betriebssystem und beginnen Sie mit der Nutzung dieses voll funktionsfähigen Computers.
Starten Sie Codierungsprojekte mit Schritt-für-Schritt-Anleitungen für die Programmiersprachen Scratch 3, Python und MicroPython.
Experimentieren Sie mit der Verbindung elektronischer Komponenten und haben Sie Spaß beim Erstellen erstaunlicher Projekte.
Neu in der 5. Auflage:
Aktualisiert für die neuesten Raspberry Pi-Computer: Raspberry Pi 5 und Raspberry Pi Zero 2 W.
Deckt das neueste Raspberry Pi OS ab.
Enthält ein neues Kapitel über den Raspberry Pi Pico.
Downloads
GitHub
1-Wire ist die Bezeichnung für eine serielle Schnittstelle, die mit nur einer Datenader auskommt. Es ist ein Master-Multi-Slave-Kommunikationsprotokoll. Verfügbar sind integrierte Bausteine zur Temperaturmessung, Akkuüberwachung, Echtzeituhr und beispielsweise Hotelschließanlagen. Eine Besonderheit von 1-Wire-Geräten ist die Spannungsversorgung aus der Gegenstation, hierbei erfolgt die Versorgung der Slaves über die Datenleitung.
Der Leser erhält mit „Das 1-Wire-Praxisbuch“ eine umfassende Einführung in die 1-Wire-Technologie. Das Buch zeigt anhand praktischer Projekte zum Nachbauen, wie man verschiedene verfügbare 1-Wire-Chips in eigene Mikrocontroller-gesteuerte Anwendungen integrieren kann, und zwar mit Assembler-Software-Implementierungen für PIC-Mikrocontroller und mit Sketches für den Arduino.
Die 1-Wire-Technik kommt in dem Buch praxisnah bei einem elektronischen Schloss zum Einsatz, das von einem PIC-Mikrocontroller gesteuert wird. Ein weiteres Praxisprojekt erläutert Schritt für Schritt, wie beispielsweise eine ständige Temperaturmessung mit 1-Wire-Bausteinen möglich ist.
The Internet of Things is rapidly gaining interest, and that has fueled the development of the Edison. A tiny computer, the size of a postage stamp, with a lot of power and built-in wireless communication capabilities.
In this eBook we will help you get up-to-speed with the Edison, by installing the software both on the Edison as well as on your Windows PC. We will use the Edison Arduino break-out board because it is easy to work with. We will discuss Linux, Arduino C++ and Python, and show examples of how the Edison can interface with other hardware. We will use Wi-Fi and Bluetooth to set up wireless connections, and show you a trick to program sketches over Wi-Fi.
Once you have completed this book your Edison will be up and running with the latest software version, and you will have sufficient knowledge of both hardware and software to start making your own applications. You will even be able to program the Edison over USB and wireless both in Arduino C++ and Python.
This is not a projects eBook, but a toolbox that will allow you to explore the wonderful world of the Intel Edison!