TOC PREV NEXT

13.9 ASSIGNMENT PROBLEMS


1. An analog output needs to be between -4V and 8V, in 0.005V intervals. How many bits are required for the D/A converter?
2. Discuss methods for reducing electrical noise in analog inputs.
3. Write a C program for an ATMega 32 microcontroller to collect an analog data value every half a second and print it to the screen. The program should run for 10 seconds and then stop.
4. Write a C program for an ATMega 32 microcontroller to read a 10 bit analog input every 20ms and update an 8 bit PWM output. The relationship between input and output should be such that when the analog input is 0 the PWM output should be 0, and when the analog input is 1023 the PWM output should be 255.
TOC PREV NEXT