is this possible to do on a paylink? we have to pulse for 50ms on a 5v ground line
many thanks!
pulse a 5v line on ground
Moderators: aardvark, davebush, Admin
Re: pulse a 5v line on ground
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
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.