We started with your idea of the two beams, and finally settled on a bidirectional counter and a flip-flop ic chip with two photoelectric switches. If the switches are triggered "a then b" then one side of the flip-flop sends a count pulse to the "up" counter. The switches are wired oppositely to the other side of the flip-flop, and if they are triggered "b then a", then it pulses the "down" counter, and the counter subtracts the person who just went "in the out", and then will add them back in when they come back out.
The switches will be mounted at about waist level, about 4 inches apart. It will miss some little kids, but catch most people.
It's not perfect. But it will get us to within a couple of percentage points, for a lot less money than some of the commercial stuff that's out there. Not to mention I learned something. I prefer that to just buying something and sticking it in.
The switches will be built into the gate we will be putting up, with the counter in some sort of a weatherproof box. I have not seen the design (if there is one yet) of the gate or the fenced in area, so that part will be "engineered on the fly". I am hoping that the design of the fence and gate will permit the use of a solar panel to keep this thing working. The photoelectric switches draw about 30 MA, and the counter has it's own battery, so I got a 7.2 AH AGM battery to power the thing. I am trying o avoid having to run high voltage (which in my case is anything more than 12vdc
) to this thing. As per request, when it happens, I will get pictures.
TW
[This message has been edited by Trainwire (edited 03-06-2003).]
edited again as I think of how to say things
[This message has been edited by Trainwire (edited 03-06-2003).]