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.
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.
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
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.
Boek: 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)
Deze USB Logic Analyzer is een 8-kanaals logic analyzer met elke ingang bedoeld voor het op twee manieren opnemen van analoge data. Hij is perfect voor het debuggen en analyseren van signalen zoals I²C, UART, SPI, CAN en 1-Wire. De analyzer bemonstert een digitale ingang die is aangesloten op een te testen apparaat (DUT) met een hoge bemonsteringssnelheid. De aansluiting op de PC gaat via USB.
Specificaties
Kanalen
8 digitale kanalen
Maximale bemonsteringssnelheid
24 MHz
Maximale ingangsspanning
0 V ~ 5 V
Bedrijfstemperatuur
0°C ~ 70°C
Ingangsimpedantie
1 MΩ || 10 pF
Ondersteunde protocollen
I²C, SPI, UART, CAN, 1-wire, enz.
PC-aansluiting
USB
Afmetingen
55 x 28 x 14 mm
Downloads
Software
Deze bundel bevat:
Boek "Logic Analyzers in Practice" (normale prijs: € 35)
USB Logic Analyzer (8-kanaals, 24 MHz) (normale prijs: € 20)
USB-kabel
Jumper Draad Lintkabel
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
In ESP32 programmeren voor beginners bekijken we de ESP32 en zijn voorganger, de ESP8266. Deze kleine, maar zeer krachtige Chinese chips bestaan uit een processor, geheugen, input- en outputaansluitingen en hebben draadloze netwerktoegang via WiFi.
Met dit boek tonen we hoe de programmeeromgeving Arduino werkt en hoe die kan gebruikt worden met ESP-hardware. Aan de hand van voorbeelden en projecten verduidelijken we hoe de ESP-hardware kan worden toegepast.
In vogelvlucht:
We beschrijven de opbouw van ESP-experimenten.
We tonen hoe displays worden aangesloten.
Eeprom_24c16 demonstreert hoe een externe geheugenchip wordt gebruikt om getallen en tekst op te slaan en weer uit te lezen.
Project Klok is de eenvoudige implementatie van een digitale klok.
We geven een handleiding voor het gebruik van temperatuur- en luchtvochtigheidsensoren.
Webclient laat zien hoe de ESP32 gegevens van het internet kan halen.
Met Webserver kunnen we op afstand met een pc of smartphone gegevens halen uit een ESP32, sensoren uitlezen en toestellen aan- en uitschakelen.
Een NTP-klok haalt tijdinformatie van Tijdserver. Die geeft zowel de tijd als het aantal seconden sinds 1 januari 1900. Het boek beschrijft hoe hieruit de tijd kan worden berekend.
In het laatste hoofdstuk gebruiken we het internet om nauwkeurige weerinformatie en voorspellingen op te vragen.
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.
Ontdek eindeloze creativiteit met de Universal Maker Sensor Kit, ontworpen voor gebruik met Raspberry Pi, Pico W, Arduino en ESP32. Deze veelzijdige kit biedt compatibiliteit met populaire ontwikkelingsplatforms, waaronder Arduino Uno R4 Minima/WiFi, Uno R3, Mega 2560, Raspberry Pi 5, 4, 3B+, 3B, Zero, Pico W en ESP32.
Met meer dan 35 sensoren, actuatoren en displays is het perfect voor projecten variërend van omgevingsmonitoring en slimme huisautomatisering tot robotica en interactief gamen. Stapsgewijze tutorials in C/C++, Python en MicroPython begeleiden zowel beginners als ervaren makers door 169 spannende projecten.
Kenmerken
Brede compatibiliteit: Ondersteunt volledig Arduino (Uno R3, Uno R4 Minima/WiFi, Mega 2560), Raspberry Pi (5, 4, 3B+, 3B, Zero, Pico W) en ESP32, wat uitgebreide flexibiliteit op verschillende ontwikkelingsplatforms mogelijk maakt. Bevat instructies voor het bouwen van 169 projecten.
Uitgebreide componenten: Bevat meer dan 35 sensoren, actuatoren en displaymodules die geschikt zijn voor uiteenlopende projecten zoals omgevingsbewaking, slimme huisautomatisering, robotica en interactieve gamecontrollers.
Gedetailleerde tutorials: Biedt duidelijke, stapsgewijze tutorials over Arduino, Raspberry Pi, Pico W, ESP32 en elk inbegrepen component. Tutorials zijn beschikbaar in C/C++, Python en MicroPython, en zijn effectief afgestemd op zowel beginners als ervaren makers.
Geschikt voor alle vaardigheidsniveaus: Biedt gestructureerde projecten die zijn ontworpen om gebruikers naadloos te begeleiden van beginners tot gevorderden in elektronica en programmeren, wat de creativiteit en technische expertise vergroot.
Inbegrepen
Breadboard
Knopmodule
Capacitieve bodemvochtigheidsmodule
Vlamsensormodule
Gas-/rooksensormodule (MQ2)
Gyroscoop & Accelerometermodule (MPU6050)
Hall-sensormodule
Infraroodsnelheidssensormodule
IR-obstakelvermijdingssensormodule
Joystickmodule
PCF8591 ADC DAC-convertermodule
Fotoweerstandsmodule
PIR-bewegingsmodule (HC-SR501)
Potentiometermodule
Pulsoximeter- en hartslagsensormodule (MAX30102)
Regendruppeldetectiemodule
Realtimeklokmodule (DS1302)
Rotary Encoder-module
Temperatuursensormodule (DS18B20)
Temperatuur- en vochtigheidssensormodule (DHT11)
Temperatuur, vochtigheid en Druksensor (BMP280)
Time of Flight Micro-LIDAR afstandssensor (VL53L0X)
Touch Sensor Module
Ultrasone sensormodule (HC-SR04)
Trillingssensormodule (SW-420)
Waterniveausensormodule
I²C LCD 1602
OLED-displaymodule (SSD1306)
RGB LED-module
Verkeerslichtmodule
5 V relaismodule
Centrifugaalpomp
L9110 motordrivermodule
Passieve zoemermodule
Servomotor (SG90)
TT Motor
ESP8266-module
JDY-31 Bluetooth-module
Voedingsmodule
Documentatie
Online Tutorial
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.Pour les yeux et les oreillessortie vidéo sur les microcontrôleurs (1)vidéo compositeelectronica 2022nouvelles du plus grand salon mondial de l'électroniquecaméra ESP32si simple qu'on n'a même pas besoin du wifialimentation ATX pour Raspberry Piamplificateur pour casque 32 Ωune solution simple mais de qualité à trois CIhorloges radiocommandées SDRcinq signaux horaires, six affichagesdémarrer en électroniquediodes spécialessur le viferrances qualitativesrétro-ingénierie d'un badge LED Bluetooth Low Energycomment commander un appareil BLE avec un script Pythonkit de développement MakePython ESP32tout dans une boîtemesure du THD avec un oscilloscope et une FFTcalculer facilement le facteur de distorsionmachines à vision totalela technologie derrière les systèmes de vision industrielle d'aujourd'huiInfographiesl'évolution de la commande vocale et audio des appareils électroniquesbilan du WEEF 2022bilan du salon electronica 2022les innovateurs n'ont pas manqué d'impressionnerThe Tubeun surprenant amplificateur à tubesà quand des biomatériaux pour l'électronique ?commutateur d'antenne Opera Cake pour HackRF Oneconnectez jusqu'à huit antennes à votre SDRconcevoir avec Arduino et plusentretien avec l'auteur Ashwin Pajankarjauge de longueur à lidarmesure jusqu'à 12 mles signaux audios et l'ESP32l'environnement ESP-ADF en pratiqueKit amplificateur de puissance Fortissimo-100 d'Elektorutiliser la lumière pour les effets sonoresfiltre synthétiseur à base de LDR, contrôlé en tension, 24 dB/octamplificateur Hi-Fi d'Elektorle plus bruyant de tous !visite à domicileafficheur volumétrique made in Canadaprojet 2.0corrections, mises à jour et courriers des lecteursHexadoku