Need help with my project -- microcontroller for DC motor controller

Click For Summary

Discussion Overview

The discussion revolves around a student's project involving the use of a Microchip PIC16F876 microcontroller for controlling a DC motor. The project requirements include interfacing with a personal computer to manage speed, direction, torque, and position, as well as monitoring the motor's speed and turns per second. Participants are sharing insights, suggestions, and resources to assist the student in completing the project.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • Some participants suggest searching online for resources related to 'PIC microcontroller motor control' to find relevant information and circuit diagrams.
  • One participant shares their experience with programming a PIC microcontroller, emphasizing the importance of familiarizing oneself with the MPLab software and the programming process.
  • Another participant recommends designing and testing the drive circuitry for the DC motor as a standalone project, suggesting the use of a 555 timer to simulate the microcontroller output if PWM is planned.
  • There are suggestions to determine the electrical and load requirements of the motor and to work backwards from the drive circuit to the microcontroller interface.

Areas of Agreement / Disagreement

Participants generally agree on the importance of understanding both the microcontroller and the drive circuitry, but there are no explicit agreements on specific methods or solutions. Multiple approaches and suggestions are presented without consensus on a single best practice.

Contextual Notes

Limitations include the lack of specific circuit diagrams or detailed explanations, as well as the assumption that the student has a foundational understanding of programming and electronics.

Who May Find This Useful

This discussion may be useful for students and hobbyists working on similar microcontroller projects, particularly those involving motor control and interfacing with computers.

zxcvb
Messages
10
Reaction score
1
Hello, I'm a student currently doing my final year degree course in University College Sedaya International.
I have given a project called as Microcontroller for DC motor control. The requirement of the project are :-
PIC16F876-042fSO.jpg

1). Type of Microcontroller = Microchip PIC16F876
2). DC motor
3). The project have to be interfaced with personal computer to control the speed, direction, torque and position.
4). Have to monitor the speed and the turns of the motor in per sec.

So, I'm looking for some sources to complete my project successfully. But I'm not so familiar with this project and I'm seeking for some help.Is that possible for me to get the circuit diagram and the explanation of it.
 
Engineering news on Phys.org
The PIC microcontrollers have been around along time now and there is a large amount of information about their practical application on the internet .

If you just search on ' pic microcontroller motor control ' you'll get all the information you need for your project .
 
The first microcontroller I programmed was a PIC 18F series. I had never programmed a microcontroller although I had done a lot of troubleshooting of microcontroller systems. I used MPLab offered free from the microchip website. I programmed in C which was a first for me also. It's not that hard if you take the time and you have the appropriate background which I would assume you do since you are in school.
-
It can be very intimidating since any microcontroller is a fairly complex device. The PICs are loaded with a lot of peripherals (A/D convertors, timers, etc.) so it seems a bit more intimidating but in the end it actually makes it easier. Don't let it get to you. Have you downloaded MPLab and gotten familiar with the editor?
 
Here's a suggestion that might help. Since the micro controller will need drive circuitry to control the DC motor, try to design and test the drive circuit as a stand alone project with the input requirements of the driver corresponding to the outputs from the PIC Micro controller. If your planning to use PWM, the micro controller output can temporarily simulated with a 555 timer. Once the circuit is working satisfactorily, the information and knowledge gained from this design process will help with the design of the driver interface to connect the PIC to the driver and the software for the PIC to run. If there are problems under hardware/software control, knowing the driver is working standalone gives you the opportunity to focus on the micro controller side of things. Overtime you may develop a "toolbox" from your working prototypes which make future projects easier.

Determine the drive requirements (electrical and load) of your motor and work backwards to the output of the drive circuit and eventually back to how you plan to interface the micro controller to the drive circuit under software and maybe interrupt control. Hope some of these ideas gives you some more ideas. Good luck
 
  • Like
Likes   Reactions: cnh1995

Similar threads

Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
12
Views
3K
Replies
25
Views
5K
  • · Replies 14 ·
Replies
14
Views
4K