IR Problems
Archiver
Posts: 46,084
Group,
I have been trying to get Infra Red Object Detection working for one
of my robots for about a week now. I have a program written so that when
ever the IR detects something it displays "object detected" on the debug
screen. I made my IR on a practice board to start off with to see if it
works, and it works great. My problem is that now I made another one exactly
like it, but instead of using a practice board, I used a PC board, and it
does not work correctly. It will detect my hand if I wave it in front of it,
but it also displays "object detected" when there is nothing there! It is
doing that every 2 1/2 seconds exactly. Still IF I put my hand in front of
it, it will throw it off and detect it, then start back in its cycle. Make
any sense? I just don't see what I have done because this board is exactly
identical to the one that works? It is not shorting to ground, and I know
the code is correct because it works with the other board. If any body could
give me a tip on what I may be doing wrong I would sure appreciate it.
Thanks in advance. -Alex Burke
PS: I am sorry if this does not make any sense what so ever...
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
I have been trying to get Infra Red Object Detection working for one
of my robots for about a week now. I have a program written so that when
ever the IR detects something it displays "object detected" on the debug
screen. I made my IR on a practice board to start off with to see if it
works, and it works great. My problem is that now I made another one exactly
like it, but instead of using a practice board, I used a PC board, and it
does not work correctly. It will detect my hand if I wave it in front of it,
but it also displays "object detected" when there is nothing there! It is
doing that every 2 1/2 seconds exactly. Still IF I put my hand in front of
it, it will throw it off and detect it, then start back in its cycle. Make
any sense? I just don't see what I have done because this board is exactly
identical to the one that works? It is not shorting to ground, and I know
the code is correct because it works with the other board. If any body could
give me a tip on what I may be doing wrong I would sure appreciate it.
Thanks in advance. -Alex Burke
PS: I am sorry if this does not make any sense what so ever...
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
Comments
>Group,
>
> I have been trying to get Infra Red Object Detection working for one
>of my robots for about a week now. I have a program written so that when
>ever the IR detects something it displays "object detected" on the debug
>screen. I made my IR on a practice board to start off with to see if it
>works, and it works great. My problem is that now I made another one exactly
>like it, but instead of using a practice board, I used a PC board, and it
>does not work correctly. It will detect my hand if I wave it in front of it,
>but it also displays "object detected" when there is nothing there! It is
>doing that every 2 1/2 seconds exactly. Still IF I put my hand in front of
>it, it will throw it off and detect it, then start back in its cycle. Make
>any sense?
It MAY if there are fluorescent lights or bright sun nearby. Shield the
receptor with a tube - enough to keep out stray light, but not too deep as
to cause too much cut-off (side-vision). Why one, and not the other -
perhaps the way the receptor is angled <shrug>.
>I just don't see what I have done because this board is exactly
>identical to the one that works? It is not shorting to ground, and I know
>the code is correct because it works with the other board. If any body could
>give me a tip on what I may be doing wrong I would sure appreciate it.
>Thanks in advance. -Alex Burke
>
>PS: I am sorry if this does not make any sense what so ever...
Just needs some analysis. If this isn't it, we'll go on from here.
Regards,
Bruce Bates
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
Thanks, but I have already though of that, and does not work. Even when
I am indoors, and all the lights are turned off it still has that same 2 1/2
sec repetition going. EVEN if I cover up the detector and the emitter
altogether (except when my hand is 5in then it detects my hand)! It has to
be something in the circuit that I can not find. It is about to drive me up
the wall! I really do appreciate you trying to help me out. I think I might
just try for a third time to rebuild it and see what happens. Thanks again.
-Alex Burke
>From: Bruce Bates <bvbates@u...>
>Reply-To: basicstamps@egroups.com
>To: basicstamps@egroups.com
>Subject: Re: [noparse][[/noparse]basicstamps] IR Problems
>Date: Fri, 29 Sep 2000 23:50:43 -0400
>
>At 9/29/2000 -0500 09:57 PM, you wrote:
> >Group,
> >
> > I have been trying to get Infra Red Object Detection working for
>one
> >of my robots for about a week now. I have a program written so that when
> >ever the IR detects something it displays "object detected" on the debug
> >screen. I made my IR on a practice board to start off with to see if it
> >works, and it works great. My problem is that now I made another one
>exactly
> >like it, but instead of using a practice board, I used a PC board, and it
> >does not work correctly. It will detect my hand if I wave it in front of
>it,
> >but it also displays "object detected" when there is nothing there! It is
> >doing that every 2 1/2 seconds exactly. Still IF I put my hand in front
>of
> >it, it will throw it off and detect it, then start back in its cycle.
>Make
> >any sense?
>
>It MAY if there are fluorescent lights or bright sun nearby. Shield the
>receptor with a tube - enough to keep out stray light, but not too deep as
>to cause too much cut-off (side-vision). Why one, and not the other -
>perhaps the way the receptor is angled <shrug>.
>
> >I just don't see what I have done because this board is exactly
> >identical to the one that works? It is not shorting to ground, and I know
> >the code is correct because it works with the other board. If any body
>could
> >give me a tip on what I may be doing wrong I would sure appreciate it.
> >Thanks in advance. -Alex Burke
> >
> >PS: I am sorry if this does not make any sense what so ever...
>
>Just needs some analysis. If this isn't it, we'll go on from here.
>
>Regards,
>
>Bruce Bates
>
>
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
>Bruce,
>
> Thanks, but I have already though of that, and does not work. Even when
>I am indoors, and all the lights are turned off it still has that same 2 1/2
>sec repetition going.
Which Stamp processor ?
> EVEN if I cover up the detector and the emitter
>altogether (except when my hand is 5in then it detects my hand)! It has to
>be something in the circuit that I can not find. It is about to drive me up
>the wall! I really do appreciate you trying to help me out. I think I might
>just try for a third time to rebuild it and see what happens. Thanks again.
>-Alex Burke
>
>
> >From: Bruce Bates <bvbates@u...>
> >Reply-To: basicstamps@egroups.com
> >To: basicstamps@egroups.com
> >Subject: Re: [noparse][[/noparse]basicstamps] IR Problems
> >Date: Fri, 29 Sep 2000 23:50:43 -0400
> >
> >At 9/29/2000 -0500 09:57 PM, you wrote:
> > >Group,
> > >
> > > I have been trying to get Infra Red Object Detection working for
> >one
> > >of my robots for about a week now. I have a program written so that when
> > >ever the IR detects something it displays "object detected" on the debug
> > >screen. I made my IR on a practice board to start off with to see if it
> > >works, and it works great. My problem is that now I made another one
> >exactly
> > >like it, but instead of using a practice board, I used a PC board, and it
> > >does not work correctly. It will detect my hand if I wave it in front of
> >it,
> > >but it also displays "object detected" when there is nothing there! It is
> > >doing that every 2 1/2 seconds exactly. Still IF I put my hand in front
> >of
> > >it, it will throw it off and detect it, then start back in its cycle.
> >Make
> > >any sense?
> >
> >It MAY if there are fluorescent lights or bright sun nearby. Shield the
> >receptor with a tube - enough to keep out stray light, but not too deep as
> >to cause too much cut-off (side-vision). Why one, and not the other -
> >perhaps the way the receptor is angled <shrug>.
> >
> > >I just don't see what I have done because this board is exactly
> > >identical to the one that works? It is not shorting to ground, and I know
> > >the code is correct because it works with the other board. If any body
> >could
> > >give me a tip on what I may be doing wrong I would sure appreciate it.
> > >Thanks in advance. -Alex Burke
> > >
> > >PS: I am sorry if this does not make any sense what so ever...
> >
> >Just needs some analysis. If this isn't it, we'll go on from here.
> >
> >Regards,
> >
> >Bruce Bates
> >
> >
> > >_________________________________________________________________________
> > >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> > >
> > >Share information about yourself, create your own public profile at
> > >http://profiles.msn.com.
> >
> >
> >
> >
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
I am useing the BS2SX. -Alex Burke
>From: Bruce Bates <bvbates@u...>
>Reply-To: basicstamps@egroups.com
>To: basicstamps@egroups.com
>Subject: Re: [noparse][[/noparse]basicstamps] IR Problems
>Date: Sat, 30 Sep 2000 00:15:43 -0400
>
>At 9/29/2000 -0500 11:05 PM, you wrote:
> >Bruce,
> >
> > Thanks, but I have already though of that, and does not work. Even
>when
> >I am indoors, and all the lights are turned off it still has that same 2
>1/2
> >sec repetition going.
>
>
>Which Stamp processor ?
>
>
> > EVEN if I cover up the detector and the emitter
> >altogether (except when my hand is 5in then it detects my hand)! It has
>to
> >be something in the circuit that I can not find. It is about to drive me
>up
> >the wall! I really do appreciate you trying to help me out. I think I
>might
> >just try for a third time to rebuild it and see what happens. Thanks
>again.
> >-Alex Burke
> >
> >
> > >From: Bruce Bates <bvbates@u...>
> > >Reply-To: basicstamps@egroups.com
> > >To: basicstamps@egroups.com
> > >Subject: Re: [noparse][[/noparse]basicstamps] IR Problems
> > >Date: Fri, 29 Sep 2000 23:50:43 -0400
> > >
> > >At 9/29/2000 -0500 09:57 PM, you wrote:
> > > >Group,
> > > >
> > > > I have been trying to get Infra Red Object Detection working
>for
> > >one
> > > >of my robots for about a week now. I have a program written so that
>when
> > > >ever the IR detects something it displays "object detected" on the
>debug
> > > >screen. I made my IR on a practice board to start off with to see if
>it
> > > >works, and it works great. My problem is that now I made another one
> > >exactly
> > > >like it, but instead of using a practice board, I used a PC board,
>and it
> > > >does not work correctly. It will detect my hand if I wave it in front
>of
> > >it,
> > > >but it also displays "object detected" when there is nothing there!
>It is
> > > >doing that every 2 1/2 seconds exactly. Still IF I put my hand in
>front
> > >of
> > > >it, it will throw it off and detect it, then start back in its cycle.
> > >Make
> > > >any sense?
> > >
> > >It MAY if there are fluorescent lights or bright sun nearby. Shield the
> > >receptor with a tube - enough to keep out stray light, but not too deep
>as
> > >to cause too much cut-off (side-vision). Why one, and not the other -
> > >perhaps the way the receptor is angled <shrug>.
> > >
> > > >I just don't see what I have done because this board is exactly
> > > >identical to the one that works? It is not shorting to ground, and I
>know
> > > >the code is correct because it works with the other board. If any
>body
> > >could
> > > >give me a tip on what I may be doing wrong I would sure appreciate
>it.
> > > >Thanks in advance. -Alex Burke
> > > >
> > > >PS: I am sorry if this does not make any sense what so ever...
> > >
> > >Just needs some analysis. If this isn't it, we'll go on from here.
> > >
> > >Regards,
> > >
> > >Bruce Bates
> > >
> > >
> > >
> >_________________________________________________________________________
> > > >Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> > > >
> > > >Share information about yourself, create your own public profile at
> > > >http://profiles.msn.com.
> > >
> > >
> > >
> > >
> >
> >_________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.
>
>
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
What does your ir system consist of?
I ask because regular 2.5 seconds sounds very fishy; could it be
2.3?
If this is the case, you may see the stamp 2.3s glitch which
occurs in certain output states (are you using a coprocessor for
detection?).
If you used a large breadboard before, stray capacitance _may_
have masked this effect.
Have a nice evening,
Paul
--- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
> At 9/29/2000 -0500 09:57 PM, you wrote:
> >Group,
> >
> > I have been trying to get Infra Red Object Detection
working for one
> >of my robots for about a week now. I have a program written so
that when
> >ever the IR detects something it displays "object detected" on the
debug
> >screen. I made my IR on a practice board to start off with to see
if it
> >works, and it works great. My problem is that now I made another
one exactly
> >like it, but instead of using a practice board, I used a PC board,
and it
> >does not work correctly. It will detect my hand if I wave it in
front of it,
> >but it also displays "object detected" when there is nothing
there! It is
> >doing that every 2 1/2 seconds exactly. Still IF I put my hand in
front of
> >it, it will throw it off and detect it, then start back in its
cycle. Make
> >any sense?
>
> It MAY if there are fluorescent lights or bright sun nearby. Shield
the
> receptor with a tube - enough to keep out stray light, but not too
deep as
> to cause too much cut-off (side-vision). Why one, and not the
other -
> perhaps the way the receptor is angled <shrug>.
>
> >I just don't see what I have done because this board is exactly
> >identical to the one that works? It is not shorting to ground, and
I know
> >the code is correct because it works with the other board. If any
body could
> >give me a tip on what I may be doing wrong I would sure appreciate
it.
> >Thanks in advance. -Alex Burke
> >
> >PS: I am sorry if this does not make any sense what so ever...
>
> Just needs some analysis. If this isn't it, we'll go on from here.
>
> Regards,
>
> Bruce Bates
>
>
>
>_____________________________________________________________________
____
> >Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
> >
> >Share information about yourself, create your own public profile at
> >http://profiles.msn.com.