Commit Graph

189 Commits

Author SHA1 Message Date
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
kai 90b8645b81 travis 2020-01-05 19:26:59 +01:00
kai 9e02369765 travis 2020-01-05 19:21:00 +01:00
kai b22094adf7 travis fix 2020-01-05 19:10:02 +01:00
kai c49bbdeacd all for travis 2020-01-05 14:28:02 +01:00
kai af3309f01b try to fix travis check 2020-01-05 14:02:22 +01:00
kai 7f01b16b63 link to repo file 2020-01-05 13:10:41 +01:00
kai f35d11041c VARIANT changes 2020-01-05 13:08:18 +01:00
kai 2e43550fec try to fix travis 2020-01-05 13:07:21 +01:00
kai ce59911dd4 try to fix travis 2020-01-05 13:04:49 +01:00
kai b12642aabc reverse PREFIX = arm-none-eabi- as default
;
2020-01-04 01:04:57 +01:00
kai ec2f6a1eb6 - removed default / fallback variant; you are forced to define the variant of your choice now or build will stop with an error
- added condition in config.h to either take setting from platform.ini or config.h
- homogenized default_envs naming; all variants now have VARIANT_ as prefix
- added nunchuck variant in platform.ini and config.h
- added PPM variant in platform.ini and config.h
- README: added jan's nunchuck breakout board repo
2020-01-04 00:09:57 +01:00
EmanuelFeru 641fd0bd76
Added HOVERCAR movie link 2019-12-31 13:43:37 +01:00
EmanuelFeru b4b23bbe9b Implemented HOVERCAR variant
Major:
- created HOVERCAR variant (selectable via platformio.ini) for driving via 2 pedals: Brake (on cmd1) and Throttle (on cmd2)
- implemented "Double tapping" on Brake pedal to engage Reverse driving
- implemented that Brake pedal stops the vehicle but does not go to Reverse, to prevend unintended Reverse driving
- implemented ADC Protection when GND and Vcc wire are disconnected. The functionality can be enabled/disabled via #define ADC_PROTECT_ENA
- updated error handling: in case of major error the motors will be disabled for improved safety

Minor:
- fixed bug on low-pass filter for not reaching exact "0" value
- calibrated the ADC Battery voltage reading
- other minor visual updates
2019-12-31 13:35:01 +01:00
EmanuelFeru 183776ceb2 Updated webview 2019-12-31 13:34:32 +01:00
EmanuelFeru 72d2aae4d7 Made Variant selection easy via platformio.ini
Now it is easy to select between different variant builds via platformio.ini. Currently, 3 variants can be selected:
VARIANT_ADC
VARIANT_USART3
TRANSPOTTER

Note: For any particular needs, you can still change config.h according to your needs.
2019-12-23 12:12:01 +01:00
EmanuelFeru fdbfe28749
Merge pull request #9 from Mezgrman/transpotter
Implemented TranspOtter modifications
2019-12-23 10:13:54 +01:00
EmanuelFeru 814af15adc Made beep functions available also for other variants
Beep function "short" and "long" can be used also for other variants than TRASNPOTTER
2019-12-23 10:11:48 +01:00
Julian Metzler f253e6e29a Added second beep with varying pitch on follow distance change 2019-12-22 15:34:32 +01:00
EmanuelFeru 4c5842915d I prefer that we keep the DEFAULT behavior
Take TRASPOTTER as a firmware variant
2019-12-14 14:00:29 +01:00
EmanuelFeru 17be530d29 Update defines.h 2019-12-14 13:57:44 +01:00
EmanuelFeru 2c939cad1c Update setup.c 2019-12-14 13:57:40 +01:00
EmanuelFeru 0344a9c225 Merge branch 'master' into pr/9 2019-12-14 13:51:37 +01:00
EmanuelFeru ed31ac07a5
Update README.md 2019-12-12 23:52:07 +01:00
EmanuelFeru eb69c4afee Merge branch 'master' of https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC 2019-12-12 23:44:39 +01:00
EmanuelFeru 31d42b4a17 Major improvements
- reduced FOC computational complexity by up to 20%, from 85% (old) to 65% (new)
- updated Field Weakening by allowing more freedom set-up: field weakening blended in the input fully, partially blended, or fully outside the input range
- major improvemets on current and speed limitations. It allows seemless limitation protection -> very happy with the result
2019-12-12 23:44:33 +01:00
EmanuelFeru 8ae3770708 Updated webview 2019-12-12 23:34:07 +01:00
EmanuelFeru 22d52795dc
Update README.md 2019-12-04 20:51:06 +01:00
EmanuelFeru 6e4405c19c
Update README.md 2019-12-01 18:19:59 +01:00
EmanuelFeru 249d93932e Fixed checksum
Fixed a bug when requesting negative speed in the checksum calculation due to data type.
2019-12-01 17:46:48 +01:00
EmanuelFeru 9fdb6d75f5 Fixed checksum
Fixed a bug when requesting negative speed in the checksum calculation due to data type.
2019-12-01 17:38:36 +01:00
EmanuelFeru 1841257078
Update README.md 2019-11-30 11:32:24 +01:00
EmanuelFeru 6c8b7f001d Added Sinusoidal Control Type
Sinusoidal Control Type is now available is this branch. To select it go in config.h and change CTRL_TYP_SEL to 1. By default FOC control type is selcted.
Note: SPEED and TORQUE modes are not available for Sinusoidal control type.
2019-11-30 11:30:12 +01:00
EmanuelFeru 420b95e281 Update webview 2019-11-30 11:20:33 +01:00