If you have listened to RCHN towards the end then you know Justin Pucci has been working on such a thing for almost 4 years now. He has never posted the Tech tip due to the nature of the topic. This project if done wrong can be very dangerous. As of late I have been want to work with my 2 arduinos that I have. I posses 1 Uno and 1 leonardo. This project is being built on the Uno for now. I will need the Mega at some point for the analog pins. My issue with the Uno right now is that it has 6 analog ports and 4 are used for the new screen. This makes reading 6 cells impossible right now. That's the reason for a different arduino. The mega has I think 12 analog ports which will work really well for me.

I have had these two arduinos for a couple years now just sitting around. I have done some simple projects just to learn the platform. Its been fun but boring because they were not my projects. So on Monday (20180716) I decided to dust off the micro-controllers and the 2.8 inch screen I bought with the units. I found out that the screen I got will work just not for what I want. So I headed to Micro Center yesterday (20180721) and bought an adafruit 2.8 resistive tft lcd screen. It was about $30 and could have been bought off of banggood for way cheaper. I wanted to ensure I got one that adafruit supports. I know their code and libraries work. They are not the most efficient code base but they work. I got the screen tested and all is well there.

My next hurdle was the IDE onn linux. While i got it work I am still having issues with my user account and the tty communication. I assigned my user account to the correct group and set the read write permissions as per the web and still no worky. My root account works just fine so I use my root account to transfer the sketches to the arduino only.

I spent most of yesterday getting the header pins soldered on and getting the basic user interface designed. It was very fiddly to say the least. Getting all the coordinates worked out, font size and colors. It took me hours without mapping anything out. When I was done I was happy with it and thought it would be enough. Well today (20180722) I decided that I wanted more screens for different things. I have a start screen, a discharge screen and a stopped discharge screen. I also built in a countdown to simulate a discharge till I get that part set up. So the discharge starts at 4.2 volts and counts down to 3.7 volts and then goes to the stopped discharge screen. Whats missing right now is the user terminated feature. I want a screen press to stop the charge if the user wants to terminate the discharge for any reason. I am still learning the software side so I don’t know how to code that part.

All of that so that we can read the voltage of the battery through the balance leads. My biggest issue right now is separating the voltages out of the independent cells. Since the arduino cant handle more than 5VDC each cell will need to be isolated. This is something I will workout over the next few what evers till its done. The idea of this is to have the controller shut down the circuit once a condition is met. My goal is 3.8 volts per cell, storage or any other situation they may need to stop the discharge.

As for how we are going to discharge the batteries my goal is a load bank. My approach to this is going to be fairly simple, a bunch of resistors. Not just any resistors, power resisters at 1 ohm 100 watts each times 7 resistors. My target amp draw is around 25 to 30 amps. I will add a google sheets doc that will help anyone figure out their own needs or dreams. For now I am aiming at 700 watts worth of resistors at 1 ohm each in parallel. Once I get to this portion of the project I will write a dedicated continuation article on the topic. At about $15 each it will take a few days for me to get them. This part of the setup will be built to be modular so it can be what ever the end user wants as a load bank.

OHMS Law Google Sheets

This is the current welcome or home screen:
homeScreen-lowRes.jpg


As the pack discharges this screen will show the voltages:
dischargeScreenlowRes.jpg


When the discharge is stopped this is the final screen. It stays for 5 seconds and returns to the home screen.
dischargeStopped-lowRes.jpg
  • Like
Reactions: Geena