Run and control motor in Both Direction by robotics - Push Button Module
Push Button Module
- The push button module can be wired to an Arduino using the 10k resistor on the module as either a pull-down or pull-up resistor.
- A different Arduino sketch is required for each different wiring configuration.
- When the button is on the motor is in running stage.
- When the button is off the motor will stopped running.
![Push Button Module](https://wikitechy.com/final-year-project/dotnet/run-and-control-motor-in-both-direction-by-robotics/img/run-and-control-motor-in-both-direction-by-robotics-images/push-button-module-circuit.png)
Push Button Module Circuit
Circuit Connections to Arduino
- +5V connects to the Arduino 5V pin.
- GND connects to the Arduino GND pin.
- The circuit on the left is used with the pull-down resistor Arduino sketch below. The circuit on the right is used with the pull-up resistor Arduino sketch below.
![Push Button Module Resistors](https://wikitechy.com/final-year-project/dotnet/run-and-control-motor-in-both-direction-by-robotics/img/run-and-control-motor-in-both-direction-by-robotics-images/push-button-module-resistors.png)
Push Button Module Resistors
Module Diagram
![Push Button Module](https://wikitechy.com/final-year-project/dotnet/run-and-control-motor-in-both-direction-by-robotics/img/run-and-control-motor-in-both-direction-by-robotics-images/push-button-module.png)
Push Button Module