View previous topic :: View next topic |
Author |
Message |
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Wed Jul 05, 2017 9:29 am Post subject: Communication cctalk |
|
|
Hi,
Are there examples of communication with peripherals using the cctalk protocol?
(BASCOM-AVR version : 2.0.7.8 ) |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Wed Jul 05, 2017 3:47 pm Post subject: |
|
|
Never seen something written in Bascom for cctalk.
However it doesn't look that difficult (does it ever?).
You need some additional hardware because it will communicate serial over 1 wire.
Here's a simple sample in Arduino with hardware and software. You can port this simple to Bascom. _________________ www.evertdekker.com Bascom code vault |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Wed Jul 05, 2017 3:59 pm Post subject: |
|
|
The problem I have no programming experience in C ...
I can try to convert some arduino project into bascom ...
Do you have any links? |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5915 Location: Holland
|
Posted: Wed Jul 05, 2017 7:33 pm Post subject: |
|
|
it is much simpler to code this yourself. cctalk is very simple. especial if you only code the master. just look at the procotol and then get a manual of the device you want to control.
cctalk is explained here : https://en.wikipedia.org/wiki/CcTalk
also nice : http://www.coinoperatorshop.com/media/products/manual/cctalk/cctalk44-3.pdf
most devices only require a few commands. like getting the serial number and then hopping the coins. but it really depends on the device you need to control. the protocol itself is simply and does not require or deserve a lib. _________________ Mark |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Thu Jul 06, 2017 7:37 am Post subject: |
|
|
Thanks Mark,
always very helpful... |
|
Back to top |
|
|
atmega64
Joined: 23 Feb 2005 Posts: 298 Location: ITALY
|
Posted: Fri Apr 20, 2018 11:48 am Post subject: |
|
|
Mark, I'm sorry I took over the cctalk project recently,
in the meantime, I got a BILLYONE banknote reader (see Attachment), could you give me an example of how to send a command and how to receive it?
thank you. |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5915 Location: Holland
|
Posted: Sat Apr 21, 2018 8:11 pm Post subject: |
|
|
that pdf is not showing all the required info.
sorry i can not give a worked out example. MCS can work out code but this is a paid service. _________________ Mark |
|
Back to top |
|
|
|