5.1.1. Configuring a limit or kill switch

Limit switches and kill switches help protect your motor controller from performing unwanted actions. For example, analog limit switches could be configured to prevent your actuator from moving out of its valid range. An RC kill switch could be configured to conveniently immobilize an autonomous robot from a distance using an RC transmitter and receiver.

To configure your Simple Motor Controller G2 to use a limit or kill switch, follow these steps:

  1. Decide what channel you are going to connect your limit switch to, and connect it to that channel as described in Section 4.5 if it is an RC limit or kill switch or Section 4.6 if it is an analog limit or kill switch.
  2. If you are using an analog channel for your limit switch and you decide to use the internal pull-up instead of supplying an external one, check the “Enable pull-up resistor” box for that channel in the “Input settings” tab.
  3. If you are using an analog channel and have chosen a wiring configuration that makes it impossible for the controller to detect when your switch is disconnected, check “Ignore pot disconnect” box in the “Advanced settings” tab. Disconnect detection works by toggling power to the analog power pins (+) and making sure that this toggling has an effect on the voltage on the signal pin (A1 or A2). If you have wired your switch such that the analog power pin is not connected to the signal pin, you will need to do this.
  4. Select the desired “Alternate use” for the switch channel. This determines whether it will be a forward limit switch, reverse limit switch, or kill switch. See Section 5.1 for details about this setting.
  5. Click “Apply settings”.
  6. Look at the current channel value label in the “Input settings” tab. Press or activate your switch and make sure that the channel value changes significantly. If the value does not change, then you should double check your connections and settings and try again.
  7. Click the “Learn…” button for the channel in the Input Settings tab. The Channel Setup Wizard will walk you through the steps needed to calibrate your switch’s scaling parameters.

Related Products

High-Power Simple Motor Controller G2 18v15 (Connectors Soldered)
High-Power Simple Motor Controller G2 18v15
High-Power Simple Motor Controller G2 24v12 (Connectors Soldered)
High-Power Simple Motor Controller G2 24v12
High-Power Simple Motor Controller G2 18v25
High-Power Simple Motor Controller G2 24v19
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors