Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
6f38bac
-
Sep 12, 2018
9eb331b
speed/throttle settings now configurable
Sep 13, 2018
040e9e5
tq sensor calibration for aco mode
Sep 14, 2018
7065bde
bugfixes
Sep 14, 2018
2e792a1
nw settings, new ridemode, now hotness :)
Sep 14, 2018
e54338e
reintroduced linear regen (unfinished)
Sep 15, 2018
75cae53
settings
Sep 15, 2018
1cca256
new aca options,
Sep 15, 2018
d1de8e1
added regen assist level
Sep 15, 2018
a7ecd9f
fugbix regen init value
Sep 15, 2018
744a880
pas imeout bugfix
Sep 15, 2018
0a87388
added bluosec apk
Sep 15, 2018
04780b6
new settings, new current cal
Sep 16, 2018
2ec3d79
fugbix index out of bounds
Sep 16, 2018
a779bb6
changes to ramp end calculation, some minor bugfixes
Sep 16, 2018
850b9b2
spacefish PWM fix
Sep 16, 2018
2c0b22a
testing torquesim
Sep 17, 2018
2e808c2
..
Sep 17, 2018
2f1e868
Added display 5 Romanta 280 line
romanta Sep 17, 2018
fd61196
playing around with PAS ramp behaviour
Sep 17, 2018
c1967aa
new apk version
Sep 17, 2018
ba87db5
Merge pull request #3 from romanta/patch-1
Xnyle Sep 17, 2018
1e1a85c
added offroad procedure tester
Sep 18, 2018
7093744
renamed ui32_setpoint to ui32_dutycycle
stancecoke Sep 18, 2018
559e5d8
Disable PWM at standstill and some comments added
stancecoke Sep 18, 2018
14c9b39
fixed typo
stancecoke Sep 18, 2018
6bebc3f
Update display.c
romanta Sep 18, 2018
1fdb365
new flags / eeprom reset option
Sep 18, 2018
7d142b9
..
Sep 18, 2018
15fcb3b
bugfix ramp settings /eeprom
Sep 18, 2018
f31d3bb
apk bugfixes
Sep 18, 2018
8af9069
sicher ist sicher :)
Sep 18, 2018
64b4e95
Merge pull request #5 from romanta/patch-3
Xnyle Sep 18, 2018
c4b427e
trying to make torquesim mode more responsive @ startup
Sep 19, 2018
03d724c
bugfix setpoint state dup entry
Sep 19, 2018
cab3221
two new speedlimits adjustable via java tool
Sep 19, 2018
cddec18
prepared lcd3/5 config vars to be translated to some useful eeprom / …
Sep 20, 2018
2b8df33
clear eeprom as default in java configurator
Sep 20, 2018
e3692e7
smoother speed limit changes
Sep 21, 2018
767d0bc
dynamic assist level testing
Sep 21, 2018
08abba8
new apk version
Sep 22, 2018
1c46cd9
PWM always on if voltage is high enough!
stancecoke Sep 22, 2018
069c680
bugfix dynamic assist level
Sep 22, 2018
e36238f
dynamic assist based on past throttle input
Sep 22, 2018
22bee19
tweaking speedlimit change ramp up/down
Sep 23, 2018
294e923
added new options dyn assist and pwm autooff
Sep 24, 2018
b906318
buffered uart, not yet in use
Sep 26, 2018
4912740
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Sep 26, 2018
2f2ff9a
64 bytes obviously not enough for osec, doubled
Sep 26, 2018
d0f90f7
uart interrupt into uart.c
Sep 26, 2018
4570274
...
Sep 26, 2018
2740c20
uart refactoring
Sep 26, 2018
782ebc2
async uart
Sep 26, 2018
ab15ec8
new uart for all displays except KINGMETER_901U which was already bro…
Sep 27, 2018
995b691
Torque Override in torquesensor-mode added
stancecoke Sep 27, 2018
c21b407
control state for optimized regen added
stancecoke Sep 27, 2018
ea94533
...
Sep 27, 2018
881ebb3
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Sep 27, 2018
ccdc4b9
apparently torquesensor mode was never working up to now
Sep 27, 2018
af65285
beta do not use this commit
Sep 27, 2018
59112a6
...
Sep 27, 2018
269ad4d
...
Sep 27, 2018
88c4205
smoother assist levels (100 instead of 6 :)
Sep 27, 2018
f445518
1+x
Sep 27, 2018
6ee7e78
new apk
Sep 27, 2018
19641fa
bugfix for external speedsensor
stancecoke Sep 28, 2018
8675d15
assist level BUGFIX WARNING, do NOT use previous commits!!!!!
Sep 28, 2018
5b37e49
direct assist percentage instead of levels possible now
Sep 28, 2018
d2f8d1f
assist level testing
Sep 28, 2018
7d2a9d6
..
Sep 28, 2018
03969ad
Improvement of PI_control function
stancecoke Sep 28, 2018
c9a36f9
new apk for new assist levels
Sep 28, 2018
1eab4f5
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Sep 28, 2018
74ff783
new apk, diagnostigs fragment now configurable
Sep 29, 2018
c9ed18d
new apk
Sep 29, 2018
1e93595
new apk, char on diag fragment now displays bottom 5 values
Sep 30, 2018
7b1a512
new readme
Oct 1, 2018
31147c2
md
Oct 1, 2018
601b0fd
Bugfix in torquesensor-mode
stancecoke Oct 2, 2018
a1abba1
bugfix part II
stancecoke Oct 2, 2018
2a406ca
bugfix part III
stancecoke Oct 2, 2018
a99dfb9
bugfix for bugfix
Oct 2, 2018
04a81aa
apk
Oct 2, 2018
2648efc
better handling of initial assist level
Oct 4, 2018
bd8f3c9
new apk
Oct 4, 2018
19e9f69
avoid startup when pedalling backwards
Oct 5, 2018
42f3ffe
groundbreaking new feature for app :)
Oct 5, 2018
87c7ef4
replaced pas quick fix with more reasonable code
Oct 5, 2018
b087aa7
added trip infos in app
Oct 6, 2018
851e978
apk
Oct 6, 2018
0beabed
dp scaling test (app)
Oct 6, 2018
69f591f
...
Oct 6, 2018
d840018
new apk
Oct 7, 2018
c8393c8
cal_a changed 1->10!
Oct 7, 2018
9d1ae5f
tq cal bugfix (app is not able to set 0 which was distinguisher)
Oct 7, 2018
bb6a0cc
..
Oct 7, 2018
6374b55
changed default values for tq calib
Oct 7, 2018
002e230
preparation for variable correction target
Oct 7, 2018
590c99d
modes apk to differnet repo
Oct 7, 2018
6540a73
settings
Oct 7, 2018
f15cd72
argh...
Oct 7, 2018
0f031ce
picture for connecting BT-module added to README
stancecoke Oct 8, 2018
2b7a6c7
Link to recent SDCC release updated in README
stancecoke Oct 8, 2018
e45a224
Screenshot of C#ROME-B Java-tool added
stancecoke Oct 9, 2018
fad187b
bluosec receiving rtu instead of ascii
Oct 9, 2018
0d825ce
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Oct 9, 2018
9093249
controller expects rtu from app (build 184+ needed)
Oct 10, 2018
e660a4f
FOC control experimenting, EXPERIMENTAL COMMIT!
Oct 10, 2018
d936b21
FOC experimental
Oct 11, 2018
d75f8f4
...
Oct 11, 2018
6ad7c6e
..
Oct 11, 2018
e710046
testing
Oct 11, 2018
9dac60d
nirvana
Oct 11, 2018
1666f8f
nirvanatest2
Oct 11, 2018
7e70909
nirvana 3
Oct 11, 2018
baa6837
new correction enabled flag
Oct 11, 2018
83e81a7
renaming motor angle vars
Oct 11, 2018
1460b62
variable renaming
Oct 11, 2018
026445e
code cleanup
Oct 12, 2018
c87bd0d
added 60 deg cycle counter debug
Oct 13, 2018
7032140
fugbix
Oct 13, 2018
bb2d0c5
preparation editable hall angles
Oct 13, 2018
32947c5
motor hall phase comparison sheet
Oct 14, 2018
14a87e6
hall angles configurable via app/javatool
Oct 14, 2018
f04701b
settings
Oct 14, 2018
5174a2a
Update README.md
stancecoke Oct 14, 2018
e39959b
Update README.md
stancecoke Oct 14, 2018
69c5abb
reworked config sync request, new app version needed
Oct 15, 2018
bfd522d
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Oct 15, 2018
aa04213
bugfix regen current and correction angle
Oct 17, 2018
eb163f7
changed default regen setting
Oct 17, 2018
80afff7
Merge branch 'Master' of https://github.com/stancecoke/BMSBattery_S_c…
Oct 17, 2018
6025dda
removed old motor ifndefs
Oct 17, 2018
e9dd9e7
grey...
Oct 17, 2018
9765cae
default config so ppl don't get confused
Oct 17, 2018
2237c71
refactoring and ne experimental settings (pwm/motor constant, dc off)
Oct 20, 2018
e473c30
controllstate now 16 bit, had to change packet codes, needs recent ap…
Oct 21, 2018
9deada8
bugfix & trying to make build process actually work
Oct 21, 2018
fa096df
..
Oct 21, 2018
06502cb
@ in makefile != @ in batch file!
Oct 21, 2018
43ee087
Added Tool for State translation
stancecoke Oct 23, 2018
1e37234
redefined motor & correction angle
Oct 24, 2018
4654d93
redefined motor angle
Oct 24, 2018
e3c2391
redefined motor angle
Oct 24, 2018
9dbf374
ini bugfix
Oct 26, 2018
944fc24
better settings selector
Oct 29, 2018
948f8f5
updated link buttons
Oct 29, 2018
c02ffed
just some experimental settings
Nov 1, 2018
280d034
added XOR-test for all numbers from 1 - 10
stancecoke Feb 15, 2019
38f4078
overvoltage protection during regen
Mar 19, 2019
337bc96
refactoring of overvoltage, undervoltage and overspeed checks
Mar 23, 2019
fdae46e
voltages adjustable via app
Mar 24, 2019
0879ad8
bugfix right shifting calculation
Mar 24, 2019
d107e7e
added power control (instead of current) option
Mar 24, 2019
b90d40e
added system passcode, autolock and offroad auto off
Mar 29, 2019
609247b
..
Mar 29, 2019
53bd5f5
fugbixes
Mar 29, 2019
34d7d70
minor changes, see last commit ...
Mar 29, 2019
2853572
x4 value reported
Mar 30, 2019
3613bd5
external speedsensor is now a flag
Mar 31, 2019
323aac1
new settings for xf15 48V
Apr 2, 2019
7eb37c0
new proven settings
Apr 6, 2019
eea7ef0
sensor speed refactoring
Apr 10, 2019
58396b9
...
Apr 10, 2019
9f6e0b0
fugbix
Apr 10, 2019
ba96cd4
new proven settings for xf15
Apr 10, 2019
ff82045
do not apply throttle at very low speed limits (technical restriction…
Apr 11, 2019
680445e
xf15 settings
Apr 11, 2019
8dd92c9
q28 settings fix
Apr 13, 2019
3628a58
new experimantal setting motor anti jitter
Apr 19, 2019
4d473b3
jitter debug
Apr 20, 2019
7a3a1ef
..
Apr 20, 2019
f8ea330
..
Apr 20, 2019
f5bb938
.
Apr 20, 2019
e70fee8
motor jitter fiddling
Apr 21, 2019
0aaa0a1
yet another motorcode refactoring
Apr 22, 2019
32a474c
motor startup testing /tweaking
Apr 22, 2019
fc5a3b3
360deg interpolation bugfix
Apr 23, 2019
bee4dfd
...
Apr 23, 2019
a94bd8f
.
Apr 23, 2019
68b6144
360 switching at 64erps
Apr 23, 2019
91c0b58
..
Apr 23, 2019
bf0af26
enabled 360° interpolation switch at 75erps
Apr 23, 2019
6826f0c
added missing option to java tool
Apr 23, 2019
b341af8
readme
Apr 23, 2019
03a64c2
...
Apr 23, 2019
e6dbc5d
waveform testing
Apr 25, 2019
8e6e811
thipwm
Apr 25, 2019
df9b3b6
..
Apr 25, 2019
3483c0c
added sine tbl
Apr 25, 2019
473bd51
possibility to switch to (sine) wavetable
Apr 25, 2019
d295293
wavetable selector
Apr 28, 2019
ea60332
finalized new wetables
Apr 28, 2019
c5c7ce8
assist level processed more often
Apr 30, 2019
6d2332d
motor speed adjustable without flashing
May 4, 2019
43543e7
real sex step startup
May 5, 2019
8bf7777
bugfix PAS init
May 10, 2019
2782759
setpoint init rather than hacked init
May 12, 2019
cac61a7
gitignore
May 12, 2019
7be1bc9
removed local files from git tracking
May 12, 2019
b5928a4
code cleanup
May 14, 2019
d0067a2
Update main.c
DerBastler May 19, 2019
cc4fb36
Update gpio.c
DerBastler May 19, 2019
ce94978
Update gpio.h
DerBastler May 19, 2019
0dd8961
Update display.h
DerBastler May 19, 2019
dcb34a7
Update display.c
DerBastler May 19, 2019
1324236
Update gpio.h
DerBastler May 19, 2019
9b06d62
Update main.c
DerBastler May 19, 2019
931fdf4
Update display.h
DerBastler May 20, 2019
74a2d6e
Update display.c
DerBastler May 20, 2019
cd42164
Update main.c
DerBastler May 20, 2019
125a31a
Update display.h
DerBastler May 21, 2019
2330905
Update ACAcontrollerState.h
DerBastler May 21, 2019
50dc31d
Update ACAcontrollerState.c
DerBastler May 21, 2019
04b03ac
Update ACAcommons.c
DerBastler May 21, 2019
447be98
Update main.c
DerBastler May 21, 2019
3567736
Update ACAcommons.h
DerBastler May 21, 2019
bfeb1a5
Update ACAcontrollerState.c
DerBastler May 21, 2019
237eccd
Update ACAcontrollerState.h
DerBastler May 21, 2019
c344c95
Update ACAcommons.c
DerBastler May 21, 2019
c7a82e1
Update ACAcommons.h
DerBastler May 21, 2019
26b0233
Update main.c
DerBastler May 21, 2019
277b02b
Merge pull request #10 from DerBastler/light-in-ACAcontrollerstate
Xnyle May 21, 2019
8780889
possible watchdog bugfix
May 25, 2019
10b1eb2
new 12fetq12c config
May 31, 2019
be04c47
lcd3/5 battery bars bugfix
Jun 14, 2019
6a1c5da
bugfix to ramp down torque when you stop pedalling (in tqs mode)
Oct 23, 2019
4b132ba
adheare to readme formatting standards
bj97301 Jun 8, 2020
c38e51e
fix typos
bj97301 Jun 8, 2020
1e05684
specify that this is the maintained repo
bj97301 Jun 8, 2020
ae6512e
add link to wiki at the top
bj97301 Jun 8, 2020
49e35f4
links to apps
bj97301 Jun 8, 2020
9041c44
help out yo
bj97301 Jun 8, 2020
e710438
aka wiki note
bj97301 Jun 8, 2020
1ccca9a
Merge pull request #14 from bj97301/Master
Xnyle Jun 8, 2020
210683e
XOR with 14 added in checksum test
stancecoke Jul 27, 2020
b2b6504
fix from tsdz
JamesCordell Sep 12, 2020
d3f1db4
Walk assist added with constant current
stancecoke Sep 13, 2020
e4c6669
Bugfix in walk assist
stancecoke Sep 15, 2020
18fdd5c
Merge pull request #18 from JamesCordell/Master
stancecoke Sep 21, 2020
e9dd587
Pushed Andreas changes from zip at ES
stancecoke Jan 8, 2022
b4ebb22
Fix light floating
Jan 9, 2022
59aadbb
Can display temperature if wanted
Jan 9, 2022
ee16676
Fix power based control
Jan 9, 2022
8fbf774
Fix a line
Jan 9, 2022
4609e8e
Wanted power based on walk assist too and only when using pas+ moving…
Jan 10, 2022
d4cba20
Merge pull request #22 from MartGB/Master
stancecoke Jan 10, 2022
779b32c
Revert "A pull request for some changes I made"
stancecoke Jan 11, 2022
5966448
Merge pull request #24 from stancecoke/revert-22-Master
stancecoke Jan 11, 2022
442f915
Merge pull request #25 from stancecoke/Andrea
stancecoke Jan 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
*.asm
*.bin
*.elf
*.ihx
*.cdb
*.lk
*.map
*.adb
*.lst
*.rel
*.rst
*.sym
Debug
main.hex
**/*~
*.asm
*.bin
*.elf
*.ihx
*.cdb
*.lk
*.map
*.adb
*.lst
*.rel
*.rst
*.sym
!*.dll
!*.exe
Debug
/tools/nbproject/private/
/tools/JavaConfigurator/nbproject/private/
/tools/JavaConfigurator/build/
/tools/JavaConfigurator/dist/
/nbproject/private/
/Result.log
Loading