Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #402436 > unrolled thread

Alberichi coin selector AL05

Started bygm <notmy@mail.com>
First post2016-03-12 11:27 +0100
Last post2016-03-13 06:56 +0000
Articles 9 — 3 participants

Back to article view | Back to sci.electronics.design


Contents

  Alberichi coin selector AL05 gm <notmy@mail.com> - 2016-03-12 11:27 +0100
    Re: Alberichi coin selector AL05 Don Y <blockedofcourse@foo.invalid> - 2016-03-12 22:59 -0700
      Re: Alberichi coin selector AL05 gm <notmy@mail.com> - 2016-03-13 12:02 +0100
        Re: Alberichi coin selector AL05 Don Y <blockedofcourse@foo.invalid> - 2016-03-13 11:45 -0700
          Re: Alberichi coin selector AL05 gm <notmy@mail.com> - 2016-03-13 20:36 +0100
            Re: Alberichi coin selector AL05 Don Y <blockedofcourse@foo.invalid> - 2016-03-13 23:32 -0700
              Re: Alberichi coin selector AL05 gm <notmy@mail.com> - 2016-03-16 15:07 +0100
            Re: Alberichi coin selector AL05 Jasen Betts <jasen@xnet.co.nz> - 2016-03-15 05:50 +0000
    Re: Alberichi coin selector AL05 Jasen Betts <jasen@xnet.co.nz> - 2016-03-13 06:56 +0000

#402436 — Alberichi coin selector AL05

Fromgm <notmy@mail.com>
Date2016-03-12 11:27 +0100
SubjectAlberichi coin selector AL05
Message-ID<nc0quf$bqc$1@l01news1.ot.hr>
Does someone knows the wiring diagram of this coin selector.
I need power and impulse lines.

The connector will be hooked up to raspberry.

GM

[toc] | [next] | [standalone]


#402558

FromDon Y <blockedofcourse@foo.invalid>
Date2016-03-12 22:59 -0700
Message-ID<nc2vi5$3h6$1@dont-email.me>
In reply to#402436
On 3/12/2016 3:27 AM, gm wrote:
> Does someone knows the wiring diagram of this coin selector.
> I need power and impulse lines.
>
> The connector will be hooked up to raspberry.

There should be a 10 pin connector (10 male posts, 2 columns of 5).
Pins will be numbered odd/even:

1  2
3  4
5  6
7  8
9 10

Pin 1 is GND; pin 2 is PWR (nominally 12VDC).

Pin 6 is an inhibit signal (~5V to lockout the mechanism).
Pin 5 is "programmable" -- as an input OR output -- to a
certain extent.

Beyond that, it gets complicated.  :>

The coin mech can be operated in different modes.  The functions
of the remaining pins depend on the mode in which it is operating.

As a "dumb" validator, the other pins (7,8,9,10,3,4) represent
different channels that can be "programmed" to pulse based
on the denomination of the coin(s) validated.  Each output can be
programmed to pulse once (when the programmed coin type is
recognized) or multiple times (e.g., to make a $1 coin appear
as four 25c coins).  The width of the pulse (along with polarity)
can also be programmed.

[all of these are open collector outputs so will need a nominal
pullup; being OC, they can be wired together to present a
single pulse stream to your device]

A separate 4 pin connector provides an EIA232 interface (RxTx) but
that's more involved (protocol).

Talk to the disti from whom you purchased the mech.  There's some
software that makes this a lot easier to sort out!

Good Luck!

[toc] | [prev] | [next] | [standalone]


#402575

Fromgm <notmy@mail.com>
Date2016-03-13 12:02 +0100
Message-ID<nc3hci$2ku$1@l01news1.ot.hr>
In reply to#402558
Thank you guys for reply (Don, Jasen ).
So basicaly i can power it with some external 12v DC source and connect 
the inhibit line to some RPI GPIO.

When i get signal i start to count impulses.
I know that the programming can be done with software so i guess that 
the only think that i need is to watch for inhibit line.

So, you are suggesting that i put some 1K resistor between raspberry 
GPIO and inhibit line ?

GM



On 03/13/2016 06:59 AM, Don Y wrote:
> On 3/12/2016 3:27 AM, gm wrote:
>> Does someone knows the wiring diagram of this coin selector.
>> I need power and impulse lines.
>>
>> The connector will be hooked up to raspberry.
>
> There should be a 10 pin connector (10 male posts, 2 columns of 5).
> Pins will be numbered odd/even:
>
> 1  2
> 3  4
> 5  6
> 7  8
> 9 10
>
> Pin 1 is GND; pin 2 is PWR (nominally 12VDC).
>
> Pin 6 is an inhibit signal (~5V to lockout the mechanism).
> Pin 5 is "programmable" -- as an input OR output -- to a
> certain extent.
>
> Beyond that, it gets complicated.  :>
>
> The coin mech can be operated in different modes.  The functions
> of the remaining pins depend on the mode in which it is operating.
>
> As a "dumb" validator, the other pins (7,8,9,10,3,4) represent
> different channels that can be "programmed" to pulse based
> on the denomination of the coin(s) validated.  Each output can be
> programmed to pulse once (when the programmed coin type is
> recognized) or multiple times (e.g., to make a $1 coin appear
> as four 25c coins).  The width of the pulse (along with polarity)
> can also be programmed.
>
> [all of these are open collector outputs so will need a nominal
> pullup; being OC, they can be wired together to present a
> single pulse stream to your device]
>
> A separate 4 pin connector provides an EIA232 interface (RxTx) but
> that's more involved (protocol).
>
> Talk to the disti from whom you purchased the mech.  There's some
> software that makes this a lot easier to sort out!
>
> Good Luck!
>
>

[toc] | [prev] | [next] | [standalone]


#402626

FromDon Y <blockedofcourse@foo.invalid>
Date2016-03-13 11:45 -0700
Message-ID<nc4cdl$2om$1@dont-email.me>
In reply to#402575
On 3/13/2016 4:02 AM, gm wrote:
> Thank you guys for reply (Don, Jasen ).
> So basicaly i can power it with some external 12v DC source and connect the
> inhibit line to some RPI GPIO.

More or less.  You'll need to monitor at least one of the other
"pulse" outputs.  And, you'll need to decide what sort of protection
you may need between the coin mech and the electronics (depends on
how hostile your environment; coin mechs tend to be targets
for adversaries)

> When i get signal i start to count impulses.
> I know that the programming can be done with software so i guess that the only
> think that i need is to watch for inhibit line.

You *drive* the inhibit line.  The purpose of the inhibit line is to
prevent the mechanism from "accepting" ANY coins.  In many devices,
the device may not want to accept a coin (because it can't/won't
provide the service/product that is being "purchased").  By inhibiting
the coin mech, you ensure any coins deposited (even VALID coins!) are
rejected -- returned to the user -- so you don't get complaints:
"That machine ate my coins and didn't give me <whatever>!"

You haven't indicated where you acquired your coin mech.  I.e.,
it may have previously been programmed in some other "mode".
Without control over that, you'll have to experiment to see how the
coin mech *appears* to respond to coins deposited.

As I said up-thread, talk to your disti.  You're looking for
a piece of software (runs on a PC) called "CoinSelProg.exe"
that will let you "talk" to the MCU *in* the coin mech and
alter its settings.

[If you've just stumbled on one of these "as a hobbyist", the
road is a little rougher...]

> So, you are suggesting that i put some 1K resistor between raspberry GPIO and
> inhibit line ?

Put whatever you think you need to protect your electronics.
You *will* need pull-UPS on the "pulse" outputs as they are
open collector and won't source current (to your electronics).

[toc] | [prev] | [next] | [standalone]


#402634

Fromgm <notmy@mail.com>
Date2016-03-13 20:36 +0100
Message-ID<nc4fg9$amj$1@l01news1.ot.hr>
In reply to#402626
The coin selector is programmed to accept 0.5, 1 and 2 Euros and it will 
be used for door opening.

Is there any way that you can wrote down some basic schematics on how to 
connect this to raspberry ?

Am asking this because as far as i can see ( different model ) this guy 
is using just one line (inhibit) and witho out pull ups. Ok maybe he set 
them in the code.

https://jalibu.wordpress.com/2014/12/24/my-raspberry-pi-advice-machine/

btw. i can not talk to my disti :-) because this type of coin acceptor 
is quite old and i would like to use it for test. New version will be 
from comestero.

Gm



On 03/13/2016 07:45 PM, Don Y wrote:
> On 3/13/2016 4:02 AM, gm wrote:
>> Thank you guys for reply (Don, Jasen ).
>> So basicaly i can power it with some external 12v DC source and
>> connect the
>> inhibit line to some RPI GPIO.
>
> More or less.  You'll need to monitor at least one of the other
> "pulse" outputs.  And, you'll need to decide what sort of protection
> you may need between the coin mech and the electronics (depends on
> how hostile your environment; coin mechs tend to be targets
> for adversaries)
>
>> When i get signal i start to count impulses.
>> I know that the programming can be done with software so i guess that
>> the only
>> think that i need is to watch for inhibit line.
>
> You *drive* the inhibit line.  The purpose of the inhibit line is to
> prevent the mechanism from "accepting" ANY coins.  In many devices,
> the device may not want to accept a coin (because it can't/won't
> provide the service/product that is being "purchased").  By inhibiting
> the coin mech, you ensure any coins deposited (even VALID coins!) are
> rejected -- returned to the user -- so you don't get complaints:
> "That machine ate my coins and didn't give me <whatever>!"
>
> You haven't indicated where you acquired your coin mech.  I.e.,
> it may have previously been programmed in some other "mode".
> Without control over that, you'll have to experiment to see how the
> coin mech *appears* to respond to coins deposited.
>
> As I said up-thread, talk to your disti.  You're looking for
> a piece of software (runs on a PC) called "CoinSelProg.exe"
> that will let you "talk" to the MCU *in* the coin mech and
> alter its settings.
>
> [If you've just stumbled on one of these "as a hobbyist", the
> road is a little rougher...]
>
>> So, you are suggesting that i put some 1K resistor between raspberry
>> GPIO and
>> inhibit line ?
>
> Put whatever you think you need to protect your electronics.
> You *will* need pull-UPS on the "pulse" outputs as they are
> open collector and won't source current (to your electronics).

[toc] | [prev] | [next] | [standalone]


#402722

FromDon Y <blockedofcourse@foo.invalid>
Date2016-03-13 23:32 -0700
Message-ID<nc5lsh$4mo$2@dont-email.me>
In reply to#402634
On 3/13/2016 12:36 PM, gm wrote:
> The coin selector is programmed to accept 0.5, 1 and 2 Euros and it will be
> used for door opening.
>
> Is there any way that you can wrote down some basic schematics on how to
> connect this to raspberry ?

I have no idea what the RPi hardware looks like, sorry.

> Am asking this because as far as i can see ( different model ) this guy is
> using just one line (inhibit) and witho out pull ups. Ok maybe he set them in
> the code.
>
> https://jalibu.wordpress.com/2014/12/24/my-raspberry-pi-advice-machine/

He is NOT using the inhibit line but, rather, the "pulse output"
(labeled "COIN" in the diagram)

> btw. i can not talk to my disti :-) because this type of coin acceptor is quite
> old and i would like to use it for test. New version will be from comestero.

Why not wait for the new version and design to that?

[toc] | [prev] | [next] | [standalone]


#403060

Fromgm <notmy@mail.com>
Date2016-03-16 15:07 +0100
Message-ID<ncbp9u$7ae$1@l01news1.ot.hr>
In reply to#402722
AAAHHH, i can not find whats wrong but i can not detect pulse on digital 
pin and i dont have scope to check this out.

The tested code is working OK when i try to read impulse changes 
manually ( over switch ). But when i hook up coin machine, nothing happens.

I use pin 5 of coin acceptor which is passed to pin2 of arduino board.
GND is also connected between PIN2 - GND.

The coin acceptor outputs are all open collector so i put 5,4kOhm 
resistor on the coin line.

Now, if i measure voltage before the resistor and when i insert coin,
i get readouts from 1,14 - 0,2V so it sends signal. I have measured 
between coin power supply (GND ) and pin 5 of coin selector.

http://www.crownleisure.co.uk/Documents/Manuals/Alberici/AL05/05ing.pdf
Page 8.

So, why, but why can i not read out this change on digital pin ?

Regards !

[toc] | [prev] | [next] | [standalone]


#402876

FromJasen Betts <jasen@xnet.co.nz>
Date2016-03-15 05:50 +0000
Message-ID<nc87rr$595$1@gonzo.alcatraz>
In reply to#402634
On 2016-03-13, gm <notmy@mail.com> wrote:

> btw. i can not talk to my disti :-) because this type of coin acceptor 
> is quite old and i would like to use it for test. New version will be 
> from comestero.

If the new mech speaks CCTALK or CCTALK over USB that is nothing like 
the parallel interface used by the other mechanism,  If you want to do
some preparation before the new coin accepter arrived, sort out your 12V 
power supply, (and voltage level converter if doing 5V cctalk via the 
raspberry pi UART), and read up on cctalk and serial ports in general 

The linux programmers guide, is a good starting place for serial in
general and the cctalk docs from "CoinControls" for cctalk.
there's also examples all over the internet. do a search.

-- 
  \_(ツ)_

[toc] | [prev] | [next] | [standalone]


#402564

FromJasen Betts <jasen@xnet.co.nz>
Date2016-03-13 06:56 +0000
Message-ID<nc32v6$b9j$1@gonzo.alcatraz>
In reply to#402436
On 2016-03-12, gm <notmy@mail.com> wrote:
> Does someone knows the wiring diagram of this coin selector.
> I need power and impulse lines.
>
> The connector will be hooked up to raspberry.

you seen this?

http://www.crownleisure.co.uk/Documents/Manuals/Alberici/AL05/05ing.pdf

The thing's got a serial port, but there's no protocol document, so
you may have to watch for pulses on the parallel port

-- 
  \_(ツ)_

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web