Commit graph

572 commits

Author SHA1 Message Date
Daniel
3545c3d8ba Improve comment on plausability check 2023-11-21 20:17:07 +02:00
Daniel
2f6d6cfae8 Fix division error 2023-11-20 23:14:36 +02:00
mackelec
3379cba237
Add files via upload 2023-11-21 07:00:38 +10:00
mackelec
42f79ca0b7
Add files via upload 2023-11-21 06:59:12 +10:00
Daniel
d2c5810863 Fix cell max volt mapping 2023-11-20 21:48:33 +02:00
Daniel
1e91bd69aa Tweak ramp if-statement 2023-11-20 19:10:31 +02:00
Daniel
19e33727f5 Raise max voltage per cell LFP 2023-11-20 18:58:13 +02:00
Daniel
154cd7f001 Add skeleton for SerialLink 2023-11-19 22:50:10 +02:00
Daniel
a1aea67d30 Add libraries 2023-11-19 22:23:35 +02:00
Daniel
0f687b8e26 Fixes from GKOE testing 2023-11-19 21:54:47 +02:00
Daniel
3aa3d8ead9 Add ramped charge value for Tesla 2023-11-19 20:31:18 +02:00
Daniel
b7af32af66 Change uint8_t to bool 2023-11-15 18:38:42 +02:00
Daniel
b2fc162a5b Run pre-commit formatting 2023-11-15 17:29:58 +02:00
Daniel Öster
8dbf3960c4
Merge branch 'main' into feature/test-mode 2023-11-15 17:23:03 +02:00
lenvm
e2cac8f77d update uint8_t to bool 2023-11-14 22:01:59 +01:00
lenvm
ce08e00a5d use booleans for booleans 2023-11-14 22:01:31 +01:00
lenvm
ea64785545 add define for contactor parameters 2023-11-14 21:57:40 +01:00
lenvm
fe51010096 format todo as TODO:, such that TODOs can be highlighted in VS Code 2023-11-14 21:03:39 +01:00
Daniel
d4290cc430 Silly typo 2023-11-14 21:55:02 +02:00
Daniel
2621e29e5f Refactor LED defines 2023-11-14 21:52:41 +02:00
Daniel
a2536e2c90 Uncomment test mode by default 2023-11-13 22:24:12 +02:00
Daniel
edf032947b Add RGB LED test 2023-11-13 22:15:33 +02:00
Daniel
e519baf2f3 Increase decimal on Amperage 2023-11-13 21:28:31 +02:00
Daniel
7767d39782 Add fake battery skeleton 2023-11-13 00:13:00 +02:00
lenvm
212244adbd add initialization functions 2023-11-12 12:58:52 +01:00
lenvm
ad17f5a800 update comments 2023-11-12 12:47:18 +01:00
lenvm
e552a59a13 change order of declarations in preamble, to match order in setup() 2023-11-12 12:32:58 +01:00
lenvm
c6e09c8610 update handle_inverter() to update_values(), to better reflect its function 2023-11-12 12:29:29 +01:00
lenvm
9e663fa166 split handle_can() into receive_can() and send_can() 2023-11-12 12:25:39 +01:00
lenvm
23797e7f7c reorder functions at bottom of Software.ino, to reflect order in main 2023-11-12 12:15:32 +01:00
Daniel
8c88352c5f Rewrite max/min voltage to save memory 2023-11-11 22:47:48 +02:00
lenvm
6500d2aa76 move files to directories where they belong to 2023-11-11 14:28:51 +01:00
lenvm
e1c84e32f4 update name of ESP32 CAN library from ThomasBarth-ESP32-CAN-Driver to miwagner-ESP32-Arduino-CAN
- this change is implemented as the README.md file states that the miwagner/ESP32-Arduino-CAN is used in a slightly modified form
2023-11-11 13:45:46 +01:00
Daniel
59da9eac2b Add SOC% plausibility detection 2023-11-10 23:29:25 +02:00
lenvm
1ae7d51ea9
Merge pull request #84 from lenvm/feature/github-action-compile-hardware-combinations
Add GitHub Actions to compile all hardware combinations
2023-11-10 21:56:13 +01:00
Daniel
c99a2984f1 Remove unused value from USB print 2023-11-10 22:45:36 +02:00
Daniel
a98a25bc19 Change timeout value for contactors 2023-11-10 22:42:25 +02:00
lenvm
3b03d27931 add workflows for GitHub Actions to compile different hardwares
- comment out all #define macros related to batteries and inverters in USER_SETTINGS.h
- remove workflow to compile arduino sketch, as the sketch does not compile without defining the #define macros
- add workflow to compile all batteries in combination with the inverter communication protocol: BYD_MODBUS
- add workflow to compile all inverter communication protocols in combination with the battery: NISSAN_LEAF_BATTERY
- add workflow to compile all combinations of batteries and inverter communication protocols. This workflow can be triggered manually.
2023-11-10 21:30:38 +01:00
lenvm
43c46bfb35 fix error in functions used for chademo battery 2023-11-10 19:23:10 +01:00
lenvm
2a8101709e fix syntax error in notification about PYLON CAN being used 2023-11-10 19:22:53 +01:00
lenvm
6b6bf57804 run clang-format for all files except libraries in this repository 2023-11-08 23:38:41 +01:00
Daniel
f9af5ba108 Remove fault blocking CAN send 2023-11-08 23:12:08 +02:00
Daniel
ea1132fb02 Add amperage restriction for BYD CAN 2023-11-08 23:09:45 +02:00
Daniel Öster
3e5f72f6f9
Merge pull request #80 from lenvm/feature/naming-consistency
Update file naming and macro naming for consistency, add missing notifications for PYLON_CAN and CHADEMO_BATTERY
2023-11-08 22:53:42 +02:00
lenvm
a2aaadfc1d add macros to inform user if CHADEMO battery or PYLON inverter is used 2023-11-07 23:37:26 +01:00
lenvm
f7eee59ef6 reorder macros alphabetically 2023-11-07 23:37:24 +01:00
lenvm
4607fa9e25 rename filenames and macros such that they are consistent 2023-11-07 23:18:30 +01:00
Daniel
fafb08f9d7 Uncomment constantly active debug 2023-11-07 18:27:10 +02:00
Daniel
6abaedfb01 Add LFP voltage limit support 2023-11-07 18:27:09 +02:00
Daniel
7c117915e2 Add Tesla errors from 0x3AA message 2023-11-07 18:27:09 +02:00