Alternative ESC firmware (reflashing)

Post Reply
confused_individual
Posts: 1
Joined: Sun Mar 04, 2012 1:44 am

Re: Alternative ESC firmware (reflashing)

Post by confused_individual »

Hi all,

Firstly - wow! Your firmware is solving the rather huge problem of getting an arduino to talk to an ESC. Thank you so much Quax and ziss_dm!!

However, I'm having (what I think is) a slightly odd problem:

I've got an Arduino Duemilanove and some 'Black Mantis' 30A ESC (blueseries brand - http://static.rcgroups.net/forums/attac ... %20row.jpg)

I've flashed the hex made up of the 'Mystery20A_nFET' and input 'pwm_arduino_250' files. Everything went ok, but I'm not too sure what the fuse settings should be (or whether I need to touch them at all - but I don't think this is the problem.)

Then I've connected everything together (with the esc signal in the correct arduino port, and the brown going into the ground.) A program on the arduino is set up to output a slowly increasing analogwrite value of 0 to 200 and back again (takes about a minute then repeats.)

BUT, the ESC is not arming. Here's where it gets odd though - when I take out the ground (brown) wire and touch it (with my geeky, sweaty fingers), the esc beeps (arms) and the motor starts twitching. When I put the wire back into the arduino, everything is fine and the motor starts up and follows the programmed values.

The ESC also *sometimes* arms when the ground is disconnected before I switch everything on (without having to touch the end of it.)

Do I have to send some particular signal to arm the ESC with the firmware?
- I've tried starting the ESC with analogwrite values of 0, 5, 6, 10, 20, 25 and even 50 and 100.
- If this is the solution, why would me touching the ground signal have an effect?
Are there any settings in the .inc files I need to change to get it to work?
- The 'Mystery20A_nFET.inc' Preferences section does not have an 'Overclock' section (as described on the google code wiki) which says that enabling this can have the effect of the esc not arming.


(I've read every page of this thread, but sorry if I've missed something.)

Many thanks,
Rich

ALSO - can't really donate much (as a poor student), but if you were to add a 'donate' button, or send me a paypal address, I'd at least like to offer you a couple of pints.

funth1ngs
Posts: 68
Joined: Tue Aug 09, 2011 8:37 pm

Re: Alternative ESC firmware (reflashing)

Post by funth1ngs »

Hi Rich,

confused_individual wrote:- I've tried starting the ESC with analogwrite values of 0, 5, 6, 10, 20, 25 and even 50 and 100.


I don't know Arduino very well, but the AnalogWrite docu says that with 0 the pin is always low. And with 5, the high pulse is maybe too long, because MIN_RC_PULS=18 with pwm_arduino_250.

Try 1 or 2 as AnalogWrite values to "arm" the ESC.

Cheers,
Heiko.

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

Hello guys.
I'm absolutelly confused with MT3506 motor..
So, there is still nobody made it work well on 4s lipo?
My configuration is:
Mt3506 motor
Rctimer 18a on atmega
4s lipo
11x5 prop

Today i have tryed to flash simonk firmware and many different versions of WII firmware with different options. But there is still no success :( Two problems with different versions of wii firmware:
1. On some versions motor just do not start properly (oscilating all the time on any throttle stick position)
2. On other version it starts good, but on throttle increase just resets

So, there is still no solution of those problems or i just use wrong firmware?

User avatar
howardhb
Posts: 189
Joined: Tue Oct 11, 2011 7:10 pm
Location: Port Elizabeth, South Africa

Re: Alternative ESC firmware (reflashing)

Post by howardhb »

After procrastinating for a long time, I've flashed the three HK Super Simple 20Amp ESC's on my Tri-copter with latest TGY firmware.
Instead of just soldering the programming wires, I made a "clamp" type connector from a plastic clothes-peg and hot-melt glue.
ESC_RE-FLASH connect tool.jpg

I'm using an AVRISPmkII with AVRStudio.
A handy feature of the AVRISPmkII its that it has a status LED that indicates a good connection to the pads on the ESC.
ESC_RE-FLASH tool. Connecting.jpg

I got lazy after removing the shrink sleeve and flashing the first one...
Simply cut a small "window" in the correct position in the shrink tube....apply the clamp - Voila!
Lazy Connect.jpg


I calibrated all three esc's (together) on a tri-Y-lead to a servo-tester.
I'm soo glad I've finally done this!
There is no more irritating "whine" from the motors, no more "clicking" noise!
There is a remarkable difference in the "feel" of the copter.
It's more stable in the wind and responds to turbulence far better.

THANK-YOU to everyone that contributed to getting it right!

Howard.

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi,

@Rich
"pwm_arduino_250" accepts pulse lengthes 16-2016 which corresponds to the analogWrite(2-252). With analogWrite(2) it should arm. With wii-esc you should use "original" fuses, e.g 16Mhz external oscillator (if you not planning to use bootloader)

@Wishnu
Can you please flash "latest" version froom here:
http://code.google.com/p/wii-esc/source ... vn%2Ftrunk
It should not reset.

regards,
ziss_dm

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

ziss_dm wrote:Hi,
@Wishnu
Can you please flash "latest" version froom here:
http://code.google.com/p/wii-esc/source ... vn%2Ftrunk
It should not reset.

regards,
ziss_dm


Thank you! Now it do not resets :)
But one more question.
With the regular ESC firmware i've got 920gramms of thrust with my motor +12x3.8APC
With WII firmware i've got only 760gramms of thrust with the same setup. What do i need to change in the skatch? Seems like the motor just do not get the highest RPM

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Wishnu,

Now it do not resets


This is good to know.. ;)

With the regular ESC firmware i've got 920gramms of thrust with my motor +12x3.8APC
With WII firmware i've got only 760gramms


You actually second one, who reported power drop. ;( I will try to investigate in next couple of days.

regards,
ziss_dm

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

ziss_dm wrote:Hi Wishnu,
You actually second one, who reported power drop. ;( I will try to investigate in next couple of days.

regards,
ziss_dm

I've found out, that with the pwm_arduino_250 the thrust is about 850-870 gramms which is near stock firmware 920gr

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Wishnu,

What input profile you was using initially?

regards,
ziss_dm

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

initially i use pwm_fast_250
Later i have tryed to use pwm_fast_200 and it works okay - thrust ~900gr again.
So i think it's my mistake - i've choosen wrong input profile :oops:

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Wishnu,

pwm_fast_200 - range 1100-1900us
pwm_fast_250 - range 1000-2000us

So, most likelly your transmitter was not able to generate 2000us pulses.

regards,
ziss_dm

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

how to attach wires to blueseries 12A ESCs? Those have no pads and I cannot solder to the tqfp atmega8 pins directly (no appropriate tools and insufficient eyesight even with mag-glasses). I had hopes something like a socket type thing would exist that could be used - but came up empty.

I own 8 of these ESCs I want to use but cannot currently convert. Any advice how to proceed or any volunteers for a round of brewery produce?

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: Alternative ESC firmware (reflashing)

Post by LenzGr »

Hamburger wrote:how to attach wires to blueseries 12A ESCs? Those have no pads and I cannot solder to the tqfp atmega8 pins directly (no appropriate tools and insufficient eyesight even with mag-glasses). I had hopes something like a socket type thing would exist that could be used - but came up empty.

This page on the OpenPilot Wiki lists a number of possible approaches. I like the one where they used modeling clay :)

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Hamburger,

I have committed small change which allows you to adjust timing advance..

Code: Select all

#define    TIMING_ADV          0|1|2|3


I think, slightly increasing timing you can regain power loss, but probably in expense of efficiency.

regards,
ziss_dm

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

Hellow ziss_dm,
can i somehow limit the range 1100-1700us instead of 1100-1900us?

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

LenzGr wrote:This page on the OpenPilot Wiki lists a number of possible approaches. I like the one where they used modeling clay :)


I built an adapter with modeling clay (tradename FIMO) and pogo pins for blueseries 20A P/N-fet with pads not in row. Flashing with the adapter works sometimes (1 out of 8). very cool.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

ziss_dm wrote:I have committed small change which allows you to adjust timing advance..

Code: Select all

#define    TIMING_ADV          0|1|2|3


I think, slightly increasing timing you can regain power loss, but probably in expense of efficiency.

Hi ziss_dm,
will test and report back asap.
Thanks, Hamburger

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Wishnu,

can i somehow limit the range 1100-1700us instead of 1100-1900us?


Do you mean limit max power or scale power within narrow pulse range?

regards,
ziss_dm

Wishnu
Posts: 6
Joined: Tue Mar 22, 2011 5:45 pm

Re: Alternative ESC firmware (reflashing)

Post by Wishnu »

I mean limit max power

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi Wishnu,

There is a way to limit max power (you need to modify <input>.inc or better to create your own one):
viewtopic.php?f=13&t=516&start=170#p5063

regards,
ziss_dm

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Hello,
I have couple of HK 30A ESC and I' like to know if they are reflashable (and with which HW .inc)
http://www.hobbyking.com/hobbyking/stor ... FUBEC.html
and pictures attached.

Best Regards
Attachments
DOWN.jpg
UP.jpg

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

I am far from being an expert on this topic, but to me the fets appear to be all same, so I'd say nfet only.
Do you know this list of ESCs https://docs.google.com/spreadsheet/ccc ... ZRlE#gid=0 ?
It is not complete, especially about P/N and N-only variants, but may be helpful.

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Hamburger wrote:I am far from being an expert on this topic, but to me the fets appear to be all same, so I'd say nfet only.
Do you know this list of ESCs https://docs.google.com/spreadsheet/ccc ... ZRlE#gid=0 ?
It is not complete, especially about P/N and N-only variants, but may be helpful.

Thank you!
Yes all FETs are the same and it is F-30A (from line 16) and bs_nfet.hex!
The question is what HW configuration from ziss_dm's firmware branch is correct (or what is the difference between Ziss_dm's and Simonk's firmwares)?

Regards
Andrej

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

dunno.
Mystery20A_nFET seems like a good start. It definitely is for an all N-FET type. With the list for the SimonK firmware, having or not having a crystal seems to make a difference. The Mystery20A_nFET do have a crystal.
But I do not know, better ask the man.

User avatar
fr3d
Posts: 97
Joined: Sun Feb 06, 2011 11:21 am
Location: Cappelle la grande near the ch'ti village
Contact:

Re: Alternative ESC firmware (reflashing)

Post by fr3d »

hi,

I would like to reflash my DYS 30A, where can I found the firmware ?

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Hamburger wrote:dunno.
Mystery20A_nFET seems like a good start. It definitely is for an all N-FET type. With the list for the SimonK firmware, having or not having a crystal seems to make a difference. The Mystery20A_nFET do have a crystal.
But I do not know, better ask the man.

Yep!
You were right it works with Mystery20A_nFET.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

crashlander wrote:Yep!
You were right it works with Mystery20A_nFET.

glad it worked out for you.
Could you please compare the maximum thrust you get
- from flashed ESC
with
- the stock ESC?
Wih wii-esc I loose the last 5% of thrust. Ziss_dm gave some advice to correct that. Now I am in the process of experimenting.

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Hamburger wrote:....
- from flashed ESC
with
- the stock ESC?
....


My tests shows same thrust between original ESC and flashed one.
I have tested before-mentioned ESC with KDA 20-28M and 10x4.5 prop., I have slowly increased throttle from stop (2 on extended range ESC and 125 normal) up-to 254 and consistently got 6.6N of thrust in both cases.
The Amp. draw was slightly higher with original ESC (after reaching maximum TH, I let the engine run for 5s).

Regards
Andrej

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

cool.
Thanks for checking.

User avatar
Gaijin
Posts: 82
Joined: Sat Jan 14, 2012 8:00 am

Re: Alternative ESC firmware (reflashing)

Post by Gaijin »

I built a simple ESC flashing tool (for ESC's with pads e.g HK SS30A AND 20A, Hobbyking F-20A) from a 2x3 pin header plug, the pins from servo connectors and a UsbAsp programmer, no need to clamp as it's so quick

http://www.rcgroups.com/forums/showpost.php?p=21262287&postcount=1970

However I've found the quad to be overshooting/ hunting and somewhat unstable with re-flashed high performance esc's (otherwise the same combination flown before), can someone suggest a more suitable default set of PID's to start tuning from, i haven't really mastered PID tuning yet

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

Hi again,
I want to flash 3 old Plush 10A ESCs. What should I use?
- input: pwm-arduino-250, because I want to run it from MWii with maximum possible throttle resolution ,
- hw: plush30A or plush30A-16MHz <- is this a choice on my part or depending on the ESC hardware? how to decide?
Thanks.

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi,

With pwm-arduino-250 it is better to use plush30A, as plush30A-16MHz uses "overclocked" internal RC resonator.

http://code.google.com/p/wii-esc/wiki/H ... figuration

It is not recommended to use this option with ArduinoPWM input method (or should carefully be tested on the ground) because this method has low tolerance margins and the overclocked RC generator working on 16Mhz has significant variations. The usual symptoms are:
•Esc not arming.
•Stops at full throttle (it is hard to diagnose with MWC as it reserves some throttle, it is better to use simple arduino sketch to test it).
Also over clocked RC oscillator has lower thermal stability.


regards,
ziss_dm

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

Thanks. Will try asap.

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

update on the Plush 10A: done. It works. (I had one motor stop in mid air exactly once, but could not yet reproduce.)
Is it just me or is the whining noise from wii-esc @ 8MHz worse than with original firmware (which runs @ 8MHz as well, afaik) ?

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

2nd ugly update on Plush 10A: I was flying outside in gusts of 20km/h at 5 deg Celsius and had 3 crashes from motor stopping. (the motor would stop and restart soon after, but too late for copter) This happened when I was flying at maybe 60 to 70% throttle already and did increase throttle to almost full. Btw. I cannot reproduce this with copter tied to floor and a simple full throttle command.

Over at RCG I did find some info this had happened to one user with the simonk firmware and Plush 10A earlier. I could not find if the issue was somehow solved.

I would not wish to revert this copter back to the former Plush 12A silab originals; the difference in fine response granularity and stability is too convincing. But constantly crashing is not an option either.

Any input to fix this?
Hamburger

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi,
Sounds like RC oscillator has too big variation. You probably have two options: calibrate them or use 100 or 200 points input methods.

Btw: on the ground, you testing with Mwc or test sketch?

Regards,
Ziss_dm

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

Hi ziss_dm,
How could I calibrate? I thought wii.esc has no calibfation included?
Or for 200 points, what is the usecond range, or the MWii code?
Ground test I did with mwc, not test sketch.
Thank you.

ziss_dm
Posts: 529
Joined: Tue Mar 08, 2011 5:26 am

Re: Alternative ESC firmware (reflashing)

Post by ziss_dm »

Hi,

http://code.google.com/p/wii-esc/wiki/H ... figuration

READ_CALIBRATION¶

(yes|no) – On boards without external crystal, the internal clock source (8 MHz) must be used. Due to manufacturing tolerances, it's possible to calibrate it with an external program (e.g. PonyProg?). The calibration value is stored in the EEPROM and can be used by this firmware. It should be disabled on boards with external resonator or when OVERCLOCK is defined.


Basically it reads last byte of EEPROM and writes it to the OSCCAL register. There are official Atmel procedure, but it possible to do it emperically: find limit values and set something in the middle.

The range: 1100-1900us

It is better to use test sketch, as MWC reserves some throttlle at the end of the range.

redgards,
ziss_dm

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

thanks. Next time I will RTFM before asking.
After all, the Plush ESC do not seem to be a good choice.
I wull try the 200 points input method. Should be interesting to see the difference between the 200points and the stock firmware. Either way I loose the higher resolution on the MWii side.
Btw. I use 2S battery and emax gt 2203 like here http://www.modelpascher.com/catalog/pro ... ct99stjd95
Cheers

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Hamburger wrote:update on the Plush 10A: done. It works. (I had one motor stop in mid air exactly once, but could not yet reproduce.)
Is it just me or is the whining noise from wii-esc @ 8MHz worse than with original firmware (which runs @ 8MHz as well, afaik) ?


I'm running QuadX with three HK F-30A (with external oscillator, from few posts back) and one Plush 30A (destroyed original HK F-30A during soldering and testing) and can confirm that motor with Plush makes REALY annoying whining noise. Otherwise Plush works good for me.

Regards Andrej

crashlander
Posts: 506
Joined: Thu May 05, 2011 8:13 am
Location: Slovenia

Re: Alternative ESC firmware (reflashing)

Post by crashlander »

Gaijin wrote:I built a simple ESC flashing tool (for ESC's with pads e.g HK SS30A AND 20A, Hobbyking F-20A) from a 2x3 pin header plug, the pins from servo connectors and a UsbAsp programmer, no need to clamp as it's so quick

http://www.rcgroups.com/forums/showpost.php?p=21262287&postcount=1970

However I've found the quad to be overshooting/ hunting and somewhat unstable with re-flashed high performance esc's (otherwise the same combination flown before), can someone suggest a more suitable default set of PID's to start tuning from, i haven't really mastered PID tuning yet


Like Hamburger said few posts back you can probable double P (at least I'm running now with P=8.6) but since I can observe slight oscillations (couple mm on hand end) I have increased D (now D=25 but will probably go higher). I'm running it on a ProMini. But my Quad is now really stable and locked in on roll and pitch.

Regards Andrej

User avatar
NikTheGreek
Posts: 348
Joined: Thu Dec 08, 2011 4:17 pm
Location: Greece
Contact:

Re: Alternative ESC firmware (reflashing)

Post by NikTheGreek »

Hi.
Did Anyone managed to flash towerpro 18A esc.with new firmware ?

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

3rd happy update on Plush 10A: I flashed with pwm-200-fast, reset the MWii to output normal pwm range and it worked. Today I flew 4 packs in strong wind with gusts and had not a single motor stop in midair. Actually, I like the sound of the 200 steps@ 8MHz combo, reminds me of oldschool Hughes helis. Maybe I am simply getting deaf.

Thanks again. Hamburger

User avatar
Hamburger
Posts: 2578
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: Alternative ESC firmware (reflashing)

Post by Hamburger »

my largest TRI has Blueseries 20A flashed to r195 (thanks ziss_dm) with turnigy 2205 motors.
Now I changed the motors to something bigger: Turnigy 2209 28turn 1050kv 15A Outrunner
Kv: 1050rpm/v
Operating Current: 4A ~ 12A
Peak Current: 15A
Suggested prop: 9x4.7
Weight: 46g
Dimensions: 27.6 x 28mm

Still running on 3S.
Overall it works, but with one motor I usually observe the following:
upon arming all motors start to spin, when slowly increasing throttle, that one motor looses sync and stops, tries to catchup again, looses sync and stops ...
Usually disarming & arming again helps.
Any ESC config parameter I could tune or should I increase minthrottle in MWii?

Raptor4
Posts: 6
Joined: Sat May 05, 2012 9:32 am

Re: Alternative ESC firmware (reflashing)

Post by Raptor4 »

Hello!

I have sync problems with the MT3506 motor and flashed 30A Maytech V1 esc (all n-fet) with simonK firmware. Will use the combo with my Mikrokopter Octo and precision I2C to PWM converter from abusemark.

So found the wii firmware to eliminate the sync problems, but can´t make a hex file for flashing!

So please, can somebody help me with the hex (for Mikrokopter with 30A Maytech and MT3506 motor) file?

Thank you in advance!

Thanks!
Raptor4

funth1ngs
Posts: 68
Joined: Tue Aug 09, 2011 8:37 pm

Re: Alternative ESC firmware (reflashing)

Post by funth1ngs »

Hi Raptor4,

here is r195 with default settings for all nFET boards.

Cheers,
Heiko
Attachments
Mystery20A_nFET_r195.zip
(2.41 KiB) Downloaded 221 times

Raptor4
Posts: 6
Joined: Sat May 05, 2012 9:32 am

Re: Alternative ESC firmware (reflashing)

Post by Raptor4 »

Hello Heiko!

Thank You very much!

Flashed my esc´s with your hex file. Everything is ok, but the motors start at min 40 (in koptertool). Normally they start at min 18 with simonk firmware. So it´s because of the throttle range. Is there a way to change it?

Thank You!

Eugen

funth1ngs
Posts: 68
Joined: Tue Aug 09, 2011 8:37 pm

Re: Alternative ESC firmware (reflashing)

Post by funth1ngs »

Hi Eugen,

I guess you are using TC's converter? Try to set pulse range from 1100 - 1900 ms.

Cheers,
Heiko

Raptor4
Posts: 6
Joined: Sat May 05, 2012 9:32 am

Re: Alternative ESC firmware (reflashing)

Post by Raptor4 »

Hi Heiko!

With the puls range 1100-1900 ms the motors don´t start! The last puls range was 1000-2000ms in TC`s converter and the motors start at 40.

Cheers,
Eugen

funth1ngs
Posts: 68
Joined: Tue Aug 09, 2011 8:37 pm

Re: Alternative ESC firmware (reflashing)

Post by funth1ngs »

Hm!

Try 1090 or 1050 ms as min pulse. Find the highest value which will start the motors.

Cheers,
Heiko

Post Reply