This repository contains the code and documentation for a Motor Controlling Positioning System. The project aims to develop a system that enables precise control over the position and movement of motors using microcontroller-based control circuits.
- Control the direction and speed of a motor using a microcontroller.
- Interface with user inputs to command motor movements.
- Implement Pulse Width Modulation (PWM) for smooth speed control.
- Display relevant information on an LCD screen for user feedback.
- Utilize analog-to-digital conversion for user input handling.
- Incorporate hardware components such as relays and sensors for accurate control.
- Microcontroller: PIC16F877A
- LCD Display: 16x2 character LCD
- DC Motor: For motor movement simulation
- Relays: To control motor direction
- Potentiometer: For user input of motor speed
- Push Buttons: For user input of motor direction and control
- Clone this repository:
git clone https://github.com/malikmouhiidine/antenna_positioning_system_pic16f877a.git
- Compile and upload the code to your microcontroller.
- Connect the hardware components as per the circuit diagram (see the PDF).
- Power on the system and use the interface to control the motor.
- Use the push buttons to select the motor direction (right, left, stop).
- Adjust the potentiometer to set the desired motor speed.
- Observe the motor movement and information displayed on the LCD screen.
During the development of this project, several challenges were encountered. These include:
- Creating a custom division algorithm in assembly language.
- Integrating hardware components with precise timing requirements.
- Ensuring reliable motor control and smooth movement transitions.
- Debugging code for accurate sensor readings and user inputs.
- Malik Mouhiidine And Oussama Awlaqi and a special thanks to prof Alaawami for helping us in trying to realise the project.
This project is licensed under the MIT License.