Real-world implementation and project limitations
The project we have developed is a prototype that employs a Servo motor to simulate the function of a barrier gate. In actual operational scenarios, it’s important to note that the SG90 Servo motor used in this prototype is insufficient to serve as an effective barrier gate. In practical applications, a dedicated parking barrier system is required, which, depending on its configuration, can be integrated with the ESP32. An example of a more robust setup might involve using a relay board to control the barrier, as shown in Figure 7.15.
Figure 7.15 – A practical implementation of the project
Additionally, for real-world scenarios, access to a parking space should only be granted after a successful payment. In our prototyping, we used the PayPal IPN simulator to test payment functionality. To get notifications when someone pays you on PayPal, we will complete the following steps:
- Log...