# ENP-RS232


# RS-232 Module

The RS-232 Module is used to read data from devices such as inverters, ventilation systems, valves, irradiance sensors, power meters and others. The RS-232 Module sends the collected data to the Enapter Gateway and Cloud via secure wireless connection.

# Technical Data

Parameter Value
Voltage 9…60 V DC
Wireless Communication Wi-Fi 2.4 GHz
Bluetooth 4.0 LE
Integrated connection type RJ-10/4P4C
Antenna connection type SMA-F (module) – SMA-M (antenna)
Local signaling 1 LED (green): steady – correct operation, blinking – establishing connection with server
1 LED (red): module error
Current consumption 50 mA 12 V DC, max. 300 mA
Mounting 35 mm Din rail acc. to IEC 60715
Height 90.2 mm (3.55 inch)
Depth 57.5 mm (2.26 inch)
Width 18.1 mm (0.71 inch)
Net weight 0.050 kg

# Environmental Conditions

Parameter Value
Ambient air temperature for operation -40…+60 ℃
Ambient air temperature for storage -40…+60 ℃
Relative humidity for operation 20…90 %, without condensation
Relative humidity for storage 20…90 %, without condensation
Operating altitude 0…2000 m
Storage altitude 0…3500 m
Pollution degree 2
IP degree of protection IP20

# Connected device

Parameter Value
Type Inverter
Ventilation system
Irradiance sensor
Power meter
and others
Voltage supply 9…60 V DC when module and device
powered from shared power supply
Connection RJ-10/4P4C

# Pinouts

ENP-RS232 Pin Number ENP-RS232 Signal Type Connected Device
Signal Type
Pin 1 Rx Tx
Pin 2 Tx Rx

# Dimensions

The dimensions are in mm and in brackets in inch.


# Mounting

The ENP-RS232 Module must be horizontally mounted on 35 mm DIN rail according to IEC 60715.


# Connection Examples



1 Amp Circuit Breaker recommended to use on power line for the ENP-RS232 Module.

# Standards

Wi-Fi protocols – 802.11 b/g/n/e/i (802.11n up to 150 Mbit/s).

Bluetooth protocols – Bluetooth v4.2 BR/EDR and BLE specification.

# Warnings


  • Alternating current voltage of 110 - 220 V is potentially lethal!

  • All works on assembly and installation should be performed only with a disconnected power supply!

  • The installation and assembly of electrical equipment must be carried out by electrically qualified persons.

The appearance of the product may differ from the images presented on the website or in this manual. The discrepancy between the appearance and packaging of the goods with a picture and description on the website or this manual is not an indication of poor quality goods. The manufacturer reserves the right to make changes to the design and packaging of the product without prior notice.

# Lua API

Lua API allow to build custom operation logic of ENP-AI4 UCM. It includes functions which implement various kinds of interaction with analog input, local variables storage, scheduler and Enapter Cloud.

Basic Lua functions documentation can be found on official Lua Reference Manual.

# ENP-RS232 Functions

# serial.new(baud_rate, data_bits, parity, stop_bits, max_response_len)

Used to get create new object to work with serial hardware. Returns SerialObject.

baud_rate is rate at which information is transferred data_bits is number in range 5 - 8 parity is string one symbol could be 'O' - for odd 'E' - for even and 'N' - for disabled stop_bits is number values 1 or 2 and any other for 1.5 max_response_len is size of buffer for data receiving. Optional parameter for buffer allocation. Limit is 2048 bytes.

ser = serial.new(9600, 8, 'N', 1)

# SerialObject:send(data, timeout)

Used to to executes write and read operation in following sequence:

  • first send data to UART
  • then waits data from UART
  • returns if either data received or if timeout reached

First returned value is status - 0 if Successful Request, anything else - Failed Request Second returned value is string as byte array with returned data

data is string as byte array timeout in ms

ser = serial.new(9600, 8, 'N', 1)
result, response = ser:send("AT", 2000)  

# Resources

ENP-RS232 Module Datasheet (EN)

ENP-RS232 Module Quick Start Guide (EN)

ENP-RS232 Module CAD Drawings (2D)

ENP-RS232 Module CAD Drawings (3D DWG)

ENP-RS232 Module CAD Drawings (3D STP)