A KIWI Omni drive firmware for the Malenki Nano all-in-one RX & Tri-ESC platform
- MarkR42 origional creator of the Malenki ESC
- Turnabot Well known seller, & Knowledge of ESC flashing
- MacroBot.us Discord Tech help & Laughs
- Tom_Bottiglieri & Joel Johnson on ChiefDelphi Origional Equations for Kiwi Mixing
- This program uses the base files released before 6/22/23
- 6/22/23 - deploy
- 5/7/24 - new revision with "better" equations
To control you need access to three channels. Ex. Flysky FS-i6 the right stick up/down will be your forward & backward, right stick left/right will be strafe left & right, left stick left/right will be your turn left & right
To flash new firmware, you need to connect to the SOICbite debug pads, the pinout is listed below
pin # | usage | pin # | usage |
---|---|---|---|
1 |
VBAT (5V) | 8 |
TXDEBUG |
2 |
nc | 7 |
nc |
3 |
GND | 6 |
UPDI interface |
4 |
GND | 5 |
nc |
Pin 8 is the top pin on the front, and pin 1 is the top pin on the back, and is indicated with a white outline, shown below.
The flashing instructions are listed in an issue request on the Malenki-nano Repo.
install the listed programs and libraries, and use the script flash1616.sh to flash the Malenki Nano with the bin file.
You can also compile your own code with the instructions given here
The three channels of the Malenki lend well to this usage, with the addition of the third channel allowing movement in all 360 degrees.
Equations:
Motor 4 = Right Motor, Motor 5 = Left Motor, Motor 6 = Back Motor, assuming the very front has no wheel.
(left, right, & back are final motor outputs, but may need to be mapped to standard 1000-2000ms PWM for your usage)
- input numbers should be in the form of EX. +-100, +-400, +-1000, as long as 0=no movement
- as your numbers get bigger, it theoretically gets more accurate, but is harder to calculate
- 4 digit truncated values have replaced the sqrt(x) values and xpi/y values.
- these equations can be
easilyadapted to your own program, throttle is the up/down movement on the right stick of your tx, steering is the left/right movement on the right stick of your tx, and throttle is the left/right movement on the left stick of your tx, photo attached below.
For support, dm dat_monkey06two
on discord, find him on the MACRObot.us discord
By using this, please understand that this program has been butchered from the origional code written by Mark R, It should work, but it is extremely at your own risk, you must test it before use in any copmbat or technical environment.