Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Mechanical webpage hitcounter

Mechanical webpage hitcounter

This counter would have an additional advantage, though: every time a person requests a page from my site, the counter would give a satisfying Click!. The more clicks you hear, the more people reading your pages.
A pulse counter like this is quite simple to control: every time a pulse is sent to its input, the number displayed by the cylinders inside mechanically is increased by one. According to the label on the side, this one needed a 24V-pulse to do its work. That could pose a problem: 24V isn’t something a PC usually works with: almost all ports use 5V.

There’s one exception, though: the serial port can output voltages of -10/+10V at 20 mA. Normally, that’s not enough: 10V doesn’t make the counter ‘click’ and even if it did: it needs more than 20mA to do its job. Luckily, I had a few tricks up my sleeve to make it work: if you set one pin on the serial port to output -10V and another to +10V, you end up with a 20V voltage difference, which is enough to allow the counter to do its thing. If we then store that 20V in a capacitor and use another output pin to discharge the contents of the capacitor on the counter, we have sidestepped the 20mA-restriction too.

Visit Here for more.







 

More Articles to Read

An Arduino laser pinball machine
An Arduino laser pinball machine
CTCSS fingerprinting: A method for transmitter identification
CTCSS fingerprinting: A method for transmitter identification
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
Brute force computation for cheap log digital potentiometer
Brute force computation for cheap log digital potentiometer
Smart "Homer"
Smart "Homer"
A DIY Segway-style vehicle
A DIY Segway-style vehicle
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Peeqo is a desktop bot that communicates through GIFs
Peeqo is a desktop bot that communicates through GIFs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs
Serial seven segment LED display shield
Serial seven segment LED display shield

Top


Shares