Click here to Skip to main content
12,632,032 members (27,496 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
i have designed a Radio Frequency Detector it detects the mobile signals the output has been shown through an LED , now i have checked the circuit with 9 volts battery it is working properly , but i want to connect it with computer , any suggestion ???

i m thinking to connect it with a USB connector but , as i have searched there are 4 types of wires in USB connector cable , Positive voltage (V cc) , GROUND , DATA + & DATA - , actually i am unable to understand what is meant by DATA + & DATA - & which wires should be connected with data + and - ????
Posted 3-Feb-13 2:58am
Comments
Edo Tzumer 3-Feb-13 8:00am
   
What does your question have to do with C#?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

DATA+ and DATA- are the two lines carrying the Serial data on the USB conection. They range from 0V to +3V, with the DATA+ going up while the DATA- goes down and vice versa.

In general, you can't just connect a steady output to any of those signals: GND and +5V are for power, not signal, and the two DATA pins are intended for much more complex transfers than ON/OFF. I would recommend that you use a parallel port instead - it is intended for "ON/OFF" signals, or the controls lines on a conventionsl serial port. Using USB Data lines for a on / off signal may cause big problems, including hardware damage.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161208.1 | Last Updated 3 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100