**Abstract**

The problem that still exists nowadays with the petrol station is the method of operation because the petrol station is currently operated manually. This chapter adopted an automatic fuel filling algorithm based on a Radio Frequency Identification (RFID) card that carries information about the user regarding the type of user, the available balance and the permitted amount of fuel. This data is sent via the Wi-Fi module (ESP-32S) to the IoT platform (the panel), where it is encrypted with the hashing function and the Advanced Encryption Standard (AES) algorithm before being displayed by authorized access to the platform dashboard, which is It is also encrypted with an ID and a secret number.

**Keywords:** Internet of Things (IoT), RFID, ESP32 microcontroller, sensors, ThingsBoard platform, petrol station
