Go to Post Thinking can be uncomfortable, but I always think that it is beneficial. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2011, 14:21
dungeonmonkey dungeonmonkey is offline
Registered User
FRC #2458
 
Join Date: Dec 2009
Location: Chester, NJ
Posts: 8
dungeonmonkey is an unknown quantity at this point
Exclamation Magnetic Rotary Sensor Programming

I am having issues figuring out what the outputs are from our austria microsystems magnetic rotary sensor (AS5030). I have declared them as DigitalInputs but cannot figure out how to use them in the code. I tried debugging it by setting up printf statements and cout statements, but I could not get the console to come up properly, even after following many guides about it (has issues getting information about the target).
__________________
Team modo: "I'm sure it's around here somewhere..."

"If at first you do not succeed, you fail." -Glados
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2011, 16:48
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,112
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: Magnetic Rotary Sensor Programming

You can configure them to be analog ("filtered PWM"), straight PWM, Analog Sine-Cosine, and 4-wire SPI.

One thing they are not is a boolean digital input.

See the 2011 Sensor Manual, available from the Kit of Parts web page.
Reply With Quote
Reply


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 17:49.

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