STEMpediaDhrupal R ShahPankaj Verma
Published © CC BY-SA

Ultrasonic Obstacle Avoiding Robot Using Evive

Unlike others, we have mounted our ultrasonic sensor on a servo.

IntermediateFull instructions provided6 hours13,908
Ultrasonic Obstacle Avoiding Robot Using Evive

Things used in this project

Hardware components

evive
STEMpedia evive
×1
Arduino Mega 2560 & Genuino Mega 2560
Arduino Mega 2560 & Genuino Mega 2560
Optional, if you use evive, the it has arduino MEGA 2560 R3 inside it.
×1
Servos (Tower Pro MG996R)
×1
Ultrasonic Distance Sensor
×1
DC motor (generic)
×2
Motor Drivers
Texas Instruments Motor Drivers
OPTIONAL: We can make a simple motor driver using SN754410NE or L293D (or any similar Dual channel H bridge) We have used evive, it has in-built motor driver using SN754410
×1
Battery 12V (generic)
×1
Robot Car Body (generic)
×1
Seven (or five) array IR Sensor
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic Diagram

Connect motors, ultrasonic distance sensor, servo to evive

Code

Modified Servo Library

In Arduino MEGA, default servo library uses TIMER 5 which are also linked on Pins 44, 45, 46. So for using Motors (on TIMER5, ie Pins 45, 45) and Servo on any Pin 2-13, we need to modify Servo Library.

Obstacle Avoidaning Robot Code

This link contains the folder for Arduino sketches and library used.

Motor Libarary

Credits

STEMpedia

STEMpedia

2 projects • 124 followers
STEMpedia blends theory with experiential learning by offering state-of-the-art technology, projects, tutorials, courses, and much more.
Dhrupal R Shah

Dhrupal R Shah

2 projects • 21 followers
a entrepreneur, robotics enthusiast and maker
Pankaj Verma

Pankaj Verma

2 projects • 6 followers

Comments

Add projectSign up / Login