Go to Post When you're in a field as deep as the Championship go offensive or go home. It's that simple. - thefro526 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2009, 16:42
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Switch digital input to output during operation? Parallax Ultrasonic

I have been trying to run a ultrasonic sensoic sensor, but I keep getting a result of ~.045653 no matter what I do. The light on the sensor blinks every time it pings, but I do not get any feedback.

Will the ultrasonic class work with the Parallax Ping Ultrasonic Sensor, or will it cause issues because there is only one in/out on the sensor? If not would it be possible to set a digital output to a digital input during operation?

Thank you
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2009, 19:11
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Switch digital input to output during operation? Parallax Ultrasonic

The Ultrasonic class is designed to work with the Daventech SRF04 (or Vex) rangefinders. You can also use the Maxbotix sensors with analog outputs then just convert the voltage to distance.

Using one of the one wire ultrasonic sensors where you have to switch an input to an output is not recommended.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2009, 19:30
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Switch digital input to output during operation? Parallax Ultrasonic

I recall last year we were able to wire the one header on the parallax ultrasonic rangefinder to two headers on the old controllers and that worked. That wont work this year either?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
Reply


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
Parallax and Maxbotix ultrasonic sensors Lucretius Programming 5 20-02-2008 14:34
Programming the parallax PING))) Ultrasonic Sensor edman Programming 3 18-02-2006 23:37
Programming Parallax Ultrasonic Rangefinder edman Programming 2 17-02-2006 08:35
Ultrasonic Sensor output Dillon Compton Programming 5 03-02-2006 10:20
Using a switch before autonomous operation KZos550 Programming 11 04-02-2003 19:12


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