2018-09-18, 08:05 AM
(This post was last modified: 2019-03-30, 01:59 PM by seandepagnier.)
If you wish to build your own controller, to be clear, there are several options possible:
1) implement an hbridge using 4 mosfets. This is what I have done for higher current hydraulic motor controllers. This gives the best efficiency, but is the most complicated build.
2) use pwm style motor controller (not rc style) and make appropriate code changes. (edit: now code supports it via VNH2SP30 ifdef)
3) use brushed esc with rc pwm control, but beware, many reversing brushed esc limit reverse speed to 50%
4) use brushless esc reprogrammed to drive a brushed motor
for using rc style brushless esc based on atmega8 I have provided source code to work on simonk compatible brushless esc:
github.com/seandepagnier/brushed_tgy
afro_nfet.inc -- afro esc (no longer in production)
bs_nfet.inc -- blue series esc (no longer in production)
tp_nfet.inc -- tower pro and this covers most recent clones however I do not guarantee it
for recent simonk clones:
Probe the circuit board to determine which io pins it is using or there is potential that it will destroy the esc.
There may not be a working bootloader, requiring you to solder to the pads. Not all clones have accessible pads, in this case, solder to the legs of the atmega8.
Some clones use the internal rc oscillator, others use an external resonator. This needs to be set in the include file by F_CPU either 8mhz or 16mhz
Some clones have a working thermistor. If this is missing, there may be no temperature protection, however, you can position the thermistor on the arduino near the mosfets.
1) implement an hbridge using 4 mosfets. This is what I have done for higher current hydraulic motor controllers. This gives the best efficiency, but is the most complicated build.
2) use pwm style motor controller (not rc style) and make appropriate code changes. (edit: now code supports it via VNH2SP30 ifdef)
3) use brushed esc with rc pwm control, but beware, many reversing brushed esc limit reverse speed to 50%
4) use brushless esc reprogrammed to drive a brushed motor
for using rc style brushless esc based on atmega8 I have provided source code to work on simonk compatible brushless esc:
github.com/seandepagnier/brushed_tgy
afro_nfet.inc -- afro esc (no longer in production)
bs_nfet.inc -- blue series esc (no longer in production)
tp_nfet.inc -- tower pro and this covers most recent clones however I do not guarantee it
for recent simonk clones:
Probe the circuit board to determine which io pins it is using or there is potential that it will destroy the esc.
There may not be a working bootloader, requiring you to solder to the pads. Not all clones have accessible pads, in this case, solder to the legs of the atmega8.
Some clones use the internal rc oscillator, others use an external resonator. This needs to be set in the include file by F_CPU either 8mhz or 16mhz
Some clones have a working thermistor. If this is missing, there may be no temperature protection, however, you can position the thermistor on the arduino near the mosfets.