You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -515,6 +515,15 @@ const uint8_t shakerStop = 60; // Shaker power while engine stop (max. 255, abou
515
515
516
516
## Changelog (newest on top):
517
517
518
+
### New in V 9.9.0:
519
+
- New NEOPIXEL_UNION_JACK animation for Land Rover ;-)
520
+
- New MAX_POWER_MILLIAMPS setting for Neopixels. This and other optimizations is eliminating the flickering Neopixels issue
521
+
- 3_adjustmentsESC.h: globalAccelerationPercentage allows to adjust the acceleration, if vehicle setting is not OK
522
+
- 4_adjustmentsTransmission.h: lowRangePercentage allows to adjust the acceleration in low transmission (off road) range. Used for MODE1_SHIFTING and WPL 2 speed transmission
523
+
- Channel failsafe changed
524
+
- 2_adjustmentsRemote.h: External SBUS library not required anymore. See option #define EMBEDDED_SBUS. "sbusInverted" moved to remote configuration profiles, so you don't have to change it anymore
525
+
- SBUS still unstable with Flysky remotes! Especially in combination with WIRELESS_TRAILER. Use IBUS in this case! I'm thankful for hints about this bug. Differences: Micro RC is sending an SBUS packet every 14ms, Flysky every 7ms
526
+
518
527
### New in V 9.8.0:
519
528
- Adjustable RECOVERY_HYSTERESIS for battery protection
520
529
- 8_adjustmentsSound.h (masterVolumeCrawlerThreshold) and 3_adjustmentsESC.h (crawlerEscRampTime): switchable crawler mode with just minimal inertia for gearbox protection. Allows to have a "show mode" and a "competition mode"
constuint16_tbrakeMargin=0; // For RZ7886 motor driver and 370 motor = 10
116
116
117
117
// Crawler mode escRampTime (see "8_adjustmentsSound.h") WARNING: a very low setting may damage your transmission!
118
-
constuint8_tcrawlerEscRampTime=10; // about 10, less = more direct control = less virtual inertia
118
+
constuint8_tcrawlerEscRampTime=10; // about 10 (15 for Jeep), less = more direct control = less virtual inertia
119
+
120
+
// Allows to scale vehicle file dependent acceleration
121
+
uint16_tglobalAccelerationPercentage=100; // about 100 - 200% (200 for Jeep) Experimental, may cause automatic transmission shifting issues!
119
122
120
123
/* Battery low discharge protection (only for boards with voltage divider resistors):
121
124
* IMPORTANT: Enter used resistor values in Ohms (Ω) and THEN adjust DIODE_DROP, until your readings match the actual battery voltage! */
@@ -127,9 +130,9 @@ const float RECOVERY_HYSTERESIS = 0.2; // around 0.2 V
127
130
* When selecting resistors, always use two of the same magnitude: Like, for example, 10k/2k, 20k/4k or 100k/20k. NEVER exceed a ratio LOWER than (4:1 = 4)!
128
131
* WARNING: If the ratio is too LOW, like 10k/5k (2:1 = 2), the battery voltage will most likely DAMAGE the controller permanently!
129
132
* Example calculation: 2000 / (2000 + 10000) = 0.166 666 666 7; 7.4 V * 0.167 = 1.2358 V (of 3.3 V maximum on GPIO Pin). */
130
-
constuint16_tRESISTOR_TO_BATTTERY_PLUS=10000; // Value in Ohms (Ω), for example 10000
131
-
constuint16_tRESISTOR_TO_GND=2000; // Value in Ohms (Ω), for example 1000. Measuring exact resistor values before soldering, if possible is recommended!
132
-
constfloatDIODE_DROP=0.34; // Fine adjust measured value and/or consider diode voltage drop (about 0.34V for SS34 diode)
133
+
uint16_tRESISTOR_TO_BATTTERY_PLUS=10000; // Value in Ohms (Ω), for example 10000
134
+
uint16_tRESISTOR_TO_GND=2000; // Value in Ohms (Ω), for example 2000. Measuring exact resistor values before soldering, if possible is recommended!
135
+
floatDIODE_DROP=0.34; // Fine adjust measured value and/or consider diode voltage drop (about 0.34V for SS34 diode)
133
136
/* It is recommended to add a sticker to your ESP32, which includes the 3 calibration values above */
134
137
volatileintoutOfFuelVolumePercentage=80; // Adjust the message volume in %
Copy file name to clipboardExpand all lines: src/6_adjustmentsLights.h
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#include<Arduino.h>
2
2
3
-
/* General LIGHTS SETTINGS ************************************************************************************************
3
+
/* General LIGHTS SETTINGS ***********************************************************************************************************************
4
4
*
5
5
* Most lights settings are done in the vehicle configuration files in the /vehicles/ directory.
6
6
*
@@ -10,12 +10,14 @@
10
10
//#define NEOPIXEL_ENABLED // GPIO0 used for WS2812 Neopixel control, if defined!
11
11
#defineNEOPIXEL_COUNT 8 // How many Neopixels? 8 for Knight Rider, 3 for B33lz3bub
12
12
#defineNEOPIXEL_BRIGHTNESS 127 // Brightness (255 is the maximum)
13
+
#defineMAX_POWER_MILLIAMPS 100 // Maximum allowed current draw in mA (100 recommended, depending on your 5V supply)
13
14
14
-
// Choose the mode you want
15
+
// Choose the animation you want
15
16
//#define NEOPIXEL_DEMO // Demo
16
17
//#define NEOPIXEL_KNIGHT_RIDER // Knight Rider scanner animation for 8 LED (use it in combination with "kittScanner.h" "siren" sound in your vehicle file)
17
-
#defineNEOPIXEL_BLUELIGHT// Bluelight animation for 8 LED
18
-
//#define NEOPIXEL_HIGHBEAM // Neopixel bar is used as high beam as well, if defined. Also usable in combination with NEOPIXEL_KNIGHT_RIDER & NEOPIXEL_BLUELIGHT
18
+
//#define NEOPIXEL_BLUELIGHT // Bluelight animation for 8 LED
19
+
#defineNEOPIXEL_UNION_JACK// United Kingdom animation for 8 LED (use it in combination with "BritishNationalAnthemSiren.h" sound in your vehicle file)
20
+
#defineNEOPIXEL_HIGHBEAM// Neopixel bar is used as high beam as well, if defined. Also usable in combination with NEOPIXEL_KNIGHT_RIDER & NEOPIXEL_BLUELIGHT
19
21
//#define NEOPIXEL_B33LZ3BUB // B33lz3bub Austria animation for 3 LED: https://www.rc-modellbau-portal.de/index.php?threads/baubericht-mercedes-actros-1851-gigaspace-tamiya.14349/page-3
20
22
21
23
@@ -33,9 +35,9 @@
33
35
34
36
// Adjust the brightness of your lights here -----------------------------------------------------------------------------------------------------
35
37
// All brightness values 0 - 255
36
-
uint8_tcabLightsBrightness=255; // Usually 255, 100 for Actros
38
+
uint8_tcabLightsBrightness=255; // Usually 255, 100 for Actros & Ural
37
39
uint8_tsideLightsBrightness=200; // Usually 200, 100 for WPL C44, 50 for Landy, 100 for P407, 150 for Actros
38
40
uint8_trearlightDimmedBrightness=30; // tailligt brightness, if not braking, about 30
39
41
uint8_trearlightParkingBrightness=0; // 0, if you want the taillights being off, if side lights are on, or about 5 if you want them on (0 for US Mode)
40
42
uint8_theadlightParkingBrightness=0; // 0, if you want the headlights being off, if side lights are on, or about 5 if you want them on (0 for US Mode)
41
-
uint8_treversingLightBrightness=140; // Around 140, 50 for Landy
43
+
uint8_treversingLightBrightness=140; // Around 140, 50 for Landy & Ural
0 commit comments