HELLO SIR/MA'AM...
ask po sana about interfacing the coin slot with microcontroller,,,
may program na po pra sa counter ng every drop ng coin..
the behavior is,, every time na may ihulog na coin, it counts as one, then it increments every coin drop...
i treated the coin slot like a push button.. every push increments..
may problem is, im using an S.R CPU COIN SELCTOR, it has 5 wires:
black----grnd
red----12v
white---coin signal
gray1(+/-)---counter
gray2(-/+)---counter
which of these wires (white or gray(1or2)) ang e coconect ko sa input port ng PIC16F877A??
salamat po...