Problem on motor driver + PIC

Good day everyone,

there are five pins in the DC Motor Driver:GND,Vcc,PWM CCW,CW

and i have two motor drivers.


I have problem on how to connect the pins of the motor driver to the PIC 18F4550.

I have connected one of the motor driver as below:
RC2 to PWM output
RB0 to CCW
RB1 to CW
is that correct?😕 advice me if i 'm wrong .

and dunno how to connect the PWM CCW,CW pins of the other side.

Anybody can help me? thank you.

-------------------------------------------------------------------------
😁 PWM pin's are connected to RC1 and RC2,

while CW and CCW pins can connected to any I/o pin's of the PIC

Please turn to question 2,thank you.

Replies

  • king28
    king28
    and Here is my 2nd question,

    I have read alot regarding to torque constant(Km) and back emf(Ke) ,but still can get the answer,

    may i know how to get the value of torque constant(Km) and back emf(Ke) with only having the information below? [​IMG]

    Information of the motor from the datasheet
    torque 588mN.m
    output power 3.4W
    weight 280g
    rated voltage 12V

    current as no load=max 200mA
    speed as no load = 75r/min

    rated(with load) = max 1.1A
    rated(with load)=56r/min

    the value i get for torque constant(Km) is 0.5145,is that correct?

    Anybody and help me? thank you.
  • king28
    king28
    I have found the solution for Q1,

    PWM pin's are connected to RC1 and RC2,

    while CW and CCW pins can connected to any I/o pin's of the PIC.

    I am appreciate for those who are trying their best to help me. [​IMG]

    Now headache on Q2. [​IMG]

You are reading an archived discussion.

Related Posts

hey the foll is the program i did for index sequential search.And i have used a function called getline but its giving a error that unable to call function getline.So...
during surfing i found about Programming Contest for Engineering and MCA Students Visit for more information Home Aspirations 2020
Hello, I am using a basic circuit with a thermister, variable resister and reid switch to turn on a motor at a certain temperature. Is it at all possible to...
Hi, I'm a 3rd year EIE student. I'm planning to do graduate degree in Canada. I wanted to know which course is better Biomedical Instrumentation or Oil/Gas instrumentation? Is industrial...
I hope you must have heard about Paypal account In this thread i will explain everything about it PayPal allows members to have one Personal account and one Premier or...