Leesounghoongledel김진욱이다연케인
Published © GPL3+

Remote Control Power Strip by Bluetooth

We created a multi-tap that can be controlled by a Bluetooth module and an app to control the Bluetooth module.

IntermediateProtip12 hours1,079
Remote Control Power Strip by Bluetooth

Things used in this project

Hardware components

SparkFun Beefcake Relay Control Kit (Ver. 2.0)
SparkFun Beefcake Relay Control Kit (Ver. 2.0)
×1
Arduino Nano R3
Arduino Nano R3
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1
LED (generic)
LED (generic)
×1
Prototype Shield For Arduino Nano
×1
HC-06 Bluetooth Module
×1

Software apps and online services

MIT App Inventor bluetooth-1
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Laser cutter (generic)
Laser cutter (generic)

Story

Read more

Schematics

project

This circuit is connected or disconnected according to the Bluetooth value.

Code

codeA

Arduino
this code is to turn on the relay module
#include <SoftwareSerial.h>
int relay = 3;
int ledR = 7;
SoftwareSerial btSerial(12,11);
void setup() {
  pinMode(relay, OUTPUT);
   pinMode(ledR, OUTPUT);
  btSerial.begin(9600);
}

void loop() {
  if (btSerial.available()){
    char c = btSerial.read();

    switch(c){
      case 'Y':
      digitalWrite(relay, HIGH);
      analogWrite(ledR, 200 );
      break;
      case 'N':
      digitalWrite(relay, LOW);
      analogWrite(ledR, 0);
     break;
    }
  }

}

Credits

Leesounghoon

Leesounghoon

9 projects • 4 followers
Hi my name is sung hoon lee. I`m a student at Bongilcheon High School. I want to learn 3D Printing and how to use arduino code(+python code)
gledel

gledel

100 projects • 115 followers
Looking back on my childhood, I was happy when I was making something and I was proud of myself. "Making is instinct!"
김진욱

김진욱

7 projects • 1 follower
highschool student learning 3D Priinting in Fab Lab
이다연

이다연

5 projects • 1 follower
First actor in fab lab is high school student.
케인

케인

7 projects • 2 followers
I'm 17-year old. also I'm bongilcheon high school student. I'm study 3D print.

Comments