Surprise Room




Introduction: Surprise Room

About: Pakistani Makers hub ;)

Project Theme
Our parents are our friends from childhood to older age, they sacrifice everything for us. They work hard for us, but when we grew up, we leave the nest and start our own journey. In this fast journey, many times we miss celebrating very important special events with our parents like religious festivals, weather seasons, parent's anniversary, Mother's & Father's Day, etc. due to far distances. Now thanks to the help of the MKR1000 board, we can decorate our parents room with a disco multi-color bulb and other multi-color lights strips and wish them special occasions surprisingly no matter where we are. Thanks to Blynk for such an amazing app.

1- Arduino MKR1000

2- 5V 4 Channel Relay Module

3- Bulb & Other Lights

4- Jumper wire

5- Custom Wooden Board for Relay Module.

Step 1: Creating Relay Board

above are the pictures of my custom relay box in which I used the 5V 4-channel relay module, and all sockets are connected with the relay module.

Caution: Be careful when dealing with Power it's High Power

  • So I have 1x disco bulb that is for my parents' marriage anniversary; I connect it to MKR1000 digital pin 10 and relay pin 4.
  • 1x red LED light strip, as red is a symbol of Love so I am going to use it on Mother's & Father's Day, and connect it to MKR1000 digital pin 9 and relay pin 3.
  • 1x RGB LED light strip to wish a happy new weather season or new year to my parents, and connect it to MKR1000 digital pin 8 and relay pin 2.
  • 1x multi-color blinking light strip for my father's & mother's birthdays, and connect it to MKR1000 digital pin 7 and relay pin 1.

Connect the relay module with MKR1000 digital pins 7, 8, 9, 10 respectively.

Step 2: Blynk App

Please scan the above QR Code to clone the MKR1000 Blynk App Sketch. Please change the Authentication Token in Arduino Code according to the app and also specificity your home router SSID & password.
If you are new to the Blynk App, watch the video to get some practice.

Step 3: Final Setup & Demo

please view the video for final demo. before using the below code please update the wifi ssid & password and app Auth token.

* Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tutorials: * Blynk community: * Social networks: * * * Blynk library is licensed under MIT license * This example code is in public domain. * ************************************************************** * This example shows how to use Arduino MKR1000 * to connect your project to Blynk. * * NOTE: You may need to install WiFi101 library through the * Arduino IDE Library Manager. * * Feel free to apply it to any other example. It's simple! * **************************************************************/ #define BLYNK_PRINT Serial // Comment this out to disable prints and save space #include #include #include // You should get Auth Token in the Blynk App. // Go to the Project Settings (nut icon). char auth[] = "YourAuthToken"; // Your WiFi credentials. // Set password to "" for open networks. char ssid[] = "YourNetworkName"; char pass[] = "YourPassword"; void setup() { Serial.begin(9600); Blynk.begin(auth, ssid, pass); // Or specify server using one of those commands: //Blynk.begin(auth, ssid, pass, "", 8442); //Blynk.begin(auth, ssid, pass, server_ip, port); } void loop() {; }
Lights Contest 2017

Participated in the
Lights Contest 2017

Internet of Things Contest 2017

Participated in the
Internet of Things Contest 2017

Be the First to Share


    • Big and Small Contest

      Big and Small Contest
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest