Is there a simple, reasonable way to build an electronic counter. I want to count the number of times a mouse passes, with absolutely no interference, through a given opening.
A microcontroller and an IR led and Phototransistor would be the easiest solution. The LED emits IR light that is detected by the phototransistor. when the mouse blocks the beam the change is detected by the phototransistor circuit and counted by the microcontroller. You should be able to find circuits for all these things with google.
I suppose it depends on your definition of 'simpler', you don't have the software to write - but many IC's against one IC doesn't strike me as 'simpler'.
I suppose it depends on your definition of 'simpler', you don't have the software to write - but many IC's against one IC doesn't strike me as 'simpler'.
The simplest would be to use a light detector like an LDR or infrared sensor and interface it to a transisor wired as a switch which makes a line active when the light beam is cut. Then u have options like u can interface the line to the parallel port of the PC and write a simple C program to do the counting and manipulate the Data in any way.
Or the most simple thing would be to connect the transistor output to short the = key contacts of a calculator. In a calculator when u press +1 and then keep on pressing = the number keeps on adding so eack light interruption ur number of counts would go on increasing.
Is there a simple, reasonable way to build an electronic counter. I want to count the number of times a mouse passes, with absolutely no interference, through a given opening.