View Single Post
  #1   Spotlight this post!  
Unread 02-04-2012, 20:57
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 63
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Analog averaging and oversampling

We are using the KOP Maxbotix sonar and I was wondering if there was any value to averaging and/or oversampling the analog channel we have it hooked up to? We are basically only using it as a depth sensor during autonomous, and being off an inch or two probably isn't going to make any difference.

So, if it is worth doing, I have some questions:
  • Can you average without oversampling, or vice versa? (I think yes)
  • Do I understand the bits thing right? If I set the "average bits" to 2, then it averages 4 readings, if set to 4 it averages 16?
  • For this application (sonar) would oversampling actually gain us anything?

Thanks
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics
Reply With Quote