Go to Post Anyway, everyone, PLEASE READ THE MANUAL VERY CAREFULLY and ask around for the answers before going directly to FIRST. :) - AmyPrib [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-01-2004, 21:29
nevrgonastopme0 nevrgonastopme0 is offline
~~The One and Only!~~
AKA: Kris
#0279 (Tech Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Toledo
Posts: 6
nevrgonastopme0 is an unknown quantity at this point
Send a message via AIM to nevrgonastopme0 Send a message via Yahoo to nevrgonastopme0
Need some IR help

I'm fairly new to the C language (I know 3 forms of BASIC and C#), and I've never used IR before, we have the transmitter set up, and the recievers do detect both the "0" and "1" wavelength signal (used an ociliscope to view the white side of the reciever). I need some help in setting up the motors to do something when the recievers see a signal, and to figure out where the signal is comming from. Thanks for help


Kris
  #2   Spotlight this post!  
Unread 31-01-2004, 22:10
mtrawls's Avatar
mtrawls mtrawls is offline
I am JVN! (John von Neumann)
#0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Mar 2003
Location: Hampton, VA
Posts: 295
mtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to beholdmtrawls is a splendid one to behold
Send a message via AIM to mtrawls
Re: Need some IR help

Quote:
Originally Posted by nevrgonastopme0
I'm fairly new to the C language (I know 3 forms of BASIC and C#), and I've never used IR before, we have the transmitter set up, and the recievers do detect both the "0" and "1" wavelength signal (used an ociliscope to view the white side of the reciever). I need some help in setting up the motors to do something when the recievers see a signal, and to figure out where the signal is comming from. Thanks for help
Look through the programming forum, and try some searching. There are some good discussion/help threads already out there. Also, you'll want to carouse through kevin.org/frc [/tracker and /faq too].

Are you following the setup at kevin.org/frc/tracker? If so, you should be able to use the code he has as a pretty darn good base. To get the motors to do something, just send a value to them to move! I suppose you'll want to figure out where the signal is coming from ... or rather where the beacon is, in which case you might need trig. The more I think about it, you must not be using the setup at kevin.org, because you'd know where the signal is coming from if you were (it would be the direction the sensors are pointed at -- now, moving there is a different story, but again, there is some code he gives us for this). Note that without modification, the sensors will "sense' the beacon from just about any direction ... which obviously isn't a good thing. Point your browser toward that site i've referenced too many time and am determined not to say again.
  #3   Spotlight this post!  
Unread 31-01-2004, 22:19
nevrgonastopme0 nevrgonastopme0 is offline
~~The One and Only!~~
AKA: Kris
#0279 (Tech Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Toledo
Posts: 6
nevrgonastopme0 is an unknown quantity at this point
Send a message via AIM to nevrgonastopme0 Send a message via Yahoo to nevrgonastopme0
Re: Need some IR help

I found that site right after I origionally posted, thanx for the help mtrawls
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi