www.ezshopfun.com/       Email Us:  sales@ezshopfun.com

Quick Find:    
Advanced Search
    
Use keywords to find the product you are looking for.
Categories
Accessories
Arduino
Cameras
Components
DIY Projects
Embedded System
Gameduino
LCD/LED Modules
Papilio
pcDuino
Raspberry PI
RFID
Robotics
Specials more
pcDuino A/V Kit
pcDuino A/V Kit
 $39.99  $35.99 
Cuhead WiFi Shield V2.0 for Arduino
Cuhead WiFi Shield V2.0 for Arduino
 $55.00  $51.00 
MRF24WB0MA WIFI / 802.11 MODULE WIFI TRANSCEIVER w/PCB ANTENNA
MRF24WB0MA WIFI / 802.11 MODULE WIFI TRANSCEIVER w/PCB ANTENNA
 $23.50  $19.50 
WiFi RedBack 1.0 -- Arduino yellowjacket Compatible
WiFi RedBack 1.0 -- Arduino yellowjacket Compatible
 $75.00  $69.00 
WiFi DiamondBack 1.0 -- Arduino Compatible WiFi
WiFi DiamondBack 1.0 -- Arduino Compatible WiFi
 $75.00  $72.00 
Tell A Friend
    
Tell someone you know about this product.
Featured more
WiFi Dongle for pcDuino
WiFi Dongle for pcDuino
 $15.99 
  Top » Catalog » Robotics » LS_ARDUINO_ROBOT_KIT

LinkSprite Arduino Robotics Kit

 
LinkSprite Arduino Robotics Kit
Click to enlarge
Price  $59.00 
Model LS_ARDUINO_ROBOT_KIT
Quantity:     
 Add to Wish List 
   Reviews 

 

LinkSprite Arduino Robotics Kit is an Arduino based Robotics kit.

 

The hardware included:

  • Robotics platform
  • Two-Channel DC Motor Driver Breakout (L298 Chipset)
  • Path sensor board
  • three infrared obstacle sensors
  •  
  • Arduino board is NOT included
  • Battery holder
  • Jumper wires

 

The platform comes with the metal base, two rubber tires, one ball caster metal, and two gearmotors.

 

Connection instructions:

 

Two-Channel DC Motor Driver Breakout  to Arduino Uno:

I1 -> D5 

I2 -> D6

I3 -> D3

I4 -> D4

EA -> D10

I4B-> D9

 

P3 on the motor driver board is connected to the four wires of two motors. VMS is connected to the Vin of Arduino, and GND is connected to the ground of Arduino.

 

 

 

Path Sensor Breakout Board connected to Arduino:

 

+5V is connected to 5V on Arduino.

GND is connected to ground on Arduino.

 

Analog A0 connected to Q1

Analog A1 connected to Q2

Analog A2 connected to Q3

Analog A3 connected to Q4

Analog A4 connected to Q5

 

Obstacle sensors connected to Arduino:

 

Front obstacle sensor connected to D7 of Arduino.

Right obstacle sensor connected to D8 of Arduino.

Left obstacle sensor connected to D2 of Arduino.

 

 

Path following example:

 

After switch on,the car will run along the black line on floor , this car is equipped with five path sensors, when the middle sensor detectes black line, car will go forward; when the centreright sensor detectes black line, that indicate car will slightly turn to the right side, so the car should be turned slightly to the left; when the most right sensor detects black line, that indicate car turn too much to the right side, so the car should turn left by a wide margin. Concretely, use PWM control L298N end EA, EB can be enabled to control car's speed, by controlling delay () to control car's rotation angle. By analogy, the black line wich detected by left side sensor will be just opposite.

 

Arduino pde example:

 

 

 

unsigned char PWM = 150;

unsigned char road=0;

 

void setup()

{

  pinMode(3,OUTPUT);

  pinMode(4,OUTPUT);

 

  pinMode(5,OUTPUT);

  pinMode(6,OUTPUT);

 

 

  pinMode(8,INPUT);

  pinMode(7,INPUT);

 

 

  analogWrite(9, PWM);

  analogWrite(10,PWM);

 

  pinMode(A0, INPUT);

  pinMode(A1, INPUT);

  pinMode(A2, INPUT);

  pinMode(A3, INPUT);

  pinMode(A4, INPUT);

}

void loop()

{

 ////////////////////////////////////////////

  road = digitalRead(A0)+digitalRead(A1)*2+digitalRead(A2)*4+

          digitalRead(A3)*8+digitalRead(A4)*16;

  switch (road)

  {

    case 0b00011011:

      forward();

      delay(100);

      break;

///////////////////////////////////////////

    case 0b00011101:

      turn_left();

    analogWrite(9, PWM/2);

      delay(50);

      break;

    case 0b00010111:

      turn_right();

    analogWrite(10, PWM/2);

      delay(50);

      break;

////////////////////////////////////////

   case 0b00001111:

      turn_right();

      delay(50);

      break;

    case 0b00011110:

      turn_left();

      delay(50);

      break;

///////////////////////////////////

      default:

      forward();

     //analogWrite(9, PWM);

     //analogWrite(10, PWM);

      delay(10);

   }

}

 

void turn_left(void)

{

  digitalWrite(3,HIGH);

  digitalWrite(4,LOW);

  digitalWrite(5,HIGH);

  digitalWrite(6,LOW);

 

 analogWrite(9, PWM);

 analogWrite(10, PWM);

}

void turn_right(void)

{

  digitalWrite(4,HIGH);

  digitalWrite(3,LOW);

  digitalWrite(6,HIGH);

  digitalWrite(5,LOW);

 

  analogWrite(9, PWM);

  analogWrite(10, PWM);

}

void forward(void)

{

  digitalWrite(3,HIGH);

  digitalWrite(4,LOW);

  digitalWrite(6,HIGH);

  digitalWrite(5,LOW);

 

  analogWrite(9, PWM);

  analogWrite(10, PWM);

}

void back(void)

{

  digitalWrite(4,HIGH);

  digitalWrite(3,LOW);

  digitalWrite(5,HIGH);

  digitalWrite(6,LOW);

 

 analogWrite(9, PWM/2);

 analogWrite(10,PWM/2);

}

 

 

 

Get out of Maze example:

 

 

Equipped with three infrared sensors at the front of the car to avoid obstacles, when an obstacle is detected, the corresponding sensor will output low level. When obstacle is detected at current side, the car will backward a little then turn left again by default; when right side of the obstacle is detected, the car will turn to left; when left obstacle is detected, the car will turn to right. Attention that each rotation rate shouldn't be too much, you can use the program for several minor adjustments, so that car can move ahead closely to the edge of obstacle, Concretely,use the PWM control L298N Enable EA, EB to control car's speed, by controlling delay ()to control car's rotation angle. You can adjust the potentiometer on the back of sensor to adjust the detection range, detection distance shouldn't too far, the appropriate distance is 20CM, thus the car can achieve Maze features, if encountered a dead end, car can come out closely to the wall.

 

 

Arduino pde:

 

 

 

unsigned char PWM = 150;

 

void setup()

{

  pinMode(3,OUTPUT);

  pinMode(4,OUTPUT);

 

  pinMode(5,OUTPUT);

  pinMode(6,OUTPUT);

 

 

  pinMode(8,INPUT);

  pinMode(7,INPUT);

  pinMode(2,INPUT);

 

 

  analogWrite(9, PWM);

  analogWrite(10, PWM);

 

}

void loop()

{

   if(!digitalRead(7))   //Obstructions front

  {

    back();

    delay(100);

    turn_left();

    delay(100);

  }

 else

  {

    forward();

  }

 

 if(!digitalRead(8))   //Obstructions right

  {

     turn_left();

    analogWrite(9, PWM/2);

      delay(50);

  }

 else

  {

    forward();

  }

  if(!digitalRead(2))   //Obstructions left

  {

      turn_right();

    analogWrite(10, PWM/2);

      delay(50);

  }

 else

  {

    forward();

  }

 

}

 

void turn_left(void)

{

  digitalWrite(3,HIGH);

  digitalWrite(4,LOW);

  digitalWrite(5,HIGH);

  digitalWrite(6,LOW);

 

 analogWrite(9, PWM);

 analogWrite(10, PWM);

}

void turn_right(void)

{

  digitalWrite(4,HIGH);

  digitalWrite(3,LOW);

  digitalWrite(6,HIGH);

  digitalWrite(5,LOW);

 

  analogWrite(9, PWM);

  analogWrite(10, PWM);

}

void forward(void)

{

  digitalWrite(3,HIGH);

  digitalWrite(4,LOW);

  digitalWrite(6,HIGH);

  digitalWrite(5,LOW);

 

  analogWrite(9, PWM);

  analogWrite(10, PWM);

}

void back(void)

{

  digitalWrite(4,HIGH);

  digitalWrite(3,LOW);

  digitalWrite(5,HIGH);

  digitalWrite(6,LOW);

 

 analogWrite(9, PWM/2);

 analogWrite(10,PWM/2);

}

 

 

LinkSprite Arduino Robotics Kit
Click to enlarge
This product was added to our catalog on Tuesday 20 March, 2012.
Shopping Cart more
0 items
Comments more
Cards We Accept
Cards We Accept
Information
Information Pages