Go to Post The Lord of the Bots.... - Bob Steele [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 17-02-2006, 08:07
edman edman is offline
Registered User
#1113
 
Join Date: Jan 2005
Location: Philadelphia
Posts: 3
edman is an unknown quantity at this point
Cool Programming the parallax PING))) Ultrasonic Sensor

Hi,
Has anyone programmed the parallax ultrasonic range finder to work with the Full-size FRC? If so could you kindly show me how to do that? I have already seen the sonar.c and sonar.h code written by Mike but it is for the EDU and he told me that he has not tested it on the Full-size RC yet. If anyone has, could you kindly show me how?

Last edited by edman : 17-02-2006 at 08:16. Reason: Spelling correction
  #2   Spotlight this post!  
Unread 17-02-2006, 08:28
scitobor 617's Avatar
scitobor 617 scitobor 617 is offline
More nerd than you can handle!
AKA: Alan Meekins
FRC #0617 (HSHS 617 "DUKE")
Team Role: Programmer
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Richmond, VA
Posts: 153
scitobor 617 will become famous soon enoughscitobor 617 will become famous soon enough
Send a message via AIM to scitobor 617
Re: Programming the parallax PING))) Ultrasonic Sensor

Quote:
Originally Posted by edman
Hi,
Has anyone programmed the parallax ultrasonic range finder to work with the Full-size FRC? If so could you kindly show me how to do that? I have already seen the sonar.c and sonar.h code written by Mike but it is for the EDU and he told me that he has not tested it on the Full-size RC yet. If anyone has, could you kindly show me how?
I have tested it on the full sized RC and it works well with no changes. I tried to rewrite the sonar driver to use only one digital IO pin but the pin cannot be changed quickly from output to input.
__________________
Beta testers needed!
http://www.nullagent.no-ip.com

Your kidding, there are other operating systems besides Linux?!
  #3   Spotlight this post!  
Unread 17-02-2006, 09:42
edman edman is offline
Registered User
#1113
 
Join Date: Jan 2005
Location: Philadelphia
Posts: 3
edman is an unknown quantity at this point
Cool Re: Programming the parallax PING))) Ultrasonic Sensor

Quote:
Originally Posted by scitobor 617
I have tested it on the full sized RC and it works well with no changes. I tried to rewrite the sonar driver to use only one digital IO pin but the pin cannot be changed quickly from output to input.
I have also tested it on the full RC but it does not build because it try to find the <pecdef.h> header file from Kevin's code. When I downloaded Kevin's code, I got an error message after including the sonar.c and sonar.h in the project. the message was making ref. to PIC18f8520 which is the microcontroller on the mini-rc. Can you tell me how you got it to work?

Last edited by edman : 17-02-2006 at 09:43. Reason: addition
  #4   Spotlight this post!  
Unread 18-02-2006, 23:37
MikeDubreuil's Avatar
MikeDubreuil MikeDubreuil is offline
Carpe diem
FRC #0125 (Nu-Trons)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1999
Location: Boston, MA
Posts: 967
MikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond reputeMikeDubreuil has a reputation beyond repute
Send a message via AIM to MikeDubreuil
Re: Programming the parallax PING))) Ultrasonic Sensor

Quote:
Originally Posted by edman
Can you tell me how you got it to work?
Take a look at this post.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37


All times are GMT -5. The time now is 03: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