This book is about DC electric motors and their use in Arduino and Raspberry Pi Zero W based projects. The book includes many tested and working projects where each project has the following sub-headings:
Title of the project
Description of the project
Block diagram
Circuit diagram
Project assembly
Complete program listing of the project
Full description of the program
The projects in the book cover the standard DC motors, stepper motors, servo motors, and mobile robots. The book is aimed at students, hobbyists, and anyone else interested in developing microcontroller based projects using the Arduino Uno or the Raspberry Pi Zero W.
One of the nice features of this book is that it gives complete projects for remote control of a mobile robot from a mobile phone, using the Arduino Uno as well as the Raspberry Pi Zero W development boards. These projects are developed using Wi-Fi as well as the Bluetooth connectivity with the mobile phone. Readers should be able to move a robot forward, reverse, turn left, or turn right by sending simple commands from a mobile phone. Full program listings of all the projects as well as the detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, or modify them to suit to their own needs.
Using the RFID Starter Kit
An Arduino board has now become ‘the’ basic component in the maker community. No longer is an introduction to the world of microcontrollers the preserve of the expert. When it comes to expanding the capabilities of the basic Arduino board however, the developer is still largely on his own. If you really want to build some innovative projects it’s often necessary to get down to component level. This can present many beginners with major problems. That is exactly where this book begins.
This book explains how a wide variety of practical projects can be built using items supplied in a single kit together with the Arduino board. This kit, called the 'RFID Starter Kit for Arduino' (SKU 17240) is not just limited to RFID applications but contains more than 30 components, devices and modules covering all areas of modern electronics.
In addition to more simple components such as LEDs and resistors there are also complex and sophisticated modules that employ the latest technology such as:
A humidity sensor
A multicolor LED
A large LED matrix with 64 points of light
A 4-character 7-segment LED display
An infra red remote-controller unit
A complete LC-display module
A servo
A stepper motor and controller module
A complete RFID reader module and security tag
On top of that you will get to build precise digital thermometers, hygrometers, exposure meters and various alarm systems. There are also practical devices and applications such as a fully automatic rain sensor, a sound-controlled remote control system, a multifunctional weather station and so much more.
All of the projects described can be built using the components supplied in the Elektor kit.
This book covers a series of exciting and fun projects for the Arduino, such as a silent alarm, people sensor, light sensor, motor control, internet and wireless control (using a radio link). Contrary to many free projects on the internet all projects in this book have been extensively tested and are guaranteed to work!
You can use it as a projects book and build more than 45 projects for your own use. The clear explanations, schematics, and pictures of each project make this a fun activity. The pictures are taken of a working project, so you know for sure that they are correct.
You can combine the projects in this book to make your own projects. To facilitate this, clear explanations are provided on how the project works and why it has been designed the way it has That way you will learn a lot about the project and the parts used, knowledge that you can use in your own projects.
Apart from that, the book can be used as a reference guide. Using the index, you can easily locate projects that serve as examples for the C++ commands and Arduino functionality. Even after you’ve built all the projects in this book, it will still be a valuable reference guide to keep next to your PC.
Two reasons can be identified for the immense success of the Arduino platform. First, the cheap, ready to go processor board greatly simplifies the introduction to hardware. The second success factor is the free and open-source programming suite that does not require an installation procedure.
Simple entry-level examples ensure rapid successes. Complex selection procedures for parameters like the microprocessor version or interface settings are not required. The first sample programs can be uploaded to the Arduino board, and tested, in a matter of minutes.
The Arduino user is supported by an array of software libraries. However, the daily increasing volume of libraries poses initial problems to the newcomer, and the way ahead may be uncertain after a few entry-level examples. In many cases, detailed descriptions are missing, and poorly described projects tend to confuse rather than elucidate. Clear guidance and a single motto are missing, usually owing to the projects having been created by several different persons—all with different aims in mind.
This book represents a different approach. All projects are presented in a systematical manner, guiding into various theme areas. In the coverage of must-know theory great attention is given to practical directions users can absorb, including essential programming techniques like A/D conversion, timers and interrupts—all contained in the hands-on projects. In this way readers of the book create running lights, a wakeup light, fully functional voltmeters, precision digital thermometers, clocks of many varieties, reaction speed meters, or mouse controlled robotic arms. While actively working on these projects the reader gets to truly comprehend and master the basics of the underlying controller technology.
This book covers a series of exciting and fun projects for the Arduino, such as a silent alarm, people sensor, light sensor, motor control, internet and wireless control (using a radio link). Contrary to many free projects on the internet all projects in this book have been extensively tested and are guaranteed to work!
You can use it as a projects book and build more than 45 projects for your own use. The clear explanations, schematics, and pictures of each project make this a fun activity. The pictures are taken of a working project, so you know for sure that they are correct.
You can combine the projects in this book to make your own projects. To facilitate this, clear explanations are provided on how the project works and why it has been designed the way it has That way you will learn a lot about the project and the parts used, knowledge that you can use in your own projects.
Apart from that, the book can be used as a reference guide. Using the index, you can easily locate projects that serve as examples for the C++ commands and Arduino functionality. Even after you’ve built all the projects in this book, it will still be a valuable reference guide to keep next to your PC.
This book details the use of the ARM Cortex-M family of processors and the Arduino Uno in practical CAN bus based projects. Inside, it gives a detailed introduction to the architecture of the Cortex-M family whilst providing examples of popular hardware and software development kits. Using these kits helps to simplify the embedded design cycle considerably and makes it easier to develop, debug, and test a CAN bus based project. The architecture of the highly popular ARM Cortex-M processor STM32F407VGT6 is described at a high level by considering its various modules. In addition, the use of the mikroC Pro for ARM and Arduino Uno CAN bus library of functions are described in detail.
This book is written for students, for practising engineers, for hobbyists, and for everyone else who may need to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C programming language will be useful in later chapters of the book, and familiarity with at least one microcontroller will be an advantage, especially if the reader intends to develop microcontroller based projects using CAN bus.
The book should be useful source of reference to anyone interested in finding an answer to one or more of the following questions:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how reliable is a CAN bus system?
What types of CAN bus controllers are there?
What are the advantages of the ARM Cortex-M microcontrollers?
How can one create a CAN bus project using an ARM microcontroller?
How can one create a CAN bus project using an Arduino microcontroller?
How can one monitor data on the CAN bus?
Das Elektor MultiCalculator Kit ist ein Arduino-basierter Multifunktionsrechner, der über einfache Berechnungen hinausgeht. Es bietet 22 Funktionen, darunter Licht- und Temperaturmessung, Differenztemperaturanalyse und NEC-IR-Fernbedienungsdekodierung. Der Elektor MultiCalculator ist ein praktisches Werkzeug für den Einsatz in Ihren Projekten oder für Bildungszwecke.
Das Kit enthält ein Pro Mini-Modul als Recheneinheit. Die Platine lässt sich mithilfe von Durchgangslochkomponenten einfach zusammenbauen. Das Gehäuse besteht aus 11 Acrylplatten und Montagematerial für eine einfache Montage. Darüber hinaus ist das Gerät mit einem 16x2 alphanumerischen LCD, 20 Tasten und Temperatursensoren ausgestattet.
Der Elektor MultiCalculator ist über einen 6-Wege-PCB-Header mit der Arduino-IDE programmierbar. Der Rechner kann mit einem Programmieradapter programmiert werden und wird über USB-C mit Strom versorgt.
Betriebsmodi
Rechner
4-Ring-Widerstandscode
5-Ring-Widerstandscode
Konvertierung von Dezimalzahlen in Hexadezimalzahlen und Zeichen (ASCII)
Konvertierung von Hexadezimalzahlen in Dezimalzahlen und Zeichen (ASCII)
Dezimal-zu-Binär- und Zeichen-Konvertierung (ASCII)
Binär-zu-Dezimal- und Hexadezimal-Konvertierung
Berechnung von Hz, nF und kapazitiver Reaktanz (XC)
Hz, µH, Berechnung der induktiven Reaktanz (XL)
Widerstandsberechnung zweier parallel geschalteter Widerstände
Widerstandsberechnung zweier in Reihe geschalteter Widerstände
Berechnung des unbekannten Parallelwiderstands
Temperaturmessung
Differenztemperaturmessung T1&T2 und Delta (δ)
Lichtmessung
Stoppuhr mit Rundenzeitfunktion
Artikelzähler
NEC IR-Fernbedienungsdekodierung
AWG-Umwandlung (American Wire Gauge)
Würfeln
Startnachricht personalisieren
Temperaturkalibrierung
Technische Daten
Menüsprachen: Englisch, Niederländisch
Abmessungen: 92 x 138 x 40 mm
Bauzeit: ca. 5 Stunden
Lieferumfang
Leiterplatten- und Durchgangslochkomponenten
Vorgeschnittene Acrylplatten mit allen mechanischen Teilen
Pro Mini Mikrocontroller-Modul (ATmega328/5 V/16 MHz)
Programmieradapter
Wasserdichte Temperatursensoren
USB-C Kabel
Downloads
Software
Dieser USB-Stick enthält eine Auswahl von über 300 Arduino-bezogenen Artikeln, die im Elektor-Magazin veröffentlicht wurden. Der Inhalt umfasst sowohl Hintergrundartikel als auch Projekte zu folgenden Themen:
Software- und Hardware-Entwicklung: Tutorials zur Arduino-Softwareentwicklung mit der Arduino IDE, Atmel Studio, verschiedenen Shields und grundlegenden Programmierkonzepten.
Lernen: Das Mikrocontroller-Bootcamp bietet einen strukturierten Einstieg in die Programmierung eingebetteter Systeme.
Datenerfassung und -messung: Projekte wie ein 16-Bit-Datenlogger, ein Drehbank-Tachometer und ein AC-Netzanalyzer ermöglichen die Erfassung und Analyse von Echtzeitsignalen.
Drahtlose Kommunikation: Erfahren Sie, wie man drahtlose Netzwerke implementiert, eine Android-Schnittstelle erstellt und effektiv mit Mikrocontrollern kommuniziert.
Robotik und Automatisierung: Lernen Sie den Arduino Nano Robot Controller, unterstützende Automatisierungs-Boards sowie diverse Arduino-Shields zur Funktionserweiterung kennen.
Selbstbauprojekte: Einzigartige DIY-Projekte wie Laserprojektion, eine Numitron-Uhr mit Thermometer, ein ELF-Empfänger, Theremino-Module und Touch-LED-Schnittstellen zeigen kreative Einsatzmöglichkeiten auf.
Egal, ob Sie Einsteiger oder erfahrener Maker sind – diese Sammlung ist eine wertvolle Ressource zum Lernen, Experimentieren und Erweitern der Möglichkeiten mit Arduino.
Der Micro enthält alles, was zur Unterstützung des Mikrocontrollers benötigt wird. Schließen Sie ihn einfach mit einem Micro-USB-Kabel an einen Computer an, und schon kann es losgehen. Dank seines Formfaktors kann er problemlos auf einem Steckbrett platziert werden.
Die Micro-Platine ähnelt dem Arduino Leonardo darin, dass der ATmega32U4 über integrierte USB-Kommunikation verfügt, wodurch ein zweiter Prozessor überflüssig wird. Dadurch kann der Micro für einen angeschlossenen Computer als Maus und Tastatur fungieren und verfügt zusätzlich über einen virtuellen (CDC) seriellen/COM-Anschluss.
Mikrocontroller
ATmega32U4
Betriebsspannung
5 V
Eingangsspannung
7 V bis 12 V
Analoge Eingangspins
12
PWM-Pins
7
DC E/A-Pin
20
Gleichstrom pro E/A-Pin
20 mA
Gleichstrom für 3,3 V Pin
50 mA
Flash-Speicher
32 KB, davon 4 KB vom Bootloader genutzt
SRAM
2,5 KB
EEPROM
1 KB
Taktfrequenz
16 MHz
LED_Eingebaut
13
Länge
45 mm
Breite
18 mm
Gewicht
13 g
Programming and Projects for the Minima and WiFi
Based on the low-cost 8-bit ATmega328P processor, the Arduino Uno R3 board is likely to score as the most popular Arduino family member, and this workhorse has been with us for many years. Eleven years later, the long-overdue successor, the Arduino Uno R4, was released. It is built around a 48 MHz, 32-bit Arm Cortex-M4 microcontroller and provides significantly expanded SRAM and Flash memory. Additionally, a higher-precision ADC and a new DAC are added to the design. The Uno R4 board also supports the CAN Bus with an interface.
Two versions of the board are available: Uno R4 Minima, and Uno R4 WiFi. This book is about using these new boards to develop many different and interesting projects with just a handful of parts and external modules. All projects described in the book have been fully tested on the Uno R4 Minima or the Uno R4 WiFi board, as appropriate.
The project topics include the reading, control, and driving of many components and modules in the kit as well as on the relevant Uno R4 board, including
LEDs
7-segment displays (using timer interrupts)
LCDs
Sensors
RFID Reader
4x4 Keypad
Real-time clock (RTC)
Joystick
8×8 LED matrix
Motors
DAC (Digital-to-analog converter)
LED matrix
WiFi connectivity
Serial UART
CAN bus
Infrared controller and receiver
Simulators
… all in creative and educational ways with the project operation and associated software explained in great detail.
Verwirklichen Sie Ihre Projekt-Träume: Der Kilometerzähler fürs Hamsterrad, eine vollautomatische Steuerung Ihrer Ameisenfarm mit Webinterface, oder den Sandwich-O-Mat – eine Maschine, die Sandwich-Toasts nach Wahl belegt und überbackt.
Mit Arduino und der DIY- oder Maker-Bewegung wurde nicht nur der Einstieg in die Mikrocontroller-Programmierung kinderleicht, auch eine zweite Entwicklung fand statt: Viele Entwickler bringen kleine Boards – sogenannte Shields oder Module – auf den Markt, die den Einsatz zusätzlicher Hardware stark vereinfachten. Die kleinen Baugruppen enthalten alle wichtigen elektronischen Teile, um mit ein paar Steckkabeln an den Mikrocontroller angeschlossen zu werden, so dass ein frickeliger und aufwändiger Aufbau auf dem Steckboard entfällt. Zudem ist es so möglich, auch winzige kleine Bauteile zur Hand zu haben, die keine Anschlussbeinchen mehr haben (sogenannte SMDs).
Enthaltene Projekte
Arduino sucht Anschluss
BMP, Einführung in Bibliotheken und I²C
Mit den Mehrzweck-Shield I/O-Grundlagen kennenlernen
I²C-LCD-Adapter und Punktmatrixanzeigen
LCD-Tastaturschutz
Level-Konverter
W5100: Internetanbindung
I/O-Erweiterungs-Shields
Relais und Solid-State-Relais
Das Multi-Funktions-Shield: eine universelle Bedieneinheit
SD-Kartenleser über SPI anbinden
Tasten und 7-Segmentanzeigen
16-Bit-ADC
DAC MCP4725
16-fach PWM Servo-Treiber
MP3-Player
GPS-Datenlogger mit SD-Karte
Berührungssensor
Joystick
SHT31: Temperatur und Luftfeuchtigkeit
UV A-Sensor VEML6070
VL53L0X Flugzeit
Ultraschallsensor-Entfernungsmesser
LED-Punktmatrixanzeige mit MAX7219
Echtzeituhr DS3231
Port-Expander MCP23017
433 MHz Funk
MPU-650: Gyroskop
Beschleunigungssensor ADXL345
WS2812 RGB-LEDs
Spannungsversorgung
MQ-xx Gassensoren
CO2-Gassensor
ACS712 Stromstärkesensor
INA219 Stromstärkesensor
L298 Motortreiber
RFID-Modul MFRC522
28BYJ-48 Schrittmotor
TMC2209 Leiser Trittschalter
X9C10x Digitales Poti
Farb-TFT-Display mit ST7735
E-Paper-Anzeige
Bluetooth
Geigerzähler
SIM800L GSM-Modul
I²C-Multiplexer
Controller Area Network