Der Autor führt Einsteiger und auch Fortgeschrittene gekonnt und professionell in eine hochinteressante Thematik ein. Auch wer seine Elektronik- und Programmierkenntnisse weiter ausbauen und vertiefen möchte, hat dazu gute Möglichkeiten. Die modernen und zeitgemäßen Atmel AVR-Prozessoren sowie die Programmierung in C sind in Kombination eine zukunftssichere Plattform für lange Zeit. Nach Einführung und Vorstellung der notwendigen Entwicklungsumgebung werden Projekte vorgestellt, die schrittweise zum Ziel führen.Für die meisten Projekte kommt das Atmel AVR-Evaluation-Board zum Einsatz – eine Experimentierplatine aus dem Hause Pollin Electronic. Das gewährleistet den reibungslosen Nachbau der vorgeschlagenen Projekte. Natürlich ist auch die Verwendung eigener Experimentierschaltungen möglich, denn ein erklärtes Ziel des Buches ist es, den Anwender zu selbständigem Arbeiten und Entwickeln zu befähigen.Aus dem Inhalt:• Der passende Mikrocontroller• Die Entwicklungsumgebung• Erste Schritte mit dem Mikrocontroller• Das AVR-Evaluation-Board• I/O-Grundlagen• Flüssigkristalldisplays (LCDs)• Serielle Datenübertragung• Analoge Ein- und Ausgabe• Programmablaufsteuerung mit Interrupts• Timer/Counter• Speicherzugriffe, Bootloader• Serieller Datenbus I²C (TWI) und SPI• Beispielprojekte: DCF 77, GPS, GLONASS, Fernwirken per Handy, Bluetooth, USB, SD-Speicherkarten und mehr
Book: Logic Analyzers in Practice
Step-by-step instructions guide you through the analysis of modern protocols such as I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 and 1-Wire. With the help of numerous experimental circuits based on the Raspberry Pi Pico, Arduino Uno and the Bus Pirate, you will learn the practical application of popular USB logic analyzers.
All the experimental circuits presented in this book have been fully tested and are fully functional. The necessary program listings are included – no special programming or electronics knowledge is required for these circuits. The programming languages used are MicroPython and C along with the development environments Thonny and Arduino IDE.
This book uses several models of flexible and widely available USB logic analyzers and shows the strengths and weaknesses of each price range.
You will learn about the criteria that matter for your work and be able to find the right device for you.
Whether Arduino, Raspberry Pi or Raspberry Pi Pico, the example circuits shown allow you to get started quickly with protocol analysis and can also serve as a basis for your own experiments.
After reading this book, you will be familiar with all the important terms and contexts, conduct your own experiments, analyze protocols independently, culminating in a comprehensive knowledge set of digital signals and protocols.
USB Logic Analyzer (8-ch, 24 MHz)
This USB Logic Analyzer is an 8-channel logic analyzer with each input dual purposed for analog data recording. It is perfect for debugging and analyzing signals like I²C, UART, SPI, CAN and 1-Wire. It operates by sampling a digital input connected to a device under test (DUT) at a high sample rate. The connection to the PC is via USB.
Specifications
Channels
8 digital channels
Maximum sampling rate
24 MHz
Maximum input voltage
0 V ~ 5 V
Operating temperature
0°C ~ 70°C
Input impedance
1 MΩ || 10 pF
Supported protocols
I²C, SPI, UART, CAN, 1-Wire, etc.
PC connection
USB
Dimensions
55 x 28 x 14 mm
Downloads
Software
This bundle contains:
Book 'Logic Analyzers in Practice' (normal price: €35)
USB Logic Analyzer (8-ch, 24 MHz) (normal price: €20)
USB Cable
Jumper Wire Ribbon Cable
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.
Atmel AVR ist eine 8-bit-Mikrocontroller-Familie des Herstellers Atmel. Diese Controller sind wegen ihres einfachen Aufbaus, ihrer leichten Programmierbarkeit, den kostenlosen Entwicklungswerkzeugen und der Verfügbarkeit in DIP-Gehäuseformen auch bei Elektronikern und Makern äußerst beliebt. Darüber hinaus sind diese Controller bereits ab zwei Euro erhältlich. Im Arduino Uno-Board wird der ATmega328 verwendet.
AVR-Programmierung für Quereinsteiger besteht aus zwei Teilen. Im ersten Teil wird in einfachen Worten erklärt, wie eine MCU (= Micro Controller Unit) im Detail arbeitet. Dem folgt eine Einführung in die Programmiersprache C. Anschließend taucht der Leser im zweiten Teil des Buches in die Welt der Register und ihre Bits ein. Dort findet man auch ein umfangreiches Glossar aller Register- und Bit-Namen. Das Buch dient somit auch als Nachschlagewerk, wenn man sich durch das Datenblatt oder andere Texte arbeiten muss.
Das Buch wendet sich an alle, die bisher mit dem Arduino programmiert haben und nun nach technischen Möglichkeiten und Wegen suchen, ihre Elektronik- und Programmierkenntnisse zu erweitern. Dazu eignet sich die AVR-Programmierung im besonderen Maße.
If you enjoy DIY electronics, projects, software and robots, you’ll find this book intellectually stimulating and immediately useful. With the right parts and a little guidance, you can build robot systems that suit your needs more than overpriced commercial systems can.
20 years ago, robots based on simple 8-bit processors and touch sensors were the norm. Now, it’s possible to build multi-core robots that can react to their surroundings with intelligence. Today’s robots combine sensor readings from accelerometers, gyroscopes and computer vision sensors to learn about their environments. They can respond using sophisticated control algorithms and they can process data both locally and in the cloud.
This book, which covers the theory and best practices associated with advanced robot technologies, was written to help roboticists, whether amateur hobbyist or professional, take their designs to the next level. As will be seen, building advanced applications does not require extremely costly robot technology. All that is needed is simply the knowledge of which technologies are out there and how best to use each of them.
Each chapter in this book will introduce one of these different technologies and discuss how best to use it in a robotics application. On the hardware side, we’ll cover microcontrollers, servos, and sensors, hopefully inspiring you to design your own awe-inspiring, next-generation systems. On the software side, we’ll cover programming languages, debugging, algorithms, and state machines. We’ll focus on the Arduino, the Parallax Propeller, Revolution Education PICAXE and projects I’ve with which I’ve been involved, including the TBot educational robot, the PropScope oscilloscope, the 12Blocks visual programming language, and the ViewPort development environment. In addition, we’ll serve up a comprehensive introduction to a variety of essential topics, including output (e.g. LEDs, servo motors), and communication technologies (e.g. infrared, audio), that you can use to develop systems that interact to stimuli and communicate with humans and other robots. To make these topics as accessible as possible, handy schematics, sample code and practical tips regarding building and debugging have been included.
Hanno Sander
Christchurch, New Zealand
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.
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
adaptateur de mesure USBTest du courant et des signaux des ports USB
sortie boucle de courant 4-20 mA pour Arduino UnoUne interface de boucle de courant fiable et insensible aux interférences électromagnétiques
commande automatique pour aspirateurGardez votre établi propre
générateur DDS avec ATtiny
testeur d'ampli-op V2Nouveau circuit imprimé – désormais compatible avec les CMS
amplificateur audio à tube 550 mWson chaleureux des tubes à vide
surveillance des fusiblesavec une LED clignotante
préamplificateur RIAA HQExploitez tout le potentiel sonore de vos disques vinyles !
Outil de réglage pour platines vinylesGénérateur de lumière stroboscopique 100–120 Hz basé sur Arduino
Elektor Classics : ampli vidéo
gradateur à télécommande infrarougeContrôlez votre éclairage avec confort et précision
comment utiliser switch…case avec des chaînes de caractères en C++/EDI Arduino
détecteur d’aimantsAvec un simple capteur à effet Hall
bouton de mise sous tension intelligent pour Raspberry PiUne solution pour Raspberry Pi jusqu’au modèle 4
astuces clés pour makersDes conseils pros pour vos projets
projets pratiques avec le timer 555Commande de moteur CC et jeux de rapidité
moniteur de charge CA simpleÉconomisez de l'énergie grâce à un appareil simple
batteries externes en parallèleTrois jours d’autonomie
VFO jusqu’à 15 MHzRéalisation avec un Raspberry Pi Pico
accordeur de violon avec ATtiny202
Elektor Classics : ampli vidéo pour TV N&B
capacimètre20 pF à 600 nF
horloge quasi analogique Mk IIDeux anneaux LED pour les heures et les minutes
concevez sans limites(grâce à l’écosystème complet d’Arduino)
dé à lampes néon
Elektor Classics : indicateur d'accord RTTY
solutions matérielles inspirantes pour vos projets ESP
Elektor Classics : alimentation 3 A
LED RGB avec circuit de commande intégréLumière de précision : les ICLED établissent de nouvelles normes
expérience : un Thérémine analogico-numérique ?Combiner des capteurs numériques modernes avec l’intemporel générateur analogique XR2206
carte émetteur-récepteur audio ESP32 (1)Démo : lecture de fichiers WAV depuis une carte SD
infographies : Circuits et conception de circuits 2025
petit mixeur audioUne conception polyvalente et modulable
minuteur intelligent pour éclairage d’escalierÉconomisez encore plus sur votre facture d’énergie !
modernisez vos voletsContrôlez les systèmes Velux avec un ESP32 et MQTT
chauffe-pieds à transistorsConfort économe en énergie
le quadricoptère M5Stamp Fly est-il le prochain drone Tello ? (Revue)
optimiser la portée Wi-Fi de l’ESP32-C3 SuperMiniUne modification d’antenne simple et efficace
station de soudage à air chaud ZD-8968Un outil de travail économique ou uniquement de l'air chaud ?
testeur de radar de reculDétecter les pannes du système d’aide au stationnement d’un véhicule
Der vollständige Download dieser Nummer ist für unsere GOLD- und GREEN-Mitglieder auf der Elektor Magazine- Site verfügbar!
Nicht noch einmal Mitglied? Klicken Sie hier .
Für Augen und Ohren
Videoaufzeichnung auf den Mikrocontrollern (1) zusammengesetztes Video
electronica 2022 Neuigkeiten vom größten Elektronik-Weltsalon
ESP32 Kamera so einfach ist das. Sie benötigen überhaupt kein WLAN.
ATX-Stromversorgung für Raspberry Pi
Verstärker für Helm 32? eine einfache Lösung mit hoher Qualität für drei CI
Funkuhren SDR fünf Stundenschilder, sechs Anzeigen
elektronisch starten Spezialdioden
auf der Lebe qualitative Fehler
Retro-Technik mit LED-Bluetooth-Low-Energy-Badge So steuern Sie ein BLE-Gerät mit einem Python-Skript
MakePython ESP32 Entwicklungskit alles in einer Kiste
THD-Messung mit einem Oszilloskop und einer FFT Verzerrungsfaktor einfach berechnen
Gesamtsichtmaschinen Die Technologie hinter den industriellen Bildverarbeitungssystemen von heute
Infografiken
Die Entwicklung der Sprach- und Audiosteuerung elektronischer Geräte
WEEF-Bilanz 2022
Bilanz des Electronica-Salons 2022 die Innovatoren haben es nicht versäumt, Eindruck zu machen
Das Rohr ein überragender Röhrenverstärker
wann Biomaterialien für die Elektronik?
Opera Cake-Antennenumschalter für HackRF One Schließen Sie nur Ihre Antennen an Ihr SDR an
Mit Arduino und mehr konzipieren unterhalten mit Autor Ashwin Pajankar
Lidar-Längenmesser Maße ca. 12 m
die Audiosignale und ESP32 die praktische ESP-ADF-Umgebung
Bausatz Leistungsverstärker Fortissimo-100 von Elektor
Licht für Klangeffekte nutzen LDR-Basis-Synthesizerfilter, spannungsgesteuert, 24 dB/Okt.
Hi-Fi-Verstärker von Elektor der Brutalste von allen?!
Besuch zu Hause Volumen-Drucker, hergestellt in Kanada
Projekt 2.0 Korrekturen, Aktualisierungen und Leserbriefe
Hexadoku
Pfiffige Lösungen mit Arduino Pro Mini und ATmega328-Boards
Mit einem einfachen Arduino Pro Mini Board und ein paar weiteren Bauteilen lassen sich heute für wenig Geld Projekte realisieren, die vor 20 oder 30 Jahren noch undenkbar waren oder ein kleines Vermögen gekostet hätten. Von einfachen LED-Effekten bis zur Ladestation – die den Akku auf Herz und Nieren prüft – ist in diesem Buch vieles dabei.
Als Mikrocontroller dient bei allen beschriebenen Projekten der ATmega328, der mit seinen 20 Ein- und Ausgangsleitungen unzählige Möglichkeiten zum Messen, Schalten und Steuern bietet. Mit einem 7-Segment-Display und ein paar Widerständen lässt sich daraus z. B. ein Voltmeter bauen oder mittels NTC ein Thermometer. Die Arduino-Plattform bietet dabei die perfekte Entwicklungsumgebung zum Programmieren der Boards.
Neben den ganz konkreten Projekten soll das Buch aber auch das nötige Wissen vermitteln, um eigene Ideen zu realisieren. Wie misst man was? Welches ist der geeignete Transistor, um verschiedene Verbraucher zu schalten? Wann ist man mit einem IC besser bedient, oder wie schaltet man Netzspannung? Auch batteriebetriebene Projekte mit LilyPad sind ausführlich thematisiert. Ebenso vielerlei Motoren, vom einfachen Gleichstrommotor bis zum Schrittmotor.
Sensoren sind ein weiteres spannendes Thema. Nur zwei Beispiele: Mit einem winzigen Bauteil lässt sich tatsächlich messen, dass der Luftdruck am Fußboden höher ist als auf Tischhöhe. Mit einem simplen Infrarot-Empfänger kann man ausgedienten Fernbedienungen ein zweites Leben schenken und die Wohnung damit steuern.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Rotary Dial Phone as Remote ControlTo Switch On the Lights, Dial 1; For the Coffee Maker, Dial 2
GPS-Based Speed MonitorNo More Speeding Tickets
RGB Stroboscope with ArduinoA Colorful Adaptation of a Useful Instrument
Wireless Emergency Push ButtonEnhanced Safety with LoRa
Starting Out in ElectronicsFollow the Emitter
Arbitrary, Independent Hysteresis Levels for Comparatorswith Simulations, Spreadsheets and Algebra
ESP32-Based Impedance AnalyzerSimple, Low-Part-Count, and Inexpensive!
HomeLab ToursEncouraging DIY
The MCCAB Arduino Nano Training BoardAll-in-One Hardware for the “Microcontrollers Hands-On Course”
From Life’s ExperienceModern Luddism
Sensor 101: The DS18B20 Temperature SensorConnection to the 1-Wire Bus
Is Matter the Thread to Save the Smart Home?New Standards to Simplify the Smart Home
A Matter of CollaborationDeveloping with the Thing Plus Matter Board and Simplicity Studio
Infographics: IoT and Sensors
Matter, ExpressLink, Rainmaker — What Is This All About?Q&A with Amey Inamdar, Technical Marketing Director at Espressif
Selecting Microcontroller Dev Kits for IoT and IIoT ApplicationsAn Introductory Guide
Capacitors Do Not Always Behave Capacitively!
An NTP Clock with CircuitPythonWhy Should You Use This Programming Language?
Build a Cool IoT DisplayWith the Phambili Newt
The HB100 Doppler Motion SensorTheory and Practice
A Bare-Metal Programming Guide (Part 1)For STM32 and Other Controllers
Siglent SDM3045X Multimeter
Microprocessors for Embedded SystemsPeculiar Parts, the Series
Microcontroller Documentation Explained (Part 3)Block Diagrams and More
Low-Power LoRa Weather StationBuild a long-range weather station by yourself
Transverter for the 70 cm Band
Climate Calling EngineersMove Fast and Fix Things
Hexadoku
The software simulation of gauges, control-knobs, meters and indicators which behave just like real hardware components on a PC’s screen is known as virtual instrumentation.
In this book, the Delphi program is used to create these mimics and PIC based external sensors are connected via a USB/RS232 converter communication link to a PC.
Detailed case studies in this Book include a virtual compass displayed on the PC’s screen, a virtual digital storage oscilloscope, virtual -50 to +125 degree C thermometer, and FFT sound analyser, a joystick mouse and many examples detailing virtual instrumentation Delphi components. Arizona’s embedded microcontrollers – the PIC's are used in the projects and include PIC16F84A, PIC16C71, DSPIC30F6012A, PIC16F877, PIC12F629 and the PIC16F887. Much use is made of Microchip’s 44 pin development board (a virtual instrument ‘engine)’, equipped with a PIC16F887 with an onboard potentiometer in conjunction with the PIC’s ADC to simulate the generation of a variable voltage from a sensor/transducer, a UART to enable PC RS232 communications and a bank of 8 LED's to monitor received data is also equipped with an ISP connector to which the ‘PICKIT 2’ programmer may easily be connected.
Full source code examples are provided both for several different PIC’s, both in assembler and C, together with the Pascal code for the Delphi programs which use different 3rd party Delphi virtual components.
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.