Professional Documents
Culture Documents
DethiCK_2021_Hk1
DethiCK_2021_Hk1
Part 1: Problems
a. (LO1) Calculate resolution of motor rod in cases of reading mode: 1X, 2X, and
4X?
b. (LO4)Draw circuit to read and control motor position using Atmega8
microcontroller (using both of pulses A and B of encoder).
c. (LO2) Describe main configurations so that you can read position from encoder
and control the motor.
d. (LO3)Write C-Code to read motor position with 2X mode, calculate motor rod
angle according to encoder value? Note that, student need to determine motor
direction before calculating motor position angle.