How do I use a switch as an input for the Dobot Magician?

How do I use a switch as an input for the Dobot Magician?

Question:

How do I use a switch as an input for the Dobot Magician?

Answer:

CAUTION: NEVER PLUG IN OR UNPLUG WIRES FROM THE DOBOT WHILE IT IS POWERED ON! Always turn off the dobot first, and use the input output manual to plug into the correct port!

 Wire it like this:

Wire the VEX switch using a servo extension cable. Always wire black to black. Use pins GP5.2 and GP5.4 as shown in the diagram above.

Then in the software, trigger it like this:

  1. Be sure that you are in “Pro” mode by selecting it in the top middle of the Teaching and Playback mode.
  2. Set IO_5 to be equal to one on the right side of the screen.
  3. In this example above, the robot will go to it’s “Home” position and wait to be triggered by the switch in Line two.

 

 3,283 total views,  4 views today

CHRIS HURD

JIM HANSON



Chris and Jim CIM
© Copyright 2020

Visits: 4,513,059