gatheround
Well-known member
I finally started using the Teensy 3.2's built in DAC. Great feature, I love how easy it is to use...
My first application involves sampling a DC voltage on an ADC pin and then outputting the same voltage on the DAC. It's pretty straight forward (just passing the same value) and my results are "good", but I'm wondering what would be involved in making them better.
I graphed the ADC input and DAC output (in .2V steps) to see how accurate they stay. Interestingly, the difference is only 1-2mV for the first 11bits (0 - 1.65V) and then it jumps up to 6-7mV for the rest (1.65V - 3.3V).
I'll admit to being pretty overwhelmed by the datasheets for the teensy microcontrollers, but what spec determine the accuracy I could expect from a DAC in this application?
Also while I'm here, can anyone recommend any DAC's that might be better in this regard? Teensy library compatibility is a must (non-programmer here), and 12-bits is totally fine for my application.
Thanks everyone!
My first application involves sampling a DC voltage on an ADC pin and then outputting the same voltage on the DAC. It's pretty straight forward (just passing the same value) and my results are "good", but I'm wondering what would be involved in making them better.
I graphed the ADC input and DAC output (in .2V steps) to see how accurate they stay. Interestingly, the difference is only 1-2mV for the first 11bits (0 - 1.65V) and then it jumps up to 6-7mV for the rest (1.65V - 3.3V).
I'll admit to being pretty overwhelmed by the datasheets for the teensy microcontrollers, but what spec determine the accuracy I could expect from a DAC in this application?
Also while I'm here, can anyone recommend any DAC's that might be better in this regard? Teensy library compatibility is a must (non-programmer here), and 12-bits is totally fine for my application.
Thanks everyone!