Things used in this project

Hardware components:
Ardgen 101
Arduino 101 & Genuino 101
×1
Adafruit industries ada1570 image 75px
Li-Ion Battery 100mAh
×1
Software apps and online services:
Blynk logo avatars
Blynk
Ide web
Arduino IDE
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)

Schematics

the schematic.
it's pretty old project so I don't have its exact schematic. Instead, I have a picture of the chip connected with other components.
Kakaotalk 20170326 165209360 etpklpmzqa

Code

The code for the project. Arduino
int relay = 3;//
int relay2 = 4;//
int relay3 = 5;//P
int relay4 = 6;//P
int butten = 10;

void setup() {

pinMode(relay,OUTPUT);
pinMode(relay2,OUTPUT);
pinMode(relay3,OUTPUT);
pinMode(relay4,OUTPUT);
pinMode(butten,INPUT);
  
}

void loop() {
  butten = digitalRead(butten);
  
   if (butten == HIGH) {
    digitalWrite(relay3, 1);
    delay(10000);
    digitalWrite(relay,1);
    delay(3000);
    digitalWrite(relay3,0);
    delay(2500);
    digitalWrite(relay,0);
    delay(2000);
    digitalWrite(relay2,1);
    delay(3500);
    digitalWrite(relay2,0);
    delay(2000);
    digitalWrite(relay,1);
    delay(3500);
    digitalWrite(relay,0);
    delay(2000);
    digitalWrite(relay2,1);
    delay(3500);
    digitalWrite(relay2,0);
    delay(3000);
    digitalWrite(relay,1);
    delay(3000);
    digitalWrite(relay4,1);
    delay(500);
    digitalWrite(relay,0);
    delay(15000);
    

  } else {
 
    digitalWrite(relay, 0);
    digitalWrite(relay2,0);
    digitalWrite(relay3,0);
    digitalWrite(relay4,0);

  }}

Credits

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Direction Indicators for Bikes
Intermediate
  • 64
  • 3

Full instructions

Riding bike is a little dangerous. With the Direction Indicators for a bike, car's know if you want to turn right or left. Make biking safe!

Third Eye for The Blind
Intermediate
  • 518
  • 8

Full instructions

An innovative wearable technology for visually impaired peoples.

The Trump Button
Intermediate
  • 526
  • 4

Full instructions

The famous connected button to order your favorite drink using Sigfox network.

Starry Night Prom
Intermediate
  • 420
  • 4

How did I stand out at prom? In a light up dress of course!

Arduino: Switching ON/OFF Appliances Using IR Remote
Intermediate
  • 10
  • 1

Press 'Power' to switch everything ON/OFF. Press '1' for the fan and '2' for the lights.

One Button Restart of a Stalled Raspberry Pi Zero W
Intermediate
  • 2,057
  • 15

Full instructions

Avoid SD card corruption on a non-responsive RPi using an Arduino to log into the serial console and restart your RPi from the root account.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login