Friday, 25 November 2016

LINE FOLLOWING ROBOT

Introduction


This robot is capable of following a black line on a white background and a white line on a black background.

It is mainly made using the parts specified below, where the infrared sensor senses the floor for black/white lines and then passes the information’s to the micro controller, which controls the motors of the robot appropriately, thus following the line.


Parts required 

  • Micro controller-Arduino Uno
  • Motor shield- Adafruit (L293D)









  • Infrared sensor (Pololu)












  • Gear motor with wheel 












  • Omni wheel 








  • Connecting wires












  • Batteries 

Description of the robot


The infrared sensor emits IR rays. These rays are reflected and received by the sensor. The intensity of the reflected rays are sent to the micro controller, which uses this information to determine the colour of the line.

The micro controller has the program code. It receives continuous information from the sensors and compares these data with the preset values. If the robot is aligned straight on the line, the robot keeps moving or else a pulse is sent to the motor shield to align the robot straight on the line. The motor shield decreases/increases the power supplied to the motors accordingly to align the robot straight on the line. For instance if a left turn is needed, the power of left motor decreases and right motor increases, so a left turn is made.


In this way the robot continuously moves, following the line.


Improvements to be done 



  • Fixing a carriage & an arm to transport things.
  • Fixing a solar panel to provide free energy for the robot.



Video


Saturday, 19 November 2016

OBSTACLE AVOIDING ROBOT

Introduction


This robot is capable of detecting and avoiding obstacles.

It is mainly made using the parts specified below, where the ultrasonic sensor senses the path ahead for any objects and then passes the information’s to the micro controller, which controls the motors of the robot appropriately, thus avoiding any obstacles on its way.


Parts required 

  • Micro controller-Arduino Uno/Mega









  • Motor shield- Adafruit (L293D)









  • Ultrasonic sensor









  • Servo











  • Gear motor with wheel 












  • Caster wheel 











  • Connecting wires












  • Batteries 

Description of the robot


The ultrasonic sensor emits ultrasonic rays. These rays are reflected and received by the sensor if there are any objects in front. The time difference between the emitted and the reflected pulse is sent to the micro controller, which uses this information to calculate the distance between the robot & the object.

The micro controller has the program code. It receives continuous information from the sensor and compares these data with the preset values. If any object is about to be confronted, a pulse is sent to the motor shield, which changes the direction of the robot. The motor shield decreases/increases the power supplied to the motors accordingly to change the direction. For instance, if a left turn is needed, the power of left motor decreases and right motor increases, so a left turn is made.

The servo is used to rotate the sensor 180 degrees, which enables the robot to scan the path ahead and turn to a direction, where there are no obstacles.


Improvements to be done 


  • Fixing a web camera to watch things lively over WiFi (ideal for spy robots).
  • Fixing an IR receiver and a controller to control the robot Wirelessly.
  • Fixing the Bluetooth slave to control the robot over Bluetooth.

Video