*4.3.1.4 Hardware for petrol stations with a fire-protection system*

For the purpose of fire protection, a flame sensor was included in this system to sense fires and extinguish them automatically or manually. The water pump was connected to the sides of the main hardware box, which was connected to the flame sensor, which triggers an alarm sound when a flame is detected and sends its data to the microcontroller, which instructs the relay switch associated with the water pump to operate it. This pump can also be controlled manually via a push button and is done Turn on the pump. **Figure 48**, shows the water pump installed on the box and the flame sensor.

**Figure 48.** *Fire-protection system.*

#### *4.3.2 Petrol station monitor system*

The monitor system to share data, manage and control is expected to provide the fuel stations manager with information about a petrol station in real time remotely shown in **Figure 49**. The system will show sales and the volume of petrol bought on a specific date, and will provide manager with data as follow:


## *4.3.2.1 User interface for a petrol station monitoring system*

All of the customer's actions, such as filling the tank, paying the bill, total sales, the number of cars, debts, and so on, are sent to the server and monitored by the company that follows up on three fuel stations, where each station subscribes to the device's identity and the monitoring company's access token. **Figure 50**, shows the operations performed by the customers as they appear on the dashboard.
