Skip to content

This code is a web based Arduino controller for stopping and starting an Petrol Generator

License

Notifications You must be signed in to change notification settings

antonjan/generator_arduino_controle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator_arduino_controle

Thi code is a web based arduino controler for stoping and starting an Petrol Generator via a mobile app or Telegram. This system only needs a reliable wifi witch can run from Generator battery or GSM modem that can run from Generator battery.

Project Status

The web based generator controle is working and compleet but I add functionality as required.

The Version 2 of the system

The new V2 version has remote telegram controle and mobile app controle interface.
I also have changed the Android Framework to Tasmota.
This system is using MQTT and Node-Red to controle the start and stop of the Generator via Telegram and Mobile app. The Generator Controler allso sends alerts if the generator output power is down or up via Telegram and can then also be started via Telegram app or mobile app. esp2866 board
Giga Technology (http://www.giga.co.za) is selling a ESP3266 RELAY and opto input board for controlling the Generator. Giga Technology (http://www.giga.co.za) also has a n servo unit to controle the chocke of an Petrol generator engin for cold start. here is the link to the document explaning the APmode for seting up wifi details at startup https://randomnerdtutorials.com/wifimanager-with-esp8266-autoconnect-custom-parameter-and-manage-your-ssid-and-password/

Telegram

Telegram

Diagram

esp2866 diagram

Connection Diagram

Connection diagram

adding board in arduino

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Add the following libraeries in arduino

In the Arduino IDE, navigate to Sketch > Include Library > Add .ZIP Library.
ArduinoJson-5.13.5.zip
WiFiManager.zip
install the following mqtt libraery from the libraery manager
https://github.com/knolleary/pubsubclient

Node-Red flow

Noe RED diagram
Noe RED diagram

Tasmota custom config

switchmode 1
setoption 114 1

ref: https://ucexperiment.wordpress.com/2016/12/18/yunshan-esp8266-250v-15a-acdc-network-wifi-relay-module/

About

This code is a web based Arduino controller for stopping and starting an Petrol Generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published