Go to Post If this doesn't show up in spotlight at some point I'm almost going to be sad. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 01-03-2011, 13:22
jrz126 jrz126 is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Erie, PA
Posts: 12
jrz126 is an unknown quantity at this point
Ultrasonic help (interrupts and analog triggers)

I'm trying to use the Parallax PING module.
http://www.parallax.com/dl/docs/prod...-PING-v1.3.pdf

I came up with my own way of doing it, (see the second picture). The diodes keep the Digital output and PING module from fighting each other when the sonar is outputting the pulse width. I added a second diode so I could maybe keep the digital output from causing an interrupt.

It kinda works, but it only triggers the interrupt maybe 50% of the time. I get timeouts the other times.

Anyone familar with the analog triggers/interrupts? or thoughts on a better way to do it?
Attached Thumbnails
Click image for larger version

Name:	ultrasonicinterrupt2.JPG
Views:	41
Size:	90.4 KB
ID:	10308  Click image for larger version

Name:	ultrasonicoverview.JPG
Views:	18
Size:	29.5 KB
ID:	10309  
Attached Files
File Type: vi PING Ultrasonic.vi (25.5 KB, 5 views)
Reply With Quote
 


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 09:34.

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