Yahoo Groups archive

AVR-Chat

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

Thread

ADC Questions ???

ADC Questions ???

2004-01-03 by Zheng Anding

Hi All,

I got 2 ADC questions,

1. I start ADC at the beginning of the Main(). In ADC ISR, after one time conversion, I start next one. But it's too fast for me. The data shown is too fast to display. How to slow down it?

2. There are data shown around 0 - 20 on the channels which even dont have sensor connected. It's like a "floating" data. How to get rid of it?

Highly appreciate for your answers!

Sincerely,

Alex

Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003

RE: [AVR-Chat] ADC Questions ???

2004-01-03 by Larry Barello

1. Don't print so often, or, make the ADC clock really slow, or don't use interrupts and just do conversions in your main() routine with a suitable delay between conversions & printing.
2. Enable the internal pull-up to make the unused ports to read 0x3FF, or make them outputs and drive low to make them read 0x00. Or, better yet, ignore them.
The reason un-connected bits read similar to the previous conversion is that the sample & hold capacitor is not charged/discharged to the new voltage. They are indeed floating!
-----Original Message-----
From: Zheng Anding [mailto:adzheng@yahoo.com]
Sent: Saturday, January 03, 2004 1:15 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] ADC Questions ???

Hi All,

I got 2 ADC questions,

1. I start ADC at the beginning of the Main(). In ADC ISR, after one time conversion, I start next one. But it's too fast for me. The data shown is too fast to display. How to slow down it?

2. There are data shown around 0 - 20 on the channels which even dont have sensor connected. It's like a "floating" data. How to get rid of it?

Highly appreciate for your answers!

Sincerely,

Alex

Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
Yahoo! Groups Links


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.