New Project

CONNECT

Arduino Wireless Mobile Parking Sensor Making

  • Page Views 2724
  • Spread the love
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  

    We made a good system you can use to park your car.Data from ultrasonic sensors, the system will see the LCD screen via bluetooth.Our system will provide benefits across the board is very simple to carry and install.When we want to we can arrange another vehicle from a vehicle.

    Materials:

    • 2xArduino (no matter nano models will suffice)
    • HC05 vs HC-06 Bluetooth Modules
    • HC-SR04 Ultrasonic Sensor
    • LCD Display (16 x 2)

    Transmitter Circuit:

    Receiver Circuit:

     

    The receiver section as the LCD can form connections.If the LCD screen serial converter you do not need to make this connection.We use normal contact pins for Bluetooth communication modules of the software.You do not need to add a separate serial communications library.

    Transmitter Software:

    //Software development By Robimek - 2015
    // Software Licensing By Robimek
    //www.robimek.com
    
    #include <NewPing.h>
    int trigPin=12;
    int echoPin=11;
    #define MAX_DISTANCE 200
    NewPing sonar(trigPin, echoPin, MAX_DISTANCE); // NewPing setup of pins and maximum distance.
    
    void setup() {
    Serial.begin(9600);
    
    }
    
    void loop() {
    delay(50);
    unsigned int uS = sonar.ping();
    Serial.write(uS / US_ROUNDTRIP_CM);
    
    }

    Receiver Software:

     //Software development By Robimek - 2015 
    // Software Licensing By Robimek 
    //www.robimek.com
    #include <LiquidCrystal.h>
    LiquidCrystal LCD(10, 9, 5, 4, 3, 2);
    int buzzerpin = 6;
    unsigned int distance;
    void setup() {
     
    Serial.begin(9600);
    LCD.begin(16,2);
    LCD.setCursor(0,0);
    LCD.print("Mesafe:");
    pinMode(buzzerpin, OUTPUT);
    digitalWrite(buzzerpin,HIGH);
    }
     
    void loop() {
     
    if (Serial.available()>0){
    delay(50);
    distance = Serial.read();
    LCD.setCursor(0,1);
    LCD.print(" ");
    LCD.setCursor(0,1);
    LCD.print(distance);
    LCD.print(" cm");
    if(distance >200)
    {
    digitalWrite(buzzerpin, HIGH);
     
    }
    if(distance >=150 && distance <200) 
    { digitalWrite(buzzerpin, LOW); beep(200); } 
    if(distance >=100 && distance <150) 
    { digitalWrite(buzzerpin, LOW); beep(150); } 
    if(distance >=50 && distance <100)
    {
    digitalWrite(buzzerpin, LOW);
    beep(50);
    }
    if(distance <50)
    {
    digitalWrite(buzzerpin, LOW);
    beep(10);
    }
     
    }
    }
     
    void beep(unsigned char delayms){
    analogWrite(12, 255);
    delay(delayms);
    analogWrite(12, 0);
    delay(delayms);
     
    }

    After installing the software, bluetooth modules in the open position when the two systems will automatically connect to each other.Once connected, you can see from the screen LCD.We set the maximum distance of 200 cm in software.If maximum visual distance of the sensor 4 metredir.ist you can change up to 4 meters.

    Here you can download the file fritzing project.>>mobil park

    Share

    What did they say ?

    9 Comment - "Arduino Wireless Mobile Parking Sensor Making"

    avatar
    Sort:   The Newests | Ancients | Likes
    gaith
    Visitor
    gaith

    trés bien

    eddy wuytens
    Visitor
    eddy wuytens

    Hi
    Is it possible to give more details about the HC05 vs HC-06 Bluetooth Modules
    Where to buy ? I have not found a model that resembles with your drawing on ebay

    thanks

    eddy Belgium

    Bogdan
    Visitor
    Bogdan

    is it possible to connect multiple ultrasonic sensors to the same arduino? so it will be 1 transmitter (with multiple ultrasonic sensors attached) + 1 receiver (arduino+ buzzer +lcd)

    wpDiscuz

    BE A FACEBOOK FAN

    Instagram