Commit graph

177 commits

Author SHA1 Message Date
Daniel
469a9e5796 Simplify defines 2023-06-12 17:01:32 +03:00
Daniel
b43c30c7c4 Add SOC/SOH/TEMP 2023-06-12 01:05:20 +03:00
Daniel
34161f1618 Add base for Zoe battery 2023-06-12 00:40:02 +03:00
Daniel Öster
7708f71bb7
Merge pull request #14 from dalathegreat/multiple-battery-support
Multiple battery support
2023-06-10 01:02:03 +03:00
Daniel
309ab78985 Improve BYD CAN mappings 2023-06-08 00:11:24 +03:00
Daniel
0255230003 Merge branch 'main' of https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24 into multiple-battery-support 2023-06-06 22:13:32 +03:00
Daniel
bd22738ca6 Improve logging, add shutdown state 2023-06-06 20:34:55 +03:00
Daniel
9e8305f278 Add battery agnostic contactor closing 2023-06-05 23:28:47 +03:00
Daniel
02df5b1cc8 Add skeleton for BYD-CAN 2023-06-04 23:35:43 +03:00
Daniel
4941cc684b Add CRC handling for LEAF 2023-06-02 23:23:52 +03:00
Daniel
6a4562fe34 Add fuse info 2023-05-24 12:59:45 +03:00
Daniel
88db72b051 Add latest Tesla change 2023-05-22 22:51:12 +03:00
Daniel
38f4486ee0 Add more mappings for Tesla 2023-05-12 23:31:38 +03:00
Daniel
41695d1e97 Add contactor handling 2023-05-12 00:20:12 +03:00
Daniel
8d8a4abac4 Add more CAN mappings 2023-05-11 22:32:25 +03:00
Daniel
14e2f90798 Improve CAN handling for SOC 2023-05-09 23:53:58 +03:00
Daniel
ecb657570a Improve logging and set Tesla as default 2023-05-09 23:17:18 +03:00
Daniel
79d8d81cfc Add line about selecting battery 2023-05-03 22:55:16 +03:00
Daniel
4af1561c09 Improve readme 2023-05-03 22:47:56 +03:00
Daniel
825c889721 Add initial CAN translations 2023-05-03 22:33:22 +03:00
Daniel
a526a33258 Add initial CAN handling for Tesla packs 2023-05-03 00:21:24 +03:00
Daniel
8ff544e23c Fix compliation errors 2023-05-02 23:28:15 +03:00
Daniel
5e13344354 Remove old ino file 2023-05-02 23:01:19 +03:00
Daniel
ad4cbcc703 Sync with latest master 2023-05-02 22:49:24 +03:00
Daniel
ec7d751d4e Remove extra filtering 2023-05-02 22:42:52 +03:00
Daniel
1ac2f29a32 Add error counter filtering 2023-04-20 18:37:03 +03:00
Daniel
92055f3524 Add pulsing to green LED state 2023-04-19 22:11:33 +03:00
Daniel
635982954c Remove accidental uncomment 2023-04-19 13:43:32 +03:00
Daniel
87eef5bc6e Add status LED support 2023-04-19 13:31:46 +03:00
Daniel
e3bf177a9f Improve CAN error handling 2023-04-17 20:58:16 +03:00
Daniel
21aa656589 Add battery generation detection 2023-04-16 15:23:00 +03:00
Daniel
3f3f2c1593 Fix CAN polarity 2023-04-15 16:22:04 +03:00
Daniel
fa62501d12 Remove latching from LB_Fail 2023-04-05 10:30:08 +03:00
Daniel
d33671bd62 Improve logging of temporary error messages 2023-04-04 12:16:56 +03:00
Daniel
4cd8549ecf Fix CAN initialisation and length 2023-04-02 23:58:00 +03:00
Daniel Öster
4503aa4889
Update info on 12V 2023-03-23 22:20:18 +02:00
Daniel Öster
b53baa4eee
Update README.md 2023-03-23 22:17:45 +02:00
Daniel Öster
68349e2a98
Update README.md 2023-03-23 22:17:20 +02:00
Daniel Öster
97b31616bf
Add example picture 2023-03-23 22:15:44 +02:00
Daniel
9603d9ad99 Add safety for low SOH% 2023-03-21 23:12:16 +02:00
Daniel
64f9e823e9 Rename ino file 2023-03-21 23:07:56 +02:00
Daniel Öster
0b023e1ec5
Merge pull request #6 from dalathegreat/5-wrong-array-length
Fix array length
2023-03-16 21:52:00 +02:00
Daniel
931030984c Fix array length 2023-03-16 21:50:27 +02:00
Daniel
df67067099 Rewrite to handle multiple batteries 2023-03-15 00:12:44 +02:00
Daniel Öster
d9f60e11a6
Add 60s CAN timeout detection
If no CAN message has been received in the last minute, controller sets battery into failed state
2023-03-13 17:11:43 +02:00
Daniel Öster
f7d7fa1ae5
Improve LEAF battery safety
Improve safety by checking the signals that the BMS sends (LB_Relay_Cut_Request , LB_Failsafe_Status , LB_Full_CHARGE_flag). Also added optional LB_Interlock monitoring
2023-03-12 23:15:07 +02:00
Daniel Öster
ca38c5609b
Fix 1F2 and 1D4 writing
Bugfix for SOC% not updating after battery has been turned on
2023-03-11 20:37:27 +02:00
Daniel Öster
2e3e3e1700
Merge pull request #3 from JesperSOGT/patch-1
Update BYD-MODBUS-2-LEAF-CAN.ino
2023-03-09 23:07:10 +02:00
JesperSOGT
4179ad5f9f
Update BYD-MODBUS-2-LEAF-CAN.ino
I think you got this wrong regarding the charge and discharge limits
2023-03-09 21:56:06 +01:00
Daniel Öster
a84add2d9f
Improve temperature reading
Use temperature from 5C0 CAN message instead of hardcoded value
2023-03-06 19:52:55 +02:00