Commit Graph

43 Commits

Author SHA1 Message Date
larsm 3e2cfe973a Fixed timeout. Now it is usable for other input methods than nunchuck.
Cosmetical cleanup in motor-test.
2019-06-01 16:17:48 +02:00
larsm ffda2219f1 Added Motor-Test-Mode: Sweep motors slowly forward and backward without any input.
Better config-validation.
Fixed board temperature calculation and serial output when speed > 50.
2019-05-31 19:06:47 +02:00
phail de94812483 debug serial can use USART2 and USART3 2018-09-03 23:56:08 +02:00
larsm 0243eb347e added board temperature calibration, warning and poweroff (rene-dev and me); rearranged config.h; fixed backwards beep overflow; removed duplicate battery-adc-code (rene-dev); improved battery voltage measurement precision; put poweroff procedure to a separate function; poweroff button now only work if field weakening is 0 (otherwise everything will explode) 2018-07-29 17:30:49 +02:00
larsm 612dce68ea fixed serial debug output, backward beep and low bat beeps work now together, low bat beeps can now be disabled, added inactivity timeout 2018-07-25 12:54:13 +02:00
larsm 2932480274 improved low bat detection on other then 10s 2018-07-22 20:34:04 +02:00
larsm a31ea1dcd1 fixed and improved serial debug output 2018-07-22 20:25:40 +02:00
larsm 3d0ed7e9c0 now you set battery alert levels in volt per cell and set number of cells. less annoying battery alert beeps. small cleanup. 2018-07-21 17:37:02 +02:00
larsm dd5a128199 added battery voltage calibration, see config.h 2018-07-21 13:56:23 +02:00
larsm 38cb5992f2 added more setScopeChannel for debug output, fixed line ending in debug output 2018-07-21 12:09:31 +02:00
Niklas Fauth 1d4dd42bde RM: unused uart struct 2018-06-11 23:12:10 +02:00
Niklas Fauth 2d2a9c4d11 UPD: usart control now with steer and speed as control values. Btw this is not tested yet but I don't see why it shouldn't work ;) 2018-06-11 14:48:58 +02:00
Niklas Fauth b3fe48a832 ADD: control via uart. Send two int16 (4 bytes) to usart 2 to control the motors with an arduino or a raspberry pi 2018-06-11 14:29:39 +02:00
larsm 88b26123c2 added lots of comments; added some validation to config.h; improved adc-input: added min and max adc-values, added poti calibration, added adc-values to debug-output; added support for a second button connected to adc2; added INVERT_R_DIRECTION and INVERT_L_DIRECTION; updated readme 2018-05-27 22:16:52 +02:00
Tobias Schramm 2dd9d37bb3 Enhance robustness of PPM parsing
Add additional checks to ensure only valid PPM pulse trains are accepted.
Add auto-idle feature to ensure vehicle stops if PPM signal is lost.

Co-authored-by: Tobias Mädel <t.maedel@alfeld.de>
2018-05-19 19:24:24 +02:00
Niklas Fauth ca525abe96 ADD: re-initialize I2C after comms error 2018-05-11 22:04:12 +02:00
Niklas Fauth 8be7681ebf FIX: ppm interrupt problem 2018-05-11 21:27:21 +02:00
Niklas Fauth 206f67631a ADD: example code for turbo boost 2018-05-08 13:06:10 +02:00
Niklas Fauth 312d08b944 FIX: license information 2018-05-08 13:02:20 +02:00
Niklas Fauth aff32b2bb4 ADD: comments from TomTinkering 2018-05-08 12:51:01 +02:00
Niklas Fauth 47f243b2fe ADD: support for chinese nunchuck 2018-05-06 20:13:11 +02:00
Niklas Fauth 7337a8ae7e ADD: support for chinese nunchuck 2018-05-06 20:11:53 +02:00
Niklas Fauth 0172976057 ADD: make unlock and make flash to Makefile 2018-04-25 19:27:15 +02:00
Niklas Fauth 5a3ed507b2 ADD: UVLO in config 2018-04-09 22:03:19 +02:00
Niklas Fauth de8957536c UPD: more universal codebase for different vehicles 2018-04-09 21:43:59 +02:00
Niklas Fauth 69a14c52a9 ADD: Moving average for Nunchuck readings 2018-04-08 00:15:15 +02:00
Niklas Fauth fd49c006f7 ADD: Wii Nunchuck control 2018-04-08 00:03:35 +02:00
Niklas Fauth 30f8d97694 ADD: analog commands via ADC 2018-02-26 22:00:09 +01:00
Niklas Fauth 8d31eaf8af ADD: analog input for vehicle during hackerhotel 2018-02-18 14:02:05 +01:00
Rene Hopf ff224a2509 adc in 2018-02-18 13:37:50 +01:00
Niklas Fauth b988e09e3e ADD: abs for current measure 2018-02-17 00:19:10 +01:00
Niklas Fauth 6842f7b7fe ADD: buzzer, undervoltage lockout, safe poweroff, foo 2018-02-10 01:37:36 +01:00
Niklas Fauth 10da0983c6 modified the scope function 2018-02-09 10:11:46 +01:00
Niklas Fauth a86574bcea ADD: ppm input 2018-02-09 09:39:47 +01:00
Niklas Fauth 94907b91cf refactored code, moved user-relevant defines to config.h 2018-02-09 08:53:25 +01:00
Rene Hopf 86c6106fb7 current feedback "working" 2018-01-07 03:11:55 +01:00
Rene Hopf 61aff94a26 format 2018-01-06 23:33:34 +01:00
Rene Hopf cd5718e151 cleanup 2018-01-06 23:11:22 +01:00
Rene Hopf 7670cda730 cleanup 2018-01-06 22:59:15 +01:00
Rene Hopf cd72ac6ded dual test 2018-01-06 18:54:51 +01:00
crinq b95d11bd57 foo 2018-01-03 23:55:54 +01:00
crinq 73d5c38c88 vel iff0 2017-12-30 04:07:09 +01:00
crinq 2556a9bbce pwm working 2017-12-30 02:55:59 +01:00