Mobile Full Charge Autooff : 20 Steps - gomeshattond
Introduction: Mobile Untouched Charge Autooff
Cell charging cutoff automatically when to the full hot.Need not worry around battery life even if you had left IT over night.Mobile phones are run by the batteries. Though batteries are handy to use, their use need some precautions too. A major problem with the use of batteries is their over discharging and over charging. Some of these issues affect the life of a stamp battery and price the end user needlessly. These issues are often ignored by the users likewise. The incorrect handling of batteries abridge their life .
In this project, the first affair I want to automate is "smartly charging" my smartphone to prolong its aliveness: when the raiseable battery is fully charged ( substance 100% )it automatically stopS charging and shortcut the power from USB. The percentage of charging fundament be set A per our convenience. Battery level too can be placed to for charging on.
In this tutorial I ill-used ESP 8266 WLAN faculty with android automation tool Macrodroid app.Whenever assault and battery percentage reaches 100%, Macrodroid triggers a command to browser which issue a command to esp8266. Then digital o/p pin of ESP 8266 testament deletion off the courser supply from charger which is connected from RELAY.
Step 1: Things You Need
1.Node MCU-ESP8266 MODULE
2. Electrical relay 5 volts
3.NPN Electronic transistor
4.USB MALE AND FEMALE Connection
5.RESISTORS: 1K ohm and 2.2K ohm
6.Trinity egg-producing jumper wires for wifi module
7. Small PCB
Step 2: Electric circuit Diagram
After uploading the sketch into esp module connect 5V from usb male (+Ve Flushed wire) to one point of Relay coil,Common point of relay and Vin of client MCU. Associate (N/O) of Electrical relay to +ve of Female USB(Red wire).Connect second point of relay gyrate to Collector of T1(any NPN transistor).Connect alkali of T1 to D2 of node mcu through with 2.2k resistance. Connect Black wire of Male USB (-Ve) to Female USB(Black wire), emitter of T1 and Gnd of Lymph gland Mcu. Connect LED +ve to N/O of relay and -ve to -ve through 1k resistor as shown in circuit diagram.
NOTE: USB Male to egg-producing connection wires should be short in duration as voltage sink may go on in long wires.
Step 3: How It Works
Initially D2 of Lymph node mcu will be high and T1 is in conducting state and relay stimulate. Now Electromotive force will pass through relay contacts and Manoeuvrable testament start charging. Node mcu Digital output is 3.3v only which is not enough to drive Relay soh T1 is used in this circle. Macrodroid APP is an Android mechanization app that continuously monitors the mobile charging share. As soon as charging reaches to set value ie.100% Macrodroid executes a URL command in net browser via Node mcu. And so D2 testament go Low, T1 turns off and Relay deenergize, In this condition, supply will slash off to mobile and charging Michigan.
Step 4: Encipher for Esp8266
I am victimization ESP8266 NodeMCU for controlling Relay.
When Node Mcu power is on, it connects with my home wifi meshwork and it gives Information science address - 192.168.0.115, and by that I rear ascendancy my relay finished Localhost. I am using the below linkup / url to control my application - 192.168.0.115/status 4=1 (for relay along) &adenylic acid; 192.168.0.115/status4=0 (for relay polish off).
Note 1.# you send away transfer digital output pins.
Note 2:# D2 of Node MCU is D4 of arduino in programme.
Chink colligate below to install Arduino main software in to PC
Install Arduino of import software system into PC
Clink below link for Installing ESP8266 Dining table in Arduino IDE (Windows, Mac Atomic number 76 X, Linux)
Installing ESP8266 board in Arduino IDE
This encipher whole kit and boodle selfsame symptomless.
Download my code from this link:
Link:- Mobile full charge
Steps.
1.Connect esp8266 to Microcomputer through USB cable
2.install all libraries which are in sketch from github
Select>tools>Boards
Select>tools port
Open the supra join and
shift your home wifi SSID and Word in sketch, line numbers 6,7
change your wifi IP,Gate way,subnet.
To get IP,Gateway and subnet open hold in empanel:
click on position network status and tasks
click on local area connection
chatter on details
IPv4 address is your information processing come up to 192.168.0.30(xxx can cost any act you can give on your own for URL in sketch line act 99) . I unbroken 115 [example: IPAddress ip(192,168,0,115)];
then upload the sketch.
Testing:-
Link LED with 1k resistor ,+ve to Accumulator of T1 and -ve to GND
initially LED will be Along.
Note:You should give aforesaid URL number in network browser which you have precondition in Arduino sketch IP address Line number 99.
susceptible new tab in Web browser and get in URL http://192.168.0.115/status4=0
led volition be OFF , again enter uniform resource locator hypertext transfer protocol://192.168.0.115/status4=1 electrical relay will energized andled will get on.
You can get into this url connected your mobile which is connected to same wifi web
if this works,then every thing is ok.
Directly remove ESP8266 from computer and
Solder electrical relay,LED,resistors,transistors on small PCB.
I kept whole thing in over-the-hill power camber chassis.
USB virile to female wires should be short in length to reduce the voltage drop.
Step 5: Extend to to Android Play Shop and Search for Macrodroid App and Put in It
Step 6: Open App and Press Add Macro
Step 7:
Ill-use 8: Press + on Triggers
Step 9: Press along Battery/World power
Step 10: Click on Battery Point
Step 11: Take Option Increase/Decrease, Press Ok
Step 12: Select Increase to and Slide Bar to 100%, Click Ok
Step 13: Select + Icon on Actions
Step 14: Select Applications
Step 15: Select Open Web site/Hypertext transfer protocol Take
Step 16: Accede Url HTTP:/192.168.0.115/status4=0
Stair 17: Tick Url Encode Parameters, HTTP Get(No more Entanglement Browser) , Save Call Success State and Press Ok
Step 18: Enter Rich Charge along Top and Save
Step 19: Finally Enable Slide Bar to Top Accurate .
Step 20: Testing With Transplantable.
Connet USB male to wall socket,charger wire of your transplantable to usb female. power Connected charger, led will be ON and switches dispatch mechanically after full charge and supply cuts off to Mobile. .
Note: Every time kept mechanised in charging do not forget to enable Macrodroid app and switch on WIFi happening mobile.
Cost the First to Share
Recommendations
-
Anything Goes Contest 2022
Source: https://www.instructables.com/Mobile-Full-Charge-Autooff/
Posted by: gomeshattond.blogspot.com
0 Response to "Mobile Full Charge Autooff : 20 Steps - gomeshattond"
Post a Comment