Skip to main content

Hardware

ESP32 Open IoT and IIoT Gateways (P01 & P02)

Features

Features

5e0098af-74b7-4f6a-84e2-63efb7875497 (1).png

Open IoT gateway

ESD protection for the RS485 data line

Power supply: +12 to +30 VDC

Transmission speed up to 115200 bps

Tx, Rx and power LED indicators

RS485 embedded termination 120 ohm

Optional WiFi

Operating temperatures: -40°C to +75°C

DIN-rail mounting

Dimensions: 90x56.4x22.5 mm

3 years warranty

Customization of OEM is welcomed

Frame ground FG

Electronic circuits are constantly prone to electrostatic discharge ESD. Redisage Electronics modules feature a design for the frame ground terminal block FG. The frame ground provides a path for bypassing ESD, which provides enhanced static protection ESD abilities and ensures the module is more reliable. Connecting FG terminal block to the earth ground will bypass the ESD disturbances outside the device so will provide a better level of protection against ESD.

Frame Ground FG connection reference drawing is provided below.

If earth ground is not available FG can be left floating or it can be connected with the power supply GND.

Specifications‎‎‎

Redisage PN

P01

P02

Ports

RS232

-

-

RS485

-

-

RS232/RS485

2x

2x

Microcontroller

ESP32

WiFi

N/A

802.11 b/g/n 150 Mbps /

2.4 GHz

Bluetooth

N/A

v4.2 BR/EDR and BLE

SMA socket connector for WiFi/BT antenna

:x:

:white_check_mark:

Tactile switch

:white_check_mark:

:x:

Power

Voltage

12-30 VDC

Power

< 1 W

Frame ground protection

yes

Baud rate

up to 115200 bps

LED indicators

power, link activity, programmable RGB

RS485 termination

120 ohm manually enabled

Connector

RS232/RS485

8-pin terminal block max. 2.5 mm2 wire

Power

3-pin terminal block max. 2.5 mm2 wire

Ethernet

RJ45

Transmission
distance

RS485

max. 1,200 m at 9.6 kbps; max. 400 m at 115.2 kbps
(Belden 9841 2P twisted-pair cable, if different cables are used,
the transmission distance may change)

RS232

max. 15 m at 115.2 kbps

Mounting and enclosure

DIN rail, plastic PA - UL 94 V0, black/green

Temperatures

-40°C to +75°C operating and storage

Humidity

10 - 90% RH, non-condensing

ESD protection

±4 kV contact discharge / ±8 kV air discharge

Certification 

CE, RoHS

LED indicators

Gateway P01
Gateway P02
image.png image.png
LED indicator Color Function LED indicator Color Function
PW Blue Power PW Blue Power
ETH Green Network activity ETH Green Network activity
ST Red / Green / Blue Programmable LED ST Red / Green / Blue Programmable LED

Pin assignments

P01

P01 Name Plate Label v1 #1099.png

P02

P02 Name Plate Label v1 #1098.png

Board overview

1e6588f9-6051-4dc4-b380-0d4c5910c79c (1).png

The complete Open IoT and IIoT Gateway kit consists of:

  • developer module
  • RJ45 network adapter
  • hardware programmer

image-4.webp

Power input pinout

image.png

  • VCC - power supply input 9-30 VDC
  • GND - power supply ground
  • DI - digital input (used while there is no button mounted and it can be shorten only to GND)
  • FG - frame ground

Test connectors

Provided test connectors can be used for board debugging.

  • GPIO_38 - ESP32 general purpose input
  • 3V3 - 3.3 VDC
  • I2C_SCL, I2C_SDA - I2C connectors
  • GND - ground
  • NC - not connected
  • FGC - frame ground connector
  • BUT_EXT - button test line (default: high state)
  • Q2 - Q2 output of parallel register (74HC595BQ)
  • STCP - clock input of serial register (74HC595BQ)
  • SHCP - clock input of buffer register (74HC595BQ)
  • Q7S - output of serial register (74HC595BQ)
  • CHIP_PU - chip power up line ('1' - powers chip up)

Button / antenna

The antenna connector can be replaced with a button which can be used for, for example, restoring device to the default configuration, saved in EEPROM.

image-30.webp

In order to use the button instead of the antenna, the R52 resistor (near the microUSB connector, on the bottom side) has to be soldered to the board.

RS232 ports

The device has 2 independent RS485 ports.

image.png

RS485 ports

The device is equipped with two MAX481 transceivers that enable communication in the RS485 standard on two channels independently.

image.png

As the RS485_1 / RS232_1 and RS485_2 / RS232_2 standards use common microcontroller serial ports, it is possible to use only 1 interface from the pair at a time.

ETHERNET

In order to support the Ethernet network interface communication, the network adapter available in the kit must be installed on the module (pay attention to its correct installation). This interface is supported by the external IP101G physical layer which communicates with the ESP32 microcontroller.

image-33.webp

Programming

The device can be programmed only with the external hardware programmer connected via Tag-Connect connector.

image-6.webp