Go to Post I don't care if your robot could eat ours for breakfast - PayneTrain [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 11-03-2008, 13:58
yossi56 yossi56 is offline
Registered User
FRC #0007
 
Join Date: Feb 2008
Location: israel
Posts: 4
yossi56 is an unknown quantity at this point
SRF05 Ultrasonic Range finder

Hi,I try to get value ftom Devantech SRF05 Ultrasonic Range finder
I rear little in PIC18F6520 Datesheet and find some information about Capture Mode and think if it is good for this project.
Someone use this sensor befor (i Used serch..) and can see me The code i c?
I use in mcc18 compiler in mplab

thanks and sorry on my english spelling.
yossi
  #2   Spotlight this post!  
Unread 11-03-2008, 14:05
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: SRF05 Ultrasonic Range finder

I'm not sure what you're looking for, exactly, but I think you're looking for code to operate a SRF05 rangefinder on a FRC Robot Controller... I'm a bit confused by the PIC18F6520 reference... The FRC Robot Controller (provided by IFI), since 2006 has contained a PIC18F8722, and before that, a PIC18F8520, I think you may be referring to one of these. As for that specific sensor, I believe you need to set up serial communications with it. You can use the TTL serial port on the Robot Controller, and perhaps Kevin Watson's code to start with, but you may need to use a RS232->TTL conversion chip or similar to interface the two.
  #3   Spotlight this post!  
Unread 11-03-2008, 18:27
MCahoon MCahoon is offline
Registered User
FRC #3826 (Sequim Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Sequim, WA
Posts: 129
MCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud of
Re: SRF05 Ultrasonic Range finder

There is code at

http://www.chiefdelphi.com/forums/sh...ght=ultrasonic

to generate the trigger pulse and measure the echo pulse which is returned same as the method for using the SRF05.

It is intended to run on the current version of the RC.
  #4   Spotlight this post!  
Unread 13-03-2008, 16:48
yossi56 yossi56 is offline
Registered User
FRC #0007
 
Join Date: Feb 2008
Location: israel
Posts: 4
yossi56 is an unknown quantity at this point
Re: SRF05 Ultrasonic Range finder

Thanks its good to my mission
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: range finder falconmaster Extra Discussion 6 10-02-2008 22:49
Ultrasonic Range Finder nekng Programming 7 30-01-2008 23:00
Ultrasonic range sensors for Vex Robot OneCoolDude Programming 1 01-12-2007 09:22
Using VEX range finder on the full-size FRC CronosPrime1 Programming 3 08-02-2006 23:29
Ultrasonic Range Finder polyBot Control System 15 29-01-2006 12:46


All times are GMT -5. The time now is 21:12.

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