Rotary Encoders

Post any questions you may have about our current range of oscilloscopes
Post Reply
PaulConnor
Newbie
Posts: 0
Joined: Mon Mar 09, 2020 5:05 pm

Rotary Encoders

Post by PaulConnor »

I would like to use the Picoscope 2205A to capture some rotary encoder signals.

Encoder No. 1 is an SSI encoder that is connected to a controller. I would like to read the clock signal (generated by the controller) and the data signal (generated by the encoder) and construct the 24-bit number.
Encoder No. 2 is a quadrature encoder that gives two TTL level signals. I would like to use the MSO to count pulses (up or down, dependent on direction) and give an accumulated count number.

The goal is to check that both encoders agree. Is it possible to do this with the standard software? If not would it be easy to do this with the SDK?

Paul

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: Rotary Encoders

Post by Gerry »

Hi Paul,

Our PicoScope 6 software doesn't support the Serial Synchronous Interface, so you would not be able to use it to decode the data into the 24-bit number. Also, in PicoScope 6, you can capture the 2 output signals of a Quadrature Encoder and determine direction using Math Channels, and you can count pulses using our Automated Measurements but you can't use the direction information to determine whether to count up or down.

So, you would need to use our SDK to create your own code to do both. You can download our SDK from here: https://www.picotech.com/downloads, and download example applications that perform basic capture of incoming data for different Programming IDE/languages from GitHub here: https://github.com/picotech. Creating both applications should not be difficult (here is a guide that will help with the counting of pulses from a Quadrature Encoder: http://www.creative-robotics.com/quadrature-intro ), and you may even find someone on this forum who has already done that and is willing to share the code.

Regards,

Gerry
Gerry
Technical Specialist

Post Reply