|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
2 switches to connect to USB cable.
I have cutted a USB cable and I want to be able to know when I close the circuit of each one of the switches.
thanks for helping, Neat-Team #1943 ![]() |
|
#2
|
|||
|
|||
|
Re: 2 switches to connect to USB cable.
If you are just planning on plugging in the usb cable to a computer, this won't work. Those wires aren't digital input, they only talk USB protocol.
You need to use the FirstTouch to get digital inputs via USB to the driver station. |
|
#3
|
||||
|
||||
|
Re: 2 switches to connect to USB cable.
What exactly are you trying to do? USB cable has nothing to do with switches. USB cable is used to connect your laptop to a USB device. If you are talking about some switches such as the "Emergency Stop" button from last year, it is not a simple switch. It is a USB HID button device.
|
|
#4
|
||||
|
||||
|
Re: 2 switches to connect to USB cable.
The CCI from eStop Robotics is another alternative to receive digital inputs.
|
|
#5
|
||||
|
||||
|
Re: 2 switches to connect to USB cable.
The Driver Station software is designed to talk to the First Touch module which has custom firmware on it.
|
|
#6
|
||||
|
||||
|
Re: 2 switches to connect to USB cable.
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: 2 switches to connect to USB cable.
Neat,
Have you confused USB with PWM? I suspect you have. If you are using the PWM cable to connect to a digital input on the Digital Side Car, then connect one side of the switch to the black wire of the PWM and the other side of the switch to the white wire. Insulate the red wire so it will not touch anything as it is connected to 5 volts. The switch when open will present a 'high' to the side car and when closed will present a 'low'. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|