Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Arduino Portenta Machine Control and Arduino Portenta H7A CAN-to-MQTT Gateway Demo Project
Unboxing the Elektor LCR Meter with David Cuartielles
MicroPython Enters the World of Arduino
Connected Projects, SimplifiedDive Into the Arduino Cloud
Introduction to TinyMLBig Is Not Always Better
Arduino K-Way
Writing Arduino Sketches Just Got Better
Get to Know Arduino
Getting Started with the Portenta X8Manage Software Securely with Containers
Build, Deploy, and Maintain Scalable, Secure ApplicationsWith Arduino Portenta X8 Featuring NXP’s i.MX 8M Mini Applications Processor and EdgeLock SE050 Secure Element
How I Automated My HomeArduino CEO Fabio Violante Shares Solutions
Altair 8800 SimulatorHardware Simulation of a Vintage Computer
MS-DOS on the Portenta H7Run Old-School Software on Contemporary Hardware
Grow It YourselfA Digitally Controlled, Single-Box Solution for Indoor Farming
Save the Planet With Home Automation?MQTT on the Arduino Nano RP2040 Connect
Go Professional with Arduino Pro
Smart Ovens Take a Leap Into the Future
Tagvance Builds Safer Construction Sites with Arduino
Santagostino Breathes Easywith Remote Monitoring that Leverages AI for Predictive Maintenance
Security Flies High with RIoT Secure’s MKR-Based Solution
Open-Source Brings a New Generation of Water Management to the World
SensoDetect Deforestation with Sound Analysis
The Mozzi Arduino Library for Sound SynthesisInsights from Tim Barrass
The New Portenta X8 (with Linux!) and Max Carrier Redefine What’s Possible
How Using Arduino Helps Students Build Future Skills
Must-Haves for Your Electronics Workspace
The Importance of Robotics in Education
Dependable IoT Based Upon LoRa
Unboxing the Portenta Machine Control
8-Bit Gaming with Arduboy
Reducing Water Usage at Horseback Riding TracksAn IoT to Constantly Monitor Soil Humidity and Temperature Levels
The Panettone ProjectA sourdough starter management and maintenance system
Supporting Arduino Resellers
Space Invaders with Arduino
Art with ArduinoInspiring Insights from Artists and Designers
Arduino Product Catalogue
The Future of Arduino
Although the Arduino isn’t a novelty any longer, there are still many beginners who want to try programming and development with a microcontroller, and to them, it is all new. All beginnings can be difficult, though they should be light and enjoyable.
You do not need much or expensive equipment for the examples. The circuits are built on a small breadboard, and, if necessary, connected to an Arduino Uno, which you can program on a Windows PC. You will find clear examples of how to build all circuits, ensuring easy and error-free reproduction.
Projects Discussed
Current & Voltage – How it all began
Arduino Hardware
Arduino Programming
The Electrical Circuit
Measuring with the Multimeter
Circuit Diagrams and Breadboards
Creating Circuit Diagrams
Breadboard Views with Fritzing
Online Circuit Simulation
Indispensable: Resistors (Part 1)
Hands-on with Resistors (Part 2)
Variable Resistors
Diodes: One-way Street for Current
The Transistor Switch
Electromagnetism
Relays and Motors
op-amps: Operational Amplifiers
Capacitors
The NE555 Timer
PWM and Analogue Values with Arduino
7-Segment Temperature Display
Introduction to Soldering and LCDs
Make your project dreams come true: an odometer for the hamster wheel, a fully automatic control of your ant farm with web interface, or the Sandwich-O-Mat – a machine that toasts and grills sandwiches of your choice.
With the Arduino and the DIY or Maker movement, not only did entry into microcontroller programming become child's play, but a second development also took place: Resourceful developers brought small boards – so-called shields or modules – to the market, which greatly simplified the use of additional hardware. The small modules contain all the important electronic parts to be connected to the microcontroller with a few plug-in cables, eliminating the need for a fiddly and time-consuming assembly on the plug-in board. In addition, it is also possible to handle tiny components that do not have any connecting legs (so-called SMDs).
Projects Discussed
Arduino seeks connection
BMP and introduction to libraries, I²C
Learn I/O basics with the multi-purpose shield
I²C LCD adapter and DOT matrix displays
LCD keypad shield
Level converter
W5100: Internet connection
I/O expansion shield
Relays and solid-state relays
The multi-function shield: A universal control unit
Connecting an SD card reader via SPI
Keys and 7-segment displays
16-bit ADC
MCP4725 DAC
16-way PWM servo driver
MP3 player
GPS data logger using an SD card
Touch sensor
Joystick
SHT31: Temperature and humidity
VEML6070 UV-A sensor
VL53L0X time-of-flight
Ultrasonic distance meter
MAX7219-based LED DOT matrix display
DS3231 RTC
Port expander MCP23017
433 MHz radio
MPU-650 gyroscope
ADXL345 accelerometer
WS2812 RGB LEDs
Power supply
MQ-xx gas sensors
CO2 gas sensor
ACS712 current sensor
INA219 current sensor
L298 motor driver
MFRC522 RFID
28BYJ-48 stepper motor
TMC2209 silent step stick
X9C10x digital potentiometer
ST7735 in a color TFT display
e-Paper display
Bluetooth
Geiger counter
SIM800L GSM module
I²C multiplexer
Controller Area Network
The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.x). It has more or less the same functionality of the Arduino Duemilanove but in a different package. It lacks only a DC power jack and works with a Mini-B USB cable instead of a standard one.
Specifications
Microcontroller
ATmega328
Operating Voltage (logic level)
5 V
Input Voltage (recommended)
7-12 V
Input Voltage (limits)
6-20 V
Digital I/O Pins
14 (of which 6 provide PWM output)
Analog Input Pins
8
DC Current per I/O Pin
40 mA
Flash Memory
16 KB (ATmega168) or 32 KB (ATmega328) of which 2 KB used by bootloader
SRAM
1 KB (ATmega168) or 2 KB (ATmega328)
EEPROM
512 bytes (ATmega168) or 1 KB (ATmega328)
Clock Speed
16 MHz
Dimensions
0.73 x 1.70' (18 x 45 mm)
Power
The Arduino Nano can be powered via the Mini-B USB connection, 6-20 V unregulated external power supply (pin 30), or 5 V regulated external power supply (pin 27). The power source is automatically selected to the highest voltage source.
Memory
The ATmega168 has 16 KB of flash memory for storing code (of which 2 KB is used for the bootloader), 1 KB of SRAM and 512 bytes of EEPROM
The ATmega328 has 32 KB of flash memory for storing code, (also with 2 KB used for the bootloader), 2 KB of SRAM and 1 KB of EEPROM.
Input and Output
Each of the 14 digital pins on the Nano can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5 V.
Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms.
Communication
The Arduino Nano has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers.
The ATmega168 and ATmega328 provide UART TTL (5V) serial communication, which is available on digital pins 0 (RX) and 1 (TX). An FTDI FT232RL on the board channels this serial communication over USB and the FTDI drivers (included with the Arduino software) provide a virtual com port to software on the computer.
The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the FTDI chip and USB connection to the computer (but not for serial communication on pins 0 and 1).
A SoftwareSerial library allows for serial communication on any of the Nano's digital pins.
Programming
The Arduino Nano can be programmed with the Arduino software (download).
The ATmega168 or ATmega328 on the Arduino Nano comes with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).
You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar; see these instructions for details.
Automatic (Software) Reset
Rather than requiring a physical press of the reset button before an upload, the Arduino Nano is designed in a way that allows it to be reset by software running on a connected computer.
One of the hardware flow control lines (DTR) of theFT232RL is connected to the reset line of the ATmega168 or ATmega328 via a 100 nF capacitor. When this line is asserted (taken low), the reset line drops long enough to reset the chip.
The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. This means that the bootloader can have a shorter timeout, as the lowering of DTR can be well-coordinated with the start of the upload.
The Elektor MultiCalculator Kit is an Arduino-based multifunction calculator that goes beyond basic calculations. It offers 22 functions including light and temperature measurement, differential temperature analysis, and NEC IR remote control decoding. The Elektor MultiCalculator is a handy tool for use in your projects or for educational purposes.
The kit features a Pro Mini module as the computing unit. The PCB is easy to assemble using through-hole components. The enclosure consists of 11 acrylic panels and mounting materials for easy assembly. Additionally, the device is equipped with a 16x2 alphanumeric LCD, 20 buttons, and temperature sensors.
The Elektor MultiCalculator is programmable with the Arduino IDE through a 6-way PCB header. The available software is bilingual (English and Dutch). The calculator can be programmed with a programming adapter, and it is powered through USB-C.
Modes of Operation
Calculator
4-Ring Resistor Code
5-Ring Resistor Code
Decimal to Hexadecimal and Character (ASCII) conversion
Hexadecimal to Decimal and Character (ASCII) conversion
Decimal to Binary and Character (ASCII) conversion
Binary to Decimal and Hexadecimal conversion
Hz, nF, capacitive reactance (XC) calculation
Hz, µH, inductive reactance (XL) calculation
Resistance calculation of two resistors connected in parallel
Resistance calculation of two resistors connected in series
Calculation of unknown parallel resistor
Temperature measurement
Differential temperature measurement T1&T2 and Delta (δ)
Light measurement
Stopwatch with lap time function
Item counter
NEC IR remote control decoding
AWG conversion (American Wire Gauge)
Rolling Dice
Personalize startup message
Temperature calibration
Specifications
Menu languages: English, Dutch
Dimensions: 92 x 138 x 40 mm
Build time: approx. 5 hours
Included
PCB and though-hole components
Precut acrylic sheets with all mechanical parts
Pro Mini microcontroller module (ATmega328/5 V/16 MHz)
Programming adapter
Waterproof temperature sensors
USB-C cable
Downloads
Software
This programmer is specifically designed for burning bootloaders (without a computer) on Arduino-compatible ATmega328P/ATmega328PB development boards.
Simply plug the programmer into the ICSP interface to re-burn the bootloader. It’s also compatible with new chips, provided the IC is functional.
Note: Burning a bootloader erases all previous chip data.
Features
Working voltage: 3.1-5.3 V
Working current: 10 mA
Compatible with Arduino Uno R3 based boards (ATmega328P or ATmega328PB)
Dimensions: 39.6 x 15.5 x 7.8 mm
This programmer is specifically designed for burning bootloaders (without a computer) on Arduino-compatible ATmega328 development boards.
Simply plug the programmer into the ICSP interface to re-burn the bootloader. It’s also compatible with new chips, provided the IC is functional.
Note: Burning a bootloader erases all previous chip data.
Features
Working voltage: 3.1-5.3 V
Working current: 10 mA
Compatible with Arduino Nano based boards (ATmega328)
Dimensions: 39.6 x 15.5 x 7.8 mm
This USB Stick contains more than 300 Arduino-related articles published in Elektor Magazine. The content includes both background articles and projects on the following topics:
Software & hardware development: Tutorials on Arduino software development using Arduino IDE, Atmel Studio, Shields, and essential programming concepts.
Learning: The Microcontroller Bootcamp offers a structured approach to programming embedded systems.
Data acquisition & measurement: Projects such as a 16-bit data logger, lathe tachometer, and an AC grid analyzer for capturing and analyzing real-time signals.
Wireless communication: Learn how to implement wireless networks, create an Android interface, and communicate effectively with microcontrollers.
Robotics and automation: This covers the Arduino Nano Robot Controller, supporting boards for automation, and explores various Arduino shields to enhance functionality.
Self-build projects: Unique projects such as laser projection, Numitron clock and thermometer, ELF receiver, Theremino, and touch LED interfaces highlight creative applications.
Whether you're a beginner or an experienced maker, this collection is a valuable resource for learning, experimenting, and pushing the boundaries of Arduino technology.
Designed with cutting-edge technology, this shield brings the power of Ultra High Frequency (UHF) RFID to your fingertips.
With the Ardi UHF Shield, you can effortlessly read up to an impressive 50 tags per second, allowing for fast and efficient data collection. The shield features an onboard UHF antenna, ensuring reliable and accurate tag detection even in challenging environments.
Equipped with a high-performance 0.91" OLED display, the Ardi UHF Shield provides clear and concise visual feedback, making it easy to monitor and interact with the RFID readings. Whether you're tracking inventory, managing access control, or implementing a smart attendance system, this shield has you covered.
With a remarkable 1-meter reading distance, the Ardi UHF Shield offers an extended range for capturing RFID data. Say goodbye to the limitations of proximity-based RFID systems and embrace the flexibility and convenience of a wider reading range.
The shield provides read-write capabilities, allowing you to not only retrieve information from RFID tags but also update or modify data as needed. This versatility opens up a world of possibilities for advanced applications and custom solutions.
Features
Onboard High-performance UHF RFID reader module
24 hours x 365 days’ work normally
0.91” OLED display for visual interaction with shield
Multi-tone Buzzer onboard for Audio alerts
Shield compatible with both 3.3 V and 5 V MCU
Mounts directly onto ArdiPi, Ardi32 or other Arduino compatible boards
Specifications
OLED resolution 128x32 pixels
I²C Interface for OLED
UHF Frequency Range (EU/UK): 865.1-867.9 MHz
UHF Module Type: Read/Write
Protocols Supported: EPCglobal UHF Class 1 Gen 2 / ISO 18000-6C
Reading Distance: 1 meters
Can identify over 50 tags simultaneously
Communication interface: TTL UART Interface for UHF
Communication baud rate: 115200 bps (default and recommend) – 38400 bps
Operation current: 180 mA @ 3.5 V (26 dBm Output, 25°C), 110 mA @ 3.5 V (18 dBm Output, 25°C)
Working humidity <95% (+25°C)
Heat-dissipating method Air cooling(no need out install cooling fin)
Tags storage capacity: 200 pcs tags @ 96 bit EPC
Output power: 18-26 dBm
Output power accuracy: +/-1 dB
Tags RSSI support
The Portenta C33 is a powerful System-on-Module designed for low-cost Internet of Things (IoT) applications. Based on the R7FA6M5BH2CBG microcontroller from Renesas, this board shares the same form factor as the Portenta H7 and it is backward compatible with it, making it fully compatible with all Portenta family shields and carriers through its high-density connectors.
As a low-cost device, the Portenta C33 is an excellent choice for developers looking to create IoT devices and applications on a budget. Whether you're building a smart home device or a connected industrial sensor, the Portenta C33 provides the processing power and connectivity options you need to get the job done.
Quickly deploying AI-powered projects becomes quick and easy with Portenta C33, by leveraging a vast array of ready-to-use software libraries and Arduino sketches available, as well as widgets that display data in real time on Arduino IoT Cloud-based dashboards.
Features
Ideal for low-cost IoT applications with Wi-Fi/Bluetooth LE connectivity
Supports MicroPython and other high-level programming languages
Offers industrial-grade security at the hardware level and secure OTA firmware updates
Leverages ready-to-use software libraries and Arduino sketches
Perfect to monitor and display real-time data on Arduino IoT Cloud widget-based dashboards
Compatible with Arduino Portenta and MKR families
Features castellated pins for automatic assembly lines
Cost Effective Performance
Reliable, secure and with computational power worthy of its range, Portenta C33 was designed to provide big and small companies in every field with the opportunity to access IoT and benefit from higher efficiency levels and automation.
Applications
Portenta C33 brings more applications than ever within users’ reach, from enabling quick plug-and-play prototyping to providing a cost-effective solution for industrial-scale projects.
Industrial IoT gateway
Machine monitoring to track OEE/OPE
Inline quality control and assurance
Energy consumption monitoring
Appliances control system
Ready-to-use IoT prototyping solution
Specifications
Microcontroller
Renesas R7FA6M5BH2CBG ARM Cortex-M33:
ARM Cortex-M33 core up to 200 MHz
512 kB onboard SRAM
2 MB onboard Flash
Arm TrustZone
Secure Crypto Engine 9
External Memories
16 MB QSPI Flash
USB-C
USB-C High Speed
Connectivity
100 MB Ethernet interface (PHY)
Wi-Fi
Bluetooth Low Energy
Interfaces
CAN
SD Card
ADC
GPIO
SPI
I²S
I²C
JTAG/SWD
Security
NXP SE050C2 Secure Element
Operating Temperatures
-40 to +85°C (-40 to 185°F)
Dimensions
66,04 x 25,40 mm
Downloads
Datasheet
Schematics
An 8-in-1 test & measurement instrument for the electronics workbench
A well-equipped electronics lab is crammed with power supplies, measuring devices, test equipment and signal generators. Wouldn‘t it be better to have one compact device for almost all tasks? Based on the Arduino, a PC interface is to be developed that’s as versatile as possible for measurement and control. It simply hangs on a USB cable and – depending on the software – forms the measuring head of a digital voltmeter or PC oscilloscope, a signal generator, an adjustable voltage source, a frequency counter, an ohmmeter, a capacitance meter, a characteristic curve recorder, and much more.
The circuits and methods collected here are not only relevant for exactly these tasks in the "MSR" electronics lab, but many details can also be used within completely different contexts.
Errata/Updates
In the programs printed, all instances of “be()” should read: sei().