How to make working one HCTL2016 and a PIC16F876


Results 1 to 4 of 4

Threaded View

  1. #3
    hawk72501's Avatar
    hawk72501 Guest


    Did you find this post helpful? Yes | No

    Unhappy

    Thanks for answering.I don't want nothing extreme.Just to have a number in PIC16F876(for example 16 degrees or 352.16 degrees,something like that) how many degrees the motor turned. The concept is to make a PD controller.But in order to make the PD controller i must subtract the desire degrees of rotating the motor (turn 5 degrees) with the actual.And i want to control the actual degree.The first i made it with a SERIN2.They said to me that the encoder gives pulses and in order to make them 0 or 1 i must have the HCTL.Is that wrong?

    i really didn't understand much from your code (f.e what is >>6).Can you be please more specific?Sorry but i am now beginning....
    Last edited by hawk72501; - 9th July 2005 at 13:28.

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