Child Acceleration & Vehicle Fall Sensor to KILL Engine

Child Acceleration & Vehicle Fall Sensor to KILL Engine © GPL3+

Two-wheel auto gear ENGINE is KILLED (off) when the sensor detects a child accelerate the vehicle or a vehicle falls down to avoid accident.

  • 1,286 views
  • 0 comments
  • 4 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
Adafruit industries ada1609 image 75px
Perma-Proto Breadboard Half Size
×1
IR Sensor Module
×4
5V Relay Module
×1
11026 02
Jumper wires (generic)
×1
Tens70
9V battery (generic)
×1
PVC Pipe 10mm ID x 300mm Lg (Bent)
×1
Metal Ball 9.5mm
×1

Necessary tools and machines

09507 01
Soldering iron (generic)
Welding Machine
For sensor stand fabrication
Multi meter

Apps and online services

About this project

My project is about avoiding Children /Adult vehicle accidents which helps of sensors. The project has two accident avoiding sensor / Switch in a single circuit using ARDUINO-UNO controller.

I decided to make this project after seeing accidents in social media and oral reports for relatives & friends.

Part 1: Avoiding accident cost be children when they accelerate the vehicle un-noticed by the parent.

In this I have used 5 nos IR sensors modules, 1no helps to detect the handle rotation and 4nos placed one after the other above the vehicle accelerator handle helps detecting child or adult with respect to length of the hand. When sensor triggered is less than 4 and rotation sensor is triggered then the engine is kill. A 5V relay module is helps in opening the engine circuit.

Part 2: When a vehicle fall the engine is in running state, if the driver lift the vehicle by using the acceleration handle it may accelerate and case accident (See Video attached), these type of accidents can be avoided by installing a fall sensor switch. When the vehicle falls the switch send signal to Arduino to put OFF the engine.

Improvements:

1) Vehicle speed to be fed to circuit so that, this circuit (Part 1) gets ON when speed is less than a set speed (eg: <5kM/Hr)so that adults can ride >5kM/Hr irrespective to sensor.

2) IR sensor alternate - as IR sensors are sensitive to sunlight.

3) A tilt sensor module (Ball or mercury type) can be used to detect a fall of vehicle.

The above projects are the concepts that can be implemented in real time for safety.

Code

Arduino-UNO CodeArduino
int obstaclePin3 = 3;  // This is our input pin (Rotation)
int obstaclePin4 = 4;  // This is our input pin (Hand Sensor 1of4)
int obstaclePin5 = 5;  // This is our input pin (Hand Sensor 2of4)
int obstaclePin6 = 6;  // This is our input pin (Hand Sensor 3of4)
int obstaclePin7 = 7;  // This is our input pin (Hand Sensor 4of4)

int hasObstacle3 = HIGH;  // HIGH MEANS OBSTACLE (Rotation)
int hasObstacle4 = LOW;  // LOW MEANS NO OBSTACLE
int hasObstacle5 = LOW;  // LOW MEANS NO OBSTACLE
int hasObstacle6 = LOW;  // LOW MEANS NO OBSTACLE
int hasObstacle7 = LOW;  // LOW MEANS NO OBSTACLE
int fall = HIGH; // HIGH MEANS VEHICLE HAS NOT FALLEN

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  pinMode(obstaclePin3, INPUT);
  pinMode(obstaclePin4, INPUT);
  pinMode(obstaclePin5, INPUT);
  pinMode(obstaclePin6, INPUT);
  pinMode(obstaclePin7, INPUT);
  pinMode(8, OUTPUT);
  pinMode(9, INPUT_PULLUP);
  Serial.begin(9600);  
}
  
void loop() {
  hasObstacle3 = digitalRead(obstaclePin3); //Reads the output of the obstacle sensor from the 7th PIN of the Digital section of the arduino
  hasObstacle4 = digitalRead(obstaclePin4);
  hasObstacle5 = digitalRead(obstaclePin5);
  hasObstacle6 = digitalRead(obstaclePin6);
  hasObstacle7 = digitalRead(obstaclePin7);
  fall = digitalRead(9);

  if (fall == LOW)
  {
    Serial.println("Engine Killed - fall");
    digitalWrite(LED_BUILTIN, HIGH); // Open the main scooter KEY circuit
    digitalWrite(8, LOW); // no power to relay
    delay (5000);
    digitalWrite(LED_BUILTIN, LOW);
    digitalWrite(8, HIGH); // no power to relay
  }
  else if (hasObstacle3 == HIGH)
  {
    Serial.println("Engine is in running condition1");
    digitalWrite(LED_BUILTIN, LOW);//Illuminates the 13th Port LED
    digitalWrite(8, HIGH); // no power to relay
  }
   else if (hasObstacle3 == LOW && hasObstacle4 == HIGH && hasObstacle5 == HIGH && hasObstacle6 == HIGH && hasObstacle7 == HIGH)
  {
    Serial.println("Engine is in running condition1");
    digitalWrite(LED_BUILTIN, LOW);//OFF the 13th Port LED
    digitalWrite(8, HIGH); // no power to relay
  }
  
  else
  {
    Serial.println("Engine Killed");
    digitalWrite(LED_BUILTIN, HIGH); // Open the main scooter KEY circuit
    digitalWrite(8, LOW); // no power to relay
    delay (5000);
    digitalWrite(LED_BUILTIN, LOW);
    digitalWrite(8, HIGH); // no power to relay
 }
}

Schematics

Circuit Drawing
arduino_rMC9DCbIeC.dwg
arduino-circuit_t1aNkKFXkx.jpg
Arduino circuit t1ankkfxkx

Comments

Similar projects you might like

BE∆ST: Bluetooth Vehicle Final Designed Chassis

Project showcase by Matthew Chiang

  • 3,478 views
  • 0 comments
  • 19 respects

Autobot Using Lego NXT Motors and Sensor

Project tutorial by Mark Tashiro

  • 18,305 views
  • 6 comments
  • 26 respects

Blind's Eye

by saurabhrobotic

  • 5,524 views
  • 22 comments
  • 42 respects

How to Make an IR Sensor

Project tutorial by Manikant savadatti

  • 4,812 views
  • 0 comments
  • 17 respects

Exploring Encoders - Step Trackers for Motors

Project tutorial by SciJoy

  • 3,927 views
  • 3 comments
  • 9 respects
Add projectSign up / Login