Commit Graph

172 Commits

Author SHA1 Message Date
juodumas 0125bf0dc0 Update config.h current limiting comments 2020-05-03 16:29:40 +03:00
juodumas 166e0ae05b Add build/ dir to .gitignore 2020-05-03 16:20:12 +03:00
EmanuelFeru 95c10c9ba7 Update util.c 2020-03-24 21:31:30 +01:00
EmanuelFeru e1950f2a91
Merge pull request #31 from EmanuelFeru/variant_pwm
Added VARIANT_PWM
2020-03-24 20:46:01 +01:00
EmanuelFeru 38574153f0 Added deadband for PPM signal
Issue #29
2020-03-24 20:36:19 +01:00
EmanuelFeru 39e4fdc869 Variant_PWM implemented 2020-03-24 19:57:08 +01:00
EmanuelFeru d6d22351e3 Updated webview 2020-03-24 19:56:01 +01:00
EmanuelFeru c099bec824 RC pwm signal read fixes
Re-work on the RC pwm input signal timeout
2020-03-23 21:09:17 +01:00
EmanuelFeru 7d80e564f0 First commit pwm
- buttons not yet support
2020-03-21 19:24:29 +01:00
EmanuelFeru 9d6cec8889 Hovercar minor update
- put by default TORQUE mode. Hovercar works best in Torque mode
- made the brake pedal more aggressive. Gives a better braking feel.
2020-03-17 15:38:35 +01:00
EmanuelFeru 3fd6c057ea
Merge pull request #27 from pinguinpfleger/master
Added Flashing Method 4: MacOS
2020-03-04 20:41:41 +01:00
Kai Hauser 1090c2fb99
Merge branch 'master' into master 2020-03-01 10:23:02 +01:00
EmanuelFeru 72e6b30033 UART with sideboards works + major refactoring
► the mainboard can now send and receive Serial data from the sideboards
► heavy refactored the `main.c`. It was becoming too large to manage... Therefore, `util.c` and `util.h` was created
► added new functionality for `VARIANT_HOVERCAR` and variants with `CONTROL_ADC` in general:
- ADC limits auto-calibration mode (long press of the power button) - calibration will not be lost at power-off
- Max Current and Max Speed adjustment mode (long press followed by a short press of the power button) - calibration will not be lost at power-off
- added one sideboard functionality:
         - LEDs are used to display battery level,  Motor Enable, Errors, Reverse driving, Braking.
         - Photo sensors are used as push buttons: One for changing Control Mode, One for Activating/Deactivating the Field Weakening on the fly
2020-03-01 10:00:26 +01:00
Kai Hauser e70b3aa38c
more CLI 2020-02-27 12:07:49 +01:00
Kai Hauser a6242cc3d6
Added Flashing Method 4: MacOS
and moved Variants above Flashing since you have to define a Variant before flashing
2020-02-26 21:03:52 +01:00
Kai Hauser 83b85bf4a1
Merge pull request #1 from EmanuelFeru/master
sync
2020-02-26 20:46:31 +01:00
EmanuelFeru 52e920c5ee Merge branch 'master' of https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC 2020-02-16 21:58:25 +01:00
EmanuelFeru 872d86f021 Added Keil project
Project can now be built and flashed with Keil uVision as well.
2020-02-16 21:58:15 +01:00
EmanuelFeru f1cb07dad2 Update README.md 2020-02-10 09:52:49 +01:00
EmanuelFeru 9e943feb8e Update README.md 2020-02-08 08:55:11 +01:00
EmanuelFeru b96ecf09e5
Update README.md 2020-02-07 18:25:57 +01:00
EmanuelFeru 4382ec3128
Update README.md 2020-02-07 18:15:18 +01:00
EmanuelFeru c58db9b3e2 Merge branch 'master' of https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC 2020-02-07 17:31:12 +01:00
EmanuelFeru 2cddbf5ed0 Added mcu unlocking pictures 2020-02-07 17:29:09 +01:00
EmanuelFeru 70c385e4a1
Update README.md 2020-02-07 17:27:23 +01:00
EmanuelFeru 2d178a399c Improved Serial Timeout
- added condition to avoid restarting DMA repeatedly if no data is received
- enabled DEBUG_SERIAL_ASCII for all Variants except VARIANT_TRANSPOTTER
2020-02-06 21:53:38 +01:00
EmanuelFeru 3329281bd2
Merge pull request #18 from pinguinpfleger/master
Some prettifying, typos, renaming
2020-01-29 21:29:39 +01:00
EmanuelFeru a57b600230 Minor changes for PR #18
- updated sligtly the order of defines and corrected defines for some variants in config.h
- fixed checksum data type in Arduino example (Issue #19)
2020-01-29 21:20:04 +01:00
Kai Hauser 25f223a703
fixes <command-line>:0:0: warning: "PLATFORMIO" redefined
no need to define -D PLATFORMIO since by platformio itself.
2020-01-26 21:19:58 +01:00
kai 8098a31457 prettified config.h 2020-01-18 02:14:42 +01:00
kai 2c1572d844 prettified config.h 2020-01-18 02:10:40 +01:00
kai 05e56eefd7 prettified config.h typo fix 2020-01-18 02:04:36 +01:00
kai 1ddcee2a5d prettified config.h 2020-01-18 02:00:48 +01:00
kai e1aa42bad0 space removal 2020-01-18 01:15:45 +01:00
kai 04fc584f0a renamed USART3 to USART because you can also use USART2 not only USART3 2020-01-18 01:08:47 +01:00
kai cd01b73451 corrected nunchuck to nunchuk 2020-01-18 01:05:06 +01:00
EmanuelFeru fb362f04a9
Merge pull request #12 from Candas1/master
Add FLYSKY IBUS protocol for RC remotes
2020-01-09 08:38:13 +01:00
EmanuelFeru 827a490f34 Fixed typo 2020-01-08 19:33:22 +01:00
EmanuelFeru d2c846cda9 Updated IBUS variant
- separated the implementation from USART implementation for more clarity
- fixed warnings
- minor visual updates
2020-01-08 19:16:34 +01:00
Candas1 c3a40f6454
Replacing #elif by #else 2020-01-07 22:06:31 +01:00
Candas1 4f8aafe3f0 Use defined macros for min max values 2020-01-07 21:13:22 +01:00
Candas1 faca885c9a Add FLYSKY IBUS support 2020-01-07 21:01:17 +01:00
EmanuelFeru bdb3b00a6d
Merge pull request #11 from pinguinpfleger/master
added PPM and Nunchuck as variant. unifyed variant naming
2020-01-07 18:13:26 +01:00
EmanuelFeru a3b6e40fa2 Minor updates
- fixed all warnings for VARIANT_NUNCHUCK and VARIANT_PPM
- changed the variant order: the basic Variants on top, more application specific in the bottom
2020-01-07 18:09:19 +01:00
kai 574e947cc2 travis 2020-01-05 20:03:28 +01:00
kai 1f8105346c travis 2020-01-05 19:48:57 +01:00
kai 51f17192b0 travis 2020-01-05 19:45:22 +01:00
kai 7ce7e29f34 travis 2020-01-05 19:37:13 +01:00
kai 7272edddbe travis 2020-01-05 19:32:33 +01:00
kai ccbea97941 travis 2020-01-05 19:29:43 +01:00