Hi,

I've two questions ...

Is there a service to use ultrasonic sensor in MRL ? I've got six SR-04 for avoid obstacles on my new project .

And about DC Motors, the motor service don't work with my motor control board . There is 4 pins to drive the motors . 2 pins for each motor :

inA ON and inB OFF -> forward

InA OFF and inB ON -> backward

InA and inB OFF -> Stop

For the speed it use PWM .

In arduino service, all work well but the motor service don't work like this i guess ..

 

Oh and finally a 3rd question : What mean " no magic number " or something like that when connecting the Arduino ? That work anyway, but i'm curious wink

 

Thanks !

kmcgerald

10 years 6 months ago

Ale used an ultrasonic sensor in his piano project.

 

What happens with your motor controller if A & B are on at the same time? Based on Grog's previous descriptions I'm guessing it will turn into a smoke generator because it forms a short circuit and turns the board into a lot of stinky smoke.

GroG

10 years 6 months ago

Hi beetlejuice,

nice to see you back.  There is no specific Ultrasonic sensor service..  but you can get the data back with the Arduino service easily.

Do you have detail specifications on your motor controller ?