- Posts: 706
Voice alerts test build
- magic_marty
- Offline
EDIT: Just noticed that my transmitter config page is also not correct it is the same as Morlacus config page..I used the lib.dfu uploaded on page 22 post #60501
If me and Morlacus are using the same library could it be why the transmitter config on both our 12's is messed up?
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
I know the code is not perfect concerning the handling of selecting buzzer and voice which can be set in sound ini, but that is nothing major really, as long as everything works if you turn voice off in hardware.ini - I do not want to break existing features and usability.
victzh wrote: The majority of changes are in #ifdefs, so it should be easy to turn it off in case of something going out of hand with this code. I will look through the changes anyways.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Moeder wrote: @morlacus: please check both custom entries in voice.ini and custom mp3s start with ID 200, remember we transitioned from 160 to 200, and if they don't match it won't work. Did you check any global alerts, for example battery alerts? These should work nonetheless.
Checked and re-checked. The voice ini and the sound box with the mp3 files I use for my devo 12 are those which work perfectly for my devo 8s. checked the voice=dfplayer. No sound at all No battery alert. Do you think that the fact that the ppm port works correcly in ppm use (tested in receiver from another tx in training mode and sender in using a external Anylink module ) means that it works correctly for voices ?
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Morlacus wrote:
Moeder wrote: @morlacus: please check both custom entries in voice.ini and custom mp3s start with ID 200, remember we transitioned from 160 to 200, and if they don't match it won't work. Did you check any global alerts, for example battery alerts? These should work nonetheless.
Checked and re-checked. The voice ini and the sound box with the mp3 files I use for my devo 12 are those which work perfectly for my devo 8s. checked the voice=dfplayer. No sound at all No battery alert. Do you think that the fact that the ppm port works correcly in ppm use (tested in receiver from another tx in training mode and sender in using a external Anylink module ) means that it works correctly for voices ?
Do you have your voice.ini in the library's media folder?
Does it and the modified hardware.ini have proper line endings (LF only)?
Have you checked if the TX has the proper fw version on the USB screen?
Have you checked the voice volume setting in the transmitter config?
I've run out of ideas...
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Moeder wrote: Hmm..odd. The voice feature just set's a different baudrate for the trainer port before using it to send data packets. Try the attached dev build and check datalog output please.
Thanks for all your efforts. May be I missed something very simple - I hope
I have tested the firmware. I have also made a fresh lib from the media of the voice emulator plus my sound list.
Here are the results
after opening the tx : screen 1 - No sound
if moving a switch without sound : same
Once moved a switch with sound : screen 2 and 3. Never stopping
For FDR thanks to your suggestions. For me all is checked and was transfered from my devo 8 sounding.
I have noticed something : My sound box has a led showing it is on. With my devo 8 with sound, if I shut down the sound box, the led stays slightly lit as long as plugged on the tx This probably shows a current in the plug.
With my devo 12. Same manip : voice waited : the led does not shine at all when the sound box is shut down which may show that there is no current at all
If the protocol of the model is set to ppm the led of my sound box is slightly lit when the sound box is shut down so current in the plug
I do not know if that can help .....
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
for your info, I build the dfplayer in the transmitter (not connected to the trainer port) I soldered it to the TX pin.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
pulpfiction15 wrote: @moeder,
for your info, I build the dfplayer in the transmitter (not connected to the trainer port) I soldered it to the TX pin.
I missed to ask this question I wanted to...
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
magic_marty wrote: Have some success to report ..I opened up my 12 and hooked directly to the board on the 3.3v GND and the TX and RX then the mini player works as should..It doesn't play anything when powering on while hooked to the 3.3v on the board but powering the mini player with a external battery it plays a voice alert powering on...all the timers voice alerts works as should and powering down it says "Goodbye" ...Also it announces when model is bound using a protocol that counts down the binding sequence ,all while hooked to the 3.3v on the tx board...here is a pic of the pins i hooked it to...as of now i have no need for external power source or a 5v step up it seems to be working fine other then announcing "Welcome to deviation" during power up..
EDIT: I also pulled up the board to see what kind of buzzer it has and it is a small peizo buzzer i measured it with calipers and it is 11.79mm so i am pretty sure finding a speaker that small is pretty much not going to happen so i will have to figure out some other way to mount a speaker , perhaps in the bottom of the tx vented out the base...I am really looking forward to future developments in the voice build and excited to see just how far it will progress..
Going to find one of those talking birthday cards and remove the speaker to see how it does soon as i find one..
I find your description in an old post.
Is this the way your dfplayer is linked to your devo12s ?
which pin of the board do you connect to the RX pin of the dfplayer ?
Is it possible to imagin to connect the pin of the board you use to the ppm port board ?
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
I have glued the dfplayer with double side tape on the circuit board of the transmitter, at the bottom where there is rubber cover in the part (covering to holes that I cut out) so that i can access the micro sd card from the outside.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
a) change standard external audio output on devo12 builds to use it's trainer output
b) add config option in hardware.ini to have different output pin for devo12 users mounting internally and using the TX-pin on the mainboard (similar to devo7e-256 using uart5). I'll make universal alternate-port line for both of these cases (7e-256 and devo12 that is).
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
pulpfiction15 wrote: @Molacus, you have plenty of room in the 12S to build it in, it is more practical than having it outside.
I have glued the dfplayer with double side tape on the circuit board of the transmitter, at the bottom where there is rubber cover in the part (covering to holes that I cut out) so that i can access the micro sd card from the outside.
Thanks for your suggestion . In fact I prefer have all in a separate box to use it indiferently on my devo 8s and my devo 12s. But I'll think about it. Where is your speaker in your assembly ?
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Moeder wrote: Nice of you to dig up that old post, while reading up the first three pages of the thread it suddenly all makes sense. Devo12 uses a different pin for trainer port out, that is why magic_marty back then had trouble getting it to work. He had success using the internal "TX" pin which is the same as the trainer out on the other devos. So I guess we have to
a) change standard external audio output on devo12 builds to use it's trainer output
b) add config option in hardware.ini to have different output pin for devo12 users mounting internally and using the TX-pin on the mainboard (similar to devo7e-256 using uart5). I'll make universal alternate-port line for both of these cases (7e-256 and devo12 that is).
Glad to see that thing advance So if I understand it will be possible to use the trainer output for the devo 12s That would be great.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
edit: at a price of less than 3$/3€ for a dfplayer I would invest in another one, the 12s has plenty of space indeed.
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Morlacus wrote:
magic_marty wrote: Have some success to report ..I opened up my 12 and hooked directly to the board on the 3.3v GND and the TX and RX then the mini player works as should..It doesn't play anything when powering on while hooked to the 3.3v on the board but powering the mini player with a external battery it plays a voice alert powering on...all the timers voice alerts works as should and powering down it says "Goodbye" ...Also it announces when model is bound using a protocol that counts down the binding sequence ,all while hooked to the 3.3v on the tx board...here is a pic of the pins i hooked it to...as of now i have no need for external power source or a 5v step up it seems to be working fine other then announcing "Welcome to deviation" during power up..
EDIT: I also pulled up the board to see what kind of buzzer it has and it is a small peizo buzzer i measured it with calipers and it is 11.79mm so i am pretty sure finding a speaker that small is pretty much not going to happen so i will have to figure out some other way to mount a speaker , perhaps in the bottom of the tx vented out the base...I am really looking forward to future developments in the voice build and excited to see just how far it will progress..
Going to find one of those talking birthday cards and remove the speaker to see how it does soon as i find one..
I find your description in an old post.
Is this the way your dfplayer is linked to your devo12s ?
which pin of the board do you connect to the RX pin of the dfplayer ?
Is it possible to imagin to connect the pin of the board you use to the ppm port board ?
Yes i hooked to the tx/rx pins directly to the main board...As for the RX pin i hooked it to the tx pin on the dfplayer all tho i don't believe it is neccessary to have the rx pin hooked up i just hooked it up thinking perhaps someday we could have a way to access the SD card thru the transmitter usb and not have to remove the card anymore...
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build