Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

ADC in AVR

ADC in AVR

2005-01-06 by Nailson Roveta

Dear,  
  
I need to use a sensor of temperature in the avr so that he makes a 
decision in agreement with the value (using the entrance A/D). Use 
BASCOM, does anybody have some circuit (clue) with that resource? I 
am using an attiny15. In the moment use an AT90S4433 connected to a 
PC to accompany the value read in the door ADC, I placed a variable 
source 0-5V in one of the channels ADC, even so, I am not obtaining 
success. when passing the 2,5V all the channels they start to have a 
value of 1023. Excuse for English. thank you. 

Nailson

Re: [AVR-Chat] ADC in AVR

2005-01-06 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: Nailson Roveta
To: AVR-Chat@yahoogroups.com
Sent: Thursday, January 06, 2005 1:53 PM
Subject: [AVR-Chat] ADC in AVR



Dear,

I need to use a sensor of temperature in the avr so that he makes a
decision in agreement with the value (using the entrance A/D). Use
BASCOM, does anybody have some circuit (clue) with that resource? I
am using an attiny15. In the moment use an AT90S4433 connected to a
PC to accompany the value read in the door ADC, I placed a variable
source 0-5V in one of the channels ADC, even so, I am not obtaining
success. when passing the 2,5V all the channels they start to have a
value of 1023. Excuse for English. thank you.


I've just been experimenting with the ADC in the Mega8535, which has a 2.56 
V reference. The '4433 is probably similar, so you will need to attenuate 
your input if you want to measure up to 5V.

Leon 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005

Re: [AVR-Chat] ADC in AVR

2005-01-06 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: Jose Fuentes
To: AVR-Chat@yahoogroups.com
Sent: Thursday, January 06, 2005 3:00 PM
Subject: Re: [AVR-Chat] ADC in AVR


Which voltage reference are you using?  I used
ATmega16 and had a similar problem because it was set
to use internal 2.56V voltage reference.

I used the M8535 built-in reference. You could always disable it in your 
software and connect it to AVCC, for a nominal 5V reference.

Leon 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005

Re: [AVR-Chat] ADC in AVR

2005-01-06 by Jose Fuentes

Which voltage reference are you using?  I used
ATmega16 and had a similar problem because it was set
to use internal 2.56V voltage reference.

Regards,

Jose

 --- Leon Heller <leon.heller@dsl.pipex.com> escribió:

> 
> ----- Original Message ----- 
> From: Nailson Roveta
> To: AVR-Chat@yahoogroups.com
> Sent: Thursday, January 06, 2005 1:53 PM
> Subject: [AVR-Chat] ADC in AVR
> 
> 
> 
> Dear,
> 
> I need to use a sensor of temperature in the avr so
> that he makes a
> decision in agreement with the value (using the
> entrance A/D). Use
> BASCOM, does anybody have some circuit (clue) with
> that resource? I
> am using an attiny15. In the moment use an AT90S4433
> connected to a
> PC to accompany the value read in the door ADC, I
> placed a variable
> source 0-5V in one of the channels ADC, even so, I
> am not obtaining
> success. when passing the 2,5V all the channels they
> start to have a
> value of 1023. Excuse for English. thank you.
> 
> 
> I've just been experimenting with the ADC in the
> Mega8535, which has a 2.56 
> V reference. The '4433 is probably similar, so you
> will need to attenuate 
> your input if you want to measure up to 5V.
> 
> Leon 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.8 - Release
> Date: 03/01/2005
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 
>  


	

	
		
___________________________________________________________ 
250MB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.