mathiasvr / bluejay

:bird: Digital ESC firmware for controlling brushless motors in multirotors
GNU General Public License v3.0
478 stars 48 forks source link

Issues flashing Bluejay .14 48k to Happy Model 2G4 ELRS AIO #40

Closed Zestforlife808 closed 2 years ago

Zestforlife808 commented 2 years ago

I'm hoping someone can help me figure out what's going on with my new whoop board. After confirming all motors spin in Betaflight configurator I tried flashing Bluejay .14 48k with esc-configurator.com.

Upon powercycling the board only motor 4 spins. The rest just make a stuttering sound without making any revolutions. Flashing .14 24k results in motors 1 and 4 spinning while 2 and 3 stutter.

I also tried flashing Bluejay .13 48K and only motors 1 and 4 consistently start while 2 and 3 stutter without spinning.

I tried to revert to Blheli_S 16.7 official using the same configurator and motors 1,2, and 4 spin while 3 still stutters. I'm fairly certain motor 3 ran without issues prior to my upgrade attempt with esc-configurator.com.

I'm using a pre-release build of Betaflight 4.3 from this thread https://github.com/betaflight/betaflight/pull/10788 and I'm wondering if maybe the ESCs aren't flashing right since the results are all over the place. I'd love to get Bluejay working but at this point I can't even get back to my pre-flash state.

Any help would be greatly appreciated.

mathiasvr commented 2 years ago

Hi there, please fill out the bug report template to make it easier to diagnose issues. Many whoops needs higher startup power so I would try that, probably min/max of 1100/1200 should be okay but you might want to increase it in steps.

Zestforlife808 commented 2 years ago

Thank you for the quick reply. I changed the startup power to 1100/1200 with .14 24k and I got more consistent starts from all motors except #3 which was still stuttering. At that point I was suspecting #3 to be damaged or not flashing correctly. Then I attempted to collect a debug log (attached) by flashing .14 48k again and now all motors start consistently. Strange! I had flashed several times over with many different versions and the only change I made this time was changing those startup parameters prior to reflashing.

I guess you can disregard this one. Many thanks.

Describe the bug - See above, not all motors start consistently after upgrading with esc-configurator.com.

A description of the issue.

Expected behavior

A description of what you expected to happen.

Configuration:

Bluejay version: .14 24k and 48k, .13 48k ESC variant: O_H_5 PWM frequency: 24k and 48k DShot bitrate: dshot 300 Bidirectional DShot: Off FC firmware: betaflight_4.3.0_CRAZYBEEF4SX1280_eb873308c from betaflight/betaflight#10788 If your issue is related to flashing, please press Save Debug Log in the configurator and post t esc-configurator-log.txt

pitts-mo commented 2 years ago

Hey @Zestforlife808, I have seen similar flaky motor starts happen a lot on micros.

If you find this happens again: Direct soldering motors to FC or squeezing the plates within the motor connector plugs on my Tinyhawk II quads allows them to start up fine again even on Bluejay's default startup power. Just be careful not to crimp the tapered end of the motor plug plates so much as to prevent them to accept the pin. :-) -p

malexzx commented 2 years ago

Hey @Zestforlife808, all

Yesterday, while trying to install Bluejay to O_H_5, seen so motor 1 spin correctly, while others not. After investigating previous configuration, see difference: Blheli_S version is 16.8. After load to Blheli_S 16.7 the motor 1 spin and 2,3,4 shutters. After load to Blheli_S 16.8 (mention https://raw.githubusercontent.com/JazzMaverick/BLHeli/JazzMaverick-patch-1/BLHeli_S%20SiLabs/Hex_files_16.8/Hex_files_16.8_24k/O_H_5_24_REV16_8.HEX) all motors spin ok.

mathiasvr commented 2 years ago

@malexzx JazzMavericks has more throttle at low end basically increasing idle. With Bluejay you need to increase min/max startup power to get the motors spinning or increase idle in the FC firmware. As @pitts-mo mentioned this could be caused by poor motor connection.

malexzx commented 2 years ago

@mathiasvr I was already try to increase limits with no success. (Will try to direct soldering too, but it complicated) Also while enabling bidirectional dshot I've got an error, about wrong motor number reporting by betaflight configurator. (if it matters, I'll try to do again to report). M.b. other JazzMavericks things matters, can you explain? My configuration: Betaflight Meteor-65 tinywhoop. BTFL-4.2.0 (manufacturer install) O_H_5 16.8 target Matek-f411RX (AIO)

mathiasvr commented 2 years ago

You might need to increase ramp up also. I would expect it to work okay with startup power min/max of about 1100/1200 but can maybe go higher, and try setting ramp up to 11x. If this doesn't work I'm not really sure how 16.8 makes it start.

malexzx commented 2 years ago

with suggested values all motors spin ok. Thank you! but if enable bidirectional dshot - BF configurator says about 0 motor resources provided but required 4 update: BTFL 4.3-RC2 helps start motors in bidirectional dshot