View unanswered posts | View active topics It is currently Sat Apr 04, 2020 12:02 pm

Reply to topic  [ 2 posts ] 
Fequency out for use with IR sensors 
Author Message

Joined: Wed Oct 07, 2009 1:25 pm
Posts: 1
Post Fequency out for use with IR sensors
The range of the VEX IR line sensors is not long enough to be used for obstacle avoidance. We are attempting to use our own IR sensors. Currently we have linked a BS2 to the vex unit so that we can utilize its capabilities. We understand that if you designate motor port 1 as a speaker so that you can produce a square wave frequency out. How do denote (program) a specific frequency and how do you make it read a specific input immediately after the frequency output.

Wed Oct 07, 2009 1:32 pm

Joined: Fri Feb 09, 2007 9:21 am
Posts: 616
Post Re: Fequency out for use with IR sensors
There's a PlayTone command to create the output which is generated by hardware. It's a continuous square wave at the specified frequency. There is no way to synchronize this to an input signal.

For IR distance sensors you should look at the line of sensors made by Sharp. They come with various distance ranges.

Tue Dec 08, 2009 10:13 pm
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.