Precise Angle Measurement of a Pendulum Using a 600 PPR Incremental Encoder:
Utilized a 600 pulses-per-revolution, 2-phase incremental rotary encoder to accurately measure the rotational angle of a pendulum.
Processed encoder outputs (phases A and B) using an ATmega microcontroller for real-time angle calculation.
Displayed results on the serial monitor while simultaneously logging data to a microSD card shield for further analysis.
Feedback Control of a Geared DC Motor Using Hall Effect Encoder:
Implemented closed-loop feedback control of a geared DC motor with a 151:1 gear ratio and a Hall effect encoder producing 7 pulses per revolution.
Utilised an L298N H-Bridge motor driver IC for motor control and bidirectional operation via PWM input.
Programmed an ATmega328P microcontroller to process encoder pulses and regulate motor performance.
Code: https://github.com/hurairtariq/DC-motor-control/blob/main/Encoder_Code1B_P_Controller.ino
PCB milling machine:
Manufactured PCB Milling machine. Works with G-code supplied to the Mach3 controller through its Mach3 CNC software installed on a PC. It has TB6560 stepper motor drivers (green colour), Mach3 controller connected with DB25 pin to Personal Computer. Lead screws were used for the movement of XYZ axes. Limit switches were installed for all 3 axes. The frame (white in color) is made from a high-density plastic sheet. The frame was designed on SolidWorks and then the cutting of the parts were done through a CNC machine.Â