AUTO STAND SLIDER

INTRODUCTION

Two wheelers are most prone to accidents due to their fragile nature. One of the issues of motorbike accidents is that people forget to slide their side stands back in place on starting the bike. So here we propose an automated side stand slider system that will automatically slide the side stand back in position when user starts his/her bike. In this project, an infrared sensor is used to detect the motion of the wheel. When this sensor detects any movement on the wheel, the stand will automatically slide with help of a stepper motor. This slide can be operated manually as well as in an automated manner. This ensures any kind of accidents while sliding the stand by the user.

Components Required

  1. Arduino Uno board -1
  2. Ir sensor – 1
  3. Stepper motor -1
  4. Stepper motor driver -1
  5. Battery 12v – 1
  6. Breadboard -1
  7. Connecting wires

CODE

void setup() {

  Serial.begin(9600);

 pinMode(3, INPUT); //IR Sensor

 pinMode(8, OUTPUT); // Stepper Direction

 pinMode(9, OUTPUT); // Stepper Step

 digitalWrite(8, LOW);

 digitalWrite(9, LOW);

}

void loop() {

int detect = digitalRead (3);

if (detect != HIGH){

   digitalWrite(9, HIGH);

 delayMicroseconds(500);         

 digitalWrite(9, LOW);

 delayMicroseconds(500); 

}

else{

 if(detect == LOW)

 digitalWrite(9, LOW);

 delayMicroseconds(500);         

 digitalWrite(9, HIGH);

 delayMicroseconds(500);

}

}

*the speed is set to 500ms.

circuit diagram of the auto stand slider

In the above circuit, the ir sensor input is given to pin 3 of the Arduino board and the output is taken from 8 and 9 pins. Here we have used a bipolar stepper motor and a corresponding motor driver.In the diagram, a 12 v supply is provided by using a 9v and a 3v battery connected in series. When the sensor detects that the wheel has moved slightly, the stepper activates and rotates the stand.If the user moves the stand before the wheel moves i.e.,the bike starts moving,it does not cause any discrepencies.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.