Japan
Asked — Edited

Ez-Arduino With L293

I used the L293 module connected to arduino, the ultrasonicsensor to make the rotbot automatically avoid obstructions, so when I turned the arduino into ez-b, I could connect it to L293, the ultrasonic sensor and do that project withez-cript similar to the code C++ II wrote and it doesn't seem to work?

User-inserted image

User-inserted image


Related Hardware Arduino Genuino Uno

ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

PRO
Synthiam
#1   — Edited

What tutorials did you follow that weren’t able to assist? You looked at the hbridge control manual? And the ultrasonic distance sensor manual? I don’t see either of those controls added as reference when this question was created.

I would start by following the tutorial on connecting an arduino to ARC. If you look at the synthiam's arduino uno hardware page in the getting started guide, there are specific step-by-step instructions.

Here's my recommendation

  1. Program the Arduino Uno with latest firmware to turn it into an EZ-B: https://synthiam.com/Hardware/Arduino-Genuino-Uno-17527

  2. Follow the steps on the above link to connect ARC to the Arduino Uno via USB

  3. Add the PWM HBridge Movement Panel to your ARC project and specify the ports in the config for your sheild: https://synthiam.com/Software/Manual/4-Wire-HBridge-PWM-16067

  4. Add any of the ultrasonic controls that best suits your requirement for navigation. Simple obstacle avoidance could be done with this: https://synthiam.com/Software/Manual/Ultrasonic-Radar-16101

#2  

Oh yes thanks , that's what I should review and will do it tomorrow