Introduction: Automatic Generater Starter

Picture of Automatic Generater Starter

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

Step 1: Normally How We Start Generator

Picture of Normally  How We Start Generator

when electricity gone


we switch off the main switch or breaker


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


we turn the fuel valve open and then start the generator


After starting Attach the wire with the home


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


Switch on the Main switch

Step 2: What Problem Arrizes in This


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

Picture of 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

Picture of 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

Picture of 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) ;
        digitalWrite(ch4, HIGH) ;
        digitalWrite(ch5, HIGH) ;
        if(digitalRead(ch3) == HIGH)
          digitalWrite(ch1, HIGH);


DwiG1 (author)2017-03-01

pin 6 ch 1 not conection ????????

atiralvi (author)2016-09-05

Dear Awais.

Is this ATS fully functional and working?

awaiskhawar (author)atiralvi2016-09-05

yes this is ATS

baseer ahmad (author)2016-07-04

dear add servo motor instead of stepper motor work fine with these g/r

awaiskhawar (author)baseer ahmad2016-07-04

Servo motor is better
Thanks for feedback

JoeB95 (author)2016-06-27

Third and a half - we pull the choke out briefly while cranking, then push it in.

awaiskhawar (author)JoeB952016-06-27

I will try to put step motor in it. For the chock

Thanks for telling me the mian part because we run generator on gas so we cant need to change the possition of

Thanks for feedback

About This Instructable



Bio: I love electronics .Arduino automation
More by awaiskhawar:Bluetooth Based Home Automation Via SmartPhoneWrite any thing on LCD with One button with Arduino its a gameAutomatic garden watering system BY arduino, LCD,  Buttons, EEPROM, solenoid valve, Motor and underground sprinkler
Add instructable to: