Constantly analogRead and base (map) the analogWrite on the result.The Big Picture, regarding that op-amp circuit, is its integrating - taking pulses in and resulting a sort of ramp or triangle out. 20 mA from an op-amp output is questionable.
A transistor or MOSFET would could provide more power/amperage than a typical op-amp.Sorry,I'm going to sound like your mother... IMO - It's just a bad idea to encourage you & your friend to "floor it" all the time to get the full-effect. You might consider finding a way to detect the RPM, and run the LEDs from engine speed rather than throttle position. You would still have to rev it up to get an effect, but reving at light loads or low gears is not as hard on the car (and not as quite as dangerous) as flooring-it all the time. A string of LED's showing throttle position as a bar-graph or dot-graph would probably be OK, but personally I don't like the idea of dim LEDs at less-than-maximum throttle position, because anything less than full-throttle is no fun!
More than anything, we're hoping it'll have a psychological effect on people so when they look in the rearview mirror
QuoteMore than anything, we're hoping it'll have a psychological effect on people so when they look in the rearview mirrorWell, I know what I think when I see stuff like that in the mirror.
Quote from: dxw00d on Jul 30, 2012, 10:02 amQuoteMore than anything, we're hoping it'll have a psychological effect on people so when they look in the rearview mirrorWell, I know what I think when I see stuff like that in the mirror.LOL!It certainly would have a 'psychological effect on people' but I don't think it's the one you're looking for.(And generally, anything that needs a glowing light in the hood scoop that changes with rpm to 'give them a hint as to how fast he's accelerating' is going to spend most of its time in the rear view mirror!!)
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16