Mechatronics_11_25_08_Dig2Analog

Mechatronics_11_25_08_Dig2Analog - A/D and D/A details...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
A/D and D/A details Fundamentals of Mechatronics Engineering 11/25/08
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
(Pre lecture Comments) Don’t forgot about your projects over the Thanksgiving weekend. Pick your time slot for your presentation on 12/09: Sign up sheet to go around class today. Presentation: 12 to 15 minutes long Each person should speak for 2 or 3 minutes describing their role. One person will give an overview of the project. (2 minutes x 4 people+2 minute overview=10 minutes) Demonstrate project (~2 minutes) If you have a project that requires an outside demonstration, please try to cluster your projects at the end of the time slots. (write “Outside” next to your project name). If you want to demonstrate your project early, it is encouraged. Project Report DUE: Friday, 12/12 by 5:00pm, email OK.
Background image of page 2
Recall the basics of A/D Samples an analog input (continuous voltage over 0-5 Volts)* The analog input gets converted to digital form, a certain number of bits. The Atmega 128 has a 10 bit A/D converter. 5 volt input=11 1111 1111=1023 0 volt input=00 0000 0000=0 Linear in between The Atmega 128 has a 10 bit A/D converter, but there are many sizes available : 8 bit, 12 bit, 16 bit, etc. You might imagine that if you take the same 0-5 volt input, and represent it as 0- 1023 (10 bit) versus 0-65,535 (16 bit), the 16 bit has much more resolution. It can represent smaller variations in the input that will be “rounded” off with the 10 bit A/D. So what is the resolution of a 10 bit A/D? 5 volts/1024=.0049 volts. This is called the quantization: Q=(Vmax-Vmin)/N, where N=2 , n=number of bits But, what does it mean as far as you accuracy? Let’s say that input was a temperature sensor with a range of 0 to 100 degC represented by 0-5 volts. 100 degC/ 5 volts
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 14

Mechatronics_11_25_08_Dig2Analog - A/D and D/A details...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online