Skip to content

Automation system to disconnect charger of laptop once battery is 100% and again connect it once battery levels are below the set threshold. It has been achieved using Python script and Micro Controller ESP8266 The relay is controlled by Node-MCU and Node-MCU itself is connected to laptop via serial communication over USB.

Notifications You must be signed in to change notification settings

Ddhruv-IOT/Laptop-Battery-Automation

Repository files navigation

D. Charger

Have you ever wondered if your laptop can control its charger automatically?
Have you ever got disconnected from an important meeting or exam cause you just forgot to turn on that silly charger?
Have you ever heard that a laptop battery gets damaged if you overcharge it and you always leave the charger turned on, especially while working

No worries, the solution is here, use D. Charger. It will make your laptop control the charger based on battery levels. So, no need to worry. If the battery is low, the charger will turn ON automatically. On the other hand, if the battery is full, the charger will turn OFF.

Tools and Technologies Used:

Python Modules used:

  • PySerial for Serial Communication between MCU and laptop device
  • Time for buffer management

Hardware Info:

  • ESP8266
  • Programmed in C++

Softwares Used

  • Spyder 5.5.0
  • CMD
  • Git Bash
  • Arduino IDE

OS Used:

  • Windows 10

Features

  • Automatic charging control
  • Allows the user to set turn On and Off Thresholds

INFO

  • This project is under development
  • For now, MCU needs to be connected over USB to the laptop

Thank you

  • Thank you all for using my app.
  • All suggestions are warmly welcomed.

About

Automation system to disconnect charger of laptop once battery is 100% and again connect it once battery levels are below the set threshold. It has been achieved using Python script and Micro Controller ESP8266 The relay is controlled by Node-MCU and Node-MCU itself is connected to laptop via serial communication over USB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published