I currently have an Arduino micro running a motor driver to switch a 12 volt pneumatic solenoid for an agricultural control application. The triggering is controlled by a Tiny GPS unit and I would like to use a ground sensor instead to control it instead. (GPS not accurate enough, +/- 2metres and looses signal in trees). Can anyone suggest what is the best type of sensor and how I set it up please?
Need to measure distance travelled to trigger solenoid at a programed distance I.E. every 2.5metres. So was thinking it has to be some sort of wheel magnet sensor to go on a small trailer.
Trying to incorporate a proximity sensor and use this to determine the distance travelled with several magnets mounted on a trailer wheel. Each magnet that passes would relate to a distance travelled by the trailer and once this exceeds distance wanted it would trigger solenoid and continue to trigger every set distance travelled. How do you integrate this into the Arduino micro?