OK, I have seen several threads about using PWM for DA output, but have been pondering. A couple of questions have popped into my mind, and haven't yet seen answers.
1) If you are simulating DA with PWM and a capacitor(s), what range of capacitor(s) do you want?
2) If you are reading the faux analog signal with a microprocessor, is this going to give strange fluctuations/artifacts, etc. on the reading?
The reason I ask. I have considered replacing the 5K pots in a hobby RC transmitter with a Picaxe circuit to automate/improve some things (basically think of adding a mixer or end-point adjustment or other feature to a radio not already so equipped. Luckily the TX I am hacking is based on a 5v board system, as it uses a couple of PICs already.
Any thoughts?
Cheers,
Wreno
1) If you are simulating DA with PWM and a capacitor(s), what range of capacitor(s) do you want?
2) If you are reading the faux analog signal with a microprocessor, is this going to give strange fluctuations/artifacts, etc. on the reading?
The reason I ask. I have considered replacing the 5K pots in a hobby RC transmitter with a Picaxe circuit to automate/improve some things (basically think of adding a mixer or end-point adjustment or other feature to a radio not already so equipped. Luckily the TX I am hacking is based on a 5v board system, as it uses a couple of PICs already.
Any thoughts?
Cheers,
Wreno