윤원호gledel
Published © GPL3+

Bluetooth Control Multitap

This is a multi-tap that can be linked to a smartphone and Bluetooth to control the supply of electricity to a smartphone.

BeginnerShowcase (no instructions)1 hour2,799
Bluetooth Control Multitap

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
AA Batteries
AA Batteries
×6
HC-06 Bluetooth Module
×1
Power Strip (2hole)
×1
Breadboard (generic)
Breadboard (generic)
×1
Relay (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Bluetooth Control Multitap

Bluetooth Control Multitap

Code

Bluetooth Control Multitap code

Arduino
Bluetooth Control Multitap code
 
#include <SoftwareSerial.h>    
SoftwareSerial BTSerial(5, 6); 
 
int relay = 9;
 
 
void setup() {
  BTSerial.begin(9600); 
  pinMode(sw, OUTPUT); 
}
 
void loop() {
  if(BTSerial.available())        
  {
    char bt;                    
    bt = BTSerial.read();        
    if(bt == 'a')                
      digitalWrite(sw, HIGH); 
    if(bt == 'b')
      digitalWrite(sw, LOW);
    
  }
}
 

Credits

윤원호

윤원호

1 project • 7 followers
Ordinary high school student who wants to enter science and engineering college
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!"

Comments