Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design high frequency sample and hold routine #20

Open
etemu opened this issue Dec 10, 2012 · 1 comment
Open

Design high frequency sample and hold routine #20

etemu opened this issue Dec 10, 2012 · 1 comment

Comments

@etemu
Copy link
Collaborator

etemu commented Dec 10, 2012

Detach all interrupts, set a low prescaler and sample a single ADC channel with a variable Frequency up to 500khz - for detailed waveform analysis within a specific window.

This is not mandatory but rather an enhancement for educational purposes and advanced analysis of the waveforms.

@etemu
Copy link
Collaborator Author

etemu commented Dec 22, 2012

Setting the prescaler to 16 yields an ADC clock up to 1Mhz but it may have an impact to resolution:

The Atmega168 datasheet eludes to the fact the reason behind using the default 200kHz clock is because it is optimized around the connected voltage source having an output impedance of 10k or less. So, a buffer stage aka impedance converter is needed for a high-Z input from TiVA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants