Cube hopper

Dear Arduino team, Good morning.

I need to connect a cube hopper linked below to Arduino.

https://eu.suzohapp.com/product/10-1700-xx/cube-hopper-mk2

It needs a CC-Talk cable, can you please provide recommendation on what cable I can use.

I need to control the cube hopper as shown in the video below.

Hope to hear from you.

1 Like

Dear Arduino team,

OK let's get something clear from the start, we are not the Arduino team, we are a community of volunteers that give our time freely to help people learn about the Arduino.

It needs a CC-Talk cable, can you please provide recommendation on what cable I can use.

How about a CC-Talk cable, what ever the hell that is.

The site seems very poor on technical details, you could always fill in a support request form and ask them for the details. But at a guess then you need to switch on a motor until a sensor sends you a pulse, then you switch it off. So you will need a relay to handle the large current for the motor and a power supply capable of providing the peak current as set out on that page.

I affected the image of the coin hopper I have .
The terminals are

  1. Addr. set 3 MSB
  2. Addr. set 2
  3. Addr. set 1 LSB
  4. +VS
  5. +VS
  6. 0v
  7. 0v
  8. DATA (cctalk)
  9. N/C
  10. /reset

I connect 24v power supply to pin 4 and it's ground to pin 6, but the coin hopper did not start.
I checked the technical details, and it's mentioned that the Standard operating voltages 12 or 24Vdc.

Another useful link I found How to Build a Change Machine - Arduino Project for Arcade - YouTube
Please advise

coin hopper image

coinHopper.jpg

Should I connect 24v directly to the motor, and test if it will work or not ?
Attached is the motor image of the coin hopper.

As Grumpy_Mike pointed out earlier, as did AWOL in another of your threads, we are not technical support. You should contact the people that you obtained the device from for support.

If you go to the webpage for the Cube Hopper Mk2 Cctalk, (information from the model number on the label in your photo) then you will find a link to the manual for your Cube hopper.

This gives all the details of the CCTalk interface and protocol.

I think that the Cube hopper in the video that you mentioned is a much simpler version, whose motor runs all the time the power is on. It has an output that goes low each time a coin is dispensed. The Arduino was used to count these pulses, and turn off the supply after 10 coins.

JohnLincoln:
If you go to the webpage for the Cube Hopper Mk2 Cctalk, (information from the model number on the label in your photo) then you will find a link to the manual for your Cube hopper.

This gives all the details of the CCTalk interface and protocol.

I think that the Cube hopper in the video that you mentioned is a much simpler version, whose motor runs all the time the power is on. It has an output that goes low each time a coin is dispensed. The Arduino was used to count these pulses, and turn off the supply after 10 coins.

Ya I figured this out from the video, I checked the manual also, but it's very long and the code they provide is not easy to understand.

dannable:
As Grumpy_Mike pointed out earlier, as did AWOL in another of your threads, we are not technical support. You should contact the people that you obtained the device from for support.

I already did twice, but I did not get any response.
Thats why I come always to Arduino forum

Check the emails, attached

CubeHopper.pdf (467 KB)

I connected the motor directly to 24volts, it spins very past but the coins did not come out.

Please guys, I need your help.
How I should connect it to Arduino.
I could not find a tutorial for controlling coin hoppers with cc-talk

I found this circuit in the manual. Should I connect the hopper to Arduino using this circuit, or this is only for PC connection. Please advise. I need to make this work.

CoinHopper_interface.pdf (503 KB)

if the code is too complicated, start with simpler code and build up your skills.

we are here to help you figure out points that you are doing wrong.

We offer help in our area of skills. you seem to be asking for someone to read the data sheet for you, then figure out the program, then hold your hand to make it work from somewhere else in the world.

as you can imagine, it is hard enough for one person to do this, but to then write up the steps for someone else to follow is asking a great deal from someone who is not getting paid.

the best help we can offer is :
#1) educate yourself on programming, start with the simple sketches, build up your knowledge
#2) read the data sheet, get a simple understanding of the thing
#3) read the data sheet, get a better understanding of the thing
#4) get any one part working
#5) get any next part working
#6) repeat steps 2-6

we have no doubt that you can work your way through this.
once you get to a point that one thing is not working, we can hold your hand for that one thing.

your getting bits working shows that you are willing to invest in your education.

for us do to it for you means you will be forever asking others to do it for you.
....for free
...under your schedule

If you "need to make this work" why not starting with a hopper that you know beforehand can work with an Arduino? I know, it means doing homework before buying stuff, but that's a small price to pay and tends to save you lots of frustration later.

This schematic shows a single output from the hopper, "cctalk DATA line", which apparently works at +5V level if I read those schematics correctly. That's great news, as it indicates you may be able to connect your Arduino to that connector directly, with just a pull-up resistor.

All that's left for you is to figure out the communication protocol between the hopper and the Arduino. This appears to be some kind of one-wire protocol, meant to both send and receive serial data over the same line. Having read the one-wire code that talks to the DHT22 sensor, I guess the principle behind this one is the same, and if so I'm sure you're going to have a lot of fun with this.

FutureEngineer:
Please guys, I need your help.
How I should connect it to Arduino.
I could not find a tutorial for controlling coin hoppers with cc-talk

your first post on this was this morning, only a few hours ago,
you are asking for someone on the planet to help you for free.
the best you can hope is that someone,
....at some point in the next week...
....who knows this device....
.... and has made it work....
.... and visits these forums....
..... finds this post....
.... and offers their help.
that is an if() statement 7 levels deep.

it may happen in an hour, or in a week.
while you are waiting, read the data sheet and inform yourself of the device.
create a blog of your work,
take lots of photos
write up what steps to take to make each part work.
get it working
post your blog for others to follow in your foot-steps.
hope that others will be doing the same, and that your exchange is that you help others while they help you.

Oh, it's actually much easier than I thought.

Page 10 of the manual provides a complete schematic on how to connect this hopper with it's one-wire interface to the Serial pins (Tx, Rx) of a microprocessor. Not sure if you really need to use the three address lines if you have only a single hopper. You may notice that this is very similar to the schematic you posted in #12.

A bit further, Chapter 3, lists all the commands that you need to operate this hopper.

And finally, Chapter 4, gives you all the electrical and other technical information you need on how to connect it properly.

With all that information it looks like no more than a day or two of work to get it all working, including building that interface circuit and writing a driver library implementing the various commands.

FutureEngineer:
I found this circuit in the manual. Should I connect the hopper to Arduino using this circuit, or this is only for PC connection. Please advise. I need to make this work.

That circuit converts the CCTalk signals to RS232 levels for connecting to a PC.
It seems pointless to use it, as you would need to convert back from RS232 levels to connect to an Arduino.

The correct interface to connect to a microcontoller or Arduino is shown on page 10 of the manual (as mentioned by wvmarle in reply 16).

This is the correct interface to use:

Thanks for the reply, JohnLincoln and wvmarle.

wvmarle:
Oh, it's actually much easier than I thought.

Page 10 of the manual provides a complete schematic on how to connect this hopper with it's one-wire interface to the Serial pins (Tx, Rx) of a microprocessor. Not sure if you really need to use the three address lines if you have only a single hopper. You may notice that this is very similar to the schematic you posted in #12.

Few questions here:
Should I used the same transistor BC847B or BC547 can do the job
and the same for BAT54S diode, can I use 1N4004

Because these two I have in hands, others I need to order.

BC847B is a surface mount device. BC547B is the same transistor in a through hole version, so yes you can use that.
Note that one of the transistors used is PNP.

BAT54S is a dual schottky diode in a SOT23 package. You can use two single diodes, but 1N4004 is not the best choice.

As a future engineer, you need to be able to be able to work things like this out by yourself, (from an existing engineer , 40+ years experience).