Project showcase
Bluetooth Control Multitap

Bluetooth Control Multitap © GPL3+

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

  • 1,763 views
  • 0 comments
  • 5 respects

Components and supplies

Apps and online services

About this project

I thought that I could turn on and off the electronics with my smartphone. I decided to make a smartphone bluetooth control multi-tap which is the basic way of using Bluetooth and relay.

Code

Bluetooth Control Multitap codeArduino
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);
    
  }
}
 

Schematics

Bluetooth Control Multitap
Bluetooth Control Multitap
Untitled sketch schem i37obqrwkj

Comments

Similar projects you might like

Control the Speed of Brushless DC Motor Using Bluetooth

Project tutorial by mohitmehlawat

  • 8,618 views
  • 3 comments
  • 17 respects

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 4,389 views
  • 2 comments
  • 19 respects

Arduino/Android - BLUETOOTH Multi Servo Motor Control

Project tutorial by Danny van den Brande

  • 23,226 views
  • 12 comments
  • 38 respects

Servo Control with TV Remote Control

Project showcase by eldo85

  • 13,076 views
  • 6 comments
  • 35 respects
Add projectSign up / Login