TRISHUL -Autonomous navigating robot Using Atmel Mega32

Introduction
We decided to do this project due to our keen interest in the robotics. We were also looking for a project that involved a perfect mix of hardware and software complexity. This project enabled us to use new hardware such as sensors, stepper motors and their integration in big projects.
Autonomous navigating robot Using Atmel Mega32
The robot is essentially a vehicle propelled by two stepper motors. It uses IR sensors for detection of obstacles and also to keep track of its current position. The details of how this is done are given later on in the documentation.
Higher Level Design

The robot is essentially a vehicle propelled by two stepper motors. It uses IR sensors for detection of obstacles and also to keep track of its current position. The details of how this is done are given later on in the documentation.

There were two problems that had to be addressed:
1.Keeping track of how much the robot had moved – this was not as simple as counting the steps of the stepper motor because there was considerable loss of traction and as a result slipping of the wheels.
2.The second problem was the robot not moving in a straight line  this was expected as the mechanical fabrication of the robot was ordinary to say the least.
This is how we took care of the problems – problem one was dealt with by making the robot move on a grid and counting the lines as we crossed them. Problem two was dealt by using the same grid, but using the lines to realign the robot.
So this is what we had to do – make the robot move from one coordinate on a grid to another, such that it sucessfully avoids obstacles in the way. The typical operation scenario is shown above.
Hardware Design
The overall electrical schematic is as shown in the figure below:
The hardware essentially consists of:
Electrical Parts

  1. MCU  Atmel Mega32
  2. Stepper Motors (2 in Number)   – the motors used here are the mono-polar type.
  3. Op  Amps (3in Number)  for amplification of the sensor signal.
  4.  (2 in Number)  for the detection of the lines
  5. Sharp GP2D12(1 in Number)  for the detection of obstacles and the distance
  6. Misc  Resistors, capacitors, 16MHz oscillator, piezoelectric speaker, wires etc.

Mechanical Parts:

  1. 20cm x 13cm Steel Plate  to serve as the chassis of the robot
  2. .5 cm Shaft to mount the gears and also the rear omni wheel
  3. 2 2cm gears to serve as the wheels of the robot
  4. Sheet Metal to mount the GP2D32 and the motors
  5. 2 inch aluminum standoffs and locks to hold the board.
  6. Misc  screws, bolts, hot glue , duct tape etc.

Mechanical Assembly and Design:
Mechanical fabrication to create something that moves around was a challenge that had to be dealt with considerable effort.
A steel plate of 20×13 cm was taken and a notch of about 2.5×3 cm was cut on one of the sides to accommodate the omni-wheel.
Next shafts were hack-sawed and secured in place with the help of hot glue and some tape with the gears and wheels in place.
The design is shown below with the bottom view and the side view.
Apart from the design shown above, two holes were drilled in the front of the robot and three random holes to mount our circuit board using aluminum standoffs.
Electrical Design:
The electric design was more of a challenge simply because we had a lot of things being interfaced with the MCU at once.
Autonomous navigating robot Using Atmel Mega32  schemetic
To this end we followed a very systematic approach towards our project and interfaced every thing one at a time. Providing final software touches right at the end.

Parts List:

Part Description

Part Number

Quantity

Total Cost

Micro controller

Atmel Mega32 AVR

1

0(sample)

Circuit Board

1

3

Stepper Motor

2

             4

Optical Sensors

BPW36 Hermetic phototransistors

2

2.6

Distance Sensors

GP2D12

1

11

Big Boards

             3           7.5

Small Boards

             4           3.2

Total Cost: $32
 
For more detail: TRISHUL -Autonomous navigating robot


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top