hi,
I have a project implicating an Arduino operating a pneumatic cylinder to lift and lower a five meter wide steel fence in a cow barn.
I'm having a hard time finding a sensor able to detect an animal is underneath the path.
ideal would be to have a sensor sitting on top (3,5 meters high) able to detect in a "triangle" like chape to reach 5 meters on the bottom.
Alternately, i will be installing a TFMini Lidar sensor on the side but these are relatively expensive and placing is not ideal because they will get dirty.
I'm open for suggestions. thanks to everyone taking time to reply.
Perhaps a sensor you can build using dust-proof microswitches pressed by a platform the cows must walk across. Hold the platform in position using coil springs. Occasionally remove the platform to clean under it.
If you want to do crazy, you can use a cheap camera and a Raspberry Pi. It can see over a lot of mud, and it can recognize different things so you can add extra features later. But only if you just want to try it and have lots of time.
Your project sounds fascinating, and detecting animals under a moving fence in a barn environment can indeed be challenging.
As a leading manufacturer of laser distance sensors, we offer customizable OEM/ODM solutions specifically designed for complex environments like yours. Our sensors can be tailored for:
Wide-area detection from an overhead position (like your triangle-shaped coverage request).
Durability and reliability in dusty, barn-like conditions.
Cost-effectiveness without compromising precision.
We’d be happy to discuss a solution tailored to your needs. Feel free to visit our website(https://meskernel.net) or reach out directly—we’re confident we can help optimize your setup!