Introduction: Automatic Generater Starter

About: I love electronics .Arduino automation

We mostly have generator at our homes but the main problem is on/off

Step 1: Normally How We Start Generator

when electricity gone

first

we switch off the main switch or breaker

second

if the generator is small or up to 1 kva we also switch off all the home appliances like Refrigerator, Ac and manyother things

Third

we turn the fuel valve open and then start the generator

Forth

After starting Attach the wire with the home

Fifth

When light come we first switch off the generator Close the fuel close.

Sixth

Switch on the Main switch

Step 2: What Problem Arrizes in This

shock

You may cause a shock

Human Error

forgot to switch off the main switch

after switch off the generator forgot to turn off the fuel.

No Alert for generator getting heating up

this Act damage the generator from in side

Step 3: Hardware Required for Making It Automatic

Arduino UNO

Solenoid Gas Valve

220 v Relays

12v Relay

5 v Relay module

220 v Contractors

Step 4: Now Manual Start and Automatic Off

in this diagram i made manual start and automatic off

First make this after that we will Modify to make it automatic by using arduino

For making this I use

120 A 8 pin Relay

to stop generatori use

5 pins small relay

to start use push button or Key of generator

Step 5: Now Adding Arduino in This Project

now assemble hardware like this to make generator auto start

In this you have to use

2 relay 220 v As a sencer for Arduino

1 relay module for starting generator

In this diagram I only modify the previous step (manually on and automatic OFF)

Now in this Auto start and Auto Off

In next step We put sensors and Protection

Step 6: Now Loading a Program on Arduino

now upload this code in the arduino

int ch1 =  6;

int ch2 =  7;
int ch3 =  8;
int ch4 =  9;
int ch5 =  10;

void setup()
{
   pinMode(ch1, OUTPUT);
   pinMode(ch4, OUTPUT);
   pinMode(ch5, OUTPUT);
  pinMode(ch2, INPUT);
  digitalWrite(ch2, HIGH);
  pinMode(ch3, INPUT);
  digitalWrite(ch3, HIGH);
}

void loop()
{
  if (digitalRead(ch2) == LOW)
  {  // switch is pressed - pullup keeps pin high normally
        digitalWrite(ch1, LOW) ;
        digitalWrite(ch4, LOW) ;
       
        digitalWrite(ch5, LOW) ;
}
else
{
   
        digitalWrite(ch4, HIGH) ;
        delay(1000);
        digitalWrite(ch5, HIGH) ;
        
        if(digitalRead(ch3) == HIGH)
        {
          delay(3000);
          digitalWrite(ch1, HIGH);
          delay(3000);
        }
        else
        {
          digitalWrite(ch1,LOW);
        }
}
}
Automation Contest 2016

Participated in the
Automation Contest 2016

Outside Contest 2016

Participated in the
Outside Contest 2016