Hobby king has been selling Turnigy SuperBrain Brushless motor controllers for quite some time. These BLDC motor controllers are unique for their functionality and price. Each of these units serves not only as controller but also logs various telemetry data of your system.

The only problem with these motor controllers is, that the shipped software is Win32 only. The Link dongle as such, is simple USBRs232 converter with some microcontroller. The maximum transfer speed is 9600Bauds.

I have been playing with the Superbrain controller for some time, and decided to sniff every transaction there is. All my knowledge has been put into single project that aims to be replacement for stock software – Tgypytool – as I call it.

This tool can be downloaded from github http://github.com/robots/Tgypytool.

What is supported:
- configuration read/write
- log read/clear
- log settings (no access to this feature so far)
- fw write (not tested yet)

The configuration is stored in text file, all available options are in the .py file. I suggest you first read out your config, and modify it. All values are stored as: parameter=value, each on its own line.

Log reading has been implemented. These devices store up to 8 run logs. Everytime log is downloaded, tgypytool splits the downloaded data into corresponding runs.

Another tool included is graphing tool. This tool should read downloaded log data and plot graphs of voltage, current, rpm, etc. I have yet to figure out how these values are calculated.

I have also included small README that includes small howto.

The playing with SuperBrains is not over, I have done little reverse engineering on the firmware – stay tuned for future post :-)

About these ads