View Single Post
  #3   Spotlight this post!  
Unread 02-02-2015, 14:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How do I use the AS5304 sensor?

Do you have a bare AS5304 chip, or are you using the adapter board that was supplied for FRC teams in the 2011 Kit of Parts?

If it's the AS5304-AB-2.0 board, with JP1 labeled "Ind AO B A GND 5V", then connect it exactly the way you would connect a quadrature encoder. Because that's exactly what it is. +5 and GND go to the +5 and GND pins of a DIO port on the roboRIO, A goes to the SIG pin, and B goes to the SIG pin of a second DIO port.

http://www.usfirst.org/uploadedFiles...r%20Manual.pdf