Has anyone every had some experience with the CH-268t? Below I will have the wiring instructions. Apparently it sends a pulse and the arduino is supposed to interpret this. I don't know how to wire or program this and am in desperate need of help with that. I know the red and black wires and where they go but not the other wires. could really use some help on this. Essentially I want to make a counter for an arcade game I want to make.
Any chance of a link to the device?
I would power it up and look at the grey line with a scope to see what it is producing before connecting it up to anything. It look like the yellow line has to be high as well but whether this is 5V or 12V I dont't know.
Ok so I'm totally lost and frustrated. Basically I bought a coin acceptor CH-268t. Been emailing seller and he told me that the pulse signal is 12v 20ms-100ms. I tried the voltage divider with R1 3.3kohms and R2 1.5kohms. The voltage input was 12v and the wiring for the CH-268t is:
White line—(N.C. signal)
Green line—(N.O. signal)
Gray line—Counter (Meter)
Yellow line—inhibit/low(<+1V)
Red line—PowerDC +12V
Black Line—Ground (GND)
All i got with Analog Input to serial and Digital input to serial was a bunch of numbers that don't change even when I put a coin in the slot. Sometimes I'd get straight zeros down the line, but then again I don't know if that was even the right sketch to use.
I'm totally lost and confused. I wanted to build a simple game machine for my little cousins but I don't know how to continue from here on. If anyone has any ideas or suggestions I'd greatly appreciate them.
It depends on exactly what you are trying to measure.
In the simplest, a resistor would do (it measures the presence of a high voltage signal, potentially over a period of time), or a zener (it measures the presence of a specific range of a high voltage signal), to some adc.
Well Joen debounce did nothing. I took apart the hardware and played with it for a bit. The LED"s don' light up and the solenoid doesn't move. I'm going to see if I can return it or exchange it because I think it may be defective. Simply does nothing when I put a coin in.
Thank you all who have replied and helped me with this. I really appreciate it.
He asked this in at least one other message and it never got caught as a dupe (see http://arduino.cc/forum/index.php/topic,127204.0.html). In the other thread he has concluded that the device must be defective so he is sending it back. At that point I think he additionally concluded that continued discussion was a waste of everyone's time. But I am just guessing here. I had a discussion with him and he seems to be a nice guy and I suspect he didn't do it to intentionally irritate anyone or anything like that (like a different guy earlier this weekend).
@hunter2379 - It's easier all round if you confine your questions about the same device to the same thread. You can see how confusing it is to ask about measuring voltages in one thread, and about the device for which you want to measure that voltage, in a different thread.