Cctalk Serial Interface
So, you want to attach a payment device to your embedded or PC based machine and don’t know a thing about which device and protocol to use. These are the most common protocols used, I have tested more or less all of them: Serial pulse protocol Mostly used on vending or kiddie ride machines where there is no big amounts of money involved. Final fantasy xiv torrent pc software. A common configuration is with one data output that sends one pulse per major / minor currency unit and one input to disable the acceptance. Some have individual inputs to enable each coin or bill channel. On coin hoppers there is an input that runs the hopper motor and an output that send a pulse for each coin paid. The host knows how many coins/bills were paid or accepted by counting the pulses. This can be problematic on higher value bills or coins, for a 100 Eur bill 100 pulses must be sent, the probability that an error occur is pretty high.
Dec 6, 2017 - Interface coin acceptors and other hardware speaking ccTalk. That use the ccTalk protocol over a serial line or serial line emulation over USB. The USB interface for ccTalk permits to connect a device which operates according to the ccTalk protocol to the USB port of a Personal Computer. The serial converter. The COM port emulation driver must be installed after this has completed.
There is no error recovery, some security can be reached by tightening the acceptable pulses width error accepted. Most low price coin and bill acceptors have this protocol available by firmware or dip-switch or other settings. At a minimum only one data input is needed on the host machine. Parallel pulse protocol Only for coin and bill acceptors. Is the same as the the pulse protocol but each coin have it’s own output, this way the time to read a 5 Eur bill is the same as for a 100 Eur bill. The down side of this is that the host machine will need one input for each bill / coin channel. If you use also the individual enable inputs you will have a large data bus, with large connectors.
The security is somehow higher due the redundancy in the data received by the host machine. Binary serial Uses a RS232 or TTL levels RS232 to send a byte for each bill accepted. For simplicity can be the bill/coin value like 0x05 for 5 Eur 0x0A for 10 Eur, 0x32 for 50 Eur and so on or the bill / coin channel like 0x01 for 5 Eur, 0x02 for 10 Eur and so on. The security is still pretty low but it’s fast and at a minimum needs only one data wire. Binary parallel Is a variant of parallel pulse protocol where a the outputs are valid only on the edge of a clock line, this allow using combinations to represent the bill channel so 16 bills can be signaled using 4 data outputs and a clock line.