Home        Store        Learn        Blog

T200 and Ping Sonar Altimeter and Echosounder

good day. We bought 4 t200 thrusters from you. We also bought 2 Bluerobotics ping sonar. We are currently working on an autonomous system. But first we need to apply the movement you see on picture.1. Right now we want to do this move with an arduino. We want to include sonar in the system and ensure that it does not hit the ground.


Can you help with an arduino code where we can do this move?. How can we run arduino and t200 motors together?

[image]
then we want to add sonar on this code. if there is a certain range from hitting the ground, the sonar will command the vehicle to move up. Likewise, if there is a wall in front of it, the sonar will give the command to prevent it from hitting it.

Our engine configuration is as in the picture below.

[image]


We have little time for this matter, if you can help we would be very grateful.

[image]

1 Like

we need codes that can run the thruster as 2 and 3 each. But for this we need help. How can we do this with a single arduino. Or do you have another solution? Our vehicle is mechanically ready, we just need a few codes.

[image]

1 Like

Hi @MuhammedBeken,

I’d suggest you start with our Control the Basic ESC with a Potentiometer and Arduino and Using the Ping Sonar with an Arduino guides, and seeing how you can combine the two into the functionality you want.

We can try to help you improve or fix code that you’ve written that isn’t working correctly/fully, or direct you to relevant documentation, guides, and forum posts, but we can’t do free software development for everyone who wants an example of something.

Note that if you’re using two Ping sonars in the same system (e.g. one pointing down and one pointing ahead) you’ll need to make sure that only one is transmitting at a given point in time, or there can be interference and incorrectly detected distances.

1 Like