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

Ad480096e083d7b9193ee3a7dd652b06
LeeSangGyu
2 projects • 3 followers
Contact

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

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog