You can try to increase startup power:
Code: Select all
#define PCT_PWR_STARTUP 20
#define PCT_PWR_MAX_STARTUP 25
regards,
ziss_dm
Code: Select all
#define PCT_PWR_STARTUP 20
#define PCT_PWR_MAX_STARTUP 25
funth1ngs wrote:Hi all!
@Andrej
I used Mystery20A and pwm_fast_200 with the TY-P1. Which revision/tag are you using?
Cheers,
Heiko.
ziss_dm wrote:Hi Andrej,
You can try to increase startup power:Code: Select all
#define PCT_PWR_STARTUP 20
#define PCT_PWR_MAX_STARTUP 25
regards,
ziss_dm
ziss_dm wrote:Hi Andrej,
Even without prop? Have you removed BEMF caps?
regards,
ziss_dm
crashlander wrote:Hello,
my tests are without props, but haven't removed BEMF caps. If you please mark them on the picture (TY-P1), I can do that.
Regards
Andrej
funth1ngs wrote:Hi Andrej,
Did you set the fuses to ext. crystal / high frequency?
Can you confirm that your ESC is 100% identical to the one shown on the pictures?
Do you have another motor to test with?
Cheers,
Heiko.
ziss_dm wrote:@Heiko
So, this board has all n-FETs but they are not inverted?
Why it is neccesary to change fuses?
Maybe it is better to pre-charge bootstrap capacitors for this board?
ziss_dm wrote:Hi crashlander,
Forget my question about BEMF caps, somhow I have missed that you are talking not about Mystery ESC.
But another question still remains: Is it starting motor(s) without props?
@Heiko
So, this board has all n-FETs but they are not inverted?
Why it is neccesary to change fuses?
Maybe it is better to pre-charge bootstrap capacitors for this board?
regards,
ziss_dm
crashlander wrote:I have not intentionally change fuses (I'm so fresh in AVR programing) so I'm using ziss_dm's manual how to upload using Arduino as ISP programer and modified _make.cmd form SVN (I'm Mac user that's why modified).
Regards.
Code: Select all
avrdude.exe -C avrdude.conf -v -p m8 -P comX -c avrisp -b 19200 -e
avrdude.exe -C avrdude.conf -v -p m8 -P comX -c avrisp -b 19200 -U lfuse:w:0x3f:m -U hfuse:w:0xcf:m
ziss_dm wrote:Hi Andrej,
Is it beepeng after power-up?
regards,
ziss_dm
I just tried Heiko's fuse settings (my original was different only in brown-out voltage). Since the symptoms are still present I'm posting avrdude output.
wektorx wrote:...
01.12.11-00:22:16-900 > Cmd.WriteFlash.ResCheck() Error: Verify failed
...
Code: Select all
.equ UseVerify = 0 ; Verify FLASH command (FLASH write/erase have implicit verify, can be deactivated)
funth1ngs wrote:- Flash .\Bin\ESCBL1.hex via ISP an set the fuses BOOTRST and BOOTSZ (512 words).
Code: Select all
-U lfuse:w:0x3f:m -U hfuse:w:0xca:m
Code: Select all
01.12.11-10:09:23-734 > Connecting on port COM3...
01.12.11-10:09:23-796 > Switch to 1-Wire mode
01.12.11-10:09:28-390 > Device connected
01.12.11-10:09:28-390 > Program...
01.12.11-10:09:28-390 > execute compiled data
01.12.11-10:09:28-390 > selected options in compiled file:
01.12.11-10:09:28-390 > - programming FLASH
01.12.11-10:09:28-390 > - erase FLASH during programming
01.12.11-10:09:28-390 > - full verify FLASH after programing
01.12.11-10:09:29-421 > executed in 1,03 sec
01.12.11-10:09:29-437 > Device disconnected
01.12.11-10:09:40-906 > Connecting on port COM3...
01.12.11-10:09:40-968 > Switch to 1-Wire mode
01.12.11-10:09:46-718 > Device connected
01.12.11-10:09:46-718 > Program...
01.12.11-10:09:46-718 > execute compiled data
01.12.11-10:09:46-718 > selected options in compiled file:
01.12.11-10:09:46-718 > - programming FLASH
01.12.11-10:09:46-718 > - erase FLASH during programming
01.12.11-10:09:47-546 > executed in 0,83 sec
01.12.11-10:09:47-578 > Device disconnected
wektorx wrote:Is it safe to flash (AVRootloader) ESC with connected battery?
ziss_dm wrote:Almost.. rpm = (motor rpm * rotor poles) / 2.
ENOUGH_GOODIES - number of successful electrical rotations before checking RPM.
RPM_START_MIN_RPM - minimal RPM for transition to run
RPM_STEP_INITIAL, RPM_STEP_MAX - initially when there no back EMF, it starts commutation with RPM_STEP_INITIAL speed and accelerates up to RPM_STEP_MAX. For a good start you need to provide enough power to rotate motor (with load) at least at RPM_STEP_INITIAL and motor should be able to produce detectable back EMF somewhere inside this range.
RPM_RUN_MIN_RPM - below this RPM it exits from run mode. Currently we have 2 cases:
- if current power is lower than PCT_PWR_MAX_STARTUP it goes to startup
- if higher - resetCode: Select all
PWR_CURVE_POINT(01, 3500, 25)
PWR_CURVE_POINT(02, 7000, 50)
Basically it says that below 3500 limit power to 25% and below 7000 limit power to 50%. It is done to prevent overcurrent in case you put WOT at low rpm.
This way everyone can contribute(I'm a bad writer.. )
ziss_dm wrote:Hi Everyone,
What do you think, about releasing v 1.0 of FW? Any outstanding issues or missed/ignored suggestions left?
regards,
ziss_dm
My questions are:
do you have a firmware for all N-Fet setup?
do you have experience with IR2101 setups with hi-side PWM
Code: Select all
#define DbgLEDOff sbi PORTD,2
#define DbgLEDOn cbi PORTD,2
; FET Control *****************************************************************
Please have a look on it. I'm not quite shure about port inits and AnRef.
Code: Select all
#define INIT_PD 0
#define DIR_PD (1<<c_comp)+(1<<rcp_in)
#define BRAKE_PD (1<<CnFET)+(1<<BnFET))+(1<<AnFET)
Code: Select all
#define INIT_PD 0
#define DIR_PD (1<<AnFET)+(1<<BpFET))+(1<<BnFET)+(1<<BpFET)+(1<<CnFET))+(1<<CpFET)
#define BRAKE_PD (1<<AnFET)++(1<<BnFET)+(1<<CnFET))
Where can I find infos for a complete tournaround to save/reflash firmware.
I have some expierence with AVR Studio and STK500v2 compatible ISP prommers, not with AVRdude.
Code: Select all
Firmware to use? ZCFastSlow or v0.12
I have find 1 bug.... if I slowly decrease the input down to 900us (with servotester) The motor is making (little) sound (startup active?).
If I decrease fast everything is shut down correctly.
ziss_dm wrote:Hi Rob,I have find 1 bug.... if I slowly decrease the input down to 900us (with servotester) The motor is making (little) sound (startup active?).
If I decrease fast everything is shut down correctly.
Should be fixed. An I also cleaned-up Qynx20A.inc.
regards,
ziss_dm
ziss_dm wrote:Hi EOSBandi,
Are you testing them with exactly the same setup? Same voltage/motor/prop?
EDIT: I have found schematic of Plush 6A: http://wii-esc.googlecode.com/svn/doc/Schematics/6a.pdf
Could you please confirm that this matches your board, especially comparator connections. If yes, we would need to create special configuration for them as it slightly different from normal Plushes.
EDIT2: In case your board looks exactly like here: http://home.versanet.de/~b-konze/blc_6a/blc_6a.htm. I have commited HW profile for it. Please be carefull when testing it.
regards,
ziss_dm
Synthex wrote:I would like to know if the Hobbyking SS Series 25-30A ESC
SKU (HK-SS30A @ $5.99) works well with MultiWii ?
it uses a Atmega8 or a C8051F330 ?
This ESC has need to be reprogrammed to work better ?
Is there a firmware for it ?
Thanks a lot for your answers !
funth1ngs wrote:Hi Synthex,Synthex wrote:I would like to know if the Hobbyking SS Series 25-30A ESC
SKU (HK-SS30A @ $5.99) works well with MultiWii ?
it uses a Atmega8 or a C8051F330 ?
This ESC has need to be reprogrammed to work better ?
Is there a firmware for it ?
Thanks a lot for your answers !
as far as I know, they have a SiLabs C8051. If you would like to have faster throttle response (what results in better flight stability), it's necessary to reprogram every "China" ESC.
In my opinion, the best ESCs for reprogramming are currently the Mystery/HobbyKing BlueSeries types.
Cheers,
Heiko.