Maker Pro
Maker Pro

Magnetic Encoder PINS for a standard use

Electron_23

May 6, 2014
6
Joined
May 6, 2014
Messages
6
Hello everyone,

I am going to use the AS5145 encoder for a motor control application, but when I read the data sheet there are things I don't understand. I just want to give a pretty standard use, not program it. So my question is:
- Do I have to connect the pin CLOCK? If yes, where? Im using a dsPIC33.
- What pins I don't need to use? I mean pins like DO PDIO, I don't know what to do with them.
Sorry for the simple questions but I am not familiar with this device or any other magnetic encoder at all.

Thank you very much in advance, I really appreciate any help, and I really need it.
 

Attachments

  • AS5145_Datasheet_EN_v6.pdf
    814.4 KB · Views: 242

kpatz

Feb 24, 2014
334
Joined
Feb 24, 2014
Messages
334
The CLK pin is used to clock the serial output. So, you'll need to use this pin if you're using the serial interface. Your dsPIC would provide this signal and would receive the data via the DO pin. You won't need to use these if you're using the PWM output instead.

You only need the PDIO pin if you are OTP programming the device. This is a one-time only function so if you need it, you'll likely connect this pin to a test point or header on your board to connect a programming device.

How do you plan to read the encoder's position with your dsPIC?
 
Top