Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   2 switches to connect to USB cable. (http://www.chiefdelphi.com/forums/showthread.php?t=101177)

NeatTeam 26-01-2012 16:18

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 :)

codes02 26-01-2012 16:30

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.

mikets 26-01-2012 16:51

Re: 2 switches to connect to USB cable.
 
Quote:

Originally Posted by NeatTeam (Post 1114043)
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 :)

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.

slijin 26-01-2012 20:55

Re: 2 switches to connect to USB cable.
 
Quote:

Originally Posted by codes02 (Post 1114052)
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.

The CCI from eStop Robotics is another alternative to receive digital inputs.

cgmv123 26-01-2012 22:51

Re: 2 switches to connect to USB cable.
 
Quote:

Originally Posted by slijin (Post 1114260)
The CCI from eStop Robotics is another alternative to receive digital inputs.

The Driver Station software is designed to talk to the First Touch module which has custom firmware on it.

slijin 26-01-2012 23:08

Re: 2 switches to connect to USB cable.
 
Quote:

Originally Posted by cgmv123 (Post 1114353)
The Driver Station software is designed to talk to the First Touch module which has custom firmware on it.

The CCI is custom designed to serve as a simpler alternative to the FirstTouch. The Driver Station isn't designed to talk to the FirstTouch, but rather viceversa, hence the custom firmware that you noted.

Al Skierkiewicz 29-01-2012 17:49

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'.


All times are GMT -5. The time now is 09:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi