pulse a 5v line on ground

Support for the Milan Intelligent interface, sold by Money Controls as the Paylink USB unit and for the earlier PCI card version.

Moderators: aardvark, davebush, Admin

Post Reply
stormgames1
Posts: 1
Joined: Thu Jan 12, 2023 3:36 pm

pulse a 5v line on ground

Post by stormgames1 »

is this possible to do on a paylink? we have to pulse for 50ms on a 5v ground line

many thanks!
davebush
Posts: 490
Joined: Fri Oct 22, 2004 12:20 pm

Re: pulse a 5v line on ground

Post by davebush »

Hi,

Paylink uses inputs and outputs designed to used in an "Open Collector" mode.

For an input pulse, the component involved is a 74VHC244, this has a threshold of between 0V5 and 1V5 and has a 3V3 supply, but I believe it will tolerate 5V. You can tell that a pulse has happened because both SwitchOpens() and SwitchCloses() increment.

For a 5V output pulse, you will need to provide a pull up resistor of about 1K to a 5V supply. Driving a 50ms pulse train (usually to an electro-mechnical meter) is built in to Paylink. The configuration file entry
MECHANICAL METER <Meter No> [ON] [OUTPUT] <pin>
is used to define the output pin you will be using, and the CounterIncrement() API function will let you queue a number of pulses to be output.

Regards

Dave
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Post Reply