Go to Post A lack of knowledge is okay; a lack of initiative to learn more is not. - Madison [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 Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 18-05-2006, 22:04
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: Off board processor?

Quote:
Originally Posted by Joohoo
I Had this cool idea durring the build season when trying to get a timer working
To have a processor that could control some of the more of the cumbersome tasks. Making it another set of in/outputs.
Has there been any rules specifically prohibiting this. Or has any one done this before
Just throwing this out to see what every one thinks
This year, my team did use an off-board processor. We used another pic to handle reading the speed of the wheels on our shooter.

We had an optical sensor pointing at the bottom of each wheel which would detect when a painted section would went by. By measuring the time between the different pulses that occurred when the segments, we could determine whether the wheels were turning too fast, too slow, or ok.

To talk to the main processor, we went with the KISS solution: one-way communication on the same number of lines as bits of information. In other words, each line was one of the following:
-Right wheel is too fast
-Right wheel is too slow
-Left wheel is too fast
-Left wheel is too slow

The controller's end took a little tuning to get it to settle down correctly, but that's to be expected.

The advantage of this was that we didn't need to take any extra interrupts.

If you wanted to do something where it gave you the ability to do a bunch more IO, you could do something more complicated. For example, I believe I read something about a team that decided to develop a box in the off-season that would do telemetry, and then just tell the main controller its results.

The main restriction that you'll face is that you can't have the extra controller control a motor, pneumatic valve, etc. If this were allowed, we would have done things differently, with the main controller telling the off-board controller to make the shooting wheels go at some speed, and then only taking an input for whether or not they were up to speed.
 


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
Processor Speed Updates NASAbound1636 Programming 2 02-03-2006 16:56
Processor Corporat Technical Discussion 3 13-01-2006 21:10
Lights in Joystick board or control board rcubes85 Control System 15 26-02-2005 23:40
Parallel Processor rohandalvi Kit & Additional Hardware 25 27-10-2004 20:21
Perf Board = BS2-IC Carrier Board? indieFan Electrical 2 16-09-2004 08:28


All times are GMT -5. The time now is 22:59.

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