Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Forward, Reverse, Stop Functions using Relays and Limit Switches

$
0
0
Hi Community

This project uses :
- Uno
-2 Relays to Control 1 Motor with Forward, Reverse and Stop controls.
-LimitSwitch1 should stop the motor at the maximum forward position and wait for Reverse command.
-LimitSwitch2 should stop the motor at the maximum Reverse position and wait for Forward command.

i have both Limit switches wired with 10k resistors to Ground.
I cannot get this to work successfully.
Any input would be appreciated.

Code (Text):
  1. const byte RELAY1 = 2;
  2. const byte RELAY2 = 3;...
Forward, Reverse, Stop Functions using Relays and Limit Switches

Viewing all articles
Browse latest Browse all 4923

Trending Articles