ArduVoice-9x Voice Module with Arduino for the 9x Radio

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

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

What audio amp are you using?
You don't seem to be using the filtering circuitry between the atmega and the audio amp. Please take a good photo from the atmega board. I have the feeling you are not following the original schematic at all.

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

Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
Sorry for inconvenience.
Audio amp PCB all same as schematic, it is work (speaker bip when power on). The filtering circuitry between the atmega and the audio amp are SMD part solder on bottom size of PCB.
I flashed the module with the serial adapter by connect 3 wire (TX, RX, Gnd) from USB UART to Arduino Pro Mini and flashed successful (Pls see attached picture). This serial adapter I used to flash openXsensor PCB as well.
I have tried flash the combined firmware by ISP programmer as on the first post "combinedSerial.hex" but the result same as when I flashed "Bootloader_optiboot_atmega328_16.hex" by ISP programmer and then flash "Firmware_amod_lastSer16.hex" by serial programmer.
My Your SD Card reader add LC filter on 5V line as i read on this thread. This SD Card reader work well (I have tested with Arduino nano PCB).
Thank you for your help.
Luu
Attachments
Flash success.JPG
Flash success.JPG
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

Are you using the LM386 audio amp? It does not look like it on your picture.
Again, please post a picture of your atmega board. I would like to see what you have in there..

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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I used LM3886 straight line pin for audio amplifier.
I will post all pcb pictures next week because I left them at my company.
Thank you, have a nice weekend.
Lưu
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Sorry LM386, not LM3886

Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I upload PCB pictures for more information.
Please have a look.
Thank you.
Luu
Attachments
DSC_0020.JPG
DSC_0018.JPG
DSC_0015.JPG
DSC_0013.JPG
DSC_0012.JPG
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
Some update...
The sound module only work after power on the Tx and press reset SW on Arduino Pro Mini many times. But SD card not work as well.
If i touch on R4 on Micro SD card adapter, it work.
Do you have any idea.
Thank you,
Luu
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

Defective SD Card adapter? Difficult to say..
I would try another one anyway as that one seems to have been modded already.

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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I have changed to another brand of micro SD card and it work now but still have to press reset on Arduino Pro Mini.
Thanks,
Luu
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

I have no idea why is doing that :(

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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I think communication between ATmega328 and ATmega128 at power on is not good. Now I connected reset SW to outside, power Tx on and press that SW 2 or 3 times and everything work well. :oops:
Thank you for your help.
Luu
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

I don't remember seeing that happening when I did it. I know I had problems with an arduino nano, but not with the pro-mini..
Maybe Mike has an idea why you need to reset the arduino.
Did you remove the resistors on pins 27 and 28 of the radio processor? I did remove mine, and as far as I remember it did solve some problem, I just can't remember which problem.. :( Maybe you should try that..

João
Attachments
9X Board_Remove resistors Pins 27 and 28.jpg
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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I removed these resistor already.
Thanks.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

You have the diode between pin28 and the arduino, right??
Check that the anode is on the arduino side, and the cathode connects to pin28 of the processor..

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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I solder diode between Pin28 and arduino board already, polarity is correct.
Thank you,
Luu
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

Hmm, I don't know, I'm just guessing here. Do you have the bootloader installed?
I'm out of ideas. It is difficult when you don't have the hardware in front of you.. :(

João
Edit: do the trims and the backlight work before you have to press the reset button?
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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
I have tied two way:
1. Flash bootloader by ISP first and flash firmware by serial.
2. Flash combined (firmware and bootloader) by ISP.
Both have same result.
Trims and the backlight work after I press press the reset button.
Thank you so much for your help.
Luu
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

And the voice also?
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
Hoangluu
Posts: 35
Joined: Wed Oct 12, 2016 6:40 am
Country: Vietnam
Location: Binh Duong

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by Hoangluu »

Dear Joao,
The voice also work after press reset button.
Serial connect to PC only work after press reset button (TX in bootloader mode).
Thank you,
Luu
rcfish
Posts: 62
Joined: Tue Jan 10, 2017 8:11 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by rcfish »

hello,
I want to build my own arduvoice. But I dont understand one thing. How is the throttle trim exactly wired after the modification?
And can you only put models from pc to tx and from tx to pc or could you flash the tx with the serial port (this would be really cool).
Big thanks to you guys, João and Mike
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

rcfish wrote:hello,
I want to build my own arduvoice. But I dont understand one thing. How is the throttle trim exactly wired after the modification?
The 2 switches from the throttle trim connect to pins 2 and 3 of the arduino. Before they connected to pins 27 and 28 of the atmega 64. But these pins are needed for the serial communication between the module and the radio, so the trim was moved to the arduino.
And can you only put models from pc to tx and from tx to pc or could you flash the tx with the serial port (this would be really cool).
It has been a looonnng time since I've played with this.. I only have one radio with this installed, and it was a long time ago, so I don't remember much about it :) But I remember flashing the radio's firmware with a FTDI adapter. But I don't think this was related to the sound module. It is a different connection and I think not all the radio boards have the bootloader. I don't think the M64 has the bootloader, so flashing with the FTDI wouldn't be possible in this case.. Mike could probably confirm this..

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: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by MikeB »

Do you have a '128 processor? If so, then the .hex file (er9x-128.hex) includes a bootloader that gets flashed to the top of the flash space. This uses the telemetry serial connections at 115200 baud and should work without needing the arduvoice module.

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: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

Mike, is the bootloader also on the m2561?

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

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by MikeB »

Not at present!

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: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

Ok, 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
rcfish
Posts: 62
Joined: Tue Jan 10, 2017 8:11 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by rcfish »

Hello.
I have installed the frsky telemetry mod and I want to install arduvoice now.
do i have to flash er9x-128-frsky.hex or er9x-128.hex?
and can i just use the normal arduino bootloader?
and con you flash the .hex files from arduino ide?
er9x-128.hex is including a bootloader for serial programming (with ftdi not with usbasp) (if this is right). What pins on the processor are the one you use for this? 27 and 28?
thx for the help
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by jhsa »

rcfish wrote:Hello.
I have installed the frsky telemetry mod and I want to install arduvoice now.
do i have to flash er9x-128-frsky.hex or er9x-128.hex?
where are you getting those files from? er9x-128-frsky.hex doesn't exist anymore. Please get the firmware files from www.er9x.com

Then after installing the er9x-128.hex, go to the hardware menu and turn ON the option "Frsky Mod Done"

To enable the hardware menu (it is protected) turn the radio on while holding the left horizontal trim to the left. >Release the trim after a second or two. Now the hardware menu can be accessed.
and can i just use the normal arduino bootloader?
and con you flash the .hex files from arduino ide?
Mike can answer this better than me. It has been a while since I done this :)
er9x-128.hex is including a bootloader for serial programming (with ftdi not with usbasp) (if this is right). What pins on the processor are the one you use for this? 27 and 28?
None of them.. those are used only for communication between the voice module and the Atmega128.
To flash the m128 using an FTDI adapter and the bootloader you connect to pins 2 and 3 (MOSI and MISO).

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
rcfish
Posts: 62
Joined: Tue Jan 10, 2017 8:11 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by rcfish »

:D Ok, thank you. I hope Mike can answer me the other questions :D
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by MikeB »

rcfish wrote:and can i just use the normal arduino bootloader?
and con you flash the .hex files from arduino ide?
Do you mean flash an Arduino bootloader to the '128 or use Arduino as the programmer type?
If the Arduino IDE can select a .hex file and flash it, without compiling first, then you may flash it that way. You may also use eepe as the "front end" to do the flashing.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
rcfish
Posts: 62
Joined: Tue Jan 10, 2017 8:11 pm
Country: Germany

Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio

Post by rcfish »

i mesn the arduino pro mini already have the arduino bootloader. So do i need the custom optiboot bootloader?

Post Reply

Return to “er9x”