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

Click For Summary
The discussion focuses on a student's project involving a Microchip PIC16F876 microcontroller for controlling a DC motor. Key project requirements include interfacing with a PC to manage speed, direction, torque, and position while monitoring motor performance. Participants suggest utilizing MPLab for programming and recommend starting with a standalone drive circuit for the motor to simplify the integration process. They emphasize understanding the motor's drive requirements and suggest using a 555 timer to simulate the microcontroller's PWM output during testing. Overall, the conversation provides practical advice for successfully completing the microcontroller project.
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 cnh1995
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

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