• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

New project - C++ script for arduino powered battery charger

Status
Not open for further replies.

teroare

Enthusiast
Hi all,

I have a friend who's trying to build an electric car all by himself and requires some help.

I'll explain in a few lines what exactly he's doing and what he needs.
Basically, we've taken down a few hundred laptop batteries to get out the cells and we're now trying to charge them up.

This is where the fun part begins:

With standard chargers we're able to charge and test ( if cell is OK and retain power ) two batteries at a time. From our calculation, this will take us 3-4 years ( we have 8200 cells ) just to charge and check the cells and it's not helping at all. We have the hardware schema already and we only require the code to power our dreams.

What we've been thinking is that we can build a c++ script for a few arduino boards which will charge a few dozen cells at a time and also point out which cell is faulty.

Problem is, we' have no c++ knowledge and would be great if someone could help us on this. We have a alpha version of this built by someone who's not interested in helping us and it's not really working.

Obviously, we will be paying for said script.

Please post here if any of you is interested, at first I was thinking about Tommy as I know for sure he's badass :)


Sorry if my post is against any rules of EmuDevs.

For more information you can reach me via PM or e-mail me at : teroare23@yahoo.com

Best regards,
Teroare



Update :

This is what we are trying to do ( see schema attached also ):

1. Test board: Arduino Mega 2560 + 1602 LCD keypad (blue backlight)
2. Purpose: multi discharge of Li-ion 18650 cells (5-8 separate channels) with at least 1Ah via Arduino
3. Features:
- UP & DOWN LCD buttons having function of cycling through channels (1-8)
- LEFT & RIGHT buttons having functions of displaying 2 different displays (because only one screen with 2 lines is not enough for displaying all the information needed)
- SELECT button start discharging selected channel
- temperature sensor on each individual channel for displaying the highest temperature recorded in discharge cycle (not current cell temp)
- LED that blink to inform what channel finished discharging
- 1 buzzer for all channels making a bip sound when one of all channel finished discharging – basically an audio alarm to inform when a channel finished discharging because I will not spend hours near Arduino
4. Displayed information on each channel:
- first line: CH number (CH1...8) = 3 chars; Time since discharge – T:000:00 = 8 chars; Total number of characters on first line = 12 chars (including space betwwen values). Example: Ch1 T:112:45
- second line: cell voltage = V0.0 = 4 chars; State: ON/OFF (discharging or not) = 3 char; Total mAh discharged - 0000mAh = 7 chars. Total number of characters on second line = 16 chars (including spaces). Example: V4.1 OFF 1985mAh
- first line on second diplay (same channel): cell temperature (in C) – T:00C = 5 chars; Discharge rate – 0000mA = 6 chars. Total number of characters on second line = 12 chars (including spaces). Example: T:24C 1254mA

Now, using UP&DOWN buttons we will move through channels (from 1 to 8) and using LEFT & RIGHT buttons to cycle between first and second display on same channel.
 

Attachments

  • schema.zip
    64.4 KB · Views: 48
Last edited:

teroare

Enthusiast
Update 1 :

it would be best if however is interested in this know a bit of electronic too.


This is what we are trying to do ( see schema attached also ):

1. Test board: Arduino Mega 2560 + 1602 LCD keypad (blue backlight)
2. Purpose: multi discharge of Li-ion 18650 cells (5-8 separate channels) with at least 1Ah via Arduino
3. Features:
- UP & DOWN LCD buttons having function of cycling through channels (1-8)
- LEFT & RIGHT buttons having functions of displaying 2 different displays (because only one screen with 2 lines is not enough for displaying all the information needed)
- SELECT button start discharging selected channel
- temperature sensor on each individual channel for displaying the highest temperature recorded in discharge cycle (not current cell temp)
- LED that blink to inform what channel finished discharging
- 1 buzzer for all channels making a bip sound when one of all channel finished discharging – basically an audio alarm to inform when a channel finished discharging because I will not spend hours near Arduino
 

Attachments

  • schema.zip
    64.4 KB · Views: 40

Hyperion

Founder
You can ask for help all you want, but do not try to buy anyone's services. It's a support forum not a service forum.
Not really breaking any rules (as your msg asks), so it's all good except offering to pay. Also, moved to the right section ;)
 

teroare

Enthusiast
Well, I didn't know how to put this. It would be too much for me to ask for something for free so I've though best solution would be to remunerate for ones effort....

Anyway, if anyone is generous enough to help me out with this it would be awesome indeed.
 

Hyperion

Founder
Well, I didn't know how to put this. I would be too much for me to ask for something for free so I've though best solution would be to remunerate for ones effort....

Yeah I don't see why you shouldn't. Though if it comes to that, just take it off the forum and in to skype or something. We
just do not want to be responsible for any 'scamming' on EmuDevs is all, so I'm sure you can understand ;)

Never the less, good luck with this project, wow!
 

teroare

Enthusiast
Thanks a lot Faded. Everything was all pink until we've realized we're not gonna move forward as long as we're not solving this issue with batteries.

This' the backbone of the car...engine and control box is easy peasy in comparison :)
 

teroare

Enthusiast
Update 2 :

4. Displayed information on each channel:
- first line: CH number (CH1...8) = 3 chars; Time since discharge – T:000:00 = 8 chars; Total number of characters on first line = 12 chars (including space betwwen values). Example: Ch1 T:112:45
- second line: cell voltage = V0.0 = 4 chars; State: ON/OFF (discharging or not) = 3 char; Total mAh discharged - 0000mAh = 7 chars. Total number of characters on second line = 16 chars (including spaces). Example: V4.1 OFF 1985mAh
- first line on second diplay (same channel): cell temperature (in C) – T:00C = 5 chars; Discharge rate – 0000mA = 6 chars. Total number of characters on second line = 12 chars (including spaces). Example: T:24C 1254mA

Now, using UP&DOWN buttons we will move through channels (from 1 to 8) and using LEFT & RIGHT buttons to cycle between first and second display on same channel.
 

teroare

Enthusiast
As I said, not sure how this work but I could extract the c++ code from the files I've attached and maybe you can take a look / make a scetch or alpha version.

I've added you on Skype also.

Thanks a lot!
 

teroare

Enthusiast
Hi all and sorry for lack of update. We've did it :) We've gone from 60 lines of code to somewhere areound 1000 :) Please mark the thread as closed or something.

Thanks!
 
Status
Not open for further replies.
Top