Go to Post I believe it is in the spirit of the game is to score more points than your opponent within the rules. That means offense AND defense. - Gary Dillard [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #24   Spotlight this post!  
Unread 17-01-2006, 14:45
Der Rowan's Avatar
Der Rowan Der Rowan is offline
Registered User
AKA: Capn Rowan
FRC #1531 (Lake Effect)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Oswego, NY
Posts: 6
Der Rowan is an unknown quantity at this point
Send a message via AIM to Der Rowan
Smile Re: Analog-to-Digital Converter Code

Hello all,

First off, I want to thank kevin for writing this code.
This *should* help us use all those sensors we just looked at and admired last year as rookies.

Unfortunately, our team is not gifted with a large number (read - 0) dedicated programmers. So I'm not too far ahead of the kids at this point which disappoints me because I cant really help them the way I should be (when I barely know anything myself).

But I did read all the readme.txt files associated with the code Kevin's supplied, and I have 2 main questions which deal with getting the code and hardware on the same page.

1. After I hook up my PWMs to the sensor (take your pick) and plug it into the RC's analog input, how do I make the code know which port I'm looking at?

and

2. How do I test / troubleshoot / even see the output from the sensor?
Is there some easy way to use a "print to a .txt file" or something? (something I'd try on a PC) Better yet, what is the BEST way to get all the information? I'm seeing outputs in some of these posts mentioning the same kind of scaling that you see when you output to one of the motors. So should I find some way to get the info back to the dashboard (which I still need to set up). Even with that, we need to integrate (for many of the sensors) and seeing the value at any one time wont tell us too much.

Hope I'm not being too redundant or posting in the wrong place. If any of my questions indicate that I'm just fundamentally wrong, point that out too, please.

It's all for the kids and the future,
Aaron
__________________
Where's my Burger's vector?
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
Updated: Example Gyro Interface Code Kevin Watson Programming 2 28-03-2005 04:36
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 08:25.

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