- Posts: 5
Voice alerts test build
- JOHNHENDRY
- Offline
Deal57 wrote: MWM, do we have a test build from a more recent nightly for the 6s? I've been otherwise distracted from this and I'd like to get it back together. Seeing that the test build has been downloaded 40+ times, it seems we have an audience!
Hay not everyone in the audience has downloaded the test build.... 3 over here watching. Thanks guys.... IMO ALL TX's need voice alerts so your eyes can stay on the aircraft. Taking your eyes off a UMX Radeon at altitude to check your time when it's in lift and just a speck in the sky may be the last time you see it.
Please Log in or Create an account to join the conversation.
- mickkn
- Offline
- Posts: 42
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
This seems to be a very reliable configuration. Here are the parts:
DFPlayer Mini, BG about $5.
1" speaker, Radio shack, $4.
Mono 1/8" jack, (panel mount), $4. pack of 2
Mono 1/8 to 1/8 audio cable.
MicroSD card preloaded with voice alert folder
5v supply... I used a 2s Lipo with 5v regulator, and it also works from a 1s directly (but I can't recommend this approach, not yet anyway)
Test build "deviation-devo6-v4.0.1-d4679c2"
Plug power into DFPlayer pin 1 (Vcc) and pin 10 (ground)
Plug the audio "tip" into pin 2 (RX) and connect the shield to pin 7 (ground).
Last, plug the speaker + into pin 6 and - to pin 8.
It seems like the module should be switched on before applying power to the Devo, because sometimes it misses the power on message. I am using an external power source to avoid issues with my TX power supply. I measured a current use of about 30ma on standby, and about 70ma when it is actively playing. This seems a pretty high draw, particularly in the Devo 6s or 7e. If it runs constantly it's like having another transmitter module active. I hope to test it for several flights with the 6s and see if it's a problem.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
A more practical solution might be to use the 36mm 8Ohm 2W speaker that Taranis users are fond of. Together with a plastic collar modification the speaker seems to be pretty popular... but then I don't know if the Taranis provides any sort of amplification. In any case I'm getting one to try.
I don't have any idea how to squeeze all this into a Devo 6s or 7e case! No problems with the other cases, as near as I can tell.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- mickkn
- Offline
- Posts: 42
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
The second update is the addition of a micro USB plug, which allows PC access to the files on the SD chip. This means that once installed, you could upgrade the voice files without disassembling your transmitter. You can't play sounds while connected to the PC, and as soon as I disconnected she was back to her chatty self!
I also added a pair of momentary buttons for testing, because they allow you to move sequentially up and down between the voice files. They also allow you to adjust the volume (long press). Of course the right programming will do this through the GUI as well.
I'm really just stuck on how to package this now. Here are the parts:
DFPlayer Mini (Banggood, $5 or less)
1GB or larger SD micro memory card
2w Speaker, size 36mm or smaller (many sources, typically about $3 to $10)
Mini USB breakout (5 for a couple bucks at Banggood)
2 x pushbutton momentary switch (volume and browsing, if desired, from test stock)
Power 3.3-5v - note, while talking, this system consumes about 70ma, so drawing power from the Devo may shorten control times:
* 2s battery with 5v regulator. This has been my primary source during testing and seems pretty long-lasting
* 1s battery - while this works, it's not clear how long it will last
* for larger Devo you could tap into a 3.3v or 5v source.
I've updated my drawing to show the additional connections.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- TheSFReader
- Offline
- Posts: 64
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- mickkn
- Offline
- Posts: 42
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
Here is the speaker that I'm using.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
So basically once firmware is there will be ready to test it.
The voltage circuit on 7e yes that's still something to analyse, I put a heavy duty regulator basically to get rid of fluctuating voltage, but that never solved the issue.
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
The UART5_RX pin (PD2) is being used for Haptic vibration motor accordingly to PB's wiki. But I guess we don't really need the receive pin on the UART.
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
sorry to hear of your health troubles mwm, hope things get better for you soon bud
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
mwm wrote: Is your newer build available in a github repo? One of the issues keeping me from working on things (besides health) is not wanting to deal with moving my dev branches into git....
It's available under Github deviation fork at github.com/phantom-8/deviation . Your code is residing in branch "extended_audio". I've also added support for UART5. That is, the u7e can use PC12, UART5_TX (Processor Pin 53) for audio support. Thus freeing the PPM port for other purposes. You can check the branch commit log for details. I've already fitted the DFPlayer & a speaker inside my u7e and have tested the UART5_TX pin and everything is working well. Since the UART5_RX pin is not available, we can't have 2 way communications under this configuration.
I'm also in the process of adding voice feedback when changing switch positions. This feature is not in repo yet as I'm still working on it. However, the way I implement the voice feedback may not be what you expect. I took a easy route to make it work without any fancy configuration interface. I will add it to the repo once it's done and you can decide if you want to merge it or rework on it.
I hope you're recovering well after your surgery. Pls get well soon and thanks for bringing the voice feature to deviation.
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
Disclaimer: Pls note that this only works on a Devo 7e with processor upgrade. You can't do this on any other Devo models as the Pin has already been used. You also won't be able to use 2-way communications when connecting to PC12. If you need 2-way communications, you will have to use the PPM connection.
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
More important is changing the page so that you can select a "named section" in the sound.ini file for each alert. When they're just beeps, it really doesn't matter much which you get. But you'd really like to be able to see that the selected alert is for RSSI or voltage or whatever when it says "Losing signal" or "Transmitter voltage alert"!
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build