- the Professor wrote:
How are you connecting your lightbridge to your system. I am using the DS lightbridge with the phidget board from Mainline Hobbies. I can get my car to use fuel but cannot get it to refuel.
I am connecting my light bridge to a Phidget 0/16/16 interface board.
Have you checked to make sure that your Phidget board is receiving a Logical "1" when your car is sitting beneath your light bridge? If your Phidget board is receiving a Logical "0", you will count laps and use fuel, but refueling will NOT work.
Read the following article, if you haven't already. The article explains the situation more thorougly:
https://pclapcounter.forumotion.com/Phidgets-interface-kit-f14/Phidget-Tips-for-PC-Lap-Counter-t265.htmI suspect that you need to install some pull-up resistors between your light bridge and your Phidget board, per the drawing in the above article.
A quick check to determine the correct Phidget state for PCLC is the following:
Correct Operation for Lap Counting AND Refueling:The Phidget 0/16/16 Green L.E.D.'s (normally OFF) will flash ON, when a car passes under your light bridge. This indicates that the Phidget is receiving a Logical "1" when the car blocks your light sensors.
Incorrect Operation for Refueling:The Phidget 0/16/16 Green L.E.D.'s (normally ON) will flash OFF, when a car passes under your light bridge. This indicates that the Phidget is receiving a Logical "0" when the car blocks your light sensors.
I hope this helps.
Foiler in MI