Communication between Fuel Dispensers and POS Devices

Our Bluesky fuel dispensers have long supported the use of POS devices on fuel dispensers. Simply put, after the POS recognizes the card payment, it sends data to the backend, which then sends a startup command to the fuel dispenser. Once the fuel dispenser has completed startup, it responds to the backend. This model works well in most scenarios, but it requires the fuel dispenser to be directly connected to the backend. For fuel dispensers without a direct backend connection, this model requires further improvement. Therefore, we plan to develop a POS app to enable direct communication between the POS and the motherboard.

Fuel dispenser with POS machine

The POS device used in this development is the IM30

This model has two RS232 serial ports, which meet our communication needs with the motherboard. However, the RS232 interface on the POS device uses an RJ45 connector, which presented the first problem encountered during development:

How do I determine the correct wire sequence for this RJ45 connector?

As we all know, using an RS232 interface requires identifying its transmit data (TXD), receive data (RXD), and common ground (GND). If the manufacturer provided the corresponding interface wiring sequence, the problem would be easily solved. Unfortunately, perhaps for privacy reasons, vendors do not provide this wiring sequence.

How to find the interface wiring sequence?

We tried using a console cable, which has an RJ45 connector on one end and a DB9 connector on the other. To test, connect the other end of the RJ45 cable to an RS232-to-USB converter. Then connect this USB port to a computer and open the serial port on the computer. Let the POS machine communicate with the computer first to quickly test the correct wiring. If the computer sends data and the POS machine receives it, then the POS machine’s RS232 interface’s RXD pin has been found.

IM30 Wiring Port
IM30 Wiring Port

After determining the wiring sequence, it’s time to develop the program. This requires a program that runs on the IM30, and the motherboard also needs to have the communication protocol added. The app used on the POS terminal is also an Android program. We ultimately achieved serial communication by invoking the IM30’s RS232 interface.

IM30 Debug Page
IM30 Debug Page

This article shared a minor communication issue between the POS terminal and the fuel dispenser motherboard, along with a solution. Next time, we’ll discuss the functional design approach for developing an app on the POS terminal.

Gas station POS system: makes management easier and smarter

 

Update cookies preferences
WhatsApp

Get a Quick Quote!

x

    Get a Quick Quote!

    x