Ping ultrasonic sensor

1 week 4 days ago #29535093 by mike
Ping ultrasonic sensor was created by mike
I would like to use a Parallax Ping ultrasonic sensor with an SBL2360T motor controller. I haven't seen any documentation that this is possible but reading a pulse length definitely is. A trigger pulse (approx 5 us) must be sent to the output pin of the Ping sensor to initiate a reading. Is it possible to send this from a pulse input pin and then read the duration of the pulse received back from the Ping sensor? Are there any examples of doing something similar to this in MicroBasic (or otherwise)? Thank you for any help you can provide.

Please Log in or Create an account to join the conversation.

1 week 3 days ago #29535096 by george_f
Replied by george_f on topic Ping ultrasonic sensor
Hello mike
can you please make it more clear what is needed to be done?
From what i understand is to get a signal from the output of the controller for 5us period to sent it in an input of the Parallx Ping sensor?

Please Log in or Create an account to join the conversation.

1 week 3 days ago #29535097 by mike
Replied by mike on topic Ping ultrasonic sensor
Thanks for your reply. Sorry I should have made that clearer. The ping ultrasonic sensor needs a short pulse (typically 5us) to trigger a reading. It then sends back a pulse (750uS later) on the same signal line, the length of which corresponds to the distance the sensor measures.  I know the pulse pins on the RIOX can be configured to operate with ultrasound ping sensors (I presume the Riox pulse pins must generate a trigger pulse to send to the Ping sensor) and I was wondering if is possible for a  motorcontroller to do the same. Perhaps I need to connect the signal pin of the Ping sensor to a pulse pin and an output pin on the motorcontroller?

Thank you for any advice you can provide 

Please Log in or Create an account to join the conversation.

1 week 3 days ago #29535100 by george_f
Replied by george_f on topic Ping ultrasonic sensor
mike i have not anything like this befor eas a reference to be sure about it.
What i think is that it may be possible to give the pulse in our pulse input and then send an output pulse but that pulse has to be created from script since controller do not support pulse output. I believe it is really difficult to implement. Can you please send me the datasheet of the ping ultrasonic sensor?

Please Log in or Create an account to join the conversation.

1 week 3 days ago #29535101 by mike
Replied by mike on topic Ping ultrasonic sensor
Thanks for looking into this George. I really appreciate it
The documentation for the sensor is attached and there are more resource here ( www.pololu.com/product/1605/resources
From looking over the documentation I don't think the length of the trigger pulse is critical as its the transition from high to low that triggers the sensor. I'm not sure if that would make it any easier.

In my application, I will also have a RIOX on the platform so if this is difficult its better that I just use that as it seems to have a specific setting for it. I haven't had a chance to try this yet, but hopefully next week. I just wanted to connect the Ping sensor to the motor controller directly if possible as it seems a more elegant solution.

Please Log in or Create an account to join the conversation.

1 week 3 days ago #29535102 by mike
Replied by mike on topic Ping ultrasonic sensor
Sorry that didn't attach
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.097 seconds