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

Debugging ARM Cortex-M0+ HardFaults
Debugging ARM Cortex-M0+ HardFaults
EMP Jammer build
EMP Jammer build
A 3D-printed e-drum pad
A 3D-printed e-drum pad
Interactive geodesic LED dome = extreme geometric fun!
Interactive geodesic LED dome = extreme geometric fun!
Guide to build your 3.3v power supply
Guide to build your 3.3v power supply
SDR radio breathes life into a 75 year old Marconi CR100
SDR radio breathes life into a 75 year old Marconi CR100
A Time for Ranting!
A Time for Ranting!
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
Robotic Cat Laser
Robotic Cat Laser

Top




Shares