Hi.
I am designing a battery balancer using Arduino. It's pretty simple. if one cell has higher voltage than others, the balancer will discharge it til it matches the voltage of the other ones using a resistor. I am making it for 3.7V LiPo batteries, maximum 4 cell for now. I attached the schematic I designed below. I just wanted to ask you guys if everything is okay or not. Also feel free to give me suggestions.
Note: The balancer is a passive one, it turns the power taken from higher voltage battery into heat. I chose 22 ohm resistor. Battery full charge voltage will be 4.2V. The mess of resistors is because I used the values that I currently have in my lab. VCC is 18V and the MOSFET is a logic level one.
TL;DR: Check if there's something wrong with the schematic for a battery balancer.