AlkaMotors / AM32-MultiRotor-ESC-firmware

Firmware for stm32f051 based speed controllers for use with mutirotors
GNU General Public License v3.0
754 stars 266 forks source link

Customisable ESC startup melody? #70

Closed howels closed 2 years ago

howels commented 2 years ago

Noticed reference to startup melody in https://github.com/stylesuxx/esc-configurator/issues/108#issuecomment-829146025 and wondered if this is possible yet?

Voodoobrew101 commented 2 years ago

Not yet, but it is possible to change the startup sounds to pretty much any tone If you edit the sounds.c Thats how some of mine play Dixie Then you compile the firmware, its easiest to use the actions tab here in github to build the firmware IMO. or you can use visual studio code with WSL installed.

howels commented 2 years ago

Not yet, but it is possible to change the startup sounds to pretty much any tone If you edit the sounds.c Thats how some of mine play Dixie Then you compile the firmware, its easiest to use the actions tab here in github to build the firmware IMO. or you can use visual studio code with WSL installed.

I notice in sounds.c there is a reference to "bluejaytune" which reads a tune from EEPROM (starts at 48 bytes, length 128) and plays it if found. How can we write that tune? Would prefer to experiment with tunes using esc-configurator.com instead of re-compiling each time. Edit - this is in master but not 1.74 - is this experimental or known to cause any issues?

howels commented 2 years ago

Is this a "wait for the next release" item? Seems that the code is in AM32 master and esc-configurator.com is waiting to include AM32 melody support using the same routines that bluejay uses.

AlkaMotors commented 2 years ago

@howels am32 version 1.78 and the online esc configurator are now working for custom melodies. https://esc-configurator.com/

howels commented 2 years ago

@howels am32 version 1.78 and the online esc configurator are now working for custom melodies. https://esc-configurator.com/

thanks for letting me know, I think I got a bad flash trying to use an earlier version with esc-configurator but I'll re-flash via ST-Linkv2 soon as I need to strip the car down again.