[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
27 Jan 2024 21:25 - 27 Jan 2024 22:18 #253386 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
As anticipated a few time ago, I decided to port my Twiz o'meter project to Dacia Spring.
Porting has been completed and I'm happy to present the Spring o'meter a.k.a SoM, the ToM's brother.
.

.

Since the free traffic of Spring canbus is undocumented (unfortunatly, no Dexter master in the Spring scene...), I had to rewrite a large part of the code for retrieving data with direct calls to specific ECUs/IDs of the vehicle.
This required to organize a timing table to schedule the calls, with different frequency for each data, to keep a good responsivness of the device.
All ToM functions have been implemented. Charging control (stop charge at a desired SOC) is achieved, at the moment, by connecting a relais to SoM's expansion port.

Now I plan to realize a "general" version which can work with other EV vehicles, leaving the possibility to the user to customize the ECUs/IDs address and the data format for retrieving each data used by the device.
But I cannot assure nothing about this task.

I share here SoM firmware so who already owns a ToM and has a Spring to his disposal, can try it (both the blackbox and the LCD need to be flashed).

Have fun with SoM!

Dieser Beitrag enthält einen Anhang.
Bitte anmelden (oder registrieren) um ihn zu sehen.

Letzte Änderung: 27 Jan 2024 22:18 von Delvecchio.
Folgende Benutzer bedankten sich: Rebound, dingdong, sunneraindler, Snorre, Drakoon1964, Wolfe, villadsen, Saarlodrie, HollandHannes, green_fox, Jack-Lee

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • sunneraindler
  • sunneraindlers Avatar
  • Expert Boarder
  • Expert Boarder
  • twizysüchtig seit 2013
  • Beiträge: 339
  • Dank erhalten: 229
28 Jan 2024 08:27 #253406 von sunneraindler
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
Is it time for MoM now? ;)

(MoM = Microlino'o'Meter)

Xaver

Möge der Strom uns nie ausgehen
Twizblog
Twizy ab 01.04.20 / 30.05.2022: 55'000km
Wavetrophy 2017/2018/2019
Microlino (Knutschkugel) ab 13.10.2022 / Admin von Microlino-Forum
Smart #1 Brabus ab 13.12.2023
Folgende Benutzer bedankten sich: dingdong

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Saarlodrie
  • Saarlodries Avatar
  • Pro Boarder
  • Pro Boarder
  • Beiträge: 760
  • Dank erhalten: 538
28 Jan 2024 09:19 - 28 Jan 2024 09:28 #253411 von Saarlodrie
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...

sunneraindler schrieb: Is it time for MoM now? ;)

(MoM = Microlino'o'Meter)


Sorry, MoM is already reserved for the Megane e-tech o'Meter :whistle:

easy-peasy
take it twizy
Letzte Änderung: 28 Jan 2024 09:28 von Saarlodrie.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Wolfe
  • Wolfes Avatar
  • Expert Boarder
  • Expert Boarder
  • Nur fliegen ist schöner !
  • Beiträge: 255
  • Dank erhalten: 159
28 Jan 2024 10:04 #253415 von Wolfe
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
@Delvecchio: I'm still keen to know more about access to the battery.
- Might there be a way to operate the DC main contactor, too ?
- And drain power from the battery towards the CCS plug ?
- Does the BMS block discharging the battery w/o turning weels ?

If you find answers, integrating a (PV)-Inverter to charge/discharge the battery (V2H) would be the next step.

Basically, if access would be that easy, home hardware integration could follow suit.

Cheers
Eckhard

Twizy Bj 2012, seit 08/'23: ca. 44+ tkm, seit 12/'23 mit 20 kWh Batterie
ToM seit 10/'23, einschl. PV-Überschußladung
DIY V2H DC-BiDi Charging
Dach- & Insel PV-Anlage: 13 / 2,9 kWp

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
28 Jan 2024 11:38 - 28 Jan 2024 12:01 #253424 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...

sunneraindler schrieb: Is it time for MoM now? ;)
(MoM = Microlino'o'Meter)

With the generic version will be only a metter of knowing ECUs/IDs adrress to be quiried. So is they are known/documentend in some way, it should be possible.

Saarlodrie schrieb: Sorry, MoM is already reserved for the Megane e-tech o'Meter :whistle:

Megane E-tech should work, because canbus addressing should be the same.

For "MoM" we will make a polling. :lol:

@Wolfe:
I think BMS doesn't block discharging without wheels turning, because preheating is available with Spring and is powerd with HV battery.
It's only a metter to find informations about how the ECUs can be controlled via canbus.
To get the informations about ECUs/IDs reading data I had to look inside some well known free-app which already do this.
But controlling ECUs requires deep informations / documentations I haven't.
Letzte Änderung: 28 Jan 2024 12:01 von Delvecchio.
Folgende Benutzer bedankten sich: Saarlodrie, green_fox

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Wolfe
  • Wolfes Avatar
  • Expert Boarder
  • Expert Boarder
  • Nur fliegen ist schöner !
  • Beiträge: 255
  • Dank erhalten: 159
28 Jan 2024 17:09 #253439 von Wolfe
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
Okay if the BMS is fine with it, the remaining main part would be: Operating the DC Contactor !

Perhaps someone else is knowledgeable to pass the right hint. ;)

Cheers
Eckhard

Twizy Bj 2012, seit 08/'23: ca. 44+ tkm, seit 12/'23 mit 20 kWh Batterie
ToM seit 10/'23, einschl. PV-Überschußladung
DIY V2H DC-BiDi Charging
Dach- & Insel PV-Anlage: 13 / 2,9 kWp

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
04 Feb 2024 18:59 - 04 Feb 2024 19:01 #253752 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
Just a preview of the underground work in progress...

.
the data on the medianav come from my Twizy, parked 150 km. far away.
Anhänge:
Letzte Änderung: 04 Feb 2024 19:01 von Delvecchio.
Folgende Benutzer bedankten sich: Akku61, sunneraindler, Wolfe, Saarlodrie, green_fox, Cietie

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Snorre
  • Snorres Avatar
  • Platinum Boarder
  • Platinum Boarder
  • Beiträge: 5822
  • Dank erhalten: 3830
04 Feb 2024 22:02 #253757 von Snorre
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
Looks great. :)
I regret not to own a Spring. :(

Twizy Cargo, EZ 07/2014, 110.000 km, Stand 09/2024
Folgende Benutzer bedankten sich: Delvecchio

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
04 Feb 2024 22:12 #253758 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...

Snorre schrieb: I regret not to own a Spring. :(

Yes, but you own an android phone and, may be, an android tablet... ;)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
28 Feb 2024 21:37 - 28 Feb 2024 21:46 #254579 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
For the braves who converted their ToM to SoM, here is the SoMized android app.
SoM android app v 3.0.2
.

.
==> DOWNLOAD LINK <==

The app can be mirrored to the mediaNav. If interested, ask me about.
Anhänge:
Letzte Änderung: 28 Feb 2024 21:46 von Delvecchio.
Folgende Benutzer bedankten sich: green_fox, ThM

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Delvecchio
  • Delvecchios Avatar
  • Autor
  • Pro Boarder
  • Pro Boarder
  • Fabio java
  • Beiträge: 576
  • Dank erhalten: 904
05 Mär 2024 14:25 - 05 Mär 2024 14:28 #254762 von Delvecchio
[Twiz o'Meter] Porting to Dacia Spring: done! SoM is born...
I finaly succeed to implement control charging, but only with an external relais connected to the expansion port.
I accordance to my test results, it works fine!
You can stop charge at a desired SOC, delay charging start (0 to 15 hours) and abort running charge (also via mqtt commands).
Here some screenshots of the display and the webserver.
.

.
I share the compiled SoM fw for your tests.
You can reverse ToM to SoM and viceversa simply by flashing the desired fw.
==> DONLOAD LINK <==
Anhänge:
Letzte Änderung: 05 Mär 2024 14:28 von Delvecchio.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

   Become a Patron