We have a consumer product design that has a DC motor and we plan to use DRV8837 for this design. When users push a button, the DC motor will go into forward direction and raise a cap to a predefined height.
Here are my questions:
1. After the cap reaches the predefined height, we would like to allow users to push down the cap slightly as as a way to lower the cap back to its original position. I wonder if there is a way for the system to use back EMF to detect that the cap is pushed down slight (=motor is forced into reverse direct). If we can detect this users' action, we can then control DRV8837 into reverse direction and lower the cap automatically.
2. While the cap is being raised up, I would like to see if there is any way to detect the action of users pushing down the cap. If I can detect this action by users, then I can stop the motor at that specific height. Again, is there any way to use back EMF or other means to detect such an action from users?