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

Both Physical & Cloud Cayenne Lights Switch
Intermediate
  • 73
  • 2

The cloud switches are well known, but what happens when the local internet fails and the switch cannot connect to the internet?

Smart Garden
Intermediate
  • 1,668
  • 16

Smart Garden is a plant environmental monitoring system.

Intel Curie TinyTILE Dress: Accelerometer + Optical Fibers
Intermediate
  • 352
  • 10

Full instructions

A dress using Intel Curie accelerometer on TinyTILE and its small form factor to control colors of the optical fibers with arm movements.

IoT Thermometer Using Python
Intermediate
  • 600
  • 6

Full instructions

How to develop a simple, but powerful, IoT thermometer using a Zerynth-powered single-board MCU and the Zerynth App.

WiDC: Wi-Fi-Controlled FPV Robot
Intermediate
  • 5,684
  • 34

Full instructions

What about using a Wi-Fi remote-controlled robot for exploring your surroundings, reaching inaccessible places, spying and take pictures?

Sienci Mill One - Simple and Affordable Desktop CNC
Intermediate
  • 8,326
  • 37

Full instructions

The Sienci Mill One is a powerful, open source desktop CNC machine to turn your digital 3D designs into real physical objects.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback