PHPoC IoT Gateway
-  P5H-151    -  P5H-154
-  P5H-152    -  P5H-155
-  P5H-153    -  P5H-156
Custom Solution Services
PHPoC IoT Board
-  PHPoC Black
-  PHPoC Blue
-  Expansion Board
-  Smart Expansion Board
PHPoC IoT Module
-  P4M-400
PHPoC Shield for Arduino
-  PHPoC WiFi Shield 2
-  Smart Expansion Board
Retired Products
-  PBH-101-  PHPoC Shield
-  PBH-104-  PHPoC WiFi Shield
-  PBH-204-  PHPoC Shield 2

P5H-152


P5H-152

You have a serial device with an RS422/485 interface and you want a converter that can receive data from your device, modify/reformat the data, or add more information, and then send it to the Internet via HTTP(s), MQTT, TCP, Modbus/TCP, etc., and vice versa. Can't find a converter that suits your needs? The P5H-152 is a programmable serial-to-Ethernet converter that can fulfill your requirements. With both an RS422/485 and an Ethernet interface, you can program the device to process the data in any way you want, connecting your serial device to the Internet exactly as you need.
Worry about programming? We also provide customized service.




Application 1

RS422/485 to TCP/IP programmable converter, and vice versa



You want your serial device to exchange the data with TCP software on your PC or server, or even other device via TCP protocol. However, either:

  • Your serial device and existing software use different data formats, and need to convert the format.
  • Your serial device and your TCP device use different data formats, and need to convert the format.
  • You want to filter data and only what is necessary.
  • You want to add more data such as timestamps, device IDs, etc.

Take this programmable serial-to-Ethernert converter, and let it solve your issues.





Application 2

RS422/485 to HTTP/HTTPS programmable converter



You want to send data from your serial device to an API server via HTTP/HTTPS. However, you might have one of the following requirements:

  • You want to change the format of the serial data (e.g., JSON, XML, CSV) before making the API call.
  • You want to filter the data and only send what is necessary.
  • You want to add more data, such as timestamps, device IDs, etc.
  • You want to implement authentication/authorization for the API.

Grasp this programmable serial-to-Ethernet converter and program it to become a serial-to-HTTP converter that fulfills your needs.





Application 3

RS422/485 to MQTT programmable converter, and vice versa



You want your serial device to exchange the data (publish/subscribe) with an MQTT server, or even other devices via MQTT protocol. However, either:

  • You want to change the format of serial data (e.g. JSON, XML, CSV…) before sending it to the MQTT server.
  • You want to filter data and only send what is necessary.
  • You want to add more data such as timestamps, device IDs, etc.

No matter which MQTT broker you want to use (AWS IoT Core, Mosquitto, HiveMQ, etc.), grasp this programmable serial-to-Ethernert converter, and make it become a serial-to-MQTT converter that fulfills your needs.




  • PHPoC Interpreter
  • Serial device control & monitoring via web
  • Ethernet 10Base-T or 100Base-TX
  • Various networking protocols
  • 1 x RS422/RS485
  • User-customized webpage

Hardware P5H-152 Hardware

Serial Physical Interface
Serial Interface RS422/RS485
TX+, TX-, RX+, RX-, GND with embedded 3.9K biasing resistors and TVS
TRX+, TRX-, GND with embedded 3.9K biasing resistors and TVS
Connector 3.5mm Pitch Terminal Block

Serial Port Property
Baudrate 1,200 ~ 230,400bps
Data Bits 8 bits, 7 bits with Parity
Parity None, Even, Odd, Mark, Space
Stop Bit 1, 2

Network Physical Interface
Network Interface 10Base-T/100Base-TX Ethernet (RJ45)
Ethernet Speed Auto Sense
1:1 or Cross-over Cable Auto Sense

Software Functions
Protocols IPv4/IPv6 Dual Stack
TCP/UDP
ICMP, DHCP, HTTP, mDNS
SSL/TLS

Indicators
LED PWR, STS, L0, L1, L2, A0, A1, B

Management
PHPoC Debugger Configuration and Programming Tool
Security Password

Processor
Core Cortex-M4 480MHz
Flash System - 1M Bytes, User - 1M Bytes
SRAM 1M Bytes

RTC
Capacitor 100uF
Peripherals Realtime Clock, 4KB Backup SRAM

Dimension
Size 94mm X 57mm X 24mm
Weight about 66g

Operating Environment
Input Voltage DC5V±0.5V
Protection Reverse Voltage Protection / Surge Protection
Current Consumption typically 273mA
Operating Temperature -40℃ ~ +85℃
Storage Temperature -40℃ ~ +85℃

Certificate
KC Registration (KN 32, KN35)
CE EMC 2014/30/EU, RoHS 2011/65/EU
FCC FCC Part 15 Subpart B, Class A

Solution Tutorial
Part Number Description Note
P5H-152-BO P5H-152 Body

P5H-152 Body
Optional Accessories Description Note
UC USB cable
USB cable Datasheet