Arduino Robot Starter Kit Guide

100% found this document useful (2 votes)
163 views12 pages
This document describes an Arduino-based robot starter kit that includes a Roboduino Uno microcontroller, motor shield, four DC motors, four wheels, and an advanced robot chassis. The kit is…
  • Introduction
  • Motor Shield
  • Wheels & Chassis
  • Electronics Connection
  • Connection
  • Reference Code
  • Ideas for Extending the Robots

Arduino Based Robot

Starter Kit
[Link]
[Link]

Page 1

1. Introduction:
This latest robotics kit from Robokits India has
been designed to be a cost-effective learning platform for robotics and
reduce the amount of soldering and interconnection required. It
includes Roboduino Uno R3, Motor Shield, Four DC geared motors,
Four 2cm wheels and one advance robot chassis.
The kit is extendable into many bots with chassis and Motor Shield
having many options for mounting additional sensors and actuators.

2. Components Required:
1. Roboduino Uno:
Roboduino is based on open source designs of Arduino. Arduino is
an open-source physical computing platform based on a simple i/o
board and a development environment that implements
the Processing/Wiringlanguage. Roboduino can be used to develop
stand-alone interactive objects or can be connected to software on
your computer (e.g. Flash, Processing, MaxMSP).

Features:

ATmega328 microcontroller
Input voltage - 7-12V
14 Digital I/O Pins (6 PWM outputs)
6 Analog Inputs
32k Flash Memory
16Mhz Clock Speed

[Link]
[Link]

Page 2

2. Motor Shield:
Motor Driver Shield for Arduino to power DC, Stepper and Servo
motors for simple to medium complex projects.

Features:

4 H-Bridges: L293D chipset provides 0.6A per bridge (1.2A peak)


with thermal shutdown protection, internal kickback protection
diodes. Can run motors on 4.5VDC to 25VDC.
Two 5V hobby servos can be connected
Up to 4 bi-directional DC motors with individual 8-bit speed
selection
Up to 2 stepper motors (unipolar or bipolar) with single coil,
double coil or interleaved stepping.
Pull down resistors keep motors disabled during power-up
Arduino reset button brought up top
Dimensions: 69mm x 53mm x 14.3mm

3. DC motor 300 Rpm:


Features:

300RPM 12V DC motors with Gearbox


3000RPM base motor
6mm shaft diameter with internal hole
125gm weight
Same size motor available in various rpm
0.35kgcm torque
No-load current = 60 mA(Max), Load current = 300 mA(Max)

[Link]
[Link]

Page 3

4. Wheels 2 Cm Width:
Features:

68mm diameter
2cm width
Hole diameter 6.1 mm
Screw for fastening on motor shaft
Made from virgin plastic

5. Advance Chassis:
Powder coated Metal chassis for robots. Easy to mount the motors
on place by using normal motor mount nut. The body contains
perforated holes for easy mounting of various size circuit boards
and other mechanical components.

Dimensions:
Length : 190mm
Width : 105mm
Height : 40mm

3. Connection:
Motor and wheels Connections:
Connect the motor according to the motor no. and connections. It
is optional and can be altered as per necessity.

[Link]
[Link]

Page 4

Motor Terminals
Objects

M1 - A

M2 - B

M3 - C

M4 - D

Assemble each motor to advance chassis using nut provided with


the DC motor.
Make sure you pass the motor wires through the perforated holes
of advance chassis for better and cleaner connections of wires to
the motor driver.

[Link]
[Link]

Page 5

Connect each wheel to the motor shaft using CSK screw provided
with the wheel. Pass the screw through hole given in the shaft for
rigid connections.

Electronics Connection:

Mount the Roboduino motor shield on top of Roboduino board.


Note: Check for the orientation as per the image.

[Link]
[Link]

Page 6

Wire the motor and battery to their respective terminal as


mentioned on the robotic shield.
Kindly provide adequate insulation using cardboard, foam sheet
or elevating the board using spacers between the metal chassis
and Roboduino uno board to avoid damaging due to electrical
shorting.

[Link]
[Link]

Page 7

4. Reference Code:
Install The [Link] lib into the library folder of Arduino Ide for
using Motor driver functions
#include <Motor_Shield.h> // include motor driver lib for using motor
fuctions
int i,j;
DCMotor Amotor(1);
DCMotor Bmotor(2);
DCMotor Cmotor(3);
DCMotor Dmotor(4);

// creating objects.

void setup() {

}
void loop()
{
for(i=0;i<=255;i++)
{
Forward(i);
delay(10);
}
for(i;i>=1;i--)
{
Forward(i);
delay(10);
}
for(j=0;j<=255;j++)
{
Backward(j);
[Link]
[Link]

Page 8

delay(10);
}
for(j;j>=1;j--)
{
Backward(j);
delay(10);
}
Left();
delay(3000);
Right();
delay(3000);
}
////*******Robot control functions********////
void Forward(unsigned char Speed)
// Robot runs in forward
direction
{
[Link](FORWARD);
[Link](FORWARD);
[Link](FORWARD);
[Link](FORWARD);
[Link](Speed);
[Link](Speed);
[Link](Speed);
[Link](Speed);
}
void Backward(unsigned char Speed)
direction
{
[Link](BACKWARD);
[Link](BACKWARD);
[Link](BACKWARD);
[Link](BACKWARD);
[Link]
[Link]

// Robot runs in backward

Page 9

[Link](Speed);
[Link](Speed);
[Link](Speed);
[Link](Speed);
}
void Right(void)
// Skid steer left turn.
{
[Link](FORWARD);
[Link](BACKWARD);
[Link](BACKWARD);
[Link](FORWARD);
[Link](255);
[Link](255);
[Link](255);
[Link](255);
}
void Left(void)
// Skid steer right turn.
{
[Link](BACKWARD);
[Link](FORWARD);
[Link](FORWARD);
[Link](BACKWARD);
[Link](255);
[Link](255);
[Link](255);
[Link](255);
}
void Right_Forward()
// Right side motor forward
{
[Link](FORWARD);
[Link](FORWARD);
[Link](255);
[Link](255);
[Link]
[Link]

Page 10

}
void Right_Backward()
// Right side motor backward
{
[Link](BACKWARD);
[Link](BACKWARD);
[Link](255);
[Link](255);
}
void Left_Forward()
// Left side motor forward
{
[Link](FORWARD);
[Link](FORWARD);
[Link](255);
[Link](255);
}
void Left_Backward()
// Left side motor backward
{
[Link](BACKWARD);
[Link](BACKWARD);
[Link](255);
[Link](255);
}

void Stop(void)
// All motor halt
{
[Link](0);
[Link](0);
[Link](0);
[Link](0);
}

[Link]
[Link]

Page 11

Ideas for extending the Robots.


1. Obstacle Avoider
Interface ultra sonic sensor and make an Autonomous Obstacle avoider
robot.

2. PS2 Remote controlled Robot


Make your robot wireless with RF 2.4GHz coded Remote control. Ideal
for making any DC motor controlled robot. It can drive robot in skid
steer control with analog speed control.

[Link]
[Link]

Page 12

Common questions

Powered by AI

The advance chassis is a powder-coated metal frame with perforated holes that facilitate the mounting of various components and circuits, allowing easy customization and extension of functionalities. This flexibility is crucial for supporting additional sensors and actuators, making the robot adaptable for tasks like autonomous obstacle avoidance and remote control .

The Roboduino Uno R3 features an ATmega328 microcontroller, an input voltage range of 7-12V, 14 Digital I/O Pins with six PWM outputs, six analog inputs, 32k flash memory, and a 16MHz clock speed .

The chassis has perforated holes for adaptable component placement, while the wheels' specific dimensions (68mm diameter and 2cm width) ensure optimal ground clearance and stability. This construction supports robust operations across diverse environments, facilitating mobility and expansion for added tasks .

Proper electrical insulation is critical to prevent shorts that might damage the Roboduino components. Using materials like cardboard or foam or elevating the board with spacers ensures that metal does not come into unexpected contact with circuit components, maintaining the system's integrity and safety .

The kit can be enhanced by interfacing with sensors like ultrasonic for autonomous obstacle avoidance or integrating wireless control using RF 2.4GHz for remote operations, thus leveraging its modular framework and motor control versatility to adapt to new operational scenarios .

The Motor Shield can power DC, Stepper, and Servo motors using four H-Bridges with thermal shutdown and kickback protection, controlling up to four bi-directional DC motors or two stepper motors with options for different stepping modes. It also allows connection for two 5V hobby servos .

The 300 RPM DC motors come with a 12V gearbox providing adequate torque (0.35kgcm) for efficient movement and control. With a 60 mA no-load current that increases under load, they enable responsive and energy-efficient operation essential for smooth maneuverability .

The reference code sequentially increases and decreases motor speeds for forward and backward movements, creates right and left turns via skid steering, and controls the robot direction using functions defining forward, backward, left, right, and stop commands for individual motor objects (Amotor, Bmotor, Cmotor, Dmotor).

Key considerations include ensuring correct terminal connections as specified, providing adequate insulation to avoid short circuits, and verifying voltage compatibility with the motors to prevent component damage. Efficient wiring helps maintain consistent performance and safety .

The assembly involves attaching four DC motors to the advance chassis using nuts, ensuring wires are passed through perforated holes for clean connections. Wheels are attached to motor shafts using CSK screws, ensuring rigid connections .

http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 1 
 
 
 
 
 
 
Arduino Based Robot  
 
Starter Kit
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 2 
 
 
1. Introduction:
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 3 
 
 
2. Motor Shield: 
 
Motor Driver Shield for
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 4 
 
 
4. Wheels 2 Cm Width: 
    Features: 
• 68m
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 5 
 
 
 
Motor Terminals –    
Objects 
 
 
M1 - A
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 6 
 
 
 
 
 
Connect each wheel to the motor shaft
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 7 
 
 
 
 
 
Wire the motor and battery to their r
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 8 
 
 
4. Reference Code: 
  
Install The Motor.zi
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 9 
 
 
      delay(10); 
  } 
   
  for(j;j>=1;j--
http://www.robokits.co.in 
http://www.robokitsworld.com  
 
    Page 10 
 
 
            Amotor.setSpeed(Speed);

You might also like