Pic temp sensor

What would probably be the likely cause of the output bouncing on the lower 4 bits, bits 0,1,2,3, but has good stability on the upper bits. I'm using a junk box Pic 16f807 with one input line to AN0 which is being fed from the output of a LM324 op amp wired as a non-inverting dc gain. The signal to the op amp is coming directly from a thermocouple.

If it's do to noise why does it only bounce on the lower bits?

Pj

Reply to
Pj
Loading thread data ...

Lower bits are the smaller voltage detection bits, right...

Reply to
Fred Bloggs

It's analog noise from the opamp; digitized, the lower bits wobble.

An LM324 is a terrible opamp for this. But expect noise anyhow, since thermocouples make tiny voltages.

Use a better opamp, and take lots of samples and average.

John

Reply to
John Larkin

Or use a better ADC. For instance, the AD7792 has an integrated amplifier, and 50/60 Hz filters. With some careful layout, it will get you 16 stable bits.

Reply to
Arlet Ottens

A low pass filter to reduce the bandwidth will reduce the noise, you only need dc to 0.5Hz at most.

Reply to
cbarn24050

Maybe he only needs 8 or 9 bits... not everything has to be a frick'n gold plated design y'know. Best regards, Spehro Pefhany

--
"it\'s the network..."                          "The Journey is the reward"
speff@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com
Reply to
Spehro Pefhany

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.