Society of Robots
     | Robot Forum | Robot Tutorials | Robot FAQ |
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2009, 09:53:32 PM

Login with username, password and session length
Search:     Advanced search
Sept 30th - New Price - Axon is now $94

Robot Forum
72,667 Posts in 9,267 Topics by 5,292 Members
Latest Member: lepomis
* Home Help Help Login Register
0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Weird IR reciever values  (Read 122 times)
silo_xtremeTopic starter
Robot Overlord
****

Helpful? 0
Offline Offline

Posts: 143


I really love robots, they keep me awake at night.


View Profile WWW
« on: November 07, 2009, 07:24:59 AM »

Hey All,

Anyone know why I would get values in the range of 65533 - 65535 on an ADC measurement?  I only seem to get this on my IR receiver from my ATXMEGA chip.

I've verified that we're not exceeding any electrical characteristics.

I have an interrupt that keeps sampling the ADC pin and updated a variable.

Could I be sampling too fast or something?  Huh
Logged

Check out my new robot called Smartmow.
bsamuels
Jr. Member
**

Helpful? 0
Offline Offline

Posts: 15


View Profile
« Reply #1 on: November 13, 2009, 08:42:00 PM »

Try it with another IR sensor, or another microcontroller and make sure the problem isn't hardware related.
Logged
silo_xtremeTopic starter
Robot Overlord
****

Helpful? 0
Offline Offline

Posts: 143


I really love robots, they keep me awake at night.


View Profile WWW
« Reply #2 on: November 14, 2009, 06:44:44 AM »

Heh.  Sorry for not updating this sooner.

The problem is actually cause because the Voltage was too small for the resolution selected on the ADC.

Thanks,

Logged

Check out my new robot called Smartmow.
bo13th
Beginner
*

Helpful? 0
Offline Offline

Posts: 1


View Profile
« Reply #3 on: November 14, 2009, 06:48:41 AM »

what type of ADC?
Logged
silo_xtremeTopic starter
Robot Overlord
****

Helpful? 0
Offline Offline

Posts: 143


I really love robots, they keep me awake at night.


View Profile WWW
« Reply #4 on: November 14, 2009, 06:51:16 AM »

The Xmega128A1 ADC.

For some reason it was not resolving values less than 1.7 ma.  Huh
Logged

Check out my new robot called Smartmow.
Admin
Administrator
Supreme Robot
*****

Helpful? 62
Online Online

Posts: 8,610



View Profile WWW
« Reply #5 on: November 14, 2009, 08:23:52 PM »

The Xmega128A1 ADC.

For some reason it was not resolving values less than 1.7 ma.  Huh
ma or mV?

Is it 10 bit ADC?
Logged

Pages: [1] Print 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Weird Self-building robot
Robot Videos
hazzer123 6 2175 Last post April 26, 2007, 02:04:07 PM
by gamefreak
weird rprintf bug?
Software
Admin 8 1633 Last post June 12, 2008, 11:23:04 AM
by dolinay
Weird DC motors
Electronics
Ro-Bot-X 4 663 Last post September 12, 2008, 06:06:09 PM
by Ro-Bot-X
Weird Op Amp thing.........
Electronics
TrickyNekro 15 817 Last post February 17, 2009, 10:17:05 AM
by Admin
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!


Advertise on this Forum