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 www.amazon.com...
2. KEYESTUDIO 4 Channel Relay Shield 5V for Arduino Controller R3 www.amazon.com...
3. QIACHIP DC 12V 1CH 433Mhz RF Wireless Relay Remote www.amazon.com...
4. Jameco Reliapro PDL-50 Motor Driven Actuator www.amazon.com...
5. Kawasaki Genuine 92145-1812 Choke Return Spring www.amazon.com...
6. D'Addario Accessories PW-CT-9V DC Power Adapter www.amazon.com...
7. Plastic Electronic Project Box www.amazon.com...
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 KZitem 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
Негізгі бет DIY Portable Generator remote start Part 2
Пікірлер: 69