Sign in

username:

password:



Not a member?

Search Sci.Electronics.Design



Search tips

design by Keywords

8051 | Amplifier | AVR | CMOS | Converter | DAC | Diode | FPGA | GPS | I2C | IDE | Laser | LCD | MOSFET | Op-amp | Oscillator | Oscilloscope | PID | PLL | PSU | PWM | RFID | RS232 | RS485 | SMPS | Spice | Transformer | Transistor | TTL | USB | VCO

Ads

See Also

DSPEmbedded SystemsFPGA

design | Pic temp sensor


There are 6 messages in this thread.

You are currently looking at messages 0 to 6.

Pic temp sensor - Pj - 2008-02-22 10:21:00

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



Re: Pic temp sensor - Fred Bloggs - 2008-02-22 10:37:00


Pj wrote:
> 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

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


Re: Pic temp sensor - John Larkin - 2008-02-22 12:04:00

On Fri, 22 Feb 2008 07:21:52 -0800 (PST), Pj <f...@yahoo.com>
wrote:

>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


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


Re: Pic temp sensor - Arlet Ottens - 2008-02-22 12:49:00

John Larkin wrote:

> On Fri, 22 Feb 2008 07:21:52 -0800 (PST), Pj <f...@yahoo.com>
> wrote:
> 
>> 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?

> 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.

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.

Re: Pic temp sensor - 2008-02-22 13:28:00

On Feb 22, 3:21=EF=BF=BDpm, Pj <frysn...@yahoo.com> wrote:
> 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. =EF=BF=BDThe 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

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

Re: Pic temp sensor - Spehro Pefhany - 2008-02-22 14:26:00

On Fri, 22 Feb 2008 18:49:44 +0100, Arlet Ottens <usenet+5...@c-scape.nl>
wrote:

>John Larkin wrote:
>
>> On Fri, 22 Feb 2008 07:21:52 -0800 (PST), Pj <f...@yahoo.com>
>> wrote:
>> 
>>> 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?
>
>> 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.
>
>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.

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"
s...@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com