Hi all,
To perform DA conversion I often use Pwmout,255,xxxx. Vwish/Vsupply = xxxx/1023 and easy to calculate. Outputs to a simple RC network f.e. R=10k and C=4.7uf. One has to buffer the output. I' am using a LM358 (dual opamp). It's output ranges from 0 to Vsupply - ca. 1.5V. When powering the LM358 at an at least 2Volt higher level then the PicAxe, one gets DA conversion over the full range of the voltage of the PicAxe.
Once the Pwmout command is executed the PicAxe is free to continue it's program.
I have used it to multimeterdisplay all kinds of calculations, like temperature, linear position etc.
Regards
To perform DA conversion I often use Pwmout,255,xxxx. Vwish/Vsupply = xxxx/1023 and easy to calculate. Outputs to a simple RC network f.e. R=10k and C=4.7uf. One has to buffer the output. I' am using a LM358 (dual opamp). It's output ranges from 0 to Vsupply - ca. 1.5V. When powering the LM358 at an at least 2Volt higher level then the PicAxe, one gets DA conversion over the full range of the voltage of the PicAxe.
Once the Pwmout command is executed the PicAxe is free to continue it's program.
I have used it to multimeterdisplay all kinds of calculations, like temperature, linear position etc.
Regards