Obstacle Avoiding Robot

Since we have successfully build Bluetooth Mobile Robot, let’s try to turn this robot to an “Obstacle Avoiding Robot” by adding an ultrasonic sensor to it. This robot will avoiding any obstacle in distance of 10 cm in front of it. Just follow this tutorial to know more .


This tutorial use :

  1. Maker UNO Bluetooth Robot Kit
  2. HC-SR04 Ultrasonic Sensor

You can make the hardware connection based on the diagram and table below.

Ultrasonic : TrigMaker UNO: Pin 3
Ultrasonic : EchoMaker UNO: Pin 4
Ultrasonic : GNDMaker UNO: GND
Ultrasonic : VCCL298ND : 5V
L298ND : ENAMaker UNO: Pin 5
L298ND : ENBMaker UNO: Pin 6
L298ND : IN1Maker UNO: Pin 7
L298ND : IN2Maker UNO: Pin 9
L298ND : IN3Maker UNO: Pin 10
L298ND : IN4Maker UNO: Pin 11

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

4 thoughts on “Obstacle Avoiding Robot”

  1. nur nadhirah wafa

    hai if i want to add bluetooth module ? and i control it by mobile fone . can u help me. i dont know how to connect the bluetooth module into this obstacle robot 🙁 and also the coding . thank you

  2. Hi, this tutorial shows a concept of obstacle avoidance robot. To build an actual size of lawn mower using this kit is not suitable. To control power window motors, you might need to use higher rating of motor drivers. For further discussion, please post at Cytron Technical Forum. Thanks.

  3. How to use this kit to control a lawn mower? Because lawn mower is too heavy for these small DC motors. And how can I make this kit to control power window motors since it requires higher voltage to work.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Soil Moisture Alarm Using CircuitPython on Seeeduino XIAO
Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Scroll to Top