If you try to take more than 20mA from an Arduino pin (example your 150mA) you will destroy your Arduino.
You can time events with the Arduino, however, this is not the same as counting turns.
Suggest you also keep the limit switches as a fallback.
If you try to take more than 20mA from an Arduino pin (example your 150mA) you will destroy your Arduino.
You can time events with the Arduino, however, this is not the same as counting turns.
Suggest you also keep the limit switches as a fallback.