Live data from Hacker News

EEVblog: The 555 Timer is 55 years old [video]

youtube.com

41–50 of 97 posts

Re: EEVblog: The 555 Timer is 55 years old [video]

#41
post #27

As a kid I didn’t understand what the 555 timer chip on the Apple II disk controller was doing but I learned the hard way that when you misalign the pins on the drive connector cable and the 555 chip releases its blue smoke you can’t use the drive anymore :(

I have read as well that the 555 was used in the game paddles for the Apple II. 555 + potentiometer (the part you turned) varied the length (duty cycle?) of a square wave which the Apple II used to determine the paddle position.

Re: EEVblog: The 555 Timer is 55 years old [video]

#45
post #27

As a kid I didn’t understand what the 555 timer chip on the Apple II disk controller was doing but I learned the hard way that when you misalign the pins on the drive connector cable and the 555 chip releases its blue smoke you can’t use the drive anymore :(

I have read as well that the 555 was used in the game paddles for the Apple II. 555 + potentiometer (the part you turned) varied the length (duty cycle?) of a square wave which the Apple II used to determine the paddle position.

The port that was standardized on for PC joysticks was the dumbest possible one:

The joystick itself just had 1 potentiometer per axis, wired directly to the port. The port had no A/D, no timer, and no interrupt. Instead there was a GPIO and a capacitor. You discharged the capacitor with a GPIO write, and then polled the GPIO to measure when the capacitor was charged again. The number of iterations through your polling loop would be proportional to the position of the axis.

This is a pain to emulate if you aren't doing cycle-accurate emulation. IIRC Dosbox has a bunch of kludges and still doesn't get the joystick right for every game.

[edit]

To clarify the game port used a 558 (quad stripped-down version of a 555) as a schmitt trigger, so it generated pulses of a width proportional to the potentiometer position. I looked up the Apple II interface and it looks very similar, but with the caveat that accelerated versions (e.g. the IIgs) would always clock to 1MHz when reading the joystick port, compared to the PC that could run at a huge range of clocks (and CPI) over the lifetime of the port.

Re: EEVblog: The 555 Timer is 55 years old [video]

#47
You can learn about the origin of the 555 timer from its creator in his free book here: http://www.designinganalogchips.com/

Fun fact: his original concept needed 9 pins and therefore was going be forced to have a 14 pin package. A late epiphany got it down to the 8 pin version we know today.

Re: EEVblog: The 555 Timer is 55 years old [video]

#48
post #45

Earlier quoted context omitted.

I have read as well that the 555 was used in the game paddles for the Apple II. 555 + potentiometer (the part you turned) varied the length (duty cycle?) of a square wave which the Apple II used to determine the paddle position.

The port that was standardized on for PC joysticks was the dumbest possible one: The joystick itself just had 1 potentiometer per axis, wired directly to the port. The port had no A/D, no timer, and no interrupt. Instead there was a GPIO and a capacitor. You discharged the capacitor with a GPIO write, and then polled the GPIO to measure when the capacitor was charged again. The number of iterations through your polli…

I remember using similar trick to use LEDs to sense light. Basically, charge the (reverse biased) LED capacitance, then measure how long it takes to discharge. The lil circuit I had was LED bar, so I used it to sense finger position using that (other leds providing light, LED doing the sensing judging that light and comparing to rest

Re: EEVblog: The 555 Timer is 55 years old [video]

#49

Earlier quoted context omitted.

How many capacitors do you have that can hold their charge for 55 years?

Every EEPROM is basically that, and they're designed for data retention of around 100 years. I imagine it wouldn't be hard - embed two metal plates in glass?

You don't check the eeprom value by flowing current thru the cell as you do with cap

Re: EEVblog: The 555 Timer is 55 years old [video]

#50

I still have the Forrest Mims III Radio Shack "555 Engineer's Mini-Notebook" somewhere in my basement. And rumor has it that Sammy Hagar can't drive 555 because his car just isn't fast enough!

Also consider the IC Timer Cookbook by Walter G. Jung.
Post reply on HN