Pc Lap Counter

Logiciel de comptage
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 Phidget interface kit 8/8/8 with PCLC

View previous topic View next topic Go down 
AuthorMessage
maxcin1



Number of posts : 9
Registration date : 2007-10-05

PostSubject: Phidget interface kit 8/8/8 with PCLC   11/10/2007, 13:05

I would like to know how they are made the connections for it uses interface kit with the pc lap counter with: Phidget interface kit 8/8/8:
8 Digital input
8 Digital output
8 Analog input

what I have to do

regards
max
Back to top Go down
View user profile
guy

avatar

Number of posts : 2058
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   11/10/2007, 22:56

Look here : http://pclapcounter.winnerbb.net/Phidgets-interface-kit-f14/Phidget-Tips-for-PC-Lap-Counter-t265.htm , think it should work for 8/8/8 phidget interface....Foiler are you agree with me ?
Back to top Go down
View user profile http://www.pclapcounter.be
Foiler



Number of posts : 33
Localisation : Michigan - USA
Registration date : 2007-02-16

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   12/10/2007, 05:21

Maxcin1 & Guy,
Unfortunately, I have no experience with the Phidget 8/8/8 interface board.

According to a previous post by Mainline Hobbies, the Phidget 8/8/8 board operates differently than the Phidget 0/16/16. I refer to the following post:

http://pclapcounter.winnerbb.net/Phidgets-interface-kit-f14/Phidgets-Flaw-t173.htm

I suggest you email Mainline Hobbies for more information about the Phidget 8/8/8 board and hooking it up to PCLC.

Foiler in MI
Back to top Go down
View user profile
guy

avatar

Number of posts : 2058
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   16/11/2007, 20:03

slotmanege wrote:


Take in mind that the electrical diagrams for a Phidget 0/16/16 must be adapted for usage with Phidget 8/8/8.
The 0/16/16 needs a positive pulse as the 8/8/8 needs a negative pulse to trigger the digital input. The analog input on the 8/8/8 is even slower then the digital one and not wise to use it for counting laps.
We are also using the 8/8/8 and struggeling with our hardware. Now (yesterday) we designed a new version and today we will build and test this. When this (hopefully) should work I will post our diagrams as well.
Our hardware now is triggered via slot-mounted IR-sensors (TCST2000), and the pulse which is send to the Phidget 8/8/8 is now extended.

Regards,
Danny
http://www.slotmanege.nl (sorry it is only in Dutch)
Back to top Go down
View user profile http://www.pclapcounter.be
slotmanege



Number of posts : 54
Localisation : Netherlands
Registration date : 2007-11-02

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   6/12/2007, 19:10

Hi all,

As promised I would post our used hardware scheme here.

We have been struggling with our hardware for some time now. And it seems to be working at last (no more missed laps). But to be 100% sure we have to do some more testing and do some final adjustments. Things we have to do (final adjustments) = making use of shielded data-cables. Because of many electro magnetic influences (power cables and electro motors) it is best to shield the the data lines.

We make use of the Phidget 8/8/8. And for lap counting we use the digital inputs because they are 'faster' then the analog inputs.

Below you can see the slot-mounted IR-sensors (CNY37 = TCST2000) which we are using on our track.
Using these sensors you don't need a separate light-source above the sensors because the sensors actually have their own sender and receiver unit.





Anyway... Here is the electrical scheme:



I will try to explain it here:

In 'idle' state... so no slotcars racing on the track the IR sensor actually act as a closed switch. This means that the voltage on label UREF1 is about 3,6 volts. The Rvar is a potentiometer (variable resistor). The 'best' value to set the Rvar is around 4k. It is wise to install a Rvar with a larger value then 4k (minimal value = 5k). In this way you can 'fine-tune' the Rvar to get the desired 3,6 volts on label UREF1. When using a non variable, fixed resistor for Rvar it is best to keep it on 4k.
In idle state the rest of the electronics are also idle and the output (label PHIDGET) voltage is = +5 Volts.

Whenever a guidance-flag of a slotcar passes the sensor the IR light-beam is interrupted and the sensor acts as a closed switch (for as long as the beam is interrupted). This causes a voltage drop on label Utrigger from 3,6 volts down to 0 volts.
The NE555 (timer IC) reacts on this voltage drop (NE555 reacts whenever the voltage drops more then 2/3 of V+) and starts the timer. The timer is used to extend the length of the pulse, long enough that the Phidget 8/8/8 can read it correctly. The length of the pulse = interval time (t) is given by: t = 1.1 x Rtimer x Ctimer. (C is a electrolytic capacitor). This means that the voltage on label UREF2 is +5 Volts (during the interval time).

The last part of the diagram shows a logical gate. We make use of the 4011 CMOS NAND gate (but a TTL NAND gate from the 7400 family should also do the trick). The NAND gate converts the +5 Volts from label UREF2 towards the 0 volts (label PHIDGET) which is needed to trigger the Phidget 8/8/8 digital input.
If you want to use this diagram with the Phidget 0/16/16 you easily replace the NAND with an AND logical gate.

More info about NE555 timer = http://en.wikipedia.org/wiki/555_timer_IC
More info about 7400 logical gates = http://en.wikipedia.org/wiki/7400_series
More info about 4000 logical gates = http://en.wikipedia.org/wiki/4000_series

The only flaw of the used sensors is that these sensors do not recognize blue and white guidance-flags. Only black ones !!!
And we did remove some of the top of the sensors so the 'optical axis' becomes closer to the track.

If you have questions or remarks, please ask !

We are also very interrested in your opinions about our hardware? Perhaps we still can improve!

Regards,
Danny
http://www.slotmanege.nl (sorry... only in Dutch)
Back to top Go down
View user profile http://www.slotmanege.nl
guy

avatar

Number of posts : 2058
Localisation : Belgique
Registration date : 2006-01-25

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   6/12/2007, 20:56

Thank you very much for the description , i have created a new post with your description so it will be more easy for new people to find it.
New post is here: http://pclapcounter.winnerbb.net/phidgets-interface-kit-f14/schema-to-connect-detector-to-phidget-8-8-8-t361.htm
With your permission i will take a copy of the pictures and host it on my server, can i ?
Back to top Go down
View user profile http://www.pclapcounter.be
slotmanege



Number of posts : 54
Localisation : Netherlands
Registration date : 2007-11-02

PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   7/12/2007, 13:47

Hi Guy,

Yes, no problem. As long as our club-logo stays visible in the scheme you can take as many copies as you like ! Very Happy
PS: in the new topic there is a failure regarding one of the pictures.
Back to top Go down
View user profile http://www.slotmanege.nl
Sponsored content




PostSubject: Re: Phidget interface kit 8/8/8 with PCLC   

Back to top Go down
 
Phidget interface kit 8/8/8 with PCLC
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Write-Up: PAC steering wheel control interface
» Pictures of Stereo Installs
» DHP tuner and other PCM's
» Nuevo II fridge
» DHP Powrtuner help

Permissions in this forum:You cannot reply to topics in this forum
Pc Lap Counter :: Hardware :: Phidgets interface kit-
Jump to: