Mohibor
Newbie level 1
My project is a ball on beam balancing. Which in this project the motor is mounted at the middle of the beam. A small ball will be put on the beam and it will roll on the beam, and by using a GP2D12 analog distance sensor(detection range=4cm to 80cm), the ball will be balanced in the middle of the beam.
I am using a DC motor for controlling the movement of the beam. The microcontroller I use is a PIC16F877A, and I use LM293D for the DC motor driver.
Anyone know how to program it? I've been stuck in the programming for 2 weeks now.
Thank you.
I am using a DC motor for controlling the movement of the beam. The microcontroller I use is a PIC16F877A, and I use LM293D for the DC motor driver.
Anyone know how to program it? I've been stuck in the programming for 2 weeks now.
Thank you.