|
Re: How to wire Digital Inputs and Outputs and Analog Inputs?
Wire the outsides to Ground and +, and the middle to Signal.
For the Switch, the Signal wire will either be connected to Ground (0) or + (1).
For the Pot, the Signal wire will read the distance the pot is rotated.
You will want to adopt a convention on which side is Ground vs +.
I believe the Ports on the Robo Rio are: Ground, +, Signal. With + always in the middle, you don't damage your equipment if you accidentally plug in the connector backwards.
BTW: An easier way to control Autonomous is the Smart Dashboard. Put a field on the screen that the Driver can change. Read the value at the beginning of Autonomous.
Last edited by rich2202 : 11-01-2016 at 06:11.
|