Audio (voice) - Stock 9X PCB

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

I prepared something for you.. I hope it helps. ;)

You can find the website link on the first picture :)

João
Attachments
How to Voice.zip
(1.48 MiB) Downloaded 340 times
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
KAL
Posts: 552
Joined: Thu Oct 10, 2013 4:36 pm
Country: Germany
Location: somewhere near Rothenburg ob der Tauber

Re: Audio (voice) - Stock 9X PCB

Post by KAL »

You never stop learning ...
Didn't know about "unplug"

Thanks Joao
( TH9X / 9XTreme / FrSky DHT / Spektrum / Multi / RotEnc )
( 9XR PRO / erSKY9x  / FrSky DHT / Spektrum / Multi / RotEnc / P3 as Slider )
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by volumax »

Thanks Joao for the tutorial, I dont find the British voice used on the voices you already had made, is it from another website?
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Unplug was interesting as I wasn't aware of that one either... but unfortunately it did not work for me on that site.
I had to use another on called FlashGot and that would download the mp3 file so I could rename it and use it for Audacity.
Custom 9x with M64/Telemetry Mod
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Hello All,
I am trying for few weeks bring to life Olivers voice board v102. First I had some shorts on board, I have fixed them. Then after I flashed optiboot my AVR became "dead" so I resurected it via external 1 Mhz clock, so I found my capacitors were not right. I replaced them, than I flashed optiboot and able to talk to avr, so I tryed to flash main program via serial. after several hours of unsuccessful trying I have used my ISP programmer as power source(5V), instead of 3.3V from regulator connected to 9X baterry and it worked. I have assembled whole radio and my BL was on, then I changed BL settings and it has changed only after OFF/ON.

No audio playing so far, only some "cracking" when navigating in menu. Then I replaced MCU, capacitors and CRYSTAL and still to able to flash program via serial when on baterry, so again power 5V from ISP programer. BUT SUDENLY display lights up when I press key and turns off after time, so I guess it behave as it should, but no matter what track I set in plane setup to play on GEA button, still silent.

I am using ATMEGA328P, with 12 MHz, 2GB MicroSD card, formated on Fat 32, WAV files are placed on root of the partition. Any ideas why it is still silent? Any way to debug it? (found this today, but not sure if it works viewtopic.php?f=5&t=948&start=2880#p36055)

My radio is stock board, modded for FrSky telemetry, using OpenTX firmware. Can anyone recommend right build configuration of OpenTX build to make it right for Oliver board?

Please help, I am starting to be hopeless.....

User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

That test program should work OK. It is well worth trying as it checks out the board.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

What audio files are you using? Not the ones for the taranis radio I hope.. ;)

Sent from my GT-I9195 using Tapatalk
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Audio (voice) - Stock 9X PCB

Post by LTMNO »

Here is a application that was built to install the various firmwares...

https://dl.dropboxusercontent.com/u/582 ... rammer.zip
Custom 9x with M64/Telemetry Mod
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

So I am using this voice files http://downloads.open-tx.org/voices/ope ... /czech.zip , is that OK? .. and when I was asking about firmware configuration I meant opentx build config, not MegaSound9X..when I select VOICE flag it automatically knows that it have speaker mod and haptic inside?? ...

I will try at night to flash the "test" firmware of magasound9x. Any ideas why I cannot flash voice module when on batery? I have measured MCU Ucc and it is 3.3V...
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

So the result, BL was flashing, but no audio played and serial port was sending sec/5 data, BUT it was not readable data. On 9600 I have recieved garbage, on 38400 nothing and on 57600 other garbage. But from RX led on my USB serial port I can say that it was sending something every 1/5 sec.. when I powered it without MictoSD, so serial data were sended, but immediately after I plugged the SD back, it started to send, garbage.

Any ideas? :/
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I'm looking at the schematic from this post: viewtopic.php?f=5&t=948&p=33182&hilit=oliver#p33221.

We'll see if we can get the serial working first.

Which of the connections JP13, JP15, JP12, JP16 are you using for the serial connection, and where is the ground of your serial connection connected?
What are you using to connect to the serial? On this board the serial connections are logic level, not inverted, as opposed to RS232 voltage levels which are inverted.

The baudrate should be 38400.

Every 5 seconds, a single character 'X' is sent.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Here is the PDF with schema amod328.googlecode.com/svn/hardware/SMD/Oliver/v102/AudioMega%20v102_full_board.pdf
Well, I have flashed the firmware via serial at 38400.. but only when I supply the board with 5V into VCC which is from my laptop USB. I am not able to flash it when I am powering the board from battery means supplying the UB+ with 9.6V.
For serial connection I use GND, TX and RX marked pins on board, where I use USB->SERIAL converter FT232. I beleave that transistor involved between TX and ATMEGA are converting 3.3V level into 5V level made in part U1.

When I was testing this testing build I had my borad powered from LeFe battery in my 9X and serial port had ground in my laptops batery, but since those grounds are connected it should not be a problem, right? My FT232 is not set up to invert RX or TX.
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Is this supplying 5V into the 3.3V VCC. If you did this, with a SD card plugged in, then the SD card is probably destroyed, they only work up to about 3.6V, 5V is too high. You may, of course, have realised that and removed the card.

The TX signal relies on the device you are using providing a pull up to 5V. You may need to add one to make it work, 2K2 to 4K7 should be OK.

I suggest adding this pull up resistor and seeing if you can see the 'X' every 5 seconds (38400 baud).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Yes, I have removed the card, as I have pinheads on SDCARD interface, so I even MUST disconnect SD before pluging Vcc or ISP.. that is the reason why I cannot test the testing program powered from Vcc 5V, because without SD card no data are transmitted. I can try to add pull up, lets see
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Report, I have added pull up to TX and getting lots of X on 38400! :) Its good to see a little step forward :) thank you

how should I proceed next?
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Check you have files for 40 and 0 to 9 on the SD card. The test program tries to play voice file 40, but if it isn't there you won't get anything.

Check on the serial port:
"On receiving a character over the serial, echo it back with 3 added, so 'A' comes back as 'D', 'B' as 'E' etc."
So try typing an 'A' and look for a 'D' coming back.

"On receiving '0' through '9', plays voice file 0 through 9."
So try typing a '0' and seeing if you gat voice file 0000.wav played.

Do you have an oscilloscope to look at the signals on the board?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

I will try to send data and check responses... and no I dont have osciloscope, unfortunatelly :/
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

Hi again,
so board is responding as you said, sending me back +3 character, even with number sended, but no sound at all. Not a beep. I noticed that without SD it is not sending those X chars, it detect only physical existence of SD(SPI) or it knows that it see files? Wondering if my connection or SD are not bad. But SD is fine on PC.
User avatar
HC1969
Posts: 421
Joined: Wed Dec 28, 2011 8:47 am
Country: Hungary
Location: Istvan Magi
Contact:

Re: Audio (voice) - Stock 9X PCB

Post by HC1969 »

Tested in the test program? It works (to speak)?
Fill up your testprogram and measure signals from the DAC output (MCU).
Give Beep input signal from the signal and check the amplifier.
If you do not go to the DAC,then check SD card slot wiring.
The most critical point of the SD card slot soldering.

If you can not handle it, get me one of these:
http://www.ebay.com/itm/MegaSound-9X-Vo ... 19e95de99b
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

I asked before but got no answer I think. What voice files are you using? Please post a link to where you got them from or tell us how you generated them if that's the case.

João

Sent from my GT-I9195 using Tapatalk
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

@jhsa: I have answered this immediately after you asked, here viewtopic.php?f=5&t=948&p=75810#p75659
@HC1969: I have flashed test program, I am hearing more like a cracking then beeping when I press keys, and as I said before I dont have osciloscope to check MCU output signal..
User avatar
HC1969
Posts: 421
Joined: Wed Dec 28, 2011 8:47 am
Country: Hungary
Location: Istvan Magi
Contact:

Re: Audio (voice) - Stock 9X PCB

Post by HC1969 »

Yes, the test program can be placed in the SD card!
Use the 0040.wav test text file.
File format: 22kHz, 16bit, mono wav!!!
SD card format: FAT32 or FAT16 (not RAW)!!!
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Your SD card connections should be correct, to get the serial sending back characters, the SD card has to 'mount'. This means it is found, and the file system currectly read.
The beeper signal connects directly to the LM386 amplifier and should work. Make sure the SoundMode (RADIO SETUP) is set to either:
PiSpkrVoice
or
MegaSound.

If you are not getting beeps, there is probably something wrong with the amplifier connections.
Can you post a picture of your board?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Sorry, I might have missed your post about what files you are using.. :(
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
adambogocz
Posts: 23
Joined: Thu Sep 27, 2012 8:09 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by adambogocz »

@jhsa: no problem, is that a right package?
@mike: good to hear that is works after it mounts SD, so SD circuit is not an issue here.. I will definitely post a photo
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

the files seem to be 16Khz sample rate.. if so, then they should work..
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
zuadha
Posts: 27
Joined: Wed Oct 10, 2012 9:27 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by zuadha »

sorry for the question here, because i thought it was explained around this page before, but i can't read one by one of this page's thread, my questions are

if i do mod backlight like http://openrcforums.com/wiki/index.php/ ... _Backlight so when i do voice mod, this BL mod that previous i made is useless, right? so i don't need do BL mod if i want do voice mod? since i don't find the (BS170) transistor for controlling the back light on MikeB voice schematic, what transistor that MikeB used for controlling?

the second question is, in this site http://openrcforums.com/wiki/index.php/9xVoice_Mod i see the different holes for micro sd card, HaGeHa's board has 6 holes but the others have 7 holes, what's the different? and i don't know where to solder the cable to the sd card, since it not have labeled like Oliver's board, so anyone can address me? (sorry for my english btw)
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I used a BC548B transistor, mainly because I have a box full of them!

You do NOT need to do the backlight mod, the voice board has the backlight driver transistor on it.

Are you using one of these boards, if so which one?

The 7-way connector on my design has TWO Gnd connections the 6-way connector on HaGeHa's board only has one.

On HaGeHa's board, I think the connections on the 6-way connector are (starting from the J2 label):
CS
DI
+3.3V
SCK
Gnd
DO

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
zuadha
Posts: 27
Joined: Wed Oct 10, 2012 9:27 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by zuadha »

i plan to use your smd board (MikeB All surface mount components version) as far as i know it redesigned by Mbanzi. so i need to know pin order to mmc which is (as far as i know) JP2 on that board.

so HaGeHa board has 7 pin to MMC because he add reset pin, right?

ok i have this mmc board (as my 2nd hobby is play with AVR) http://www.pocketmagic.net/2013/08/avr- ... 2X3bahdUxM which is it has pull up resistor to dat1-dat2,D0 or miso,clk or sck, and DI, and after i trace all your board don't has a resistor pull up, so i assumed they no need that because all the board work with 3.3v right?

about the BC548B transistor i never used before usualy i used 2n2222 or 3904, and after i do mod the BL (before athoer mod) i see a little dim when it off by the er9x, and recently i want to play with the resistor value so it won't dim, but after i know from you, that i don't need do BL mod so i need to know that BC548B has same issue with that?
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

The connections to the 7-way connector on my board are:
MISO
GND
SCK
+3.3V
GND
MOSI
CS

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “er9x”