Go to Post I'm sure FIRST did the math. They always do the math. Just not math humans use. It was probably given to them from NASA from the aliens so we'd quit predicting the divisions before they release it. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 21-01-2015, 14:53
TFleig78's Avatar
TFleig78 TFleig78 is offline
Registered User
AKA: Tyler
FRC #0078 (Air Strike)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Rhode Island
Posts: 58
TFleig78 will become famous soon enoughTFleig78 will become famous soon enough
Re: Magnetic Encoder Wiring and Programming

Last year, we used this sensor and it worked reliably. To wire it, we used a low pass filter to average the PWM signal. There are instructions to build the filter on page 18 of the datasheet here:

http://ams.com/eng/Products/Position...ensors/AS5145B

Do note that when used in this way, the sensor outputs a value proportional to it's absolute position, so it can be used like a potentiometer. For us this was perfect as we were not counting number of rotations, but rather what angle the shaft was within a rotation.

The pinouts are on page 4. +5v is pin 16, and Gnd is pin 7. We wired these to the digital sidecar last year, but I think you can wire them right to the DIO on the RoboRio.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi