pss6121
Published © GPL3+

Blutooth Based Auto Cutoff Charger

Its is specially designed for preventing mobile phone battery from overnight excess charging.

IntermediateShowcase (no instructions)702
Blutooth Based Auto Cutoff Charger

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
5V Relay
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1

Software apps and online services

MIT App Inventor 2
MIT App Inventor 2
Flash Charger

Story

Read more

Schematics

BTH Auto Cutoff Charger

Code

Arduino code

C/C++
void setup()
{
Serial.begin(9600); // buart rate
pinMode(13,OUTPUT); // RELAY MODULE
digitalWrite(13,LOW); // relay module high
}
void loop()
{
    if(Serial.available()>0)
    {
      char data= Serial.read();
      Serial.println(data);
       if(data=='1')
       {
         digitalWrite(13,LOW); // RELAY ON
         Serial.println("RELAY");
       }
       if(data=='0')
       {
       digitalWrite(13,HIGH); // RELAY OFF
       Serial.println("RELAY");
       }
    }
}

Credits

pss6121
0 projects • 1 follower

Comments