ccTalk tutorial , using Arduino to clone an Alberici BILLYONE bill acceptor, part 2

While playing with the emulator from the previous post I’ve notice that something very important was still missing if you want to build and test your  host software using the Arduino emulator. The emulator was not checking the CRC of the incoming messages so as long as the length and destination was good the emulator … More ccTalk tutorial , using Arduino to clone an Alberici BILLYONE bill acceptor, part 2

ccTalk tutorial , using Arduino to clone an Alberici BILLYONE bill acceptor

This time I wanted to find a bill acceptor, a real one to emulate using Arduino and searching for a simple one because most of them are more complicated and my time is limited.  It happened that for few days I had a stackerless Alberici BILLIONE on my desk and looking through the manual I … More ccTalk tutorial , using Arduino to clone an Alberici BILLYONE bill acceptor

ccTalk tutorial , using Arduino to clone a SR3 coin acceptor

This time I’ve got the data from a real coin acceptor into the Arduino coin emulator, an old Money Controls SR3 coin acceptor. SR3 is obsolete now so if you need a replacement just for tests you have one here. The counters are still not working (reporting zero error, zero coins inserted etc) but usual … More ccTalk tutorial , using Arduino to clone a SR3 coin acceptor

ccTalk tutorial, ccTalk on Arduino nano part 5 bill acceptor example

The bill acceptor messaging is using the same 5 events buffer plus an event counter. But there are some differences. The bill acceptor can use an escrow mechanism: read the bill, notice the host of it’s value then accept or reject the bill as instructed by host. As in coin messaging Result B = 0 … More ccTalk tutorial, ccTalk on Arduino nano part 5 bill acceptor example

ccTalk tutorial, ccTalk on Arduino nano part 4, more about coin ID values

The coin value from the previous example might not apply in some jurisdictions. The complete table for coin values can be found in ccTalk documentation part 3 page 13. How to handle such a large range of values? The simplest and fastest option for a quick design is to skip the coin value reading and … More ccTalk tutorial, ccTalk on Arduino nano part 4, more about coin ID values

ccTalk tutorial, ccTalk on Arduino nano part 3 coin acceptor example

This time I will use the previous code to setup, run the coin acceptor and listen for coin inserted and events.  For the hardware setup and software used see the last two posts. A link to the source code can be found at the bottom of the page. Later edit, please rename the folder containing … More ccTalk tutorial, ccTalk on Arduino nano part 3 coin acceptor example

ccTalk tutorial, a guide to bill/coin acceptor and coin hopper protocols

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 … More ccTalk tutorial, a guide to bill/coin acceptor and coin hopper protocols

ccTalk tutorial, bill and coin acceptor ccTalk host software in Visual Basic with source code

Happy New Year everybody! This time I made an example of driving both a bill and a coin acceptor in the same time on the same ccTalk line , the zipped source code can be found on my Google Drive . You can find explanations in the source code,but there is no error handling , … More ccTalk tutorial, bill and coin acceptor ccTalk host software in Visual Basic with source code

ccTalk tutorial , a simple ccTalk coin acceptor host with Visual Basic source code

This is a very simple host made in Visual Basic 2008 , I know , I’m old fashioned , I still using XP. As is, the program is using COM4 for the ccTalk cable and COM7 for output text messages for each coin event. You can find the source on my Google Drive . All … More ccTalk tutorial , a simple ccTalk coin acceptor host with Visual Basic source code

ccTalk tutorial , using the software coin acceptor emulator to test your software

I made a video to show the usage of the software published in the previous post. You can test your cctalk host software without a real device , the timing is not good for some headers but still is a good tool to start with. As host software I used SeciCCTalk because it’s the only … More ccTalk tutorial , using the software coin acceptor emulator to test your software

ccTalk tutorial , testing some headers with a coin hopper part 1

First I apologize for the long break , I was very busy at work lately. This is the last test of this kind for the moment. The purpose was just to break the ice and bring a device to life without going through an over 250 pages documentation. Most of the beginners are stuck here … More ccTalk tutorial , testing some headers with a coin hopper part 1

ccTalk tutorial , testing some headers with a coin hopper part 2

Now let’s put our coin hopper to work. I must say that the ccTalk commands sequence might not be the same for coin hoppers from other manufacturers than Money Controls and also data required might not be the same. For unencrypted Serial Compact Hopper from Money Controls the command sequence is as follows: Enter pin … More ccTalk tutorial , testing some headers with a coin hopper part 2

ccTalk tutorial , some words about low level handling of ccTalk messages part 2 , slave side

First , remember to use binary mode for the serial port Handling ccTalk messages is a bit more complicated from the slave point of view. The slave must answer in a timely manner to asynchronous messages , filter messages for the other devices  on the ccTalk bus and, in the same time, must do what … More ccTalk tutorial , some words about low level handling of ccTalk messages part 2 , slave side

ccTalk tutorial , some words about low level handling of ccTalk messages part 1 , master side

The first step to a ccTalk software is to make a function like send a command and receive the answer for the master side. and an event command received and a send answer procedure for the slave side Whichever platform or programming language you use , the most common mistake for beginners in ccTalk is … More ccTalk tutorial , some words about low level handling of ccTalk messages part 1 , master side

ccTalk tutorial – comparison table , headers implemented in various coin acceptors

In designing a generic coin acceptor ccTalk host it’s usefull to see which headers are implemented in various coin acceptors.You can find in the table below headers relevant for a coin acceptor for some common products. The recommended minimum acceptable implementation requires the following headers to be implemented: Core commands: 254 Simple poll 245 Request … More ccTalk tutorial – comparison table , headers implemented in various coin acceptors