Hello everyone, I am new to this kind of world so my excused if my question is very simple. The project is an electric winch who it is power by 3 cell lipo (11.1v) and it is necessary to know the turns of it. For example, if the wich turns 5 times the wire left is 10 cm or if i reverse it collect 10 cm of rope etc. I am using Arduino nano V3.1 board
I have already make the simple switch program (yes i told you i am a newbie) as i found inside this forum with success. I am thinking to use this button for counter the rotation of shaft, who it is easier for me to make this hardware modify, than use another sensor like hall effect of infrared etc and when i counter the specific turns then the arduino sent a command to one of pin outs , for example to stop turning . I am confused to how i make the connection of 12V wires on the arduino nano board to cut the voltage or the opposite like an ON/OFF swich for start /stop the motor of the winch.
thanks in advance for any responce, bilaouras