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.
User avatar
jhsa
Posts: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Fri Dec 02, 2016 9:04 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Fri Dec 02, 2016 9:34 am

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Fri Dec 02, 2016 10:04 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Fri Dec 02, 2016 10:42 pm

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Fri Dec 02, 2016 10:43 pm

Sorry LM386, not LM3886


Hoangluu
Posts: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Tue Dec 06, 2016 3:35 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Mon Dec 12, 2016 7:54 am

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Mon Dec 12, 2016 11:03 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Tue Dec 13, 2016 5:39 am

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Tue Dec 13, 2016 9:07 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Tue Dec 13, 2016 9:45 am

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Tue Dec 13, 2016 10:13 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Wed Dec 14, 2016 12:40 am

Dear Joao,
I removed these resistor already.
Thanks.

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

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

Post by jhsa » Wed Dec 14, 2016 1:03 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Wed Dec 14, 2016 1:07 am

Dear Joao,
I solder diode between Pin28 and arduino board already, polarity is correct.
Thank you,
Luu

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

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

Post by jhsa » Wed Dec 14, 2016 1:14 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Wed Dec 14, 2016 1:36 am

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Wed Dec 14, 2016 1:42 am

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: 30
Joined: Wed Oct 12, 2016 6:40 am
Country: -

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

Post by Hoangluu » Wed Dec 14, 2016 4:29 am

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

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

Post by rcfish » Tue Jan 10, 2017 9:24 pm

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Tue Jan 10, 2017 10:51 pm

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: 13629
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Tue Jan 10, 2017 10:59 pm

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.
ersky9x/er9x developer

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

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

Post by jhsa » Wed Jan 11, 2017 12:17 am

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: 13629
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Wed Jan 11, 2017 9:07 am

Not at present!

Mike.
ersky9x/er9x developer

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

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

Post by jhsa » Wed Jan 11, 2017 9:24 am

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

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

Post by rcfish » Fri Jan 27, 2017 1:27 pm

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: 15513
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

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

Post by jhsa » Fri Jan 27, 2017 4:34 pm

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

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

Post by rcfish » Sat Jan 28, 2017 8:06 am

:D Ok, thank you. I hope Mike can answer me the other questions :D

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

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

Post by MikeB » Sat Jan 28, 2017 11:02 am

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.
ersky9x/er9x developer

rcfish
Posts: 12
Joined: Tue Jan 10, 2017 8:11 pm
Country: Germany

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

Post by rcfish » Sat Jan 28, 2017 1:04 pm

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

Post Reply

Return to “er9x”

Who is online

Users browsing this forum: No registered users and 2 guests