ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
Der Einstieg in die Elektronik ist einfacher, als Sie denken! Mit diesem Bundle – bestehend aus Buch und Experimentierkit – entdecken Sie die Grundlagen der Elektro- und Elektroniktechnik Schritt für Schritt. Anhand spannender Experimente lernen Sie praxisnah und verständlich, ganz ohne komplizierte Fachbegriffe oder langwierige Berechnungen. So sind Sie schon bald in der Lage, Ihre eigenen Elektronikprojekte umzusetzen!
Das Kit enthält alle notwendigen Komponenten, um die meisten im Buch beschriebenen Schaltungen direkt auf dem Steckbrett aufzubauen und praktisch zu erproben.
Das Kit kann selbstverständlich auch ohne das Buch zum Aufbau anderer Schaltkreise und zur Durchführung eigener Experimente verwendet werden.
Inhalt des Kits
1x 39 Ω, 1 W Widerstand
1x 47 Ω Widerstand
1x 180 Ω Widerstand
1x 330 Ω Widerstand
3x 1 kΩ Widerstand
1x 2,2 kΩ Widerstand
1x 3,9 kΩ Widerstand
1x 6,8 kΩ Widerstand
1x 10 kΩ Widerstand
1x 15 kΩ Widerstand
1x 22 kΩ Widerstand
1x 33 kΩ Widerstand
1x 47 kΩ Widerstand
1x 56 kΩ Widerstand
1x 82 kΩ Widerstand
1x 120 kΩ Widerstand
1x 680 kΩ Widerstand
2x 100 kΩ Widerstand
1x 10 kΩ Trimmer
1x 10 kΩ Linearpotentiometer
1x 100 kΩ Linearpotentiometer
1x LDR
1x 1 nF Keramikkondensator
2x 10 nF Keramikkondensator
1x 100 nF Keramikkondensator
1x 1 µF, 25 V Aluminium-Elektrolytkondensator
2x 10 µF, 25 V Aluminium-Elektrolytkondensator
1x 100 µF, 25 V Aluminium-Elektrolytkondensator
1x 470 µF, 25 V Aluminium-Elektrolytkondensator
1x 1000 µF, 25 V Aluminium-Elektrolytkondensator
1x RGB-LED, Common-Cathode (CC)
1x 1N4148 Kleinsignaldiode
1x 1N4733A 5,1 V, 1 W Zenerdiode
3x LED, rot
2x BC337 NPN-Transistor
1x IRFZ44N N-Kanal-MOSFET
2x NE555-Timer
1x LM393-Komparator
1x 74HCT08 Quad-AND-Gatter
3x Tastschalter
2x SPDT-Schalter
1x Relais, SPDT, 9 VDC
1x Aktiver Summer
1x Passiver Summer
50 cm Massivdraht, 16 AWG, ohne Mantel
2x PP3 9 V Batterieclip
1x Steckbrett
20x Überbrückungskabel
Dieses Bundle enthält:
Buch: Schnelleinstieg in die Elektronik (Einzelpreis: 45 €)
Kit: Schnelleinstieg in die Elektronik (Wert: 45 €)
Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting 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 and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical 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 dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?
Elektronica is spannend. Het is een hobby die zowel leuk als leerzaam is. Het stelt je in staat om thuis of op het werk nieuwe en nuttige vaardigheden te leren. Een ervaren elektronicus ontwerpt zijn eigen schakelingen, en brengt zijn projecten tot leven. Maar voordat je zover bent, moet je eerst de basis onder de knie krijgen. Daarom brengt dit boek een groot aantal inleidende artikelen samen die in het elektronicatijdschrift Elektor zijn gepubliceerd. Het is je metgezel bij het leerproces in de wereld van de elektronica.
Het begint allemaal met analoge elektronica. Je zult de eenvoudigste componenten en circuits ontdekken om te begrijpen hoe ze werken, hoe ze op elkaar inwerken en de mogelijke problemen. De beste manier om vooruitgang te boeken is door echte experimenten uit te voeren, want theorie is niet genoeg. Dit boek begeleid je in een groot aantal praktische projecten voor beginners. Door ze te maken, doe je veel ervaring en kennis op.
Het tweede deel van het boek neemt je mee in de wereld van de digitale elektronica. De auteur bespreekt het gebruik van microcontrollers. Taken die voorheen werden uitgevoerd door discrete componenten of conventionele geïntegreerde schakelingen worden nu uitgevoerd door microcontrollers. De programmeertaal BASCOM, maar ook platforms als Arduino, BBC micro:bit en andere, maken dit leerproces veel gemakkelijker. Dit boek beschrijft in detail vele toepassingen van microcontrollers, die betaalbaar zijn voor de beginner. Hier gaan programmeren en solderen hand in hand!
Der Raspberry Pi stellt einen sehr preiswerten, aber doch vollwertigen Computer dar, an den auf einfache Weise verschiedenste Elektronik angeschlossen werden kann. Dieses Buch geht auf eine der Stärken des Raspberry Pi ein: die Kombination von Elektronik und Software.
Nach einer kurzen Einführung zum Raspberry Pi wird auf die benötigte Software eingegangen. Im Anschluss wird das Linux-Betriebssystem kurz vorgestellt – gefolgt von einer Einführung in die Programmierung mit Bash, Python und JavaScript. Der Schwerpunkt liegt dabei auf Python. Die Erläuterungen sind in allen Fällen kurz und bündig und trotzdem so ausführlich, dass das Notwendigste besprochen wird, um die folgenden Projekte zu verstehen und individuell anzupassen.
Dieses Buch beschreibt 45 spannende und interessante Projekte, wie zum Beispiel ein Wechselblinklicht, eine Motorregelung, Erzeugen und Verarbeiten analoger Signale, ein digitales Thermometer, ein Lichtmesser. Aber auch kompliziertere Projekte wie eine Motor-Geschwindigkeitsregelung, ein Webserver mit CGI (Common Gateway Interface) und Client-Server-Programme werden vorgestellt. Sie können dieses Buch als Projektbuch verwenden und die Projekte nachbauen, um sie dann in der Praxis einzusetzen. Durch die ausführliche Beschreibung mit Schaltplänen und Fotos gestaltet sich der Aufbau auf dem Steckbrett recht einfach.
Sie können dieses Buch auch als Lehrbuch verwenden. Bei jedem Projekt wird erklärt, warum es auf diese Art und Weise ausgeführt ist. Sie lernen viel über den Raspberry Pi, Python und die verwendeten Bauteile, so dass Sie selbst die Projekte anpassen, nach eigenen Wünschen erweitern oder mehrere Projekte miteinander kombinieren können.
Um Ihnen die Software-Installation zu erleichtern, hat der Autor das Betriebssystem und alle Programmbeispiele auf einer SD-Karte zusammengetragen. Passend zu den Projekten ist neben dieser SD-Karte auch ein Hardware-Starterkit bei Elektor erhältlich.
A Toolbox for Audio Lovers and Engineers
Without any ambition to reach scientific levels, this book aims to be a toolbox for both audio lovers and high-end equipment designers. The elementary theory presented is the bare minimum for readers to grasp the operation and practical use of electrical, electromagnetic, physics, and electronic operations available in the designers’ toolbox. Each tool is explained in a minimum of words and theory without needless coverage of underlying equations or figures.
The book chapters guide you through the process of designing quality amplifiers with vacuum tubes, from the very beginning, considering both technical and subjective requirements – in theory and practice.
The book is a compilation of the author’s notes used in his professional and educational career but was nevertheless primarily written as a result of true love for the audiophile hobby.
Praktischer Einstieg mit Arduino, GnuRadio und FPGA
Das Thema „Software Defined Radio“ ist facettenreich: Neben der Schaltungstechnik ist auch eine Einarbeitung in die Programmierung von Hardware und PC wichtig. Ein schrittweises Vorgehen erleichtert Ihnen den Einstieg. Mit dem im Buch vorgestellten modularen „RF Bricks“-Konzept werden Sie zum Architekten Ihrer Signalkette. Auf einem Chassis angeordnet gewährleisten die Module einen soliden und gut abgeschirmten Aufbau, den Sie einfach verändern und mit eigenen Ideen anreichern können.
Der skalierbare Aufbau bildet Ihr Blockschaltbild auch mechanisch ab – die so gewonnene Übersicht kann in der Aus- und Weiterbildung nützlich sein. Ein Arduino in Ihrem Chassis kommuniziert nach einigen Anpassungen mit üblichen SDR-Programmen, z. B. SDRCPP, GQRX und CubicSDR auf einer Linux-Plattform. Damit können Sie Ihren Empfänger direkt per Mausklick abstimmen.
Wenn Sie Blockschaltbilder mögen, ist GnuRadio ein natürlicher Partner der „RF Bricks“. Mit einem selbst programmierten Python-Block gelingt Ihnen in GnuRadio die Fernsteuerung Ihres Empfängers. Im GnuRadio-Universum können Sie Ihre GUI stufenweise ausbauen, behalten dabei aber immer volle Kontrolle über die inneren Abläufe des Programms.
Mit einem FPGA können zeitaufwändige Operationen auch direkt in die Hardware verlagert werden. Sie bauen stufenweise einen Doppelsuperhet auf und entwickeln die Filterkoeffizienten für FIR-Filter mit Scilab. Das in VHDL realisierte Weaver-Schema rundet diesen Empfänger ab, der mit hoher Empfindlichkeit und Dynamik aufwarten kann.
Mit dem gewonnen Überblick und Ihrer neuen Hardware können Sie die einzelnen Aspekte des Themenkomplexes SDR beliebig weiter vertiefen.
Downloads
Software
ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
Ist ein solches Buch in Zeiten der Computer und Mikrocontroller noch aktuell? Die Antwort lautet eindeutig: Ja! Hierfür gibt es drei gewichtige Gründe.
Einmal ist die Theorie und der Aufbau analoger und digitaler Schaltungen nicht nur sehr lehrreich, sondern vermittelt auch unschätzbare Erfahrungen und Elektronik-Grundkenntnisse. Auch wenn zum anderen durch den technischen Fortschritt sich fast alle Anwendungen per Computer und Mikrocontroller realisieren lassen, ist es in vielen Fällen einfach 'overdressed' (um es neudeutsch auszudrücken). Einfacher und preiswerter wäre dann die konventionelle Lösung.
Schließlich sind Kenntnisse in der Elektronik Voraussetzung für den erfolgreichen Umgang mit der Mikrocontrollertechnik.
Apropos Grundkenntnisse: Dieses Buch enthält nicht nur Schaltungsvorschläge, sondern auch eine Reihe Artikel, die die theoretischen Grundlagen einer Schaltung verständlich beschreiben. Somit ist das vorliegende Buch nicht nur für Elektronik-Laien geeignet, sondern auch für all diejenigen, die sich aus beruflichen Gründen in die Materie einarbeiten möchten.
Aus dem Inhalt:
Wissenswertes über Strom und Spannung
Elektrizität und Magnetismus
Kondensatoren und Spulen
Halbleiter
Praktische Schaltungen für Labor und Werkstatt
Oszillatoren
Synthetische Klänge
Musik-Elektronik
Audio-Schaltungen
Opto-Elektronik
Haus- und Hof-Elektronik
Hochfrequenz
Spezial-ICs
Cool Projects for Test, Measurement, and Control
The Raspberry Pi has dominated the maker scene for many years. Freely accessible I/O pins have made it one of the most popular processor boards of all time. However, the classic Raspberry Pi has no analog inputs. Direct measurement of analog values is therefore not possible. Consequently, photodiodes, NTCs, Hall sensors, etc. cannot be read directly. In addition, the pins are connected directly to the exposed contacts, i.e. without a driver or protection circuit. This can quickly destroy the central controller and thus the entire Raspberry Pi.
These problems can be elegantly solved with the Pico. As a front-end, it can easily handle a wide range of measurement tasks. In addition, the Pico is much cheaper than a classic Raspberry Pi 4 or 5. If a faulty circuit leads to the destruction of the Pico, this is relatively easy to handle. This makes the combination of a classic Raspberry Pi 4 or 5 and the Pico an ideal pair.
The book introduces the broad and highly topical field of modern controller technology using the combined force of a Raspberry Pi 4 or 5 and a Raspberry Pi Pico. In addition to a detailed introduction to the operation and functionality of the controller boards themselves, the book also focuses on data acquisition and processing with digital processors. Especially the combination of both systems offers a wide range of interesting possibilities.
Some practical projects from the contents:
USB between Raspberry Pi 4 or 5 and Pico
I²C Communication and Pico as an I²C device
Voltmeter and Computer Thermometer
Pico W as a Web Server and WLAN Scanner
Frequency Meters and Generators
OLED Displays on Raspberry Pi 4 or 5 and Pico
Energy Saving Monitor
Which Astronauts are in Orbit?
Mini Monitor for Current Bitcoin Exchange Rate
If you have the right tools, designing a microprocessor shouldn’t be complicated. The Verilog hardware description language (HDL) is one such tool. It can enable you to depict, simulate, and synthesize an electronic design, and thus increase your productivity by reducing the overall workload associated with a given project.Monte Dalrymple’s Microprocessor Design Using Verilog HDL is a practical guide to processor design in the real world. It presents the Verilog HDL in a straightforward fashion and serves as a detailed introduction to reducing the computer architecture and as an instruction set to practice. You’re led through the microprocessor design process from start to finish, and essential topics ranging from writing in Verilog to debugging and testing are laid bare.The book details the following, and more:
Verilog HDL Review: data types, bit widths/labeling, operations, statements, and design hierarchy
Verilog Coding Style: files vs. modules, indentation, and design organization
Design Work: instruction set architecture, external bus interface, and machine cycle
Microarchitecture: design spreadsheet and essential worksheets (e.g., Operation, Instruction Code, and Next State)
Writing in Verilog: choosing encoding, assigning states in a state machine, and files (e.g., defines.v, hierarchy.v, machine.v)
Debugging, Verification, and Testing: debugging requirements, verification requirements, testing requirements, and the test bench
Post Simulation: enhancements and reduction to practice
Monte Dalrymple received a BSEE (with highest honors) and an MSEE from the University of California at Berkeley, where he was elected to Phi Beta Kappa. Monte started his career at Zilog, where he designed a number of successful products, including the Serial Communication Controller (SCC) family and the Universal Serial Controller (USC) family. He was also the architect and lead designer of the Z380 microprocessor. Monte started his own company, Systemyde International Corp., in 1995, and has been doing contract design work ever since. He designed all five generations of Rabbit microprocessors, a Z180 clone that is flying on the Juno mission to Jupiter, and a Z8000 clone that flies in a commercial avionics air data computer. Monte holds 16 patents as well as both amateur and commercial radio licenses. Monte wrote 10 articles for Circuit Cellar magazine between 1996 and 2010. He recently completed a side project to replace the CPU in an HP-41C calculator with a modern FPGA-based version.
A Practical Guide to Tube Electronics
Vacuum tubes continue to exert a special fascination. Their long-lasting operation, robustness, and characteristic behavior fundamentally distinguish them from modern semiconductor technology. Despite their age, tubes are by no means merely historical components; they are still used today in audio technology, measurement technology, and especially in hobbyist applications.
This book is aimed at electronics enthusiasts and hobbyists who want to not only learn about and understand vacuum tubes in theory, but also use them in practice. It conveys the fundamentals of tube technology, explains the different designs and designations, shows typical circuits, and addresses power supplies, measurements, and safety-related aspects. The focus is on practical explanations and realistic examples from the workshop. Numerous tips help you avoid typical mistakes, build circuits, and understand tube devices and their construction. Basic knowledge of electronics is assumed.
Vacuum Tubes: A Practical Guide to Tube Electronics offers an accessible and thorough introduction to tube technology – factual, comprehensible, and with a clear focus on practical applications.