https://www.andishehnegar.ir/weblog/traffic-control-automation/how-the-patrol-device-works