View Full Version : Programming AS5145B?
igorjavaroni
19-01-2015, 12:30
How to program AS5145B Magnetic Encoder in LabView?
otherguy
19-01-2015, 13:56
Looks like this has SSI, PWM, and quadrature outputs.
How are you planning on wiring it?
If you use the quadrature outputs, you can just use it like a normal encoder.
wt200999
19-01-2015, 14:02
The easiest way would be to use it as a quadrature outputs and program it the same way you would program any other encoder.
This document has some good details on this:
http://wpilib.screenstepslive.com/s/3120/m/8559/l/91404-using-the-as5145b-magnetic-encoder-with-the-frc-control-system
If you go with the quadrature method, you can find examples in LabVIEW for coding it at this location:
Help --> Find Exampes --> FRC Robotics --> roboRIO --> Sensors --> Encoder.lvprog
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.