RAK7391 WisGate Connect Connecting to WisBlock
Connectors Position
There are two WisBlock slots on the RAK7391 board, right next to the USB 2.0 and USB 3.0 ports. The WisBlock slots support various industrial protocols via WisBlock modules: IO, Analog, 0-5 V, 4-20 mA, ModBUS, and LinBUS.
Pin Definition
Both of the WisBlock slots connectors are with 40-pin high-density headers. Each of them is connected to a GPIO expander TPT29555-TS5R. The I2C addresses of these two GPIO expander chips are 0x26 and 0x27.
Supported Modules
The WisBlock slots support various industrial protocols via WisBlock modules: IO, Analog, 0-5 V, 4-20 mA, ModBUS, and LinBUS.
Onboard
- TPT29555 GPIO Expander
Interface
- RAK5801 4-20mA Interface Module
- RAK5802 RS485 ModBUS Module
- RAK5811 0-5V Interface Module
- RAK13001 Relay IO Module
- RAK13004 PWM Expander Module
- RAK13005 LIN Module
- RAK13007 Relay Module
- RAK16001 ADC Module
- RAK17000 Motor Control Module
Sensors
- RAK12004 MQ2 Gas Sensor Module
- RAK12006 PIR Sensor Module
- RAK12009 MQ3 Alcohol Gas Sensor Module
- RAK12015 Vibration Detection Sensor Module
- RAK13003 IO Expansion Module
- RAK16000 DC Current Module
Wireless
Example Code
For each module supported by RAK7391 WisBlock slot, there is a Python and Node-RED example script/flow prepared for you to get started with. You can download them from the links attached to each module below.
Onboard
- TPT29555 GPIO Expander (Python example)
Interface
- RAK5801 4-20mA Interface Module (Python example, Node-RED flow)
- RAK5802 RS485 ModBUS Module (Python example, Node-RED flow)
- RAK5811 0-5V Interface Module (Python example, Node-RED flow)
- RAK13001 Relay IO Module (Python example)
- RAK13004 PWM Expander Module (Python example, Node-RED flow)
- RAK13005 LIN Module (Python example, Node-RED flow)
- RAK13007 Relay Module (Python example)
- RAK16001 ADC Module (Python example, Node-RED flow)
- RAK17000 Motor Control Module (Python example)
Sensors
- RAK12004 MQ2 Gas Sensor Module (Python example, Node-RED flow)
- RAK12006 PIR Sensor Module (Python example)
- RAK12009 MQ3 Alcohol Gas Sensor Module (Python example, Node-RED flow)
- RAK12015 Vibration Detection Sensor Module (Python example, Node-RED flow)
- RAK13003 IO Expansion Module (Python example, Node-RED flow using the same chip)
- RAK16000 DC Current Sensor (Python example, Node-RED flow)
Wireless
- RAK13300 SX1262 LPWAN Module (Python example)
- RAK13600 NFC Reader Module (Python example, Node-RED flow)