Thread: Encoder Signal to PC
Hybrid View
-
25-04-2011 #1
Which one - linear or rotary? Different animals and different problems. The output from a rotary encoder will give you an angular not a linear measurement - the angular measurement being a proportion of a revolution.
If the encoder is attached to a leadscrew, it's easy as one revolution moves one leadscrew pitch. Any other way, you need to convert linear motion into rotary (e.g. rack and pinion).
How do you intend to get the signal into the PC? Serial port, parallel port, USB, ESP? What operating system? Can you do the programming at the PC end?
Most rotary encoders give a quadrature signal. The higher end linear encoders have a similar signal. This signal is easy to decode using a microcontroller (e.g. AVR, PIC, Arduino) to count pulses (either very fast by polling or interrupt-driven). The controller can then send to the PC using a standard communications protocol.
Cheaper linear encoders (i.e. Chinese scales) have a different protocol, but it has been documented in many places. Search for YADRO or Schumatech.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need to slow down a signal due to Safe Torque Off alarm
By corkcnc in forum General ElectronicsReplies: 0Last Post: 04-06-2014, 11:35 PM -
WANTED: Wanted Linear Scale/Encoder
By gavztheouch in forum Items WantedReplies: 9Last Post: 24-01-2013, 05:32 PM -
Encoder for Spindle RPM
By abfa9358 in forum Gantry/Router Machines & BuildingReplies: 1Last Post: 12-04-2011, 09:03 PM -
re servo encoder
By Scott in forum General ElectronicsReplies: 6Last Post: 24-06-2010, 08:30 AM -
+5V TTL Signal
By NC-Joey in forum General ElectronicsReplies: 2Last Post: 12-08-2007, 02:46 PM
Bookmarks