thinkanish
Junior Member level 2
Hi,
I am working on a small project on how to determine the size of an object moving in front of sensor array. For example, different sized vehicles moving in front of the sensors which determine the size of the vehicle (roughly approximate and fixed known sizes) with help of microcontroller.
Initially, i thought of using IR sensors (array of IR interfaced with the MCU and the number of IR sensors blocked at once gives the rough estimate of the size). But I saw some where on the web that IR sensors are not good in the outside environment. So, I switched for ultrasonic sensors (this HC-SR04 one) but the problem with them is the timing. Before reading one sensor, and moving to other, the object may have moved out.
I don't know how to solve this problem.
Thanks.
I am working on a small project on how to determine the size of an object moving in front of sensor array. For example, different sized vehicles moving in front of the sensors which determine the size of the vehicle (roughly approximate and fixed known sizes) with help of microcontroller.
Initially, i thought of using IR sensors (array of IR interfaced with the MCU and the number of IR sensors blocked at once gives the rough estimate of the size). But I saw some where on the web that IR sensors are not good in the outside environment. So, I switched for ultrasonic sensors (this HC-SR04 one) but the problem with them is the timing. Before reading one sensor, and moving to other, the object may have moved out.
I don't know how to solve this problem.
Thanks.