Ranging module Capture Store

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Ranging module Capture Store

Postby Ondra » Mon Sep 10, 2007 2:43 am

Good day to everyone. I would like to know if anyone has any experience and can give me an example of using flowcode to capture and store the distance readings from a Polaroid 6500 Ranging Module. Or any distance ranging unit. Thanks in advance.

Ondra

User avatar
Steve
Matrix Staff
Posts: 3101
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 89 times
Been thanked: 391 times
Contact:

Postby Steve » Mon Sep 10, 2007 3:16 pm

Hello,

I have no experience of using this module, but it looks similar in operation to the one we sell.

Basically, you send a pulse to it and then read the echo-ed pulse back. The pulse transmits sound (at the speed of sound) which bounces off the target and returns to the transducer. By monitoring the time taken to receive the pulse, you can calculate the distance travelled.

I did a web search and this link has more details:

http://www.acroname.com/robotics/info/articles/sonar/sonar.html

I don't have any sample code to hand.

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Postby Ondra » Tue Sep 11, 2007 2:03 am

Thanks Steve. I read through it, would like to get some flowcode examples, I"ll try working through it and see how I make out.

Ondra