Bli medlem i Norsk elbilforening og støtt driften av Elbilforum. Som medlem får du i tillegg startpakke, medlemsfordeler og gode tips om elbil og lading. Du blir med i et fellesskap som jobber for mindre utslipp fra veitrafikken. Medlemskap koster 565 kroner per år. elbil.no/medlemskap

Endre adresse på Enerdel RLEC-kort

Startet av worry, torsdag 16. januar 2020, klokken 10:08

« forrige - neste »

worry

Hi Finland!  :)
I can send the progtool to you. I need an email to you. Put here, or in PM.

Espen :-)
Think lithium

Warlock

#16
While looking into the more peculiar aspects of SavvyCAN and their scripting language, i came over this example:
https://www.savvycan.com/docs/scriptingwindow.html
It seems like Collin actually wrote a script for changing RLEC ID (!)

(He has a few examples towards the Think City in his examples, including (older) DBC-files for the car and BMS. I'm quite certain that the RLEC in the example is for the Think)

Zuikkis

Yeah, looks correct! Thanks.

I logged the communication between ProgTool and RLEC but couldn't figure out how the challenge response is calculated. But here it is documented now. :)


Warlock

#18
Yeah, It looks very correct.
I wonder where he got his information from, for decoding that bit-flip and nibble-shuffle one self is quite the achievement if he did!

At least now it is documented in the example folder for every distribution of SavvyCAN so it will not disappear any time soon :)

(If you still have your rig, your rPi setup, and som spare time at some point, would you test this and report back if it worked or not? It would be quite interesting to know...)

Zuikkis

Sitat fra: Warlock på lørdag 21. oktober 2023, klokken 12:45(If you still have your rig, your rPi setup, and som spare time at some point, would you test this and report back if it worked or not? It would be quite interesting to know...)

I now had the time. :) It works alright.

I published my code in github;
https://github.com/Zuikkis/RLEC

Picture of my test setup:



The black box contains the Raspberry Pi. I used an obd connector, it's very easy to just plug this into Think or any other car. Raspberry is powered from OBD and connects with Wifi to my local network so there's no other cabling needed.

bcx238h

#20
Nice! I've already read the code on GitHub. Looks good!

On the RLEC you have connect + to black and - to yellow right?
And green and red are CAN H and CAN L?

I used PCAN adapter and CHAS like described in an old pdf-file.

I read and followed the procedures of Victor Tikhonov.
He worked a lot with the RLECs but he decided to withdraw the most part of his knowledge and experiences from his webpage after some unpleasant reactions of people who tried to "copy and past" his work and they actually hadn't the right skills to succeed.

Attachment: from Victor

Zuikkis

Sitat fra: bcx238h på mandag 06. november 2023, klokken 18:19Nice! I've already read the code on GitHub. Looks good!

On the RLEC you have connect + to black and - to yellow right?
And green and red are CAN H and CAN L?

Yep, that's correct. Really confusing the black +, that's why I have shrink wrapped it with red in the above photo...

I also have the pinout of the ribbon cable connector. It's really easy to measure yourself though. It only has the same four signals,most of the pins are either 12V or GND..

I used this raspberry setup to balance my pack before installing it in car. And also to check that all RLECs work.

I had at least two RLECs that appeared to be working, but when my program enabled balancing there was a "bang" and smoke when RLEC burned... Apparently the balancing circuit had a short circuit so it blew instantly when it was enabled.

That kind of fault could hide quite a while in a car, until that exact cell would need balancing...

bcx238h

Sitat fra: Zuikkis på mandag 06. november 2023, klokken 20:38That kind of fault could hide quite a while in a car, until that exact cell would need balancing...

I guess that's exactly what hit me some months ago.

I described it in my thread here. There are pictures of the transistors a little bit further down in the post.

© 2025, Norsk elbilforening   |   Personvern, vilkår og informasjonskapsler (cookies)   |   Organisasjonsnummer: 982 352 428 MVA