Go to Post If the teams that are building exact replicas are inspired, who are we to say "You're being inspired all wrong?!" - Ian Curtis [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
  #1   Spotlight this post!  
Unread 20-01-2003, 01:51
Micah Brodsky Micah Brodsky is offline
Registered User
#0824 (SWAT)
 
Join Date: Jan 2003
Location: Seattle
Posts: 5
Micah Brodsky is an unknown quantity at this point
Question Digital inputs, bandwith, errors?

[Idly fumes and throws things at the computer. The forum software just lost his message! ... I guess this is why we usually write in notepad and then copy and paste? *grrrrr*]

Gah!

Anyway, back to the topic.

Hey, folks...

I've been trying to get digital data from a nifty little IC for our team's black box into the Stamp via the Robot Controller's digital inputs, but I've run into a nasty little problem: errors! The data stream is literally *strewn* with errors! (I think they're primarily single and multiple bit flips, and I'm pretty sure it's not the IC's fault, but I'm not positive. I haven't yet rigged up a test fixture and done a detailed analysis.) Kind of leads to the question, just how much bandwidth can you *really* squeeze through those painfully slow digital inputs?

I originally figured I'd have the IC send a new data word just slightly slower than the Stamp's ~40 loops per second. That way, each word would be guaranteed to be seen by at least one loop. I figured there would be occasional errors, for instance, if the RC was reading the inputs right as the IC was changing them, but I never expected anything like this! Regardless of what rate new data is posted at, about 1/10 to 1/20 of the data words are corrupted, with a very erratic distribution vs. time. Most of the errors are caught by a single parity bit with the data, but the errors are *so* frequent that many pass the parity check anyway. ...Which is not good for the robot!

I suppose I could always do like Wild Stang did and send the data words a few times in a row and take the best out of two or three, or whatever, but that's a terrible waste of bandwith. Since the RC's sooooo slooooooow to begin with, every drop of bandwidth and speed is precious.

Does anybody have any experience with this sort of problem? Anyone have any suggestions?

Thanks a lot!

--Micah Brodsky
 


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
How to access other Digital inputs on OI? DougHogg Electrical 2 12-03-2003 13:57
Serial Port and Custom Circuit Ryan Meador Programming 40 06-02-2003 11:34
Specs full of errors??? Simon G Motors 1 20-01-2003 12:53
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18
making speed controller digital CharlieWilken Electrical 4 01-03-2002 20:15


All times are GMT -5. The time now is 15:38.

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