Hi Stan,
The Phidget 8/8/8 is only powered via the USB.
As you can see in the
diagram 1 below (previous post) the GND is connected between the Phidget's Digital Inputs and the powersupply for the sensors. This is mandatory because the digital inputs always should have a reference. The signal that the sensors produce should always be measured against the same GND.
Also make sure there is a +5V on the digital input when sensor is not blocked. The Phidget 8/8/8 only reacts on a voltage drop from +5V towards 0V (GND). So when the sensor is blocked the digital input should be 0V. Measure these values with a multimeter just to be sure your sensor works fine.
And offcourse the sensors should have +5V power.
We also encountered many false lap counts when we just started with wiring up our hardware. The problem here were dangling/floating inputs AND we had a lot of troubles due to electro magnetic influences (EMC). Solution is to use shielded cables between sensors and phidget AND make sure the signals on your inputs are +5V (unblocked sensor) or 0V (blocked sensor)... strange voltages in between can cause Phidget to react.
Also check if you have installed the correct Phidget.msi and configured the inputs. Also check
this thread for more info.
Controlling the trackpower via the Phidget output: The phidget outputs have a limited current so it is better to use a transistor (BC547B) to control the relais. It is not possible to hook-up the relais directly on the Phidget digital outputs.
Hopefully now it works !
If you have questions, do ask !
Regards,
Danny
http://www.slotmanege.nl