View Single Post
  #13   Spotlight this post!  
Unread 02-04-2008, 10:03
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: Microphone intergated on to a FIRST RC?

Quote:
Originally Posted by whytheheckme View Post
...I think that the system would be able to keep up, seeing as a good part of a kilobyte is sent per packet...
The data rate is barely a kilobyte per second.

Quote:
Originally Posted by Dashboard Specification
There are 26 bytes in a packet. The packets are transmitted approximately 40 times per second.
Each complete set of data from the RC requires three packets. That's where my "a dozen or so samples per second" comment comes from.

Quote:
Originally Posted by Al Skierkiewicz View Post
Jacob and Alan,
What is the sample time of an analog input on the RC? If it is faster than 2kHz it might be doable. Might require some filters but it is only a tone, not full audio.
It's not unreasonable to take 6400 analog measurements per second, though at that rate you might need to worry about how many CPU cycles the rest of the code needs in order to function.