Basically, this will be my first Arduino project. I know it will be difficult, but whenever I start something new, I always start difficultly. Ok, so i have a big lawnmower engine, with electric start. To start, you need to push the throttle all the way up, so the choke is engaged, turn the key to start, and when the engine catches (or when it actually starts) turn the key to run, and pull the throttle down, only to the point were the choke is off, so the arduino somehow needs to know when the engine has actually started, so it can open the relay to start the engine, and pull the throttle down. I want to have two arduinos for this, one to detect when the power is out, transfer the load from utility to the generator, and tell the second arduino the power is out. When the second arduino knows the power is out, it has to start the engine to keep my servers running. How could i do this from a hardware and software point? For hardware i was thinking about using a 5 volt power adapter and connecting it to the first arduino, (the arduinos and servers would be on a UPS, but is only for the time in between the failure and the time the generator can take the load) Below is a script of how things should happen.
A
First arduino: wait for failure
Power from utility fails
First arduino : tells second the power is out
Second Srduino: starts engine
first arduino: transfers load to the inverter
first arduino:waits for power to turn back on
first arduino: when power is on, tell second arduino
second arduino: open the 'run' relay, to shut down the engine
Go to A
It dosent matter where the throttle is when the engine is not running
Please help
Thanks
