The following figure shows the cross roads between several s
Solution
A very great problem! The project is of great solution to the current metropolitans. However, I am sorry it lags certain information.
Anyhow, I will explain max to solve the problem.
First and foremost you need to decide if you are counting the to - vehicles or the fro vehicles. If you are counting them together using real time analysis then one sensor per road will do. In detail, every vehicle will have a different entry time and exit time after being detected. With this the controller can add its count This is one way.
The other way is that installing 2 sensors on either side of the road, usually done on roads with dividers. And counting the vehicles individually. This will reduce the programming part but will double the sensors.
According to the map, you have provided, the roads are square shaped. For such an arrangement, it is always good to go with the second option provided. COUNTING THE VEHICLES SEPERATELY.
So just 5 would do. You can take away the sensors f3 and f5.
Hope this helps. Reply us with more clear explanations on the road scenario and a design plan, we can definitely help you with the programming part and can provide you with the M file needed.
