Component guide · Advanced · 3 min read
Arduino Opta Lite and Opta RS485 Micro PLC

and Arduino Nicla Vision Edge AI Camera Board
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Arduino Opta and Nicla Vision both use the dual-core STM32H747. Opta is a DIN-rail micro PLC with 12 to 24V inputs, four relay outputs and Ethernet; the RS485 version adds Modbus RTU and Wi-Fi. Program it in the Arduino IDE or with IEC 61131-3 languages in the Arduino PLC IDE. Nicla Vision is a 23 mm camera board with Wi-Fi, BLE, an IMU and a microphone.
Key specs at a glance
- Chip
- STM32H747 dual core: Cortex-M7 at 480 MHz and Cortex-M4 at 240 MHz
- Opta inputs
- 8 inputs, 0 to 10V analog or 24V digital
- Opta outputs
- 4 relays, 10A at 250V AC
- Opta network
- Ethernet; RS485 on Opta RS485, Wi-Fi and BLE on Opta Wi-Fi
- Nicla Vision
- 2 MP camera, Wi-Fi, BLE, 6-axis IMU, microphone, ToF sensor
- Software
- Arduino IDE, Arduino PLC IDE, OpenMV, Edge Impulse
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Arduino Opta Lite AFX00003₹16,983
Option 2Arduino Opta RS485 Industrial PLC – AFX00001₹18,519
Option 3Arduino Nicla Vision ABX00051 Edge AI Board₹8,629
What the Arduino Opta PLC and Nicla Vision is
Arduino Opta is a DIN-rail micro PLC for machines and panels, and Nicla Vision is a tiny camera board for edge AI; both use the dual-core STM32H747.
Use Opta for small automation jobs: pumps, lights, machine interlocks or reading Modbus meters. Mains wiring to the relay outputs must be done by a qualified electrician inside a proper enclosure.
Nicla Vision is for small vision projects: OpenMV MicroPython scripts for colour or AprilTag tracking, or Edge Impulse models for simple image classification on the device.
Arduino Opta PLC and Nicla Vision pinout
The pins on the Arduino Opta PLC and Nicla Vision and what each one does.
| Pin | Function |
|---|---|
| Opta power | 12 to 24V DC terminals |
| Opta I1-I8 | Analog or digital inputs |
| Opta relays | 4 NO relay outputs |
| Opta RS485 | A, B, GND terminals on the RS485 model |
| Nicla USB | Power, flashing, serial |
- Opta power
- 12 to 24V DC terminals
- Opta I1-I8
- Analog or digital inputs
- Opta relays
- 4 NO relay outputs
- Opta RS485
- A, B, GND terminals on the RS485 model
- Nicla USB
- Power, flashing, serial
Wiring the Arduino Opta PLC and Nicla Vision
Fit a fuse on each relay circuit. Never use the USB port to power field devices.
| Arduino Opta PLC and Nicla Vision pin | Connection | Note |
|---|---|---|
| Opta supply | 24V DIN-rail PSU | Check polarity |
| Inputs | Sensors or switches to I1-I8 | Max 24V |
| Relays | Load through the relay contacts | Mains only by a qualified person |
- Opta supply
- Connection:
- 24V DIN-rail PSU
- Note:
- Check polarity
- Inputs
- Connection:
- Sensors or switches to I1-I8
- Note:
- Max 24V
- Relays
- Connection:
- Load through the relay contacts
- Note:
- Mains only by a qualified person
Example code
Input scaling depends on the analog resolution set with analogReadResolution(). See Arduino's Opta documentation for the pin map.
// Board: Arduino Opta (Arduino Mbed OS Opta Boards)
void setup() {
pinMode(A0, INPUT); // I1
pinMode(D0, OUTPUT); // relay 1
pinMode(LED_D0, OUTPUT); // relay 1 status LED
}
void loop() {
bool on = analogRead(A0) > 512; // above about half scale
digitalWrite(D0, on);
digitalWrite(LED_D0, on);
delay(50);
}Setup and tuning
power Opta from a 12 to 24 V DC panel supply, the same rail as its input sensors.
keep each relay within 10 A at 250 V AC, and fuse mains loads. Mains wiring must be done with power off by a qualified person.
use the Arduino IDE for sketches, or the Arduino PLC IDE for ladder and other IEC 61131-3 languages.
start with OpenMV IDE or Edge Impulse examples, and power it from USB or a single-cell LiPo.
give Opta a fixed IP on the plant network, and use Modbus TCP or RTU to talk to other devices.
What you need
Shop this list5 of 5 found in our store · ₹44,336
Arduino Opta Lite AFX00003: the part this guide coversArduino Opta Lite AFX00003₹16,983
Arduino Opta RS485 Industrial PLC – AFX00001: another version this guide coversArduino Opta RS485 Industrial PLC – AFX00001₹18,519
Arduino Nicla Vision ABX00051 Edge AI Board: another version this guide coversArduino Nicla Vision ABX00051 Edge AI Board₹8,629
USB cable: for power, flashing and the virtual COM portUSB Cable₹28
Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
Alternatives and when to choose them
- Modbus RTU with Arduino and ESP32: Modbus basics.
- Pi industrial I/O HATs: Pi-based automation.
- TinyML vision kits: other vision boards.
Common mistakes to avoid
- Exceeding the relay current rating with motor or heater loads.
- Wiring mains with power on or outside an enclosure.
- Feeding 24 V into Nicla Vision's 3.3 V pins.
- Leaving Opta on DHCP in a plant that needs fixed addresses.
Frequently asked questions
Can I program Opta like a normal Arduino?
Yes. Opta works in the Arduino IDE, and also in the PLC IDE for ladder logic and structured text.
What can the Opta inputs read?
Its 8 inputs read 24 V digital signals or 0 to 10 V analog signals, set in software.
Can Opta switch mains loads?
Its relays are rated 10 A at 250 V AC, but mains wiring must be enclosed, fused and installed safely.
What is Nicla Vision used for?
It runs small vision models, for example detecting objects or counting people, on the board itself.
Which Opta model has Modbus RTU?
The Opta RS485 has an RS485 port for Modbus RTU; Opta Wi-Fi adds wireless as well.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

