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.
This book is for people who want to understand how AC drives (also known as inverter drives) work and how they are used in industry by showing mainly the practical design and application of drives.
The key principles of power electronics are described and presented in a simple way, as are the basics of both DC and AC motors. The different parts of an AC drive are explained, together with the theoretical background and the practical design issues such as cooling and protection.
An important part of the book gives details of the features and functions often found in AC drives and gives practical advice on how and where to use these. Also described is future drive technology, including a matrix inverter.
The mathematics is kept to an essential minimum. Some basic understanding of mechanical and electrical theory is presumed, and a basic knowledge of single andthree phase AC systems would be useful.
Anyone who uses or installs drives, or is just interested in how these powerful electronic products operate and control modern industry, will find this book fascinating and informative.
Die MotoPi-Platine ist eine Erweiterungsplatine zur Ansteuerung und Verwendung von bis zu 16 PWM-gesteuerten 5-V-Servomotoren.
Der eigene Taktgeber auf dem MotoPi sorgt für ein sehr genaues PWM-Signal und somit auch für eine genaue Positionierung.
Die Platine verfügt über 2 Eingänge für eine Spannung von 4,8-6 V, über die zusammen bis zu 11 A eingespeist werden können, so dass eine optimale Versorgung der Motoren stets gewährleistet ist und somit auch größere Projekte mit ausreichend Strom beliefert werden können.
Die Versorgung läuft zentral über den MotoPi, der für jeden Motor separat einen Anschluss für Spannung, Masse und die Steuerleitung zur Verfügung stellt.
Durch den eingebauten Kondensator wird der Strom zusätzlich gepuffert. Hierdurch wird das Einbrechen der Spannung bei kurzzeitiger Mehrbelastung abgemildert, die sonst zum Ruckeln führen könnte. Zusätzlich hat man noch die Möglichkeit, einen weiteren Kondensator anzuschließen.
Der integrierte Analog-Digital-Wandler bietet neue Möglichkeiten wie z. B. die Steuerung über einen Joystick.
Die Ansteuerung und Programmierung der Motoren kann (wie gewohnt) weiterhin bequem über den Raspberry Pi bedient werden. Anleitung und Codebeispiele erlauben auch Einsteigern, schnell Ergebnisse zu erzielen.
Besonderheiten
16 Kanäle, eigener Taktgeber für Servomotoren (PWM), inkl. Analog-Digital-Wandler
Eingang 1
Hohlstecker 5,5 / 2,1 mm, 4,8-6 V, 5 A max.
Eingang 2
Schraubklemme, 4,8-6 V, 6 A max.
Kompatibel mit
Raspberry Pi A+, B+, 2B, 3B
Maße (BxHxT)
65 x 24 x 56 mm
Lieferumfang
Platine, Bedienungsanleitung, Befestigungsmaterial, Retail-Verpackung
Dieses Board ermöglicht es dem Raspberry Pi Pico (angeschlossen über die Stiftleiste), zwei Motoren gleichzeitig mit voller Vorwärts-, Rückwärts- und Stoppsteuerung anzutreiben, was es ideal für Pico-gesteuerte Buggy-Projekte macht. Alternativ kann die Platine auch zum Betrieb eines Schrittmotors verwendet werden. Die Platine ist mit dem Motortreiber-IC DRV8833 ausgestattet, der über einen integrierten Kurzschluss-, Überstrom- und Wärmeschutz verfügt.
Die Platine hat 4 externe Anschlüsse für GPIO-Pins und eine 3-V- und GND-Versorgung vom Pico. Dies ermöglicht zusätzliche IO-Optionen für Ihre Buggy-Bauten, die vom Pico gelesen oder gesteuert werden können. Außerdem gibt es einen Ein/Aus-Schalter und eine Power-Status-LED, so dass Sie auf einen Blick sehen können, ob das Board eingeschaltet ist, und Ihre Batterien schonen können, wenn Ihr Projekt nicht in Gebrauch ist.
Um die Motortreiberplatine verwenden zu können, muss der Pico über eine verlötete Stiftleiste verfügen und fest in den Stecker eingesteckt werden. Die Platine erzeugt eine geregelte Stromversorgung, die in den 40-poligen Stecker eingespeist wird, um den Pico mit Strom zu versorgen, so dass dieser nicht direkt mit Strom versorgt werden muss. Die Motortreiberplatine wird entweder über Schraubklemmen oder einen Servostecker versorgt.
Kitronik hat ein Micro-Python Modul und Beispielcode entwickelt, um die Verwendung des Motor Driver Boards mit dem Pico zu unterstützen. Dieser Code ist im GitHub Repo verfügbar.
Merkmale
Ein kompaktes und dennoch funktionsreiches Board, das als Herzstück Ihrer Raspberry Pi Pico Roboter-Buggy-Projekte entwickelt wurde.
Die Platine kann 2 Motoren gleichzeitig mit voller Vorwärts-, Rückwärts- und Stoppsteuerung antreiben.
Sie enthält den Motortreiber-IC DRV8833, der über einen integrierten Kurzschluss-, Überstrom- und Überhitzungsschutz verfügt.
Darüber hinaus verfügt die Platine über einen Ein/Aus-Schalter und eine Power-Status-LED.
Die Stromversorgung der Platine erfolgt über einen Klemmenleistenanschluss.
Die 3V- und GND-Pins sind ebenfalls herausgebrochen, so dass externe Geräte mit Strom versorgt werden können.
Programmieren Sie es mit MicroPython über einen Editor wie den Thonny-Editor.
Abmessungen: 63 mm (L) x 35 mm (B) x 11,6 mm (H)
Download
Datenblatt
Dieses Buch beschäftigt sich mit DC-Elektromotoren und deren Einsatz in Arduino und Raspberry Pi Zero W-Projekten. Das Buch enthält zahlreiche Motorsteuerungsprojekte, wobei jedes Projekt denselben Aufbau besitzt:
Projekttitel
Beschreibung des Projekts
Blockschaltbild
Schaltplan
Zusammenbau
Vollständiges Programmlisting
Umfassende Erläuterung des Programms
Die Projekte im Buch umfassen die Standard-DC-Motoren, Schrittmotoren, Servomotoren und mobile Roboter. Das Buch richtet sich an Elektronik-Bastler, die Projekte mit dem Arduino Uno oder dem Raspberry Pi Zero W entwickeln und dabei Motoren einsetzen möchten.
Ein besonders reizvolles Projekt dieses Buches ist die Fernsteuerung eines mobilen Roboters von einem Mobiltelefon aus mit dem Arduino Uno sowie dem Raspberry Pi Zero W. Dieses Projekt wird sowohl über Wi-Fi als auch über Bluetooth mit dem Handy gesteuert. Die Leser sollten in der Lage sein, einen Roboter vorwärts, rückwärts, links oder rechts zu bewegen, indem sie einfache Befehle vom Mobiltelefon aus senden.
Die vollständigen Programmlistings aller Projekte sowie die detaillierten Programmbeschreibungen finden Sie im Buch. Der Leser kann die Projekte Schritt für Schritt nachbauen oder sie an die eigenen Bedürfnisse anpassen.
Learn to interface and program hardware devices in a wide range of useful applications, using ARM7 microcontrollers and the C programming language. Examples covered in full detail include a simple LED to a multi-megabyte SD card running the FAT file system.
Features of this book
Build prototype circuits on breadboard or Veroboard and interface to ARM microcontrollers.
A 32-bit ARM7 microcontroller is used in interfacing and software examples.
Interfacing principles apply to other ARM microcontrollers and other non-ARM microcontrollers as well.
Example programs are written in the C programming language.
Use only free or open source software.
Download and install all programming tools from the Internet.
Template project files are provided for easy project creation.
Hardware
Interface to LEDs, transistors, optocouplers, relays, solenoids, switches, keypads, LCD displays, seven segment displays, DC motors, stepper motors, external analogue signals using the ADC, RS232, RS-485, TWI, USB, SPI and SD memory cards.
Software
Once hardware has been interfaced to a microcontroller, software must be written to control the hardware. You will learn how to write programs to operate externally interfaced hardware devices, use timers and interrupts. Also learn how to port FAT file system code for use with an SD memory card, program the PWM to produce an audio sine wave, program the PWM to speed control a DC motor and more.
A chapter on more advanced ARM microcontrollers is included with an overview of some of the newest ARM microcontrollers and their features.
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular Nucleo development board. In the early chapters of the book, the architecture of the Nucleo family is briefly described.
Software development tools that can be used with the Nucleo boards such as the Mbed, Keil MDK, TrueSTUDIO, and the System Workbench are described briefly in later Chapters.
The book covers many projects using most features of the STM32 Nucleo development boards where the full software listings for Mbed and System Workbench are given for every project. The projects range from simple flashing LEDs to more complex projects using modules and devices such as GPIO, ADC, DAC, I²C, LCD, analog inputs and others.
In addition, several projects are given using the Nucleo Expansion Boards, including popular expansion boards such as solid-state relay, MEMS and environmental sensors, DC motor driver, Wi-Fi, and stepper motor driver.
These Expansion Boards plug on top of the Nucleo development boards and simplify the task of project development considerably.
Features of this book
Learn the architecture of the STM32 microcontrollers
Learn how to use the Nucleo development board in projects using Mbed and System Workbench Toolchains
Learn how to use the Nucleo Expansion Boards with the Nucleo development boards
Update
The Mbed compiler has been replaced with two software packages: The Mbed Studio and Keil Studio Cloud. Both of these software packages are free of charge and are available on the Internet. If you need assistance using the Keil Studio Cloud, please download the Guide below.
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.
Projects with Arduino, ESPHome, Home Assistant, and Raspberry Pi & Co.
This e-book contains various example projects, beginning with an introduction to electronics. It also explains how to install Home Assistant on a Raspberry Pi, how to use indoor climate sensors for temperature and humidity, how to implement the MQTT protocol and other interfaces, and how to use ESPHome to integrate sensors and actuators into Home Assistant. Numerous video tutorials complement the book.
Fundamentals of electrical engineering
The book begins with an introduction to electrical engineering. You will learn the basics of voltage, current, resistors, diodes and transistors.
Arduino and microcontrollers
A complete section is dedicated to the Arduino Uno. You will get to know the structure, write your first programs and work on practical examples.
Home Assistant and automation
You will learn how to set up Home Assistant on a Raspberry Pi and how to use automations, scenes and devices. In addition, Zigbee, MQTT and ESP-NOW – important technologies for home automation – will be discussed.
ESP8266, ESP32 and ESP32-CAM
The popular ESP microcontrollers are covered in detail. A theoretical introduction is followed by practical projects that show you how to get the most out of these devices.
Sensors and actuators
The book explains the functionality and application of numerous sensors such as temperature and humidity sensors, motion detectors and RFID readers. For actuators, stepper motors, e-ink displays, servo motors and much more are covered. There are practical application examples for all devices.
ESPHome
This chapter shows you how to integrate sensors and actuators into Home Assistant without any programming effort. You will be guided step by step through the setup with ESPHome.
LEDs and lighting technology
In this chapter, you will learn about different types of LEDs and how they can be used. The basics of lighting technology are also explained.
Node-RED
A whole chapter is dedicated to Node-RED. You will learn the basics of this powerful tool and be guided step by step through its setup and use.
Integrated Circuits (ICs)
In electronics, there are numerous ICs that make our lives easier. You will get to know the most important ones and apply your knowledge in practical projects.
Professional programming
Advanced topics such as the correct use of buttons, the use of interrupts and the use of an NTP server for time synchronisation are covered in detail in this chapter.
Downloads
GitHub
Multitasking and multiprocessing have become a very important topic in microcontroller-based systems, namely in complex commercial, domestic, and industrial automation applications. As the complexity of projects grows, more functionalities are demanded from the projects. Such projects require the use of multiple inter-related tasks running on the same system and sharing the available resources, such as the CPU, memory, and input-output ports. As a result of this, the importance of multitasking operations in microcontroller-based applications has grown steadily over the last few years. Many complex automation projects now make use of some form of a multitasking kernel.
This book is project-based and its main aim is to teach the basic features of multitasking using the Python 3 programming language on Raspberry Pi. Many fully tested projects are provided in the book using the multitasking modules of Python. Each project is described fully and in detail. Complete program listings are given for each project. Readers should be able to use the projects as they are, or modify them to suit their own needs.
The following Python multitasking modules have been described and used in the projects:
Fork
Thread
Threading
Subprocess
Multiprocessing
The book includes simple multitasking projects such as independently controlling multiple LEDs, to more complex multitasking projects such as on/off temperature control, traffic lights control, 2-digit, and 4-digit 7-segment LED event counter, reaction timer, stepper motor control, keypad based projects, car park controller, and many more. The fundamental multitasking concepts such as process synchronization, process communication, and memory sharing techniques have been described in projects concerning event flags, queues, semaphores, values, and so on.
Get Cracking with the Arduino Nano V3, Nano Every, and Nano 33 IoT
The seven chapters in this book serve as the first step for novices and microcontroller enthusiasts wishing to make a head start in Arduino programming. The first chapter introduces the Arduino platform, ecosystem, and existing varieties of Arduino Nano boards. It also teaches how to install various tools needed to get started with Arduino Programming. The second chapter kicks off with electronic circuit building and programming around your Arduino. The third chapter explores various buses and analog inputs. In the fourth chapter, you get acquainted with the concept of pulse width modulation (PWM) and working with unipolar stepper motors.
In the fifth chapter, you are sure to learn about creating beautiful graphics and basic but useful animation with the aid of an external display. The sixth chapter introduces the readers to the concept of I/O devices such as sensors and the piezo buzzer, exploring their methods of interfacing and programming with the Arduino Nano. The last chapter explores another member of Arduino Nano family, Arduino Nano 33 IoT with its highly interesting capabilities. This chapter employs and deepens many concepts learned from previous chapters to create interesting applications for the vast world of the Internet of Things.
The entire book follows a step-by-step approach to explain concepts and the operation of things. Each concept is invariably followed by a to-the-point circuit diagram and code examples. Next come detailed explanations of the syntax and the logic used. By closely following the concepts, you will become comfortable with circuit building, Arduino programming, the workings of the code examples, and the circuit diagrams presented. The book also has plenty of references to external resources wherever needed.
An archive file (.zip) comprising the software examples and Fritzing-style circuit diagrams discussed in the book may be downloaded free of charge below.
,
von Clemens Valens
Review: Die Desktop-CNC- und Graviermaschine Anet 4540
Wie 3D-Drucker und Lasergraviermaschinen haben auch CNC-Maschinen sich inzwischen etabliert. Während sie früher Tausende von Euro gekostet haben, sind heute CNC-Maschinen der Einstiegsklasse wie die...