EmanuelFeru
e114e49dfe
Added bluetooth module link
2020-12-06 22:02:42 +01:00
EmanuelFeru
4660215c3b
Added Candas Web Serial Tool link
2020-12-06 21:54:13 +01:00
EmanuelFeru
994277affe
Fixed beep counter interraction
...
- beep counter interraction fix
- readme update
2020-12-06 20:35:01 +01:00
EmanuelFeru
098ca9f97c
Diag: beep numbers for errors
...
- implemented beep numbers in case of error for easier debugging
- fixed bug: power button needs to be pressed multiple times to turn on
2020-11-28 10:38:17 +01:00
larsm
18ac2bc224
removed debug test code, lowered the error message print rate by 50
2020-11-27 20:14:24 +01:00
EmanuelFeru
cc1626e4fd
Update README.md
2020-11-26 08:43:22 +01:00
EmanuelFeru
2e43d8a8f6
Update config.h
2020-11-25 20:21:25 +01:00
EmanuelFeru
b3f56e5d27
Update README.md
2020-11-25 19:56:09 +01:00
EmanuelFeru
72a4f6f9f4
Update ReadMe
2020-11-25 19:48:02 +01:00
larsm
c57e1a0e4e
implemented write syscall for printf, added float-support for printf, serial tx does not need an interrupt anymore, replaced consoleLog and consoleScope with printf, changed debug output: every comment starts with "# " now, added lots of debug messages, added welcome message with gcc version and build date
2020-11-22 21:54:59 +01:00
larsm
ad8c2a552a
improved VARIANT_ADC documentation in config.h
2020-11-22 00:45:48 +01:00
EmanuelFeru
0c5130c9c3
Fix type
2020-11-19 23:07:56 +01:00
EmanuelFeru
fe55de6766
Merge pull request #111 from Candas1/master
...
Improvement of Auto-calibration
2020-11-19 21:56:00 +01:00
EmanuelFeru
925008467b
Minor updates RC
...
- moved all the RC inputs (PPM, PWM, iBUS) to Right cable
- updated timing to enter torque and speed update from 300ms to 1000ms
2020-11-19 21:51:15 +01:00
EmanuelFeru
44cf0c8f1f
update Auto-calibration
...
- implemented forced potentiometer type
- extended the INPUTx_TYPE to 0:Disabled, 1:Normal Pot, 2:Middle Resting Pot, 3:Auto-detect
2020-11-19 17:49:14 +01:00
EmanuelFeru
8dc6eb68eb
Updated Flash write order
2020-11-18 19:44:23 +01:00
EmanuelFeru
44befc480a
Input Auto-calibration
...
- mainly rearangement of function
- updated initialization in the auto-calibration function
- added beep for confirmation of Input protection
2020-11-18 19:16:56 +01:00
Candas1
75082c8333
Merge branch 'master' of https://github.com/Candas1/hoverboard-firmware-hack-FOC
2020-11-15 20:04:47 +01:00
Candas1
962f57a85f
Improve PPM
2020-11-15 20:04:40 +01:00
EmanuelFeru
419ef454f3
Merge branch 'master' into master
2020-11-15 18:53:55 +01:00
Candas1
ec64b8b005
Revert changes in comms.c
2020-11-15 18:11:45 +01:00
Candas1
1ab75e5ff9
Fix auto calibration
2020-11-15 18:09:30 +01:00
Candas1
f962d16cd6
Test print log
2020-11-14 19:30:38 +01:00
Candas1
11ab848103
Current and speed setting for all variants
2020-11-13 22:31:49 +01:00
EmanuelFeru
c2647ed686
Improved Standstill Hold functionality
...
- Standstill Hold should now engage sooner if Brake pedal is pressed to prevent continuous rolling in a Downhill situation.
2020-11-12 22:41:29 +01:00
Candas1
4cc02fddc1
Improved auto-calibration
2020-11-11 21:36:40 +01:00
Candas1
b1169c02b7
Fixes
2020-10-31 21:14:15 +01:00
Candas1
b50efdcab2
Fix typo
2020-10-29 00:41:41 +01:00
Candas1
95c912d757
Update config.h
2020-10-29 00:10:52 +01:00
Candas1
5dc88b7e02
Update util.h
2020-10-28 23:43:19 +01:00
Candas1
e508a2131a
Update util.c
2020-10-28 23:42:22 +01:00
Candas1
aaeb44d0b6
Update main.c
2020-10-28 23:36:24 +01:00
Candas1
dd09115e95
Update util.c
2020-10-28 23:34:29 +01:00
Candas1
78246f4e53
Update util.c
2020-10-28 19:02:21 +01:00
Candas1
1b32555fb0
Update util.c
2020-10-28 09:26:26 +01:00
Candas1
d7880dafeb
Update util.c
2020-10-27 20:44:52 +01:00
Candas1
09b2728168
Update util.c
2020-10-27 20:38:19 +01:00
Candas1
5d954a05aa
Fix typo
2020-10-27 20:24:56 +01:00
Candas1
4ba8a8d82a
Add new parameter to adddeadband function
2020-10-27 20:23:35 +01:00
Candas1
df37f6dcc3
Add parameter for ADC deadband
2020-10-27 19:41:47 +01:00
Candas1
0ab8e8e5ac
Improve adddeadband function
...
- Use MAP function
- add additional parameter for middle value
- use adddeadband function with ADC input when mid resting pot is used
2020-10-27 19:39:12 +01:00
Candas1
76a27b086c
Add function for MAP
2020-10-27 19:22:23 +01:00
EmanuelFeru
4fbf2549c9
Cruise Control update
...
- added support for Cruise Control in HOVERCAR variant
- updated the shortBeep function, didn't like the beeping sound :)
2020-10-20 19:54:38 +02:00
EmanuelFeru
4991a15a5e
Fixed bug
...
PI controller integrator is now working correctly.
2020-10-20 17:49:40 +02:00
EmanuelFeru
8369e4d47d
Increased delay for CC
...
In Cruise Control (CC), the button can bounce. The beep delay is increased from 100ms to 200ms to prevent button bouncing and continuous activation/deactivation of CC.
2020-10-13 10:38:43 +02:00
EmanuelFeru
66857b5680
Fixed symbol
2020-10-13 08:58:42 +02:00
EmanuelFeru
b76e8ee466
Update BLDC controller
...
- added possbility to switch the Control mode while motor is spinning. NOT yet checked how motors behaves when swiching is triggered!
- added Cruise Control functionality: activated by button1 to GND (Blue Left or Right cable depending on selection). Functionality NOT yet tested in practice!
- extended Phase current measurements z_selPhaCurMeasABC : {iA,iB} = 0; {iB,iC} = 1; {iA,iC} = 2
- added interface for external motor angle measurement from as sensor, e.g., encoder. The selection can be done via b_angleMeasEna: 0 = Estimated (default), 1 = Measured.
- update the Field weakening Lo and Hi to fully blended.
- minor improvements:
- Buttons initialization
- lowered ADC margins in auto-calibration
- commented out ADC_SAMPLETIME_239CYCLES_5, reported to give some issues when Hall sensor ADC input is used
2020-10-12 22:55:39 +02:00
EmanuelFeru
2890745fbb
Moved Matlab files to a new repo
...
Moved all the Matlab related files for the FOC motor control to a new repository:
bldc-motor-control-FOC
2020-09-01 18:10:02 +02:00
EmanuelFeru
b1f7c4c296
Merge pull request #84 from EmanuelFeru/variant-skateboard-PWM
...
Variant skateboard pwm
2020-07-22 21:14:46 +02:00
EmanuelFeru
4d5c98d00a
Update README.md
2020-07-22 15:57:34 +02:00