ESP32 Open IoT and IIoT Gateways
P01 & P02 Open IoT and IIoT Gateways documentation
Data Sheet
P01 P02 Features Open IoT gateway ESD protection for the RS485 data line Po...
User Manual
Introduction
If you want to get started, make sure you have complete set of: Tag-connect cable Tag-con...
Hardware
Features Features Open IoT gateway ESD protection for the RS485 da...
Programming
Install IDE Please, follow the instructions located here to install the ESP-IDF framework on y...
Other IDEs
The device can be programmed also in other development environments. Programming gateways is su...
Pin Map
CGE2 rev. 4.1 Element Connection LED Power LED7 (blue) +3V3 ETHERNE...
P03 Programmer
P01 and P02 can be programmed via P03 USB RS232 RS485 Converters. More info here.
Peripherals
Simplified Block Diagram
Optional elements are marked with the dashed lines.
RGB LED
RGB LED is controlled by SIPO shift register 74HC595BQ. SHCP - shift register clock input ...
Switch
The Open IoT Gateway P01 variant contains a tactile switch. The PCB has hardware pull-up desi...
RS232 and RS485
The gateway is equipped with 2 transceivers MAX481 that handle transmission in RS485 standard...
Ethernet PHY
The Ethernet interface is provided by the IP101G physical layer. There is also an external bo...
MicroUSB
MicroUSB ensures access straight to UART interface (UART0). The Open IoT Gateway does not hav...
I2C EEPROM
Antenna
The Open IoT and IIoT Gateway P02 variant contains SMA connector for a WiFi/Bluetooth antenna.
QSPI Flash
QSPI RAM
Expander
The female goldpin connector allows easy access to different signals. It might be useful duri...
I2C Sensors
LSM6DS33 - 3D accelerometer and 3D gyroscope LIS3DH - 3-axis "nano" accelerometer HTS221 ...
Examples
Link to GitHub repository
Hello World
Link to repositories: C MicroPython Description This example use UART0 in the MCU which...
RGB LED
Link to repositories: C MicroPython Description This example shows how to use the progr...
Switch
Link to repositories: C MicroPython Description This example shows how to use the but...
ADC
Link to repositories: C MicroPython Description This example shows how to use the ADC (...
RS232
Link to repositories: C MicroPython Connection Connect RS232_1 port to the RS232_2 po...
RS485
Link to repositories: C MicroPython Connection Connect RS485_1 port to the RS485_2 po...
I2C Scanner
Link to repositories: C MicroPython Description This example scans through the I2C adre...
Ethernet
Link to repositories: C MicroPython Connection ETHERNET adapter should be connected t...
WiFi
Link to repositories: C MicroPython Description This example shows how to create a W...
More Examples
More examples from Espressif can be found here. Also the ESP-IDF documentation can found here....
Contact Us
Common Resources
Source of common resources used across the Open IoT and IIoT Gateways documentation