Voice alerts test build
- mwm
- Topic Author
- Offline
I'll be adding wiring instructions to the readme in the build with DFMini support. But again - I don't know if I'll have project time for it until next month. You might hook it up to an arduino - or better yet, an STM32 board - and verify that you can get to work at all. I could push the repo I use for my STM32 dev board, which just reads digits from one serial line, then tries to play the file associated with that beep number via the board on a second port.
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.
- mwm
- Topic Author
- Offline
Ok, I picked up the Radio Shack speaker - and don't get enough volume out of the AudioFX board for it to be usable. It's just sitting lose on my desk with the leads wired into the speaker output on that board. This works fine with the first speaker I tested with - but it's to large to fit in a 10.
Is there something in the hookup I'm missing? Maybe I'm overpowering the speaker somehow?
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
I have a couple of small 2 channel amps around. They're inexpensive and run on 5v. I bought them for the DFPlayer but it turns out I didn't need them.
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.
- magic_marty
- Offline
- Posts: 706
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.
- JOHNHENDRY
- Offline
- Posts: 5
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Looking forward to it..Thanks all..
<Marty>
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
Still no joy with small speakers, using either the audiofx board or the dfplayer mini (got it working with the arduino example). The only thing that produces an output I can hear without putting my ear next to the speaker is a big tweater I ripped from an otherwise dead speaker. That includes the RS speakers recommended, as well as a couple of other small speakers. I got a sparkfun gift cert for the holidays, and threw in a couple of cheap speakers from them as well.....
I'm also scheduled for surgery Tuesday, and don't know if that will mean I won't be able to work on it, or will have more time for it as I know I won't be able to fly for ~6 weeks.
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.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
This one is updated to the latest mainstream code: it has the Devo6S extra inputs support and a collection of new protocols over the old one.
I've included a zip of the image file for the AudioFX board if anyone is using that, as well as a zip of the files for the DFPlayer mini.
Each transmitter build includes the file system, which should have the updated hardware.ini noting the new features. They should also have VOICEALERTS.md, which describes (roughly, anyway) the required hardware connections and functionality. All of my testing has been done with the trainer/serial debug cable, but it should work with an internal module as the data connections are just wires. I wouldn't recommend trying that unless you're familiar with adding RF modules, though.
I'm going in for surgery tomorrow morning, and have to get ready today. I hope to make it back later today, but maybe not, and no idea after that. For those interested, all the sources have been pushed to ssh://hg@bitbucket.org/mwm/deviation.
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.
- gdenton
- Offline
- Posts: 71
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
I noticed when installing the NRF module that the devo12 and 12s has on the pcb next to where the module hooks up a tx and rx pin, does anybody know what those pins are for? Perhaps they are the same output/input as PPM? if so i could simply hook the mini player to those?..The speaker i got from pololu is 30mm which could be to large for my devo12, i haven't measured the one in the 12 yet but the pololu speaker is in a plastic case so perhaps removing it from the plastic case will get it close to 25mm if that's the size i need for the 12...Knowing Walkera they probably used the same size beeper in most if not all there transmitters..I will report back as soon as i get this hooked up and i am sure will have a few questions and perhaps some suggestions...
Thank you so much for your hard work on this and other Deviation projects..
And good luck with the surgery and a speedy recovery for you..
<Marty>
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
;Only useful for transmitters with an after-market vibration motor
;enable-haptic=1
;
;switch_types: 3x2, 3x1, 2x2
;extra-switches=
;
; extended_audio: audiofx, dfplayer
extended-audio=dfplayer
;
;button_types: trim-all, trim-(left|right)-(up|down|both)
;May occur more than once if necessary.
;extra-buttons=
;
[modules]
; there is no need to enable the cyrf6936 module unless
; it is wired to an alternate port. It is Enabled automatically otherwise
; enable-cyrf6936 = B12
; has_pa-cyrf6936 = 1
; enable-a7105 = A13
; has_pa-a7105 = 1
; enable-cc2500 = A14
; has_pa-cc2500 = 1
; enable-nrf24l01 = A14
; has_pa-nrf24l01 = 1
; enable-multimod = A13
Also i haven't tried putting a 1k resister on the rx line yet perhaps that is what i am missing..
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
This is how I set it up for my bench and it's pretty easy to use this way, Red=5v, Brown=ground, Yellow=Busy, Blue=RX (input), White=TX (output). It should be at 100% volume upon power-up but I found that wasn't always the case.
I hope to hook this up later this week.
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.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
You don't needed a resistor connecting to the Devo, as the signal is 3.3 volts.
Make sure you've got the Tx and Rx lines connected properly - it won't play if they are reversed.
I haven't tried a 1s lipo. I know it won't work with 3.3 volts, though. You can year it by grounding one of the pins to make it play "next" track.
Can you provide a link to the pololu speaker?
The surgery went well, but I'm probably in the hospital until Friday, and won't be able to walk unaided for a month or more afterwards. And I'm in a great deal of pain. Thank you almost for the kind wishes.
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.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
I must have something set wrong on the tx ...i used the trainer cord and simply hooked a pair of jumper from the tip of the cord to the rx on the mini and the barrel of the plug to ground on the mini player...But i also hooked a voltmeter to the cord and there is no voltage coming from the DSc/Trainer port when powered on or triggering the beeper with timer ect....so not sure what's going on but could be my tx cause i am trying this on the devo12 that would not accept the NRF module properly hexfet wrote a special code that got it to work but then none of the other protocols would work...the same exact module works flawlessly in my 12s ...
Not sure where to hook the tx from the mini player to should it be hooked to the barrel of the plug on the trainer port? Or is it going to need to be hooked to the TMS or TCK pins on the mother board of the tx..?
This is the diagram i used to get the pin out on the DF mini player it might be useful in the future... www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299
EDIT: just checked and my devo8 is showing 3.26v on the trainer port but both the 12 and 12s show no voltage on the trainer port..not sure what's up with that so i uploaded the voice firmware to my 8 and hooked it up and still haven't got it working yet.. will tinker more..
One thing i noticed with the 8 is it still beeps from the beeper with the voice alert firmware and the 12 no longer beeps when turning it on...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build