A new Twizy display project
- Snorre
- Platinum Boarder
- Beiträge: 5822
- Dank erhalten: 3830
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Just to be sure, because I didn't open the traction battery, for example temperature sensor 1 is reffered to cell 1 and cell 2, or cell 1 and cell 8?Snorre schrieb: .
V_cell-1 temp module-1 V_cell-2
V_cell-3 temp module-2 V_cell-4
V_cell-5 temp module-3 V_cell-6
V_cell-7 temp module-4 V_cell-8
V_cell-9 temp module-5 V_cell-10
V_cell-11 temp module-6 V_cell-12
V_cell-13 temp module-7 V_cell-14
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Snorre
- Platinum Boarder
- Beiträge: 5822
- Dank erhalten: 3830
Delvecchio schrieb:
Just to be sure, because I didn't open the traction battery, for example temperature sensor 1 is reffered to cell 1 and cell 2, or cell 1 and cell 8?Snorre schrieb: .
V_cell-1 temp module-1 V_cell-2
V_cell-3 temp module-2 V_cell-4
V_cell-5 temp module-3 V_cell-6
V_cell-7 temp module-4 V_cell-8
V_cell-9 temp module-5 V_cell-10
V_cell-11 temp module-6 V_cell-12
V_cell-13 temp module-7 V_cell-14
The traction battery includes 7 battery modules.
Each modules consists of 2 battery cells and one temperature sensor.
I never checked it in detail, but I'm quite sure module 1 consists of cell 1, cell 2 and sensor 1,
module 2 consists of cell 3, cell 4 and sensor,
and so on.
Twizy Cargo, EZ 07/2014, 110.000 km, Stand 09/2024
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Snorre
- Platinum Boarder
- Beiträge: 5822
- Dank erhalten: 3830
Delvecchio schrieb: It can display, in realtime, these parameters:
- total battery voltage
Each value has both a numerical and a graphical rappresentation.
The graphical rappresentation is given by an arch bar, with 32 segments, for first plane value, and by an orrizontal bar, with 16 segments, for each value in second plane. The bars are scaled in accordance to values range.
At the moment the value range for the total battery voltage seem to bei 0 - 58 V.
When the battery is nearly at 0% SOC the battery has a voltage about 46 V.
But the graphical representation for 46 V will pretend about 75%.
Could you adapt the value range for the total battery voltage to 46 - 58 V please?
Another item:
Is it possible to display the elapsed trip time to mm:ss instead of just one or two digits for the minutes?
Twizy Cargo, EZ 07/2014, 110.000 km, Stand 09/2024
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
You are right!Snorre schrieb: At the moment the value range for the total battery voltage seem to bei 0 - 58 V.
...
Could you adapt the value range for the total battery voltage to 46 - 58 V please?
I'll fix it for sure.
These are the actual ranges, may be you find something else wrong...
#define SOCMIN 0
#define SOCMAX 100
#define SOHMIN 0
#define SOHMAX 100
#define KWHMIN 0
byte batKwh = 61;
#define AHMIN 0
#define AHMAX 500
#define BTMIN 0
#define BTMAX 60
#define RPMMIN 0
#define RPMMAX 9999
#define NMMIN 0
#define NMMAX 100
#define MTMIN 0
#define MTMAX 120
#define PCKMIN 0
#define PCKMAX 58.8
#define C14MIN 0
#define C14MAX 4.20
#define T7MIN 0
#define T7MAX 60
#define CTMIN 0
#define CTMAX 60
#define CKWHMIN 0
#define CKWHMAX 2.2
.
In the layout where it is actualy displayed, no. There is space only for 3 digits.Snorre schrieb: Another item:
Is it possible to display the elapsed trip time to mm:ss instead of just one or two digits for the minutes?
But in the future "Trip page", I'll reserve more space for trip time in mm:ss format.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Snorre
- Platinum Boarder
- Beiträge: 5822
- Dank erhalten: 3830
Delvecchio schrieb: For example, I'm not sure about the charger temp min/max (CTMIN/CTMAX).
CTMAX is 70°C
CTMIN in a very cold winter could maybe become -10°C.
But I think 0°C as value will be okay.
BTMAX is the maximum battery temperature?
I think that the BMS prevents the battery of higher temperatures than ~45°C.
But this isn`t proofed.
Twizy Cargo, EZ 07/2014, 110.000 km, Stand 09/2024
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Yes, it is.Snorre schrieb: BTMAX is the maximum battery temperature?
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- villadsen
- Top Boarder
- Beiträge: 1005
- Dank erhalten: 517
I received the display yesterday and it looks really good. Tonight I will mount it, but then I will be on holiday for 10 days where I wont be able to test it.
Regards
Thomas V.
Einer von weniger als 50 Twizyfahrer in Dänemark
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Firmware 1.3 update (ESP & LCD)
=========================
- now "Ah" value auto swaps to show reku recharging current. In this case, the "Ah" icon contains a flash
- added recharge page. It starts automaticaly during charging, but it can be disabled in settings page
The values showed are customizable, except the sixth value, inside the charging animation, which is fix and shows SOC
ETA is calculated starting from the actual power supplied by the charger, considering the theoric capacity of the battery (nominal capacity, corrected with SOH)
So, ETA is an estimated value, which gives and idea of the remaining charge time, in minutes
- added wi-fi connectivity. Now Twizy o'meter can connect via wi-fi to share data, relaying on a Mqtt broker
- added wi-fi settings page. Here you can enter max four SIDD, with passwords, and select if wi-fi should be enabled during charging and/or during drive
On connect, Twizy o'meter will scan for available ssid and, if one of the four saved ssid is found, it will try to connect to it, starting from the ssid with the higher power
If none of the four saved ssid is found, Twizy o'meter will look for a free ssid (with no authentication password), and try to connect
If neither a free ssid is available, Twizy ometer will scan again the networks after 2 minutes
Although scanning function is coded to be non-blocking, Twizy o'meter could be less responsive than usual during scan / attempts to connect
When conected, the IP address is shown in the wi-fi page. Tap on it, to read the MAC address
- added MQTT settings page. Here you can enter your mqtt account parameters and select the frequency of publishing data (not less than 1 sec)
Without settings mqtt parameters, the wi-fi connection will be unuseful. So, take time to do it
A message in settings page shows the state of mqtt connection (connected/disconnected)
When the connection to the broker is lost, Twizy o'meter will retry to reconnect after 30 seconds
- a very, very, very basic android app is provided to connect, via Mqtt broker, to your Twizy o'meter to read (at the moment) charging values
- added keyboard, to enter values
- added a "condensed" battery info page. You can choose it in settings page, as an alternative to multiple info pages.
- battery power (full capacity in kwh) can be modify in settings page
- range of battery total voltage setted to 46.0-58.8
- range of charger temperature setted to 0.0-70.0
- added power off animation
- some bug fixed (lost the count!). Don't blame me if others are still existing: I had to rewrite a large part of the code to implement wi-fi connection
and I was also forced to change the custom comunication protocol with the display, to handle passing of wi-fi and mqtt parameters. So, some issues could be present
If something sounds not good to you, please tell me. There is still time for "last minute" changes.
Tomorrow I'll post some picture of the new pages, taken from maikt unit.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- HollandHannes
- Junior Boarder
- Beiträge: 73
- Dank erhalten: 41
Again, many thanks for doing it!
2012 Twizy Carbon
2016 Cargo in Baby Blau
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Snorre
- Platinum Boarder
- Beiträge: 5822
- Dank erhalten: 3830
Delvecchio schrieb: If something sounds not good to you, please tell me. There is still time for "last minute" changes.
Tomorrow I'll post some picture of the new pages, taken from maikt unit.
I'm looking forward to the new firmware.
Can you please writes some words about the firmware update procedure?
I hope, that the part with the usb connector and the blackbox can be done with linux os too, because I have no Microsoft hardware at all.
Twizy Cargo, EZ 07/2014, 110.000 km, Stand 09/2024
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Of course. I tested the updating procedure in these days, to be sure what write here.Snorre schrieb: Can you please writes some words about the firmware update procedure?
This could be a problem.Snorre schrieb: I hope, that the part with the usb connector and the blackbox can be done with linux os too, because I have no Microsoft hardware at all.
Give a look at this page
and read this part: Flash firware at your device/Linux or mac OS/second way
If this make sense to you, I think it could be possible.
I have no experience with linux OS.
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- Delvecchio
- Autor
- Pro Boarder
- Fabio java
- Beiträge: 577
- Dank erhalten: 905
Bitte Anmelden oder Registrieren um der Konversation beizutreten.
- stromkreisparadies
- Platinum Boarder
- Markus
- Beiträge: 3752
- Dank erhalten: 1024
Grüße von Markus
-> Twizy Technic, LED Tagfahrlicht, LED Innenbeleuchtung, Sitzheizung, Radio mit Freisprecheinrichtung
-> Brammo Empulse R
-> 2x Elektrofahrrad (Stadt-Trekking und Downhill für den Wald)
Bitte Anmelden oder Registrieren um der Konversation beizutreten.