So I just found out why my Ultimaker temp measurements are off. Turns out some idiot thought referencing the ADC to USB +5V was a good idea.
-
-
I can't believe I'm the first one to notice this. Way to put a fancy thermocouple and preamp IC and then completely *destroy* accuracy.
-
Yea, the +5V from Usb is super noisy! I once neeed it and had to use big inductors/caps to filter it.
- Show replies
New conversation -
-
-
That's hilarious... and really no excuse for it. It's not like the internal voltage references are locked away behind obscure documentation.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I've found most built-in references on embedded systems to be terrible. You're often better off supplying your own somehow.
-
You're definitely not better off with *VBUS* though.
- Show replies
New conversation -
-
-
Well, it does make sense when you just use an NTC and a resistor as voltage divider on the VUSB rail.
-
Although I always would use a regulated rail.
End of conversation
New conversation -
-
-
30ct voltage reference IC's
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are you sure your used firmware doesn't switch to the internal bandgap reference (ACBG bit in ACSR)? Of course you should also decouple AVCC witch a LC lowpass from VCC for better preformance but a fixed reference for AVCC is definitely not mandatory.
-
Yes, I am sure. I read the code, and confirmed that bumping up VBUS to 5V fixes the temperature issue. By "built-in accurate voltage reference" I meant that internal bandgap. ACBG is for the comparator, BTW. You want REFSn in ADMUX for the ADC.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.