- Posts: 124
Voice alerts test build
- sfersystem
- Offline
Moeder wrote:
sfersystem wrote:
magic_marty wrote: Is there any way to add a way to the voltage/telemetry alarms where the voltage set to trigger has to stay below for a certain amount of seconds before the alarm triggers..?
+1
This would be a very useful improvement
it would be great !
I like the idea and will take a look into it, but it won't be until a couple of weeks. It's summer and there's so many things to do...like flying toys
There is no problem, i thank you in advance, it's cool if u take a look.
I've posted here too
www.deviationtx.com/forum/builds/7216-conditions-for-alerts
thx +++
Please Log in or Create an account to join the conversation.
- jejeg
- Offline
- Posts: 143
Please Log in or Create an account to join the conversation.
- Boloudakis
- Offline
- Posts: 4
I bought the equipment (dfplayer, speaker for taranis from banggood), I managed to fit everything inside the case of my Devo 7e (already has 4in1 and 2x3 extra switches ).
I have connected everything according to the diagram on the wiki:
- DSC port TX (when not inserted) to dfplayer RX - Tried both with 1Koh and without resistor, no results
- DSC port RX (when not inserted) to dfplayer TX - Tried with or without the Rx connected, no results
- DSC port Ground/Shield to dfplayer ground
- I provide 5v power and ground to dfplayer
- I have connected the speaker
- I have loaded the folder with the mp3s inside the card (/Mp3)
- I copied the voice.ini in the media folder
- I have the version deviation-devo7e-v5.0.0-voice (v5.0.0-73adafd)
- I have configured the hardware.ini (removed the ";" and set voice=dfplayer)
When I ground the ADKEY1 it works (plays the first mp3 "Welcome to Deviation" and I get the blue led) but no sound when I interact with the transmitter (turn on /off, set volume etc.). I have built a model5.map for switches but still no sound.
When I plug the DSC usb cable works great with simulators.
Could be the dfplayer? How can I test if the Devo talks to the dfplayer?
Many thanks in advance and congratulations for the great job!
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
Hardware: sounds ok. I have had best results using a lower voltage, say about 4.2v rather than 5v. I discourage the use of a direct Vbatt connection, and most of the regulators in the 7e are already maxed out, so it's good to look at the pololu S7V8A option (in this thread or the big 7e thread). Don't attempt to use the battery voltage or other voltage directly from the Devo7e because it may not be able to provide the 70-100ma when the voice is playing. Trace your grounds to make sure you've got them routed to a good ground..the one on the DSC port is good. Most references I've found suggest using 1k ohm resistor in the TX/RX lines, but i've had it work with or without.
Software: you must have the voice.ini in the media folder, you must have removed the semicolon from the voice=dfplayer line in your hardware.ini. Sounds like you are there.
Now check to see if you have "Voice Config" in your Model menu... if not, the Hardware.ini or voice.ini are not right.
If you have the Voice Config, try to set up a switch with a sound. If the sound doesn't play, I suggest there is a hardware problem, perhaps between the TX and dfplayer, power isn't right, or the ground isn't connected between the two of them.
Let us know what you find.
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.
- Boloudakis
- Offline
- Posts: 4
I cannot see the Voice Config in the Model menu. However the beeper stops working when I enable the voice=dfplayer and comes back again when I disable it.
I can't find what's wrong with these files. The voice.ini is in the media folder together with the sound.ini
Please find them both attached.
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
I am pretty sure that until you have the voice config menu, there is something wrong with the software implementation.
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.
- Boloudakis
- Offline
- Posts: 4
Please Log in or Create an account to join the conversation.
- Gerry
- Offline
- Bbrad
- Posts: 194
I can confirm voice doesn't work with the latest nightly, I haven't tried previous nightlies.
I was able to get voice to work with moeder's test build deviation-devo7e-v5.0.0-voice 73adafd, I only tested a blank model with a timer and the alerts for the timer were not playing the correct tracks from the dfplayer.
I have the large english voice pack and voice ini which work well on my devo 12e
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
Please Log in or Create an account to join the conversation.
- Boloudakis
- Offline
- Posts: 4
Please Log in or Create an account to join the conversation.
- Gerry
- Offline
- Bbrad
- Posts: 194
see this post #58943
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
edit: I attached a custom build for devo7e with voice enabled, but no menu and no standard mixer gui (does not fit!)
edit2: the zip file is split into to archives, because the attachment size is limited in the forum
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.
- Gerry
- Offline
- Bbrad
- Posts: 194
My friends are going to be harassing soon to do their 7e's
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
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.
- Gerry
- Offline
- Bbrad
- Posts: 194
I have never used the emulator, so can't comment about it. I have edited my model ini's with notepad++ for the voice entries on switches.
A voice pack in a nice female voice would be cool (the modded 7e is a sexy little TX and needs a sexy voice ), and a few humorous voice files like FUBAR, SNAFU, Oh Shit, Fool, etc. for fun.
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
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.
- Gerry
- Offline
- Bbrad
- Posts: 194
Devo 7e A7105 NRF24L01 CC2500 2x3 way & voice, Devo 12e 4 in 1 & voice.
FFS (Forever Fixing Stuff)
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
sfersystem wrote: Is there any way to add a way to the voltage/telemetry alarms where the voltage set to trigger has to stay below for a certain amount of seconds before the alarm triggers..?
Please Log in or Create an account to join the conversation.
- Wene001
- Offline
- Posts: 277
Thanks to all for this great piece of software.
in the moment i´m using the threshold test build.
Message Nr8 (Kopplungbeendet) is played 2 times...
EDIT:
DSM2 works fine... message 8 is played 1x times
Bayang or Eachine E010 protocol..... message 8 is played 2x times.
In the large german voice pack there are some doubled (different) mp3s with the same number e.g. 200 to 211 and 248 and up...
@Moeder
can you please have a look
Another thing i would like to have, is a vario function with the Vertical speed from Frsky.
This yould be another great improvement
I´m loving my Devos more and more...
Cheers Wene
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Deal57 wrote: I finally finished my internal build of the DFPlayer for voice alerts in the Devo 12e. I was happy to be working in my Devo 12e because it gave me lots of space to try different placement. The solution I've come up is based on a desire to have a fully functional system that can be easily maintained within the normal system. So in addition to the ability to use the Deviation voices, I wanted to be able to edit or replace voice files without opening the TX, I wanted to be able to listen privately if needed, and I wanted to be able to use the PPM port for other purposes when appropriate. As a bonus, I also wanted to be able to see when the board was active.
The solution included these basic parts:
- DFPlayer Mini MP3 Player
- Pololu Step Up/Step Down power supply, Pololu part S7V8A, set to 4.2v
- Speaker (Knowles 2403-260-00001, 15mm x11mm micro speaker)
- Headphone Jack (mono -- I tried a stereo jack but it didn't seem to work)
- USB Jack (I chose a Micro USB female)
- Indicator LED (I figured Blue to match my sticks!)
- plenty of 30 gauge wire and Micro JST 2.0 PH 2-Pin Connector, M/F pairs
In post #61032 I posted the design for a micro speaker enclosure. The enclosure with speaker installed is just 15mm long x 11 mm wide x 11mm deep. After staring at the insides of my Devo I realized there is a cavity just under the antenna on the front that normally houses just the buzzer. The speaker enclosure fit nicely on the back of that board. That area has about 15mm clearance; the front has about 9mm clearance, so the enclosure would not fit on the front (I may try a new speakerbox). I mounted it with double-sided tape. I added the Blue LED to the same board and it nicely illuminates the Devention logo on the front when the voices are silent.
I struggled a bit for placement of the headphone port and USB port. Installing a USB port means I can connect to my PC and edit the SD card on the DFPlayer when I need to edit voices or other files, and it saves me from having to position the DFPlayer board to gain SD card access. While there is quite a lot of real estate in the back shell, I wanted to keep the wiring short and out of the way of any other functionality. I ended up putting them next to the Game port, and this also allowed me to easily tap the TX line. I chose to use the Switched TX line from the Game port. Under normal circumstances the switched TX line and TX line are connected, and if I insert a plug into the Game Port, the switched port is disconnected. This means I can use PPM In/Out without worrying about my voice module. Of course that also means that I cannot hear the voices when the jack is in use... which may be an issue if you are using a head tracker or perhaps a ppm-connected TX module (like the LRS). In the short term I won't have that issue, and I will deal with it when it comes up.
Once I had positioned the speaker, LED, and headphone and USB jacks, I just needed to position the DFPlayer and power regulator. Again, In the 12e there is lots of room and it's convenient to put them near the center down by the battery compartment.
The last item to connect was power. For simplicity I chose to install a header into the debug port Vcc and GND holes. In retrospect it would make sense to use something polarized, and the combined height (off the board) of the header and connectors actually touches the back shell. Not the best approach, but workable.
The end result works beautifully. Please let me know if you need more details.
Any chance of resizing the speaker enclosure to work with a 16mm x 9mm speaker? The Knowels 15x11 is no longer available..
Thanks a bunch..
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build