| Electronics > Projects, Designs, and Technical Stuff |
| Lever position sensing by Hall effect: switch or analog sensor |
| (1/3) > >> |
| Back2Volts:
I am looking at detecting the position of a steel hand lever which can be moved forward/backward in a slot with seven side notches where the lever can be parked by moving it into the slot. I am considering the use of seven hall sensors to detect the position of a magnet placed along the lever rod. Due to space limitations, the sensors must go on the side opposite to the notches, which means the distance sensor to magnet in parked position will be 15mm to 20mm. This is the magnet I am considering in using: https://supermagnetman.com/search?q=Rect1020 And these are the two sensors I am considering - DRV5033-Q1 Omnipolar digital switch sensor http://www.ti.com/lit/ds/symlink/drv5033-q1.pdf - DRV5055-Q1 Ratiometric Linear sensor http://www.ti.com/lit/ds/symlink/drv5055-q1.pdf I believe, using the digital switch will result in a simpler GPIO design, but my concern is that the sensor may not get turned on at 20mm distance. That is the reason I am considering the linear option, which will require the use of seven analog ADC readings to evaluate where the lever is. I will appreciate any thoughts... Note: The lever controls the chute deflector in my snowblower via a steel cable. I want to read the position to motorize the deflector. |
| Back2Volts:
I have ordered 10 of each. I will have to run some tests. |
| Wimberleytech:
Depending on the full-scale angle deviation of the lever, an accelerometer may be a good solution. Arduino+ accelerometer + your motorized thingy. |
| diegogmx:
maybe you can use a multiplexed inductive sensor, having a coil in each notch (i'm assuming in each notch there is a hole to lock the lever), that would also be able to tell you if the lever is fixed into position properly, and you would avoid the need for a magnet |
| Back2Volts:
--- Quote from: Wimberleytech on January 11, 2019, 03:06:26 am ---Depending on the full-scale angle deviation of the lever, an accelerometer may be a good solution. Arduino+ accelerometer + your motorized thingy. --- End quote --- Are you talking about using an accelerometer to determine relative position to earth? If so, it gets complicated by the fact that the snowblower moves on inclined ground and at times it is forced to tilt off ground. I would need two sensors, one stationary on the machine and the other on the lever and compute differences. It is a possibility. Funny thing is, that in the past, I was considering using the two accelerometers to determine the position angle of the deflector. Now I am leaning toward using a linear actuator with built in feedback pot. |
| Navigation |
| Message Index |
| Next page |