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.
Architecture, Programming and Applications
The MSP430 is a popular family of microcontrollers from Texas Instruments. In this book we will work with the smallest type, which is the powerful MSP430G2553. We will look at the capabilities of this microcontroller in detail, as it is well-suited for self-made projects because it is available in a P-DIP20 package.
We will take a closer look at the microcontroller and then build, step by step, some interesting applications, including a 'Hello World' blinking LED and a nice clock application, which can calculate the day of the week based on the date.
You also will learn how to create code for the MSP microcontroller in assembler. In addition to that, we will work with the MSP-Arduino IDE, which makes it quite easy to create fast applications without special in-depth knowledge of the microcontrollers.
All the code used in the book is available for download from the Elektor website.
Mikrocontroller haben sich in den letzten Jahren in praktisch allen Bereichen der modernen Technik etabliert. In zunehmendem Maße dringen sie auch in die Gebiete der Künstlichen Intelligenz und der Robotertechnik vor. Das vorliegende Buch gibt eine umfassende Einführung in die Welt der Controller-Technik mit all ihren Facetten, von der einfachen Steuerung über die Sensor-Technik bis hin zur Datenübertragung in das Internet.
Als Basis dafür dient das von Elektor entwickelte AVR-Playground-Board. Das Board kann mit Controllern der ATmega-Familie bestückt werden und ist mit dem bekannten Arduino-System kompatibel, so dass auch die verschiedenen Arduino-Hardware-Erweiterungen verwendet werden können.
Für die Programmierung kommt die Sprache „C“ zum Einsatz. Auch hier wird im Buch auf das Arduino-System zurückgegriffen. Die frei verfügbare Arduino-Entwicklungsumgebung erlaubt den leichten Einstieg, ohne dass später Einschränkungen in Kauf genommen werden müssen. Die Hardware-nahe Programmierung steht dabei besonders im Fokus. Nach der Erläuterung von grundlegenden Anwendungen wird auf die anspruchsvolleren Themen wie Interrupts, Timer und Counter, Pulsweitenmodulation und Analog-Digital-Wandlung eingegangen.
Praktische Anwendungen können sowohl mit einem Arduino als auch mit dem AVR-Playground-Board durchgeführt werden. Da das AVR-Playground-Board bereits über eine Vielzahl von Peripherie-Einheiten verfügt, sind nur noch wenige externe Bauteile erforderlich. Das Board kann im Elektor-Shop hier bezogen werden.
Mastering PCB design with real-world projects
This book builts on KiCad Like a Pro – Fundamentals and Projects and aims to help you practice your new KiCad skills by challenging you in a series of real-world projects. The projects are supported by a comprehensive set of recipes with detailed instructions on how to achieve a variety of simple and complex tasks. Design the PCBs for a solar power supply, an LED matrix array, an Arduino-powered datalogger, and a custom ESP32 board. Understand the finer details of the interactive router, how to manage KiCad project teams with Git, how to use an autorouter on 2 and 4-layer PCBs, and much more.
KiCad 8 is a modern, cross-platform application suite built around schematic and design editors. This stable and mature PCB tool is a perfect fit for electronic engineers and makers. With KiCad 8, you can create PCBs of any complexity and size without the constraints associated with the commercial packages.
Here are the most significant improvements and features in KiCad 8, both over and under the hood:
Modern user interface, completely redesigned from earlier versions
Improved and customizable electrical and design rule checkers
Theme editor allowing you to fully customize the look of KiCad on your screen
Ability to import projects from Eagle, CADSTART, and more
An improved and tightly integrated SPICE circuit simulator
Autorouting with the Freerouting plugin
Filters define which elements of a layout are selectable
Enhanced interactive router helps you draw single tracks and differential pairs with precision
New or enhanced tools to draw tracks, measure distances, tune track lengths, etc.
Enhanced tool for creating filled zones
A customizable coordinate system facilitates data exchange with other CAD applications
Realistic ray-tracing capable 3D viewer
Differential pair routing
Rich repositories of symbol, footprint, and 3D shape libraries
Python scripting API for programmatic customization and extensions
Improved footprint wizard for fast custom footprints
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.
The book covers the following topics:
Open-loop and closed-loop control systems
Analog and digital sensors
Transfer functions and continuous-time systems
First-order and second-order system time responses
Discrete-time digital systems
Continuous-time PID controllers
Discrete-time PID controllers
ON-OFF temperature control with Raspberry Pi and Arduino Uno
PID-based temperature control with Raspberry Pi and Arduino Uno
PID-based DC motor control with Raspberry Pi and Arduino Uno
PID-based water level control with Raspberry Pi and Arduino Uno
PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
Dieses Bundle enthält beide Bände von "KiCad Like a Pro" (4. Ausgabe 2024). In Fundamentals and Projects (Einzelpreis: 39,95 €) lernen Sie den praktischen Umgang mit KiCad kennen, sodass Sie schnell produktiv werden und mit dem Entwurf Ihrer eigenen Boards beginnen können. Mit Advanced Projects and Recipes (Einzelpreis: 34,95 €) können Sie Ihre neuen KiCad-Kenntnisse üben, indem Sie sich selbst mit einer Reihe realer Projekte herausfordern.
Die neueste Version von KiCad, dem weltweit besten kostenlosen PCB-Tool, ist vollgepackt mit Funktionen, die normalerweise nur in teuren kommerziellen CAD-Tools zu finden sind. Diese moderne, plattformübergreifende Anwendungssuite, die auf Schaltplan- und Designeditoren mit Zusatzanwendungen basiert, ist ein stabiles und ausgereiftes PCB-Tool. KiCad 8 ist perfekt für Elektronikingenieure und -hersteller geeignet.
Hier sind die wichtigsten Verbesserungen und Funktionen in KiCad 8, sowohl über als auch unter der Haube:
Moderne Benutzeroberfläche, im Vergleich zu früheren Versionen komplett neu gestaltet
Verbesserte und anpassbare Prüffunktionen für elektrische und Designregeln
Designeditor, mit dem Sie KiCad auf Ihrem Bildschirm anpassen können
Möglichkeit zum Importieren von Projekten aus Eagle, CADSTART und mehr
Python-Skripting-API
Verbesserter integrierter SPICE-Schaltkreissimulator
Mehrblatt-Schaltpläne
Filter definieren auswählbare Elemente
Verbesserter interaktiver Router hilft Ihnen, einzelne Spuren und Differenzialpaare präzise zu zeichnen
Neue oder verbesserte Tools zum Zeichnen von Spuren, Messen von Entfernungen, Anpassen von Spurlängen usw.
Erweiterte interaktive Router
Integrierter Stücklistengenerator
Realistischer Raytracing-fähiger 3D-Viewer
Anpassbare Teardrops
Plug-in-Manager für die schnelle Installation von Designs, Bibliotheken und Funktionen wie Autoroutern und Stücklistengeneratoren
Das erste Buch KiCad Like A Pro – Fundamentals and Projects bringt Ihnen den Umgang mit KiCad durch einen praktischen Ansatz bei. Es wird Ihnen helfen, schnell produktiv zu werden und mit dem Entwurf Ihrer eigenen Platinen zu beginnen. Beispielprojekte veranschaulichen die grundlegenden Funktionen von KiCad, auch wenn Sie keine Vorkenntnisse im PCB-Design haben. Der Autor beschreibt den gesamten Arbeitsablauf von der Schaltplaneingabe bis zu den Feinheiten der Fertigstellung der Dateien für die PCB-Produktion und bietet fundierte Anleitungen für den Prozess.
Das zweite Buch KiCad Like A Pro – Advanced Projects and Recipes hilft Ihnen, Ihre neuen KiCad-Kenntnisse zu üben, indem es Sie in einer Reihe realer Projekte herausfordert. Die Projekte werden durch einen umfassenden Satz von Rezepten mit detaillierten Anweisungen zur Erledigung einer Vielzahl einfacher und komplexer Aufgaben unterstützt. Entwerfen Sie die Platine für eine Solarstromversorgung, ein LED-Matrix-Array, einen Arduino-betriebenen Datenlogger und eine benutzerdefinierte ESP32-Platine. Lernen Sie die Feinheiten des interaktiven Routers kennen, erfahren Sie, wie Sie KiCad-Projektteams mit Git verwalten, wie Sie einen Autorouter auf 2- und 4-lagigen Platinen verwenden und vieles mehr.
Der uArm Swift Pro ist ein hochwertiger Roboterarm, der in einer Vielzahl von Anwendungen eingesetzt werden kann. Der uArm Swift Pro wurde für den Einsatz in der Ausbildung entwickelt und optimiert, was bedeutet, dass viele Pakete bereits für Open-Source-Plattformen wie ROS verfügbar sind. Der uArm Swift Pro hat eine Positionswiederholgenauigkeit von 0,2 mm und ist zudem mit einem Schrittmotor und einem 12-Bit-Encoder ausgestattet. Dies sind nur einige Gründe, die den uArm Swift Pro zu einer ausgezeichneten Wahl für den Einsatz in der Ausbildung machen. Ein weiteres großartiges Merkmal ist das 3D Druck-Kit, das den uArm Swift Pro in weniger als 1 Minute in einen 3D Drucker verwandelt.
Das uArm unterstützt die folgenden Entwicklungsplattformen/Systeme:
UFACTORY SDK
Arduino
Python
ROS
GRABCAD
OpenMV
Smartphone-App
Die Smartphone-App für iOS ist bereits im App Store erhältlich und ermöglicht eine einfache Steuerung und Überwachung des Roboterarms. Die App für Android befindet sich in der Entwicklung und wird bald verfügbar sein.
An example of the Machine Vision
Das folgende GIF zeigt den uArm in Kombination mit der OpenMV Machine Vision Cam M7 und den Gesichtserkennungsanwendungen, die in MicroPython implementiert werden können.
Technische Daten
Freiheitsgrade: 4
Wiederholbarkeit: Bis zu 0,2 mm
Nutzlast: 500 g
Arbeitsbereich: 50-320 mm
Positioniergeschwindigkeit: 100 m/s
Positionsrückmeldung: 12-Bit-Encoder
Abmessungen: 150 x 140 x 281 mm
Gewicht: 2,2 kg
Lieferumfang
UFactory uArm Swift Pro
Bluetooth & Vakuumgreifer
Downloads
Datasheet
Program and build Arduino-based ham station utilities, tools, and instruments
In addition to a detailed introduction to the exciting world of the Arduino microcontroller and its many variants, this book introduces you to the shields, modules, and components you can connect to the Arduino. Many of these components are discussed in detail and used in the projects included in this book to help you understand how these components can be incorporated into your own Arduino projects. Emphasis has been placed on designing and creating a wide range of amateur radio-related projects that can easily be built in just a few days.
This book is written for ham radio operators and Arduino enthusiasts of all skill levels, and includes discussions about the tools, construction methods, and troubleshooting techniques used in creating amateur radio-related Arduino projects. The book teaches you how to create feature-rich Arduino-based projects, with the goal of helping you to advance beyond this book, and design and build your own ham radio Arduino projects.
In addition, this book describes in detail the design, construction, programming, and operation of the following projects:
CW Beacon and Foxhunt Keyer
Mini Weather Station
RF Probe with LED Bar Graph
DTMF Tone Encoder
DTMF Tone Decoder
Waveform Generator
Auto Power On/Off
Bluetooth CW Keyer
Station Power Monitor
AC Current Monitor
This book assumes a basic knowledge of electronics and circuit construction. Basic knowledge of how to program the Arduino using its IDE will also be beneficial.
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.
USB-Logikanalysatoren am PC mit Arduino, Raspberry Pi und Co
Schritt-für-Schritt-Anleitungen führen Sie in die Analyse moderner Protokolle von I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 und 1-Wire ein. Anhand zahlreicher Experimentierschaltungen mit dem Raspberry Pi Pico, Arduino Uno und dem Bus Pirate üben Sie die praxisnahe Anwendung gängiger USB-Logikanalysatoren ein.
Alle in diesem Buch vorgestellten Experimentierschaltungen wurden gründlich getestet und sind funktionsfähig. Die notwendigen Programmlistings sind enthalten, es sind keine besonderen Programmier- oder Elektronikkenntnisse für diese Schaltungen notwendig. Es werden die Programmiersprachen MicroPython und C mit den Entwicklungsumgebungen Thonny und Arduino IDE eingesetzt.
Dieses Buch verwendet mehrere Modelle flexibler und weit verbreiteter USB-Logikanalysatoren und zeigt die Stärken und Schwächen jeder Preisklasse. Sie werden herausfinden, welche Kriterien für Ihre Arbeit wichtig sind und in der Lage sein, das passende Gerät für Sie zu finden.
Egal ob Arduino, Raspberry Pi oder Raspberry Pi Pico: Die abgebildeten Beispielschaltungen ermöglichen einen schnellen Einstieg in die Protokollanalyse und können auch als Grundlage für eigene weitere Experimente dienen.
Sie werden alle wichtigen Begriffe und Zusammenhänge kennenlernen, eigene Experimente durchführen, selbstständig Protokolle analysieren und nach der Lektüre dieses Buches – im Bereich der digitalen Signale und Protokolle – ein umfassendes Wissen aufgebaut haben.
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
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.