Does anyone on here know if the capacitor-resistor combo attached to a pwm output pin of an Arduino gives a decent analog output?
People replied a lot while I was sleeping. I''m not going to give the same response to everyone who was asking what its for, so I'll just say it here. I want to use an arduino to spoof the 0-5V analog throttle signal on this ebike i'm building.
As best I can tell, ebike throttle units put out an analog voltage without any kind of data signal, but somehow the e-bike knows the difference between a real throttle, and one made out of an arduino, or even made out of a bench power supply. It will only run when connected to an actual ebike throttle
Controlling the Controller Cheaply

Hey, it's only been six months since my last post about motor controllers and the Power Racing Series so I guess it's time for an update! If you missed it, I'm working on a tiny electric vehicle that can serve as a reference for teams of beginners to build their own. In the last post [...]

RasterWeb!
@rasterweb Cool! It looks like to managed it.