M5STACK StamPLC IoT Programmable Logic Controller

Specifications
| Specification | Parameter |
| Control Module | StampS3A contro1 module,based on ESP32-S3FN8,includes 8MB Flash,2.4GHz Wi-Fi,Bluetooth Low Energy (BLE) |
| FLASH | 8MB |
| Digital Inputs | 8 channels of opto-isolated digital inputs, input voltage range: DC 5~36V |
| Digital 0utputs | 4-channel relay outputs |
| Relays | AC 5A@250V,DC 5A@28V |
| DC Power Supply | supports DC 6~36V@1A wide voltage supply,DC power cornnector:DC5521 female,5.5x 2.1mm(center-positive)Expansion |
| n Interfaces | GPIO.EXT interface,2 Grove interfaces |
| Communication Interfaces | Onboard PWR-CAN and PWR-485 interfaces |
| PWR-CAN Interface | XT30(2+2)PW-M |
| PWR-485 Interface | HT3.96-4P |
| Display | 1.14-inch color display(135×240 resolution),driven by the ST7789v2 chip |
| Contro1 &Interaction | 1 RESET/B00T button,3 user buttons, buzzer |
| Data Storage | Built-in Micro SD card slot |
| Sensors | LM75 temperature sensor,INA226 voltage/current sensor,RTC(RX8130CE) |
| I/0 Port Load Capacity | 2×8 expansion interface:maximum 1oad capacity DC 4.76V @700mA,Grove port 1oad capacity:DC 4.81V e 700mA |
| Power Consumption | Standby current:(5V supp1y)DC 5V@21.60mA,(12V supply)DC 12Ve15.22mA;Operating current:(5V supply)DC 5Ve93.89mA, (12V supply)DC 12V@47.84mA |
| Installation Method | DIN rail mounting |
| Operating Temperature | -10~50°C |
| Product Dimensions | 72.0×80.0×31.7mm |
| Product Weight | 139.4g |
| Package Dimensions | 102.0x 94.0 x 37mm |
| Gross Weight | 163.7g |
| Manufacturer | M5Stack Technology Co., Ltd
Block A10, Expo Bay South Coast, Fuhai Street, Bao’an District, Shenzhen, China |
| Frequency Range for CE | 2.4G Wi-Fi: 2412-2472MHz/2422-2462MHz BLE: 2402-2480MHz |
| Maximum EIRP for CE | BLE: 6.84dBm
2.4G Wi-Fi: 17.90dBm |
Product Usage Instructions
Quick Start
To get started with your Stam PLC, follow these steps:
SCAN Wi-Fi
- Power on the Stam PLC using the provided DC power supply.
- Press the RESET/BOOT button to start the device.
- Access the Wi-Fi settings on your device and scan for available networks.
- Select the appropriate Wi-Fi network and enter the password if required.
- Once connected, you can start utilizing the wireless communication capabilities of the Stam PLC.
SCAN BLE
- Ensure the Stam PLC is powered on and operational.
- Activate the Bluetooth settings on your device.
- Scan for available Bluetooth devices in the vicinity.
- Select the Stam PLC from the list of discovered devices to establish a BLE connection.
- You can now leverage the BLE functionality for data transfer and control.
OUTLINE
Stam PLC is an IoT programmable logic controller designed for industrial automation and remote monitoring. The product is based on the StampS3A control module, which not only delivers powerful processing capabilities but also provides efficient wireless connectivity. In terms of control, Stam PLC offers 8 opto-isolated digital inputs and 4 relay outputs (supporting both AC and DC loads), along with a
GPIO.EXT port and 2 Grove interfaces, making the integration of various sensors and actuators both simple and reliable. Meanwhile, through the onboard PWR-CAN and PWR-485 interfaces, the device can be seamlessly integrated into industrial fieldbus networks, enabling remote data transmission and centralized control.
For human-machine interaction, the product features a 1.14-inch color display, a RESET/BOOT button, 3 user buttons, and a buzzer, which facilitate real-time parameter configuration and status monitoring, and can alert users in the event of anomalies. To withstand harsh industrial environments, Stam PLC supports a wide voltage input (DC 6–36V) and is designed for DIN rail mounting to ensure secure installation; the built-in Micro SD card slot further facilitates data storage and firmware updates.
Additionally, its environmental monitoring system integrates an LM75 temperature sensor and an INA226 voltage/current sensor for real-time feedback on device operation, while the RTC (RX8130CE) module ensures accurate time synchronization and log recording. The factory firmware automatically uploads data to M5’s EZDATA cloud platform, generating monitoring pages and offering users convenient remote cloud access and control. This product is suitable for industrial automation, remote monitoring, smart manufacturing, and other applications.
Stam PLC
Communication Capabilities
- Main Controller: ESP32-S3FN8 (StampS3A control module)
- Wireless Communication: Wi‑Fi (2.4 GHz) and Bluetooth Low Energy (BLE)
- CAN Bus: Onboard PWR‑CAN interface for reliable industrial data communication, RS-485:
- Onboard PWR‑485 interface supporting remote control via the Modbus RTU protocol
Processor and Performance
- Processor Model: Xtensa LX7 dual-core (ESP32-S3FN8)
- Storage Capacity: 8MB Flash
- Operating Frequency: Up to 240 MHz on a dual‑core 32-bit LX7 microprocessor
Display and Input
- Display: 1.14‑inch color TFT display for real‑time parameter monitoring
- Buttons: 1 RESET/BOOT button plus 3 user buttons for control and configuration. Buzzer:
- Built‑in buzzer for audio alerts and notifications
- RGB LED: Integrated RGB LED for dynamic visual feedback
GPIO Pins and Programmable Interfaces
- GPIO Pins: Provides multiple configurable GPIO pins (detailed mapping available in documentation)
- Expansion Interfaces:
- 2 Grove interfaces for easy sensor and actuator connection
- GPIO.EXT interface for additional connectivity
- Micro SD card slot for data storage and firmware updates
Others
- Onboard Interfaces: Type‑C connector for programming, power supply, and serial communication
- Physical Dimensions: 72.0 × 80.0 × 31.7 mm with DIN rail mount design, suitable for harsh industrial environments
- Power Input: Wide voltage input ranging from DC 6–36V
- Integrated Sensors: Includes LM75 temperature sensor, INA226 voltage/current sensor, and RTC (RX8130CE) for accurate time synchronization and log recording
- Relay Outputs: 4‑channel relay outputs supporting AC 5A @ 250V / DC 5A @ 28V Opto-Isolated Digital Inputs: 8 channels designed to support DC 5–36V inputs for safe signal acq
Module Size

QUICK START
Before you do this step, look at the text in the final appendix: Installing Arduino.
Print WiFi information
- Open Arduino IDE (Refer to https://docs.m5stack.com/en/arduino/arduino_ide for the installation guide for the development board and software)
- Select the ESP32S3 DEV Module board and the corresponding port, then upload the code.e
- Open the serial monitor to display the scanned WiFi and signal strength information.


QUICK START
Before you do this step, look at the text in the final appendix: Installing Arduin.
Print BLE information
- Open Arduino IDE (Refer to https://docs.m5stack.com/en/arduino/arduino_ide for the installation guide for the development board and software)
- Select the ESP32S3 DEV Module board and the corresponding port, then upload the code.
- Open the serial monitor to display the scanned BLE and signal strength information.


FCC Warning
FCC Caution:
Any Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment.
This device complies with part 15 of the FCC Rules.
Operation is subject to the following two conditions:
- This device may not cause harmful interference, and
- This device must accept any interference received, including interference that may cause undesired operation.
IMPORTANT NOTE:
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation.
If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
- Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
- Consult the dealer or an experienced radio/TV technician for help.
FCC Radiation Exposure Statement
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with a minimum distance of 20cm between the radiator& your body.
Arduino Install
Installing Arduino IDE(https://www.arduino.cc/en/Main/Software)
Click to visit the Arduino official website, and select the installation package for your operating system to download.
Installing Arduino Board Management
- The Board Manager URL is used to index the development board information for a specific platform. In the Arduino IDE menu, select File -> Preferences

- Copy the ESP board management URL below into the Additional Board Manager URLs field, and save. https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

- In the sidebar, select Board Manager, search for ESP, and click Install.

- In the sidebar, select Board Manager, search for M5Stack, and click Install.
Depending on the product used, select the corresponding development board under Tools -> Board -> M5Stack -> {ESP32S3 DEV Module board}.
- Connect the device to your computer with a data cable to upload the program.
Frequently Asked Questions
What is the recommended operating voltage for the Stam PLC?
How can I expand the functionality of the Stam PLC?
Documents / Resources
![]() | StamPLC IoT Programmable Logic Controller |
References
- m5-docsdocs.m5stack.com
- espressif.github.io/arduino-esp32/package_esp32_dev_index.jsonespressif.github.io
- arduino.cc/en/Main/Softwarewww.arduino.cc
- User Manualmanual.tools

