Hello,

Can anyone point me to some help to hook up dual Ultrasonic Sensors in my Inmoov ? Cant really seem to find a place that detials it.  Looking to hook 2 of them .  Cheers

juerg

4 years 5 months ago

Hi

I have tried to add a whole bunch of these sensors to my InMoov but gave up because it only works on surfaces that are uneven/structured or more or less orthogonal to your sensor. Trying to use it for detecting obstacles in the path of my cart resulted only in reflections from my flat ground that never made it back to the sensors receiver. But you could detect a wall or a passing person in front of the robot.

Use these instructions for giving it a try

https://howtomechatronics.com/tutorials/arduino/ultrasonic-sensor-hc-sr04/

 

thanks  did u end up trying with multiple ?  and how did u hook them up to the inmoov boards ?  or did u just use the arduino direct ?

juerg

4 years 4 months ago

In reply to by theDVSguy

I switched to use an intel realsense D415 cam to get a real depth image. I am in the process of writing a python task to check for a clear path when moving the cart.

I used a dedicated arduino and own code to check out the ultrasonic sensors, not using MRL for this.

cool....sounds interesting let me know if you post your results. I would enjoy seeing them

hairygael

4 years 4 months ago

In reply to by theDVSguy

The Ultrasonic sensor needs to be connected to the mini breakout board of the Nervo Board.

I just made a tutorial on InMoov site:

http://inmoov.fr/howto-ultrasonic/

Note that MRL versions prior to Nixie have only one UltraSonic in the configuration file.

theDVSguy

4 years 4 months ago

In reply to by theDVSguy

Hey Gael, just an idea. Did you everythink about moving the Config outside the main folder for the software so when a users attempts the next version or even wants to go back a version the config folder is in a common path.

Might be a good idea to even do items like the custom folder etc ;)

hairygael

4 years 4 months ago

In reply to by theDVSguy

Hello,
The config folder doesn't get overwritten if you upload a new version over the old.
It is a safety just like the custom file.
It will add the new config files, it's up to you to remove the one you don't want to keep.
This seemed the best option because, config files also evolve and are updated.
 
The best way to test a new version is to create a new directory (ex: myrobotlabXXX) and install the new version into that directory.
Then just copy paste your old configs and custom into that new directory.
This way you have a fresh install and you keep the old just in case.
See my MRL directory below, each one contains a full version: