Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: NoOne=NBA= on November 30, 2004, 07:41:53 pm
-
Does anyone have a design that will allow me to use an analog pedal to send digital pulses, and vary the duty cycle the farther the pedal is depressed?
I want to put together an analog gas pedal system for a game that uses a digital pedal.
As it plays now, the gas is either ON or OFF.
If you want to go slower, you have to pump the pedal (much like what you need to do in Pole Position).
I would like to have "light throttle" send digital pulses that are say 50/50 ON/OFF, and "heavy throttle" send a steady ON signal.
-
So what you want is a circuit that sends on-off pulses, with the length of the "on" pulse to be determined by the signal from a potentiometer. I'm smart enough to know what it is, but not smart enough to build it! :P I'd take that one to these geeks:
http://groups.google.com/groups?hl=en&lr=&group=sci.electronics.design
-
Unfortunately I fell asleep for 3 years while attending electronics school.
It's probably somewhere in my textbooks, but they are somewhere in my garage--amongst the many OTHER things that are somewhere in my garage.
-
You could do this with a microcontroller with a built-in A/D convertor. Then you just write a small routine to monitor the input and pulse the output. You may even find one with A/D input and PWM output built in.
-
well,
-
You could do this with a microcontroller with a built-in A/D convertor.
-
Yeah Atmel would be my first choice. Since it would be such a simple program, you can easily get away with using one of the BASIC or C compilers and you wouldn't even need to get into any dirty machine code!
Also, you can set up an AVR with very few external components.
-
I'll check them out.
Thanks.