DIY Portable Generator remote start Part 2
Автор: JPG23
Загружено: 2021-03-22
Просмотров: 19336
In this video, I will walk you through the installation and wiring of a DIY Portable Generator remote start. Below I will list all the parts with links if available and will post the Arduino script. Below I have listed the parts used in this video and the Arduino code. Thank you for watching, please like, share, and subscribe for more content.
1. Kuman UNO R3 Board https://www.amazon.com/gp/product/B01...
2. KEYESTUDIO 4 Channel Relay Shield 5V for Arduino Controller R3 https://www.amazon.com/gp/product/B07...
3. QIACHIP DC 12V 1CH 433Mhz RF Wireless Relay Remote https://www.amazon.com/gp/product/B07...
4. Jameco Reliapro PDL-50 Motor Driven Actuator https://www.amazon.com/gp/product/B01...
5. Kawasaki Genuine 92145-1812 Choke Return Spring https://www.amazon.com/gp/product/B07...
6. D'Addario Accessories PW-CT-9V DC Power Adapter https://www.amazon.com/DAddario-PW-CT...
7. Plastic Electronic Project Box https://www.amazon.com/gp/product/B01...
Arduino script:
NOTE: Since there are not if/else statements in this script, I have it set to a maximum 8 hour run time; however, you can change this for your specific needs. Also, I’m not a programmer, so I haven’t incorporated any logic or voltage measuring, but this is also an option for those more “Arduino savvy”.
Arduino code:
NOTE: The YouTube description does not allow certain characters, in this case, the angle brackets were not allowed, so I have replaced them with "!", please make this change before uploading to your Arduino.
START COPYING BELOW THE DOTTED LINE
_._._._._._._._._._._._._._._._._._._._._._._._._._._.
#include !avr/interrupt.h!
#include !avr/sleep.h!
void setup()
{
pinMode(7, OUTPUT); // Ignition circuit
pinMode(6, OUTPUT); // Actuator circuit
pinMode(5, OUTPUT); // Starter circuit
pinMode(4, OUTPUT); // Spare circuit
}
void loop()
{
digitalWrite(7, HIGH); // Ignition switch ON
delay(1500); // Wait for 1.5 seconds to cancel start
digitalWrite(6, HIGH); // Choke actuator ON
delay(1500); // Wait for 1.5 seconds
digitalWrite(5, HIGH); // Starter solenoid ON
delay(2500); // Wait for 2.5 seconds while engine is cranking
digitalWrite(5, LOW); // Starter solenoid OFF
delay(3500); // Wait for 3.5 seconds to allow air/fuel mix to stabilize
digitalWrite(6, LOW); // Choke actuator OFF
delay(28800000); // Wait for 8 hours while generator is running
digitalWrite(7, LOW); // Ignition switch OFF
stop(); // If generator has not been turned off by now, stop generator for cooling and refueling
}
void stop()
{
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
cli(); // Disable interrupts
sleep_mode();
}
_._._._._._._._._._._._._._._._._._._._._._._._._._._.
STOP COPYING ABOVE THE DOTTED LINE
Intro and outro soundtrack: Built For This by David Renda
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: