Some questions on motor speed control


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Some questions on motor speed control

    ADCIN 0, CCPR1L ' Read Pot, and put the result directly to PWM register. Assuming 8-bit adc reading
    Hi sayzer, thanks for the time. I settle to use L298 because that's what I have right now. Can you help me check my connection between the PIC and L298..is this okay? Like I said in first post I was able to control the L298 but without PWM conttrol on PortB. Now I want to apply the PWM on PortC.1, but not really sure how is the connections...

    thanks in advance,
    joe
    Attached Images Attached Images  

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default Re: Some questions on motor speed control

    Quote Originally Posted by joseph Degorio View Post
    Hi sayzer, thanks for the time. I settle to use L298 because that's what I have right now. Can you help me check my connection between the PIC and L298..is this okay? Like I said in first post I was able to control the L298 but without PWM conttrol on PortB. Now I want to apply the PWM on PortC.1, but not really sure how is the connections...

    thanks in advance,
    joe

    I never used L298, I always made my own H-Bridge.
    Using PWM on L298, some people drive Enable pin by PIC's PWM output. I am not sure how effective this is.
    I would, however, use 7408 AND gate (two gates, one pin common to PWM pin), others to direction pins.
    This way, you always have a PWM channel, and also have the control of the direction.

    ______________________
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Some questions on motor speed control

    thanks, sayzer. I will try to take time to study it.

    regards,
    joe

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts