microcoin

Hi Guys,

Not sure if this in the right sub forum, if not mod can replace it to the right one.

I have a microcoin, and bin trying for a while now to get a proper signal about what coin is going through. Following the specs its an open collector, but whatever i try it is not giving me the result i wanted.

Anyone that can push me in the correct way about reading the open collector.

The ground i get from the arduino it self.

The other two signals, and sample code; anyone :slight_smile: ?

Technical data, pin layout etc etc: http://www.coinmech.com/images_products/images_supporting/1953.pdf

Thank you in advance for your time,
Mike

Anyone that can push me in the correct way about reading the open collector.

Connect all the grounds together, and use pinMode(pin, INPUT_PULLUP) with the open collector output.

What about connecting a LED in series with a 1 kohm resistor to Vcc (and to the "unknown open collector output") and see what happens?

jremington:
Connect all the grounds together, and use pinMode(pin, INPUT_PULLUP) with the open collector output.

awesome! the _PULLUP made it work:)