Author Topic: Measuring the angle of motor rotation using Encoder shaft and PIC 16f877a  (Read 1273 times)

0 Members and 1 Guest are viewing this topic.

Offline mohamedTopic starter

  • Full Member
  • ***
  • Posts: 88
  • Helpful? 0
i want to know the the angle of rotation of a motor using the pulses coming from an encoder by using microcontroller PIC 16f877a
thank you

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,665
  • Helpful? 84
Count the pulses and the angle is #count / #ticks per rev * 360°.

Offline growler

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Encoder pulses represent rotational translation, time is well, time.

So measure encoder pulses and time, then divide one by the other as said above and you get a speed value. Hell, with quadrature encoders you get a velocity.

 

Related Topics

  Subject / Started by Replies Last post
14 Replies
2366 Views
Last post November 14, 2008, 02:48:23 PM
by HDL_CinC_Dragon
0 Replies
1072 Views
Last post December 07, 2010, 02:55:08 PM
by knossos
1 Replies
464 Views
Last post February 09, 2011, 08:25:14 PM
by waltr
4 Replies
261 Views
Last post February 17, 2013, 11:24:13 PM
by jwatte


Get Your Ad Here