|
|
|
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2009, 09:53:32 PM
1 Hour
1 Day
1 Week
1 Month
Forever
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
Robot Forum
>
Software
>
Software
>
Weird IR reciever values
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: Weird IR reciever values (Read 122 times)
silo_xtreme
Robot Overlord
Helpful? 0
Offline
Posts: 143
I really love robots, they keep me awake at night.
Weird IR reciever values
«
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?
Logged
Check out my new robot called Smartmow.
bsamuels
Jr. Member
Helpful? 0
Offline
Posts: 15
Re: Weird IR reciever values
«
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_xtreme
Robot Overlord
Helpful? 0
Offline
Posts: 143
I really love robots, they keep me awake at night.
Re: Weird IR reciever values
«
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
Posts: 1
Re: Weird IR reciever values
«
Reply #3 on:
November 14, 2009, 06:48:41 AM »
what type of ADC?
Logged
silo_xtreme
Robot Overlord
Helpful? 0
Offline
Posts: 143
I really love robots, they keep me awake at night.
Re: Weird IR reciever values
«
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.
Logged
Check out my new robot called Smartmow.
Admin
Administrator
Supreme Robot
Helpful? 62
Online
Posts: 8,610
Re: Weird IR reciever values
«
Reply #5 on:
November 14, 2009, 08:23:52 PM »
Quote from: silo_xtreme on November 14, 2009, 06:51:16 AM
The Xmega128A1 ADC.
For some reason it was not resolving values less than 1.7 ma.
ma or mV?
Is it 10 bit ADC?
Logged
subscribe to SoR's YouTube account
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
General Misc
-----------------------------
=> Misc
=> Robot Videos
-----------------------------
Software
-----------------------------
=> Software
-----------------------------
Electronics
-----------------------------
=> Electronics
-----------------------------
Mechanics and Construction
-----------------------------
=> Mechanics and Construction
Related Topics
Subject
Started by
Replies
Views
Last post
Weird Self-building robot
Robot Videos
hazzer123
6
2175
April 26, 2007, 02:04:07 PM
by
gamefreak
weird rprintf bug?
Software
Admin
8
1633
June 12, 2008, 11:23:04 AM
by
dolinay
Weird DC motors
Electronics
Ro-Bot-X
4
663
September 12, 2008, 06:06:09 PM
by
Ro-Bot-X
Weird Op Amp thing.........
Electronics
TrickyNekro
15
817
February 17, 2009, 10:17:05 AM
by
Admin
Advertise on this Forum
Loading...