Third, extended and revised edition with AVR Playground and Elektor Uno R4
Arduino boards have become hugely successful. They are simple to use and inexpensive. This book will not only familiarize you with the world of Arduino but it will also teach you how to program microcontrollers in general. In this book theory is put into practice on an Arduino board using the Arduino programming environment.
Some hardware is developed too: a multi-purpose shield to build some of the experiments from the first 10 chapters on; the AVR Playground, a real Arduino-based microcontroller development board for comfortable application development, and the Elektor Uno R4, an Arduino Uno R3 on steroids.
The author, an Elektor Expert, provides the reader with the basic theoretical knowledge necessary to program any microcontroller: inputs and outputs (analog and digital), interrupts, communication busses (RS-232, SPI, I²C, 1-wire, SMBus, etc.), timers, and much more. The programs and sketches presented in the book show how to use various common electronic components: matrix keyboards, displays (LED, alphanumeric and graphic color LCD), motors, sensors (temperature, pressure, humidity, sound, light, and infrared), rotary encoders, piezo buzzers, pushbuttons, relays, etc. This book will be your first book about microcontrollers with a happy ending!
This book is for you if you are a beginner in microcontrollers, an Arduino user (hobbyist, tinkerer, artist, etc.) wishing to deepen your knowledge,an Electronics Graduate under Undergraduate student or a teacher looking for ideas.
Thanks to Arduino the implementation of the presented concepts is simple and fun. Some of the proposed projects are very original:
Money Game
Misophone (a musical fork)
Car GPS Scrambler
Weather Station
DCF77 Decoder
Illegal Time Transmitter
Infrared Remote Manipulator
Annoying Sound Generator
Italian Horn Alarm
Overheating Detector
PID Controller
Data Logger
SVG File Oscilloscope
6-Channel Voltmeter
All projects and code examples in this book have been tried and tested on an Arduino Uno board. They should also work with the Arduino Mega and every other compatible board that exposes the Arduino shield extension connectors.
Please note
For this book, the author has designed a versatile printed circuit board that can be stacked on an Arduino board. The assembly can be used not only to try out many of the projects presented in this book but also allows for new exercises that in turn provide the opportunity to discover new techniques. Also available is a kit of parts including the PCB and all components. With this kit you can build most of the circuits described in the book and more.
Datasheets Active Components Used (.PDF file):
ATmega328 (Arduino Uno)
ATmega2560 (Arduino Mega 2560)
BC547 (bipolar transistor, chapters 7, 8, 9)
BD139 (bipolar power transistor, chapter 10)
BS170 (N-MOS transistor, chapter 8)
DCF77 (receiver module, chapter 9)
DS18B20 (temperature sensor, chapter 10)
DS18S20 (temperature sensor, chapter 10)
HP03S (pressure sensor, chapter 8)
IRF630 (N-MOS power transistor, chapter 7)
IRF9630 (P-MOS power transistor, chapter 7)
LMC6464 (quad op-amp, chapter 7)
MLX90614 (infrared sensor, chapter 10)
SHT11 (humidity sensor, chapter 8)
TS922 (dual op-amp, chapter 9)
TSOP34836 (infrared receiver, chapter 9)
TSOP1736 (infrared receiver, chapter 9)
MPX4115 (analogue pressure sensor, chapter 11)
MCCOG21605B6W-SPTLYI (I²C LCD, chapter 12)
SST25VF016B (SPI EEPROM, chapter 13)
About the author
Clemens Valens, born in the Netherlands, lives in France since 1997. Manager at Elektor Labs and Webmaster of ElektorLabs, in love with electronics, he develops microcontroller systems for fun, and sometimes for his employer too. Polyglot—he is fluent in C, C++, PASCAL, BASIC and several assembler dialects—Clemens spends most of his time on his computer while his wife, their two children and two cats try to attract his attention (only the cats succeed). Visit the author’s website: www.polyvalens.com.Authentic testimony of Hervé M., one of the first readers of the book:'I almost cried with joy when this book made me understand things in only three sentences that seemed previously completely impenetrable.'
Specifications Lens diameter: 90 mm / 3.54' Dioptre: lens Ø 90 mm: dioptre 3 – magnification: 1.75 Power supply: 3 x 1.5 V AAA battery Dimensions: 210 x 170 x 110 mm / 8.3 x 6.7 x 4.3' Weight: 615 g Material: Stand: stainless steel Lens: glass Connecting parts: copper
The Arduino Pro Portenta Cat. M1/NB IoT GNSS Shield allows you to enhance the connectivity features of your Portenta H7 applications. The shield leverages a Cinterion TX62 wireless module by Thales, designed for highly efficient, low-power IoT applications to deliver optimized bandwidth and performance.
The Portenta Cat. M1/NB IoT GNSS Shield combines with the strong edge computing power of the Portenta H7 to enable the development of asset tracking and remote monitoring applications in industrial settings, as well as in agriculture, public utilities and smart cities. The shield offers cellular connectivity to both Cat. M1 and NB-IoT networks with the option to use eSIM technology. Easily track your valuables – across the city or worldwide – with your choice of GPS, GLONASS, Galileo or BeiDou.
Features
Change connectivity capabilities without changing the board
Add NB-IoT, CAT. M1 and positioning to any Portenta product
Possibility to create a small multiprotocol router (WiFi - BT + NB-IoT/CAT. M1)
Greatly reduce communication bandwidth requirements in IoT applications
Low-power module
Compatible also with MKR boards
Remote Monitoring
Industrial and agricultural companies can leverage the Portenta Cat. M1/NB IoT GNSS Shield to remotely monitor gas detectors, optical sensors, machinery alarm systems, biological bug traps and more.
Technology providers providing smart city solutions can compound the power and reliability of the Portenta H7 with the Portenta Cat. M1/NB IoT GNSS Shield, to connect data and automate actions for a truly optimized use of resources and enhanced user experience.
Asset Monitoring
Add monitoring capabilities to any asset by combining the performance and edge computing features of the Portenta family boards. The Portenta Cat. M1/NB IoT GNSS Shield is ideal to monitor valuable goods and also for monitoring industrial machinery and equipment.
Specifications
Connectivity
Cinterion TX62 wireless module; NB-IoT - LTE CAT.M1; 3GPP Rel.14 Compliant Protocol LTE Cat. M1/NB1/NB2; UMTS BANDS: 1 / 2 / 3 / 4 / 5 / 8 / 12(17) / 13 / 18 / 19 / 20 / 25 / 26 / 27 / 28 / 66 / 71 / 85; LTE Cat.M1 DL: max. 300 kbps, UL: max. 1.1 Mbps; LTE Cat.NB1 DL: max. 27 kbps, UL: max. 63 kbps; LTE Cat.NB2 DL: max. 124 kbps, UL: max. 158 kbps
Short messaging service (SMS)
Point-to-point mobile terminated (MT) and mobile originated (MO) Text Mode; Protocol Data Unit (PDU) Mode
Localization support
GNSS capability (GPS/BeiDou/Galileo/GLONASS)
Other
Embedded IPv4 and IPv6 TCP/IP stack access; Internet Services: TCP server/client, UDP client, DNS, Ping, HTTP client, FTP client, MQTT client Secure Connection with TLS/DTLS Secure boot
Dimensions
66 x 25.4 mm
Operating temperature
-40° C to +85° C (-104° F to 185°F)
Downloads
Datasheet
Schematics
Example projects with Node-RED, MQTT, WinCC SCADA, Blynk, and ThingSpeak
This comprehensive guide unlocks the power of Modbus TCP/IP communication with Arduino. From the basics of the Modbus protocol right up to full implementation in Arduino projects, the book walks you through the complete process with lucid explanations and practical examples.
Learn how to set up Modbus TCP/IP communication with Arduino for seamless data exchange between devices over a network. Explore different Modbus functions and master reading and writing registers to control your devices remotely. Create Modbus client and server applications to integrate into your Arduino projects, boosting their connectivity and automation level.
With detailed code snippets and illustrations, this guide is perfect for beginners and experienced Arduino enthusiasts alike. Whether you‘re a hobbyist looking to expand your skills or a professional seeking to implement Modbus TCP/IP communication in your projects, this book provides all the knowledge you need to harness the full potential of Modbus with Arduino.
Projects covered in the book:
TCP/IP communication between two Arduino Uno boards
Modbus TCP/IP communication within the Node-RED environment
Combining Arduino, Node-RED, and Blynk IoT cloud
Interfacing Modbus TCP/IP with WinCC SCADA to control sensors
Using MQTT protocol with Ethernet/ESP8266
Connecting to ThingSpeak IoT cloud using Ethernet/ESP8266
Example projects with Node-RED, MQTT, WinCC SCADA, Blynk, and ThingSpeak
This comprehensive guide unlocks the power of Modbus TCP/IP communication with Arduino. From the basics of the Modbus protocol right up to full implementation in Arduino projects, the book walks you through the complete process with lucid explanations and practical examples.
Learn how to set up Modbus TCP/IP communication with Arduino for seamless data exchange between devices over a network. Explore different Modbus functions and master reading and writing registers to control your devices remotely. Create Modbus client and server applications to integrate into your Arduino projects, boosting their connectivity and automation level.
With detailed code snippets and illustrations, this guide is perfect for beginners and experienced Arduino enthusiasts alike. Whether you‘re a hobbyist looking to expand your skills or a professional seeking to implement Modbus TCP/IP communication in your projects, this book provides all the knowledge you need to harness the full potential of Modbus with Arduino.
Projects covered in the book:
TCP/IP communication between two Arduino Uno boards
Modbus TCP/IP communication within the Node-RED environment
Combining Arduino, Node-RED, and Blynk IoT cloud
Interfacing Modbus TCP/IP with WinCC SCADA to control sensors
Using MQTT protocol with Ethernet/ESP8266
Connecting to ThingSpeak IoT cloud using Ethernet/ESP8266
Developing CoAP applications for Thread networks with Zephyr
This book will guide you through the operation of Thread, the setup of a Thread network, and the creation of your own Zephyr-based OpenThread applications to use it. You’ll acquire knowledge on:
The capture of network packets on Thread networks using Wireshark and the nRF Sniffer for 802.15.4.
Network simulation with the OpenThread Network Simulator.
Connecting a Thread network to a non-Thread network using a Thread Border Router.
The basics of Thread networking, including device roles and types, as well as the diverse types of unicast and multicast IPv6 addresses used in a Thread network.
The mechanisms behind network discovery, DNS queries, NAT64, and multicast addresses.
The process of joining a Thread network using network commissioning.
CoAP servers and clients and their OpenThread API.
Service registration and discovery.
Securing CoAP messages with DTLS, using a pre-shared key or X.509 certificates.
Investigating and optimizing a Thread device’s power consumption.
Once you‘ve set up a Thread network with some devices and tried connecting and disconnecting them, you’ll have gained a good insight into the functionality of a Thread network, including its self-healing capabilities. After you’ve experimented with all code examples in this book, you’ll also have gained useful programming experience using the OpenThread API and CoAP.
Developing CoAP applications for Thread networks with Zephyr
This book will guide you through the operation of Thread, the setup of a Thread network, and the creation of your own Zephyr-based OpenThread applications to use it. You’ll acquire knowledge on:
The capture of network packets on Thread networks using Wireshark and the nRF Sniffer for 802.15.4.
Network simulation with the OpenThread Network Simulator.
Connecting a Thread network to a non-Thread network using a Thread Border Router.
The basics of Thread networking, including device roles and types, as well as the diverse types of unicast and multicast IPv6 addresses used in a Thread network.
The mechanisms behind network discovery, DNS queries, NAT64, and multicast addresses.
The process of joining a Thread network using network commissioning.
CoAP servers and clients and their OpenThread API.
Service registration and discovery.
Securing CoAP messages with DTLS, using a pre-shared key or X.509 certificates.
Investigating and optimizing a Thread device’s power consumption.
Once you‘ve set up a Thread network with some devices and tried connecting and disconnecting them, you’ll have gained a good insight into the functionality of a Thread network, including its self-healing capabilities. After you’ve experimented with all code examples in this book, you’ll also have gained useful programming experience using the OpenThread API and CoAP.
An Illustrated Handbook of Vintage ‘Scopes Repair and Preservation
Tektronix oscilloscopes are true masterpieces of electronics and have helped mankind advance in every field of science, wherever a physical phenomenon needed to be observed and studied. They helped man reach the moon, find the cause of plane crashes, and paved the way for thousands of other discoveries.
Restoring and collecting these oscilloscopes is an exciting activity; it is really worthwhile to save them from the effects of time and restore them to their original condition. Many parts are quite easy to find, and there are many Internet sites, groups, and videos that can help you. Much of the original documentation is still available, but it is not always sufficient. This book contains a lot of information, descriptions, suggestions, technical notes, photos and schematics that can be of great help to those who want to restore or simply repair these wonderful witnesses of one of the most beautiful eras in the history of technology.
Component layouts included!
This book includes a nearly complete component layout plan of the original 545 oscilloscope, with relative reference designators. Not found in the original Tektronix manuals, this layout should prove invaluable to the repair technician.
ArdiPi is the ultimate Arduino Uno alternative packed with powerful specs and exciting features in the Arduino Uno form factor. You can enjoy a low-cost solution with access to the largest support communities for Raspberry Pi.
ArdiPi variant is powered by Raspberry Pi Pico W. The built-in Wi-Fi and Bluetooth connectivity makes the board ideal for IoT projects or projects requiring wireless communication.
Features
Arduino Uno form factor, so you can connect 3.3 V compatible Arduino shields
SD card slot for storage and data transfer
Drag-and-drop programming using mass storage over USB
Multifunction GPIO breakout supporting general I/O, UART, I²C, SPI, ADC & PWM functions.
Multi-tune Buzzer to add audio alert into the project
SWD pins breakout for serial debugging
Multi-platform support like Arduino IDE, MicroPython, and CircuitPython.
Comes with HID support, so the device can simulate a mouse or keyboard
Specifications
Powered by RP2040 microcontroller which is a dual-core Arm Cortex-M0+ processor, 2 MB of onboard flash storage, 264 kB of RAM
On-board single-band 2.4 GHz wireless interfaces (802.11n) for WiFi and Bluetooth 5 (LE)
WPA3 & Soft access point supporting up to four clients
Operating voltage of pins 3.3 V and board supply 5 V
25 Multipurpose GPIOs breakout in Arduino style for easy peripheral interfacing
I²C, SPI, and UART communications protocol support
2 MB of onboard Flash memory
Cross-platform development and multiple programming language support
Order Payments Shipping Return & Warranty Questions? Order You have the possibility, as in an ordinary shop, to fill your shopping cart with the products of your choice. There is also the possibility to order multiples of a product or remove it from your cart altogether. You can place products...
Read more
,
by Beatriz Sousa
Enhanced Shopping Experience! Welcome to the new Elektor Store.
We are pleased to inform you that the new Elektor Store website is now live! The updates to our store are a direct result of...