Daniel Öster
e89f46707a
Tweak 98S voltage values. Add defines
2024-10-07 15:02:32 +03:00
Daniel Öster
d3ef811974
Merge pull request #480 from dalathegreat/improvement/inverter-CAN-missing-event
...
Solax: Add inverter missing from CAN event, Solax
2024-10-06 20:45:10 +03:00
amarofarinha
3c944ef081
Merge pull request #516 from amarofarinha/Debounce-Button
...
Add Debounced Equipment Stop Button Functionality
2024-10-06 18:29:50 +01:00
amarofarinha
4b67eb82c1
pre commit fixes
2024-10-06 10:51:47 +01:00
amarofarinha
7380a3fbcf
Merge branch 'Debounce-Button' of https://github.com/amarofarinha/Battery-Emulator into Debounce-Button
2024-10-06 10:17:14 +01:00
amarofarinha
1c2da7f70d
Add Debounced Equipment Stop Button Functionality
2024-10-06 10:13:41 +01:00
Daniel Öster
f40e047b81
Make crystal value easily configurable
2024-10-05 21:50:43 +03:00
Daniel Öster
29b67435ea
Update Software.ino
2024-10-05 20:33:09 +03:00
Daniel Öster
9b562fad0e
Update Software.ino
2024-10-05 20:27:57 +03:00
Daniel Öster
ffd2a7c43f
Add capping of user set Amp value
2024-10-04 22:26:14 +03:00
Daniel Öster
f7ae4a649c
Merge pull request #511 from amarofarinha/main
...
Added confirmation alert for "Pause Charge/Discharge" functionality
2024-10-04 21:54:54 +03:00
Daniel Öster
d94e235ad6
Fix broken RX for CANFD native
2024-10-04 21:02:36 +03:00
amarofarinha
602c45b70b
Added confirmation alert for "Pause Charge/Discharge" functionality
2024-10-04 14:53:36 +01:00
amarofarinha
a0a482769a
Clarify usage of webserver authentication setting
2024-10-04 09:40:24 +01:00
Daniel Öster
79e7361d47
Merge pull request #508 from dalathegreat/feature/cellvoltage-safeties-centralized
...
Safety: Refactor cellvoltage safeties
2024-10-03 16:13:59 +03:00
amarofarinha
84110365e9
Merge pull request #506 from amarofarinha/emergency-stop
...
Add Support for External Button and Web-Based Equipment Stop Functionality
2024-10-03 14:08:34 +01:00
amarofarinha
917f76fd47
button name on web site
2024-10-03 13:59:43 +01:00
amarofarinha
f7f1427aef
long press increased to 15s
2024-10-03 13:36:20 +01:00
amarofarinha
8fed9f237a
change terms
2024-10-03 10:26:03 +01:00
Daniel Öster
c161e95e7e
Make tighter mv celldiff for pylon
2024-10-03 11:46:54 +03:00
amarofarinha
adf8185d33
Replaced all instances of "emergency" with "equipment" in the code for improved clarity and alignment with the feature's purpose.
2024-10-03 09:43:41 +01:00
Daniel Öster
ce54203382
Refactor cellvoltage safeties
2024-10-03 11:36:47 +03:00
amarofarinha
7b3594c248
stop equipment before reboot
2024-10-02 20:49:01 +01:00
amarofarinha
173acab23a
NC logic for button. 2 button behaviors. some suggestions implemented
2024-10-02 16:20:10 +01:00
amarofarinha
8344bf5179
#ifdef missing
2024-10-02 03:10:51 +01:00
amarofarinha
c1a262421b
Implement Support for External Equipment / Emergency Button on Battery Emulator
2024-10-02 02:50:32 +01:00
amarofarinha
81cd6780a3
Initial Implementation of Core Emergency Stop Feature on Battery Emulator
2024-10-01 19:12:22 +01:00
Daniel Öster
3f4ffb8055
Update version number to signal dev
2024-10-01 11:00:14 +03:00
Daniel Öster
af9886ad33
Update Software.ino for release
2024-10-01 10:46:57 +03:00
amarofarinha
c2433bd81b
Merge pull request #505 from amarofarinha/main
...
Improve OTA Update by Removing Delay and Immediate CAN Control
2024-09-29 18:14:15 +01:00
Daniel Öster
33dd510fad
Merge pull request #504 from dalathegreat/bufgfix/missing-cellmonitor-imiev
...
Bugfix iMIEV: Set amount of cellvoltages
2024-09-29 20:06:47 +03:00
Daniel Öster
840ae75436
Merge pull request #489 from dalathegreat/bugfix/pylon-voltages
...
Pylon Battery: Add voltage limits, remove faulty safety
2024-09-29 20:03:18 +03:00
amarofarinha
239371c314
comment correction
2024-09-29 16:28:46 +01:00
amarofarinha
1ff1101566
Improve OTA Update by Removing Delay and Immediate CAN Control
2024-09-29 16:24:14 +01:00
Daniel Öster
75707d3e32
Set amount of cellvoltages
2024-09-29 17:31:39 +03:00
Daniel Öster
bb0aa930e2
Make cellvolt check work with double
2024-09-29 15:13:17 +03:00
amarofarinha
11886bec0d
Merge pull request #499 from amarofarinha/Pause-Function-Terminology
...
Fix panic issue and pause function terminology
2024-09-29 10:58:48 +01:00
amarofarinha
95ade74d0b
pre-commit fix
2024-09-29 09:17:36 +01:00
amarofarinha
7614c0473d
Fix panic Issue on OTA and change pause terminology
2024-09-29 09:16:34 +01:00
StarkJohan
58f560a909
Merge branch 'main' of https://github.com/StarkJohan/Battery-Emulator into main
2024-09-29 07:33:53 +02:00
StarkJohan
207a405b77
Improved DEBUG_CANFD_DATA output ... MORE!
...
This PR adds outgoing canfd messages to the DEBUG_CANFD_DATA serial output as well as direction info to make debug life easier. Updated the solution according to suggestions from PR 495/496
Example output:
07:25:10.968 -> RX 111 66 F9 00 D5 00 00 00 00
07:25:11.125 -> TX 110 0F C8 0A 28 02 3A 02 EE
07:25:11.738 -> RX 91 0E A6 00 03 00 00 02 00
07:25:12.126 -> RX D1 02 08 00 00 00 00 02 00
07:25:12.544 -> RX 111 66 F9 00 D7 00 00 00 00
07:25:13.125 -> TX 110 0F C8 0A 28 02 3A 02 EE
07:25:13.319 -> RX 91 0E A6 00 03 00 00 02 00
07:25:13.740 -> RX D1 02 08 00 00 00 00 02 00
07:25:14.127 -> RX 111 66 F9 00 D8 00 00 00 00
07:25:14.936 -> RX 91 0E A6 00 03 00 00 02 00
07:25:15.097 -> TX 110 0F C8 0A 28 02 3A 02 EE
07:25:15.323 -> RX D1 02 08 00 00 00 00 02 00
07:25:15.743 -> RX 111 66 F9 00 DA 00 00 00 00
2024-09-29 07:32:31 +02:00
amarofarinha
09421057c4
code style
2024-09-28 21:21:14 +01:00
amarofarinha
0cd0b384c3
Fix: Disable Chained CAN Sending During OTA Updates to Prevent Incomplete Communication Control
2024-09-28 19:42:06 +01:00
amarofarinha
9e181e292d
Merge pull request #491 from amarofarinha/main
...
Compilation fix - order_events declared inside wrong #ifdef
2024-09-28 17:47:07 +01:00
amarofarinha
2a1424c969
Compilation fix - order_events declared inside wrong #ifdef
2024-09-28 08:51:50 +01:00
Daniel Öster
3bce188f4f
Add voltage limits, remove safety
2024-09-27 19:41:55 +03:00
Daniel Öster
72f5c681cd
Fix reset not clearing bms_status
2024-09-26 22:22:51 +03:00
Daniel Öster
a2efc21642
Add feature to clear events
2024-09-26 22:01:21 +03:00
Daniel Öster
1a4d5a73f3
restore minification
2024-09-26 19:42:57 +03:00
Christopher Obbard
ca98c123ca
Fix: PWM_CONTACTOR_CONTROL now actually engages contactors
...
When PWM_CONTACTOR_CONTROL was set the contactor coil pins
for positive & negative never actually went high. This was
due to a wrong argument passed to ledcWrite: the existing
code used the PWM channel; while ledcWrite actually expects
the PWM pin to be passed.
Fix this by rewriting all of the calls to ledcWrite to use
the PWM pin rather than the channel. While we are here, fix
some quality-of-life things like ordering of the calls,
using variables instead of hardcoding values and also
guarding PWM_CONTACTOR_CONTROL/GPIO usage in #ifdefs.
Fixes : #472
Signed-off-by: Christopher Obbard <obbardc@gmail.com>
2024-09-24 15:09:45 +01:00