{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Mechatronics_11_25_08_Dig2Analog

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

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

A/D and D/A details Fundamentals of Mechatronics Engineering 11/25/08

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

View Full Document
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.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern