Andriod mobile controlled Human Detection Robot

YouNeed:-

 HC-06 Bluetooth Module

 BREAD BOARD

 Geared Motor

 TYRES
 ARDUINO UNO
 6V Battery

 L293D Motor Controller IC







CIRCUIT






This is tested and 100% working

CODE

 #include <Servo.h>
int r_mtr_n = 2; // assign motor pins to arduino
int r_mtr_p = 4;
int l_mtr_p = 5;
int l_mtr_n = 7;
int ledPin=13;
int Sensor_pin = 3;
int Buzzerpin = 9;
int incomingByte = 0; // assign pin for bluetooth module

void Alarm()
{
    digitalWrite(Buzzerpin,HIGH);
    digitalWrite(ledPin,HIGH);
    delay(5);
    digitalWrite(Buzzerpin,LOW);
    digitalWrite(ledPin,LOW);
}

void setup()
{
  pinMode(r_mtr_n, OUTPUT);
  pinMode(r_mtr_p, OUTPUT);
  pinMode(l_mtr_p, OUTPUT);
  pinMode(l_mtr_n, OUTPUT);
  pinMode(ledPin,OUTPUT);
  pinMode(Sensor_pin,INPUT);  
  pinMode(Buzzerpin,OUTPUT);
 
  digitalWrite(r_mtr_n, LOW);
  digitalWrite(r_mtr_p, LOW);
  digitalWrite(l_mtr_p, LOW);
  digitalWrite(l_mtr_n, LOW);

  Serial.begin(9600);
  Serial.println("start");
}

void loop()
{
    int val=digitalRead(Sensor_pin);
    if(val == 1)
    {
          digitalWrite(r_mtr_n, LOW); // control for stop
          digitalWrite(r_mtr_p, LOW);
          digitalWrite(l_mtr_p, LOW);
          digitalWrite(l_mtr_n, LOW);
          Serial.println("Detected\n");
          incomingByte='*';
          Alarm();
    }
    else{
          if (Serial.available() > 0)
          {
            incomingByte = Serial.read();
          }
          switch(incomingByte)
          {
            case 'S': 
              if(val == 1)
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Detected\n");
                incomingByte='*';
                Alarm();
              }
              else
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Stop\n");
                incomingByte='*';                   
              }        
              break;
            case 'R': 
              if(val == 1)
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Detected\n");
                incomingByte='*';
                Alarm();
              }
              else
              {
                  digitalWrite(r_mtr_n, HIGH); // control for right
                  digitalWrite(r_mtr_p, LOW);      
                  digitalWrite(l_mtr_p, HIGH);      
                  digitalWrite(l_mtr_n, LOW);      
                  Serial.println("Right");      
                  incomingByte='*';                   
              }
              break;       
            case 'L': 
              if(val == 1)
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Detected\n");
                incomingByte='*';
                Alarm();
              }
              else
              {
                digitalWrite(r_mtr_n, LOW); // control for left      
                digitalWrite(r_mtr_p, HIGH);      
                digitalWrite(l_mtr_p, LOW);      
                digitalWrite(l_mtr_n, HIGH);      
                Serial.println("Left");      
                incomingByte='*';                         
              }
              break;     
            case 'F':   
              if(val == 1)
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Stop\n");
                incomingByte='*';
                Alarm();
              }
              else
              {
                digitalWrite(r_mtr_n, HIGH); // control for forward      
                digitalWrite(r_mtr_p, LOW);      
                digitalWrite(l_mtr_p, LOW);      
                digitalWrite(l_mtr_n, HIGH);      
                Serial.println("Forward");      
                incomingByte='*';                            
              }
              break;
            case 'B':       
              if(val == 1)
              {
                digitalWrite(r_mtr_n, LOW); // control for stop
                digitalWrite(r_mtr_p, LOW);
                digitalWrite(l_mtr_p, LOW);
                digitalWrite(l_mtr_n, LOW);
                Serial.println("Stop\n");
                incomingByte='*';
                Alarm();
              }
              else
              {
                digitalWrite(r_mtr_n, LOW); // control for backward      
                digitalWrite(r_mtr_p, HIGH);      
                digitalWrite(l_mtr_p, HIGH);      
                digitalWrite(l_mtr_n, LOW);      
                Serial.println("Backword");      
                incomingByte='*';                           
              }       
              break;        
          }
    }
  
}



Download bluetooth controlled fro here

For video click here

How to Simply remove Shortcut executable virus files

.............           EASYWAYZ          ..................



Here is an EAZY way to "How to remove executable shortcut viruses in simple way without using antivirus software".


1. First, search "*.exe" in the entire system.

2. Select the virus files (in folder icon (they are of same size))

3. Open the task manager.

4. End the suspecious task (such as eg:-"WinSeven.exe"(in my pc)).

5. Then delete the selected search result files Quickly.

Also delete the temp files.............> RUN..>%temp%..> select all..> Delete.



           By, "easywayz-com.over-blog.com"

SpeedUp your SystemBooting

Follow these steps....

run >> regedit >> hkey local machine >> system >> curent control set >> session management >> memory management >> prefetch parameters

       enable prefetcher>> value change to 2 (recently it is 3)
       ok!
       enable superfetch>> value change to 2 (recently it is 3)
       ok!

system boots up speedly.........


For
WINDOWS 7 & WINDOWS 8

CAUTION!!!!

DO NOT  change any other settings in REGEDIT, it may damage your system!!


Review videos-Mobiles And Tablets

Simple ideas for making goods from waste materials-Youtube

Easy way to earn money from online

Simple way to earn money from online



Earn upto Rs. 9,000 pm with PaisaLive.com!


Hi,
I have something interesting for you - you can easily earn regular income online via PaisaLive.com!
It's really amazing! You get paid to open & read the contents of PaisaLive mails. You also receive special discount coupons, promotions and free passes to various events in your city.
Join now and get Rs. 99 instantly, just for joining. What more, as a special bonus you get paid for inviting your friends also!
Create your PaisaLive Account & refer your friends to earn launch referral bonus on every new registration.
http://www.PaisaLive.com/register.asp?6198063-3843889
PaisaLive - Get Paid to read emails