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.
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

If I understand it correctly, the D0 and D1 on m328 are now used for serial communication with the 9x mainboard.
Do you mean the trims should be connected to these as well?

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

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

No, D0 to D3 are not directly needed when you use the serial connection, D0 and D1 are used for the trim switches, D2 and D3 are then external switch upgrade connections.

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 »

Serial:

PD0 - Atmega Pin 30
PD1 - Atmega Pin 31

Trims:

PD3 - Atmega Pin1
PD4 - Atmega Pin 2

Ext: (2 extra switches for example)

PD7 - Atmega Pin 11
PB0 - Atmega Pin 12

This is valid only for the surface mount version of the Atmega328.

João
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
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

Ah, now I understood both of you!

Thanks a lot!!! :)
jgroetsema
Posts: 3
Joined: Fri Mar 14, 2014 1:39 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by jgroetsema »

So I want to add sound to my Turnigy 9X. What are my options these days? Can I buy a ready made board or kit? Sounds like the Megasound was the board to get but is no longer available? Thanks for your help.

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 »

Paralel version available:
MegaSound 9X V4.0
Image
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
jgroetsema
Posts: 3
Joined: Fri Mar 14, 2014 1:39 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by jgroetsema »

Got mine ordered! They showed only 5 left. I don't know if that's true or not, I'll check again once mine is shipped. If it is true, I'm glad I got one!
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 »

If they run out, there will be a portion (9 pieces). Yours will be sent on Monday. Thank you!
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
davidluab
Posts: 20
Joined: Mon May 18, 2015 11:54 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by davidluab »

MikeB wrote:Here is my version of the board. This uses all through hole parts.
The attachment 9xVoiceV1_0.zip is no longer available
Included are the Gerber files, drilling data, parts list, circuit diagram and a copy of the silk screen.
I will need to add some instructions when time permits

Mike.

hi¡¡

I would like to make a pcb , i read the post but it is not my language, I do not understand all to read

i dowload the attachment file, and i try to upload to oshpark, but i get an error. I downloaded other files with the same result.

What should I do with this file?

perhaps there is a newer version of the pcb, these file is of 2013, I appreciate if someone is kind enough to provide me with the latest version of the pcb, or a valid file for oshpark.com


Thank you for your help
Attachments
9xVoiceV1_0.zip
9xVoiceV1
(169.65 KiB) Downloaded 315 times
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

Mike,
The Google Code page seem to have old binaries... Can you please point me to the latest firmware for the serial voice module? It would ideal to have just one file containing the bootloader and the firmware itself, so I could flash it in one go with a USBasp (I think I saw you posted such a version somewhere).
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I'll try to get the google code page updated. I need to move the code over to Github as well.
Files for the most recent code are here: viewtopic.php?f=5&t=948&hilit=combined. ... 780#p94296 and here: viewtopic.php?f=5&t=948&p=94398&hilit=c ... zip#p94383.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

Excellent! Thanks a lot!!!
jgroetsema
Posts: 3
Joined: Fri Mar 14, 2014 1:39 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by jgroetsema »

HC1969 - got my MegaSound module! Can't wait to install it! But first I'll need to upgrade my 9X to er9X.
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 »

jgroetsema wrote:HC1969 - got my MegaSound module! Can't wait to install it! But first I'll need to upgrade my 9X to er9X.
I wish you success!
The card is installed with parallel FW. Use the description to be found on my website.
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

Mike,

Since the sound module now connects to the 9x mainboard via serial link, is it possible to make it transfer telemetry (S.Port or maybe HUB) data over the same link?

I'm now back to the "PowerSound" board project (I posted a draft design here some posts ago). I got some PCBs etched, so I'm testing and fine-tuning the design where possible. The PowerSound board includes the sound module AND a MAX232A-based RS232 adapter to convert telemetry signals from an FrSky module. If the m328 on the sound board could get telemetry data and then forward it to the 9x over the serial connection - this could eliminate quite a lot of work of cutting tracks and rerouting switches on the 9x mainboard (the well known "telemetry mod"), other than those needed for serial connection itself.

In fact, the more I think of it, the more I like the idea... If only m328 could do the job (or maybe we need a slightly better CPU?)...

What do you think?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

It would certainly need a more powerful CPU, one with two serial ports as well.
S_Mack, from SmartieParts, and I are looking at something. We are quite a long way into it. It has a more powerful processor and should avoid needing the telemetry mod as well!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

Oh... Ok.

Thanks for the info!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I've been thinking a bit about the volume levels on the Megasound board. Currently we have 8 levels, and these are simply a linear scaling of the .wav file in steps of 1/8. (1.8, 2.8, 3/8 .... 7/8, 8/8).
I'm wondering if this should be changed so the lowest level is quieter, and we have more of a log scale?

I don't want to change the number of levels, too many other things would need changing, and result in possible incompatibilities.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
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 »

I think it's not so important. I was always the loudest I use. :)
http://rc.emiter.hu/ (MegaSound 9X, GCL-2, FrSky-RSSI-DAC, etc.) Keress fel!
andrewju
Posts: 784
Joined: Tue Aug 21, 2012 7:29 am
Country: Russian Federation
Location: Moscow

Re: Audio (voice) - Stock 9X PCB

Post by andrewju »

My opinion is that this could make sense. But if it is left "as is" - I won't suffer either.

What I think could be more important (for some) is to add support for serial voice module in er9x for m64 (non-frsky) version. I saw you said you'll look into it in the ArduVoice-9x thread...
I don't know if it makes life any easier (probably not), but I think you can remove "SoundMode" from Audio Settings completely in '*-sv.hex' versions, because the use of -sv assumes the person has SerialVoice module installed.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

true..
And Sound Mode should move to the hardware menu anyway, as it is hardware dependent. You only set it once, unless the hw changes..
I did have a situation not long ago I would like to have had a very low volume.. Solved the problem by plugging the earphone in. I also installed a female jack plug on the radio, and it cuts the sound to the speaker..

João
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
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

The support for the serial voice is in the "standard" version of er9x, just the menu option to select it is missing! It was conditionally compiled for the 128/2561, and should have been in the standard version as well.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
dusan
Posts: 10
Joined: Wed Oct 23, 2013 5:37 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by dusan »

Can this Audio board be connected with the computer using the TX and RX present on the USBASP board? I hate to use 2 usb connections, one for updating the flash/eeprom on the main m64/m128 and another FTDI for the audio board.

dusan
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Not at the moment.
I do have one radio that has a bootloader. I think only the er9x-128 firmware has a bootloader. And I can use an FTDI adapter to program that radio. And I also use the same FTDI to communicate with, and program the audio board. Unfortunately I don't think it is possible to have the FTDI connected to both at the same time.. Maybe I'm wrong, but I remember asking that same question in the past and the answer was negative.

João
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
dusan
Posts: 10
Joined: Wed Oct 23, 2013 5:37 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by dusan »

The bootloader on the main is activated when the trims are switched towards the inside upon powering up the radio. What is the procedure activating the bootloader on the audio board? I remember reading of a byte sequence? If so it could be connected to both, right?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

As I said I remember asking because I also wanted to do it.. I'm going to let the person that really knows about it answer the question ;) :)

João
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
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

The main application in the Meagsound board should recognise an attempt to access the bootloader (byte sequence), and drop out to the bootloader. Unfortunately, the bootloader in the '128 is the same code, so uses the same byte sequence. This means that if both are connected together, and you flash the '128, the Megasound board will also respond.
The serial port used by the bootloader on the '128 is also used for telemetry.
If connected, the serial port on the Megasound board is also connected to the second serial port of the '128, in order to allow backup and restore to the SD card from the EEPROM.
You will need to connect the FTDI to one or the other I'm afraid, not both at the same time.

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 »

Hmm, That could be done with a simple switch that selects the TX and RX from the radio, or from the Sound module to the FTDI.. A small switch could probably be placed inside the battery compartment, or somewhere else on the radio.. :)
I would try on my radio with m2561, but it still doesn't have the bootloader..
Mike, could you please compile a version of the latest m2561 test with the bootloader, If it is not too much trouble at the moment?
I already have an FTDI permanently installed on that radio ;)

Thank you

João
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
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I'll need to do some significant changes to the bootloader for the '2561, which is why I haven't already done it. The '64 has 32K words to program and the '128 has 64K words to program (1 word is 2 bytes). This means they may be directly addressed from a 16-bit value. The '2561 has 128K words and needs extra addressing information to allow full access to all the flash memory.

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 »

Understood (I think), ;) :) :D

Thanks..

João
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

Post Reply

Return to “er9x”