(MM) wild temp sensor readings

Author Message
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 05:57pm 13 Jan 2012      

I did single measurements then ran 1000 samplings and averaged them, the result was same, so I didn't want in this example to bloat the code as the precision stays same no matter if you sample 1 or 1000 times
Jwettroth can you post your schematic how do you wire the sensor, you should do something wrong, or can you check with oscilloscope what is your voltage on the input pin and if it fluctoates by some way like modulated with 50Hz noise?
investigate your PIC32 power supply for noise too, in DM special care was made when the power supply was layout and the Analog part must be properly de-coupled form the digital part
Edited by Olimex 2012-01-15