USB D+/D- (Photogate)

Discussion in 'General Electronics Chat' started by blitzgunner, May 6, 2014.

  1. blitzgunner

    Thread Starter New Member

    May 6, 2014
    16
    0
    Hi, I am sorry for being an electrical noob and I need some assistance here.:confused:

    Recently, I bought a photogate together with its interface module for data logging. Both devices use USB port to communicate.

    If i am not wrong, the USB D+ and D- should have some signal when the photogate communicate with its interface module and also from the interface module to the host.

    So I am curious whether I could tap onto the USB D+ and D- line and use their signal to activate let say a 12V solenoid ?

    can anyone guide me on whether this can be achieved?
     
  2. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    There will be data going over the lines all the time, so you cannot easily tell that the photogate has triggered. Much easier option would be to hack the photogate and get the trigger signal straight from there.
     
    blitzgunner likes this.
  3. MrChips

    Moderator

    Oct 2, 2009
    12,436
    3,360
    No. The data on the USB bus is encoded with USB protocol.
     
    blitzgunner likes this.
  4. blitzgunner

    Thread Starter New Member

    May 6, 2014
    16
    0
    Thanks for the info..

    BTW, This is the photogate I bought
    [​IMG]

    The wiring is packed in the casing, but from what I understand it should contain some sort of diode and transistor. So if I am going to hack it, should I tap the signal from the diode transistor circuit or the wire coming out of the casing?

    And will I need any additional equipment like an amplifier to amplify the signal or a relay to activate the solenoid?
     
  5. MrChips

    Moderator

    Oct 2, 2009
    12,436
    3,360
    Instead of hacking into it with the potential danger of breaking it, why don't you build your own photogate?
     
  6. blitzgunner

    Thread Starter New Member

    May 6, 2014
    16
    0
    Hmm..:rolleyes: Actually I have no intention of hacking it, as the photogate is quite costly and I am a noob in electronic circuit.

    Though I am curious whether the signal from the photogate can be tapped for activating a solenoid.
     
Loading...