Thursday, April 23, 2015

Touch Me Not and Follow me ROBOT using l293d.




A funny to do robot, where it follow the user when you show something to the front sensor and move away from you when you show something to left and right sensors. This robot makes uses of an IR sensor and the logic behind the L293d motor driver, this is non programming robot hence there is no need for the microcontroller.



Circuit diagram for the robot


circuit diagram for the IR sensor


How to make ir sensor and how it works explained in the video

Flame Following robot using L293D motor driver


A Flame following robot, This example is a simple Flame follower where it used L293D Motor driver and IR based sensor. This robot does not require any programming, it uses the logic available in the motor driver (when the pins 12 and 14 are high) both the motor rotates in the forward direction, when the pin 7 is high it moves to the left , likewise when the pin 10 is high it moves to the right. 




circuit diagram for flame following robot




circuit diagram for the flame sensor



The above video explain how the sensor works and how to make the sensor.


caution: please be careful when handling flame it may injurious to human :P







A Light following robot, This example is a simple light follower where it used L293D Motor driver and LDR based sensor. This robot does not require any programming, it uses the logic available in the motor driver (when the pins 12 and 14 are high) both the motor rotates in the forward direction, when the pin 7 is high it moves to the left , likewise when the pin 10 is high it moves to the right. 




The figure below depicts overall connection of the L293D motor driver. 





LDR based light sensor circuit

working principle and making of the sensor can find in the below video. 



This is very simple to make and it not involves much cost really cheap , this can gives you an idea about how the l293D works and logic behind the IC and how to interface with the sensor , if you are getting starting with robotics this could be the perfect example to get start up with. 

Friday, December 19, 2014

How to Make Master and Slave Robot control

If you are thinking to make a Master and slave robot or planning to create a  swarm robot or copying robot, If you don't have any idea of how to make this robot and a novice like me. This is a perfect example to get start with. A cool robot to make at home without much effort. As these robots does not share any intelligence between these two but a Master robot ( controlled by the human) will control the another robot (slave robot). We can add some intelligence and makes these robots to complete a task by cooperating each other during work course. 

I've used One Master and a Slave bot, there is no limitation as we can extend many number of slaves as we want and make the robot to move in a synchronized motion. 

Components Required.

1x Arduino uno
1x Bluetooth Module (I used HC-05)
2x Chasis
2x Breadboard
1x RF transmitter Module
1x RF receiver module
4x Wheels
4x Motors
2x 9v batteries
2x L293D (Motor driver)
connecting wires

The Master Robot is going to control from a Android device. we need a android device and an app to control our master robot. we don't need to rely on 3rd party apps to control our robot lets make our own app to control our robot. check the step by step video to know how to make android app using MIT app inventor.  You can also download the app from the link here



Robot circuit Diagram:

Master Robot Circuit:


Master Robot Program:

____________________________________________________________________________________

#include <SoftwareSerial.h>

SoftwareSerial BT(10, 11); //TX, RX respetively
String readvoice;

void setup() {
 BT.begin(9600);
 Serial.begin(9600);
  pinMode (2, OUTPUT);
  pinMode (3, OUTPUT);
  pinMode (4, OUTPUT);
  pinMode (5, OUTPUT);
  pinMode (6, OUTPUT);
  pinMode (7, OUTPUT);
  pinMode (8, OUTPUT);
  pinMode (9, OUTPUT);
}

void loop() {
  while (BT.available()){  //Check if there is an available byte to read
  delay(10); //Delay added to make thing stable 
  char c = BT.read(); //Conduct a serial read
  readvoice += c; //build the string- "forward", "reverse", "left" and "right"
  }  
  if (readvoice.length() > 0) {
    Serial.println(readvoice); 
    if(readvoice == "forward") 
  {
    digitalWrite(8, HIGH);
    digitalWrite (9, HIGH);
    digitalWrite(6,LOW);
    digitalWrite(7,LOW);
    digitalWrite(2, HIGH);
    digitalWrite (3, HIGH);
    digitalWrite(4,LOW);
    digitalWrite(5,LOW);
    delay(100);
  } 
  
  else if(readvoice == "reverse") 
  {
    digitalWrite(8, LOW);
    digitalWrite (9, LOW);
    digitalWrite(6,HIGH);
    digitalWrite(7,HIGH);
    digitalWrite(2, LOW);
    digitalWrite (3, LOW);
    digitalWrite(4,HIGH);
    digitalWrite(5,HIGH);
    delay(100);
  }
  
  else if (readvoice == "right")
  {
    digitalWrite(8, LOW);
    digitalWrite (9, HIGH);
    digitalWrite(6,LOW);
    digitalWrite(7,LOW);
    digitalWrite(2, LOW);
    digitalWrite (3, HIGH);
    digitalWrite(4,LOW);
    digitalWrite(5,LOW);
    delay (100);
    
  }
  
 else if ( readvoice == "left")
 {
   digitalWrite(8, HIGH);
    digitalWrite (9, LOW);
    digitalWrite(6,LOW);
    digitalWrite(7,LOW);
    digitalWrite(2, HIGH);
    digitalWrite (3, LOW);
    digitalWrite(4,LOW);
    digitalWrite(5,LOW);
   delay (100);
 }

 else if (readvoice == "stop")
 {
digitalWrite(8, LOW);
    digitalWrite (9, LOW);
    digitalWrite(6,LOW);
    digitalWrite(7,LOW);
    digitalWrite(2, LOW);
    digitalWrite (3, LOW);
    digitalWrite(4,LOW);
    digitalWrite(5,LOW);
   delay (100);
 }

   

readvoice="";}} //Reset the variable

_____________________________________________________________________________________


Slave Robot Circuit:



No program Required for slave robot.

check out the wireless robot without microcontroller to know about RF Circuits here

PS: use same chassis, RPM motor, Battery rating, as I had different chassis and motor the robot movement was not synchronized. 

Saturday, December 6, 2014

How to Make a Bristle bot

The title explains all , this post is about how to make  easy bristle bot without falling or rotating the same path without moving like an insect.

If you look other videos about making bristle bot at the end there are not much videos about real working because the bot either move some distance and fall or it moves in a predicted motion.

Yeah as you think the bristle bot is something easy to build, when we got the right components , what if we want to use the components that available readily to do it?

Yes still you can do it but it won't give you the expected result.

Here I've made a bristle bot which can be built less than 2 minutes. All you need is any *tooth brush, * vibrator, *button battery, *paper clips and a double sided tape and glue *LEDs to make it look cool compare to than other bristle bot.






This is how my bot was looked after I finished, Is it looking cool?? I love it when making it awaken the inner child in me.

Lets Make the bot,

Cut the head portion from your tooth brush (new one would be perfect for this )


add some glue to it and fix the vibrator


add the paper clips to the bot like it's getting wing



add battery and complete the bristle bot.




add the LED's to another battery like this. More the LEDs More the fun




cover the LEDs with double sided tape and place it over the vibrator

Number of attempts before this design



It looks like an insect , don't belive me? check it yourself




Thursday, December 4, 2014

Have you tired of building robots with numerous coding and difficult circuits? want to make a cool wireless robot without a microcontroller , here it is for you.

A robot that does not need any sort of programming or complex circuit to build, This is a complete beginner robot, anyone can do this without much knowledge about electronics, all you need is right components and right placement of these components.

This is a simplest Wireless robot without a need for microcontroller, this can be made with readily available components . No need to solder your electronics components and its cheap to do .

check the video below and learn How to do this robot.




check this page for circuit diagram, its simply plug and play type bot, No need for the circuit diagram,  if you still want circuit for this robot check this Here

Components Need to Make this

RF Transmitter and Receiver Module

L293D Motor Driver

Push button and connecting wires

2 batteries

2x Motor

2x wheels 1x castor wheel

1x chassis









See the video below and check its performance



Have you finished Making the robot??
Lets add a camera to that and control from other room.


The above video I've used my old android phone for cam, If you don't want to place your phone like that or you don't have an android you can go for a wireless camera that is available cheaper on many electronics market,

If you add a camera to this robot , it become a cool surveillance robot , which can be operated from a 120 feet away from this robot. The distance is shorter but this is really cool for a hobbyist and beginner to give a try. Make this robot to stalk your pets at home :).

For queries feel free to leave comments below . subscribe to my youtube channel for regular updates or do check my channel for really easy to do type bots




Monday, November 24, 2014

A simple sound activated bot, turn On when there is a sound and turn off if it hear sound again, It don't have any specific purpose just a toy with minimum intelligence lol.

This robot uses sound detecting sensor, which actually produces vibration whenever there is a noise, it cannot measure the db of the sound that producing, all it can do is to produce a signal when there is a sound .





sound sensor


Arduino Program:
--------------------------------------------------------------------------------------------------------------------------

int Tomotor = 8;       // signal to motor driver
int soundsensor = 7;   // input from sound sensor

boolean state = false;

void setup()
{
  pinMode(Tomotor, OUTPUT);
  pinMode(soundsensor, INPUT);
}

void loop()
{
  if (digitalRead(soundsensor) == LOW)
  {
    delay(100);                    
    state = !state;              
    digitalWrite(Tomotor, state);  
  }
}
--------------------------------------------------------------------------------------------------------------------------