How To Make MPPT Solar Charge Controller | Wi-Fi Server

Hi friends! In this article, we are going to make an mppt charge controller. This mppt charge controller has a wi-fi server so we can monitor the parameters of the charge controller on our smartphone.

This article is sponsored by JLC PCB which is one of the largest pcb manufacturing company in china first you need to create a schematic diagram of the project then create pcb layout and then generate gerber files and upload them to JLC PCB website then selected all required parameters such as dimension quality color and a few more options then click on save to cart this will send our project into shopping cart. Then click on checkout securely and then add shipping address and select desired shipping and payment method.

This is the block diagram of the project arduino is the processing unit of this project two current sensors are used one for the input and other for the output and two voltage sensors are also used for input and output the bug converter is used to step down the input voltages to charge the battery 16×2 lcd is used to display the parameters three push buttons are used to set the parameters esp1 wi-fi module is used to display the parameters on the smartphone these parameters includes panel voltages panel current panel power battery voltages battery current.

Now let’s create the circuit these are all the components we gonna need for this project. First connect arduino after that connect the pc817 optocoupler and connect its pin number two to ground after that connect a 1k resistor and connect its one pin to pin number one of the optocoupler and its other pin to pin d9 of arduino after that connect a mosfet and connect its pin number one to pin number three of the optocoupler and its pin number two to ground after that connect another mosfet and connect its pin number one to pin number three of the optocoupler and its pin number two to ground and connect its pin number three to pin number three of the first mosfet after that connect another mosfet and connect its pin number one to pin number three of the optocoupler and its pin number two to ground and connect its pin number three to pin number 3 of the 2nd mosfet after that connect another mosfet and connect its pin number 1 to pin number 3 of the optocoupler and its pin number 2 to ground and connect its pin number 3 to pin number 3 of the third mosfet after that connect a 10k resistor and connect its one pin to pin number three of the optocoupler and its other pin to pin number three of the mosfets after that connect the current sensor and connect its one input terminal to pin number 3 of the mosfets and its 5 volt pin to 5 full pin of arduino its ground pin to ground and its out pin to pin a3 of arduino after that connect a 2 pin terminal block and connect its one pin to remaining pin off current sensor and its other pin to positive terminal after that connect a 47k resistor and connect its one pin to positive supply and its other pin to pin number four of the optocoupler after that connect a thousand microfarad 100 volts capacitor and connect its positive pin to positive supply and its negative pin to negative terminal of input after that connect 1000 microfarad 100 volt capacitor and connect its positive pin to positive supply and its negative pin to negative terminal of input after that connect mbr 201 double zero short key diode and connect its pin number one and three to pin number two of the mosfets and its pin number two to positive supply after that connect another mbr20100 schottky diode and connect its pin number one and three to pin number 2 of the mosfets and its pin number 2 to positive supply after that connect 100 micro henry inductor and connect its one pin to pin number 4 of the mosfets and its other pin to ground after that connect a thousand microfarad 100 volts capacitor and connect its positive pin to positive supply and its negative pin to ground after that connect another thousand microfarad 100 volt capacitor and connect its positive pin to positive supply and its negative pin to ground after that connect the current sensor and connect its one input terminal to ground and connect its one input terminal and ground pin to ground its 5 volt pin to 5 foot pin of arduino and its output pin to pin a2 of arduino after that connect a 2 pin terminal block and connect its one pin to positive supply and its other pin to remaining pin of current sensor after that connect mc3406 ic and connect its pin number four to ground and its pin number one seven and eight to output positive terminal after that connect a one ohm resistor and connect its one pin to pin number seven of the ic and its other pin to pin number six of the ic after that connect a one nanofarad capacitor and connect its one pin to pin number three of the ic and its other pin to ground after that connect a one and five eight one nine diode and connect its cathode to pin number two of the ic and its anode to ground after that connect a 330 micro henry inductor and connect its one pin to pin number two of the ic and connect its other pin to 5 volt pin of arduino after that connect 100 microfarad 50 volt capacitor and connect its positive pin to 5 volt pin of arduino and its ground pin to ground after that connect a 10k resistor and connect its one pin to five volt pin of arduino and its other pin to pin 5 of the ic after that connect a 3.3 k resistor and connect its one pin to pin 5 of the ic and its other pin to ground after that connect 16 by 2 lcd and connect its vcc pin to 5 volt pin of arduino its ground pin to ground pin of arduino its sda pin to a4 pin of arduino and its scl pin to a5 pin of arduino after that connect a 5k trim port and connect its center pin to pin a0 of arduino and its one side pin to ground after that connect a 47k resistor and connect its one pin to remaining pin of trim part and its other pin to positive terminal of output after that connect another 5k trim part and connect its center pin to pin a one of arduino and its one side pin to ground after that connect a 10k resistor and connect its one pin to positive terminal of the output after that connect the 47k resistor and connect its one side and connect its one side pin to remaining pin of 10k resistor and its other side pin to the remaining pin of the trim port after that connect 100k resistor and connect its one pin to negative terminal of the input and its other pin to center terminal of 10k and 47k resistor after that connect the push button and connect its one pin to pin 10 of the arduino and its other pin to ground after that connect the push button and connect its one pin to pin 11 of the arduino and its other pin to ground after that connect the push button and connect its one pin to pin the 12 of arduino and its other pin to ground after that connect esp1 module and connect its vcc and enable pin to 3.3 volt pin of arduino and its ground pin to ground pin of arduino its tx pin to rx pin of arduino and its rx pin to tx pin of arduino so we have completed the circuit now let’s upload the code to arduino and test the project connect your smartphone wi-fi to mppt 4.1 wi-fi and enter the password which is one two three four five six seven eight now open the browser and type the ip address which is 192.168.4.1 be so that’s it for today’s article.

I hope you have enjoyed this article for more articles like this article and stay tuned.

Components:
Useful Tools:
Circuit Diagram:
Icon

Circuit Diagram MPPT 4.1 894.53 KB 20 downloads

...
Arduino Code:

Gerber Files:

Leave a Comment