I want to use a microcontroller to output a 0 to 5k Ohm analog signal as a throttle signal for a motor controller. The motor controller is an ALLtrax AXE-4834 that drives a large golf cart-type motor. The motor controller also allows, alternatively, a 0 to 5 Volt signal for the throttle.
Not your typical robot application, I know, but I wonder if anyone can help me figure out a way to get an analog signal out of a microcontroller. Analog signals are easy to get in, but hard to get out. The digital to analog converters I can find seem to be expensive overkill, but maybe that's the only solution.
I saw somewhere a recommendation to use a resistor and capacitor to make a crude low-pass filter that can be hooked up to a microcontroller's pulse width modulator output and used as an analog output. But the recommender did not offer any details, and I could not figure out how to do that.
Any ideas? Thanks.