Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC 16f877 DC motor control

Status
Not open for further replies.

omsi

Member level 5
Joined
Jan 24, 2006
Messages
93
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,288
Location
London
Activity points
2,105
pic16f877 dc motor

hi,
if u search for program for dc motor controller using pic16f877 u get the sample program for that using pwm.try out.
 

using encoder to pic16f877a

Hi guys...i'm also having a same job with u. I got to use PIC16F876 to generate PWM to control the motor bridge with feedback system and to change the direction at the same time.

Is there any way to obtain the sample program regarding to this case?
 
pic16f877a and dc motor

I've tried to simulate pwm with isis.I can see the pwm waveform on the scope but i can't see any voltage when i measure with a dc voltmeter.What's the problem?
 
pwm using pic16f877a

hi guys,
i am working on the same project too... mind to share your schematic circuit?
 

pic16f877 motor control

Here's a ISIS model on controlling DC motor with PWM.It's in PIC BASIC.
 
  • Like
Reactions: baristura

    V

    Points: 2
    Helpful Answer Positive Rating

    baristura

    Points: 2
    Helpful Answer Positive Rating
dc motor control with pic16f877

tipically, that's what u need!
 
  • Like
Reactions: xiexin

    coshkun

    Points: 2
    Helpful Answer Positive Rating

    xiexin

    Points: 2
    Helpful Answer Positive Rating
pwm using pic16f877

thank you very much! Does opto-encoder a typical way for speed sensing? Is there any alternative to sense the speed?
 

how cuntrol pwm inpic16f877

Also you can you use a tacometer to sense the speed but that's the older way of doing this.
 

    V

    Points: 2
    Helpful Answer Positive Rating
control motor pic16f877

What do you use in your dc contrller to drive the motor? H-bridge,MOSFETs ... etc?
 

16f877 dc motor

Yes. Full bridge with mosfets. Controlled by PIC16F877A.
 

picc pwm

minisan said:
thank you very much! Does opto-encoder a typical way for speed sensing? Is there any alternative to sense the speed?


how about hall effect sensor....try this... sense the magnitude field of the DC motor and output digtial signal back to PIC...
 

pic16f877 pwm controller

Can any body tell are there any predefined PWM, ADC, UART function in HItech C Compiler i m using PICC Version 8.03PL1
PLease help
 
  • Like
Reactions: aqua60

    aqua60

    Points: 2
    Helpful Answer Positive Rating
pic 16f hall

any sample of using PIC 16f877 with the hall effect speed sensor? thanx
 

dc motor to pic16f877a

This code written in Proton Plus Compiler to control the illumination of the LED

device 16f630

xtal = 10
all_digital = 1
dim VALUE as byte
symbol SW1 = portc.0
SYMBOL SW2 = PORTc.1
value = 0

CHK1:
if value < 255 then
IF SW1 = 0 THEN
VALUE = VALUE + 1
ENDIF
endif

if value > 0 then
IF SW2 = 0 THEN
VALUE = VALUE - 1
endif
ENDIF

pwm porta.0, value, 100

goto CHK1

END
 

16f877a control motor

hi
whats the best compiler for pic16f877a??
 

pwm ccs 16f877

syahrul.s said:
hi
whats the best compiler for pic16f877a??

Search the board, you will get your answer. But I think any compiler is good depending on the kind of application.

You can use CCS C, it is user friendly, but don't expect that it is the best.
 

dcmotor+pic16f877a

glenjoy said:
syahrul.s said:
hi
whats the best compiler for pic16f877a??

Search the board, you will get your answer. But I think any compiler is good depending on the kind of application.

You can use CCS C, it is user friendly, but don't expect that it is the best.

Dearfriend, glenjoy

I prefer to use Proton Plus Compiler it is powerfull compiler
 

Re: dc motor to pic16f877a

hassan1980 said:
This code written in Proton Plus Compiler to control the illumination of the LED

device 16f630

xtal = 10
all_digital = 1
dim VALUE as byte
symbol SW1 = portc.0
SYMBOL SW2 = PORTc.1
value = 0

CHK1:
if value < 255 then
IF SW1 = 0 THEN
VALUE = VALUE + 1
ENDIF
endif

if value > 0 then
IF SW2 = 0 THEN
VALUE = VALUE - 1
endif
ENDIF

pwm porta.0, value, 100

goto CHK1

END
 
  • Like
Reactions: xiexin

    xiexin

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top