So, we are linking a sensor to a computer via USB, using a female USB connector and male USB wires. The sensors are connected to a circuit. A sensor has 3 pins, vcc, ground, output signal. I would need to combine all of these 3 signals, probably using a micro controller or an OR gate.
The sensor is a Passive infrared sensor, with 2 jumper modes, to fire only once every X time while their is movement. and to fire constantly which there is movement. http://www.parallax.com/tabid/768/productid/83/default.aspx
(Not actual project)If I would want the signals to be processed by the computer to output " I sense someone" when ever a sensor fires, what would I need to do?
Questions to answer are:
-How would the computer understand the signal from the usb? Using a device driver? or something else(please specify).
-Based on a normal Passive infrared sensor, the high output signal is only around 3.3v and a gate needs a minimum of 3.5v to identify that it is high, what is your thoughts on this?
-How can a program say in C language call the class of a driver that processes the input of the USB?
-I read that the usb can burnout if you are careless about the energy you input on it, so what is this healthy energy( Vcc , Amps) range? ( and how do I achieve this?)
There are 3 other persons in our group to build this project and we are like lost lambs at the moment XD. We are majoring in I.T.
Thank you for your time. XD