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
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

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

Post by Kilrah »

Yes.

tolisn
Posts: 35
Joined: Sat Nov 08, 2014 9:30 pm
Country: Greece

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

Post by tolisn »

Thanks for all the help. I will be making a pcb to support the boards. I'm hoping to fit it in the space between the gimbals.
tolisn
Posts: 35
Joined: Sat Nov 08, 2014 9:30 pm
Country: Greece

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

Post by tolisn »

In order to test arduvoice without connecting it to the radio I was thinking of hooking it up to an arduino and sending it commands so it can speak. Is there somewhere that I can find the commands required to be sent over the serial bus that will make the unit talk?
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

I figured I would post this If anyone is looking to flash your Arduino Pro Mini before completing the board build.
You'll need to use your USBASP and follow the diagram to wire it up.
There are a few application you can use like Bitburner, AVRDUDESS and I think Xloader will work.
Attachments
USBASP to Arduino Pro Mini.jpg
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

Ok I built a 3rd module for my Turnigy 9X - I'm running ER9X Ver820.
I could have sworn I built it and programmed it exactly as I did the other previous 2 but for some reason I am not getting the Welcome to ER9X when you turn on the transmitter and I have no back light.
I get the second half of the welcome message and I get sound when programming a switch function.
Any idea's what too look for?
I think I read somewhere it could be a bootloader issue.
Is there a hex anywhere that has the bootloader and firmware in one?
I think I saw something in another post about a combined file but I think that was for the real megasound card.
Thank you,

Joe

axljackass
Posts: 15
Joined: Mon Sep 26, 2016 9:01 am
Country: -

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

Post by axljackass »

same for me able to make it work but no welcome message and need to wait for few minutes before the module can work
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

Yeah I'm puzzled.
I loaded to bootloader file then the AMOD file as per 1st post but it didn't make a difference.

I get EasyStar file announced and can get sound with switch like gear up and gear down but no welcome to ER9x :(
I pulled the SD card out and verified it works in another setup with no problem.
I also can't figure out how to access the SD card using my serial adapter.
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 »

Do you get a splash screen when you turn the radio ON?

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 7:47 am Do you get a splash screen when you turn the radio ON?

João
Joao I don't get the Splash Screen come to think of it.
Also I have no backlight.
Oh I tried getting into the SD card while in Bootloader mode but the computer never connects the radio screen stays with the Bootloader on the screen
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 »

Please go to "Radio Setup / General" and make sure that the splash screen option is ticked.
if this option is not ON, the welcome message will not be played.

For the backlight, go to " Radio setup / Display", and set "Light Off After" to about 10 or 20 seconds.. see if you have your backlight back now.
The backlight should work as you also have the voice working.. If not, then check your backlight connections. make sure you didn't reverse polarity of the LED light.

Please try to solve these problems before we move to the connection problem :) One problem at the time ;)

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 11:52 am Please go to "Radio Setup / General" and make sure that the splash screen option is ticked.
if this option is not ON, the welcome message will not be played.

For the backlight, go to " Radio setup / Display", and set "Light Off After" to about 10 or 20 seconds.. see if you have your backlight back now.
The backlight should work as you also have the voice working.. If not, then check your backlight connections. make sure you didn't reverse polarity of the LED light.

Please try to solve these problems before we move to the connection problem :) One problem at the time ;)

João
I will check it later on when I get home from work. Thank you.

I did notice when I touch the back of the amp board along the backlight signal circuit ( fingers have moisture on them ) the display will come on.
I have rechecked all my connections and they look correct as well with all the resistor values.
I may recheck the NPN transistor to make sure it isn't bad as that part of the circuit correct?

Thanks Joao
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 »

One thing to check is that you didn't connect the transistor wrong, for example, reversed..

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 12:53 pm One thing to check is that you didn't connect the transistor wrong, for example, reversed..

João
I connected it as per diagram, I looked at it last night.
The flat side of the transistor is facing the voltage regulator.
I'll have double check it when I get home later.
Thanks,

Joao
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 »

But is it the same transistor or an equivalent? Different transistors could have a different pinout.

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 1:07 pm But is it the same transistor or an equivalent? Different transistors could have a different pinout.

João
I used BC546B BC546 Transistor NPN 65V 0.1A
I am sure they are installed the same way on all 3 boards.
The first 2 are working without issues, maybe the 3rd one is bad or I blew it?
I will check it later.
Thanks again,

Joao
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 »

Check your soldering.. :)
Also, don't forget to check those options on the radio :)

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 1:43 pm Check your soldering.. :)
Also, don't forget to check those options on the radio :)

João
Ok Joao the Splashscreen was off, I must have never put it on and didn't realize the sound relied on it.
In still have no backlight.
I jumped the ground wire to a straight ground and it comes on?
How does the Arduino control it?
What should I look at?
The transistor tests ok and is in same direction as in your diagram. Flat part facing regulator.
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 »

Follow the schematic on the first post. make sure
you didn't forget to connect a wire from arduino D9 to the other board "Backlight Signal"..

Did you check the "Radio Setup / Display" menu? Please confirm that the option "Light OFF after" is set to something other than "OFF"

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Thu Aug 02, 2018 9:51 pm Follow the schematic on the first post. make sure
you didn't forget to connect a wire from arduino D9 to the other board "Backlight Signal"..

Did you check the "Radio Setup / Display" menu? Please confirm that the option "Light OFF after" is set to something other than "OFF"

João
Ok I found the issue. The backlight is fixed now.
It was a solder joint on the amp board at the pin coming from the the signal wire. It was somehow never attached in to the trace.
Ok so now that it's all fixed and working how do I access the card using my FTDI serial adapter?
Thanks Joao
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 »

Good question.. It has been ages since i did that.. Please let me try on my radio..

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
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, it seems there is a bug in Er9x, at least for the m2561. The latest test version has a bootloader. If I put the radio in Bootloader mode, it won't stay, it falls back to the firmware after a few seconds.. This prevents communication between eepe and the voice module.. If i am quick enough I can still load most of the model list on the Card, but then cannot do anything else..
Reverted the firmware to the previous version without bootloader, and the communication between eepe and the voice module now works, and I can receive, delete and send models..

@ hackerjoe, What processor you have in the radio, and what version of er9x are you running?

Also, try this. Connect the FTDI adapter to PC and the voice module. Now start the radio while holding both horizontal trims inwards. Start eepe, go to "Burn / Serial SD", select the correct COM port, and hit List models.. what happened?
after try to send a model file to the radio.. Model files have the extension .eepm

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Fri Aug 03, 2018 12:04 am Ok, it seems there is a bug in Er9x, at least for the m2561. The latest test version has a bootloader. If I put the radio in Bootloader mode, it won't stay, it falls back to the firmware after a few seconds.. This prevents communication between eepe and the voice module.. If i am quick enough I can still load most of the model list on the Card, but then cannot do anything else..
Reverted the firmware to the previous version without bootloader, and the communication between eepe and the voice module now works, and I can receive, delete and send models..

@ hackerjoe, What processor you have in the radio, and what version of er9x are you running?

Also, try this. Connect the FTDI adapter to PC and the voice module. Now start the radio while holding both horizontal trims inwards. Start eepe, go to "Burn / Serial SD", select the correct COM port, and hit List models.. what happened?
after try to send a model file to the radio.. Model files have the extension .eepm

João
ER9X - r820
128A Chip
I didn't know you needed to use EEPE.
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 »

Of course, How do you think you communicate with the voice module? ;) There is a video link on the first post that shows how it is done..

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

Cool I don't think I saw that one.
Thank you again,
I will try it tomorrow its almost bedtime for me.

Does it matter what version of eepe you use ? I think I am using revision 421
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 »

The latest is always the best because Mike might have improved it and implemented new features. Same goes to the firmware..

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

Ok so I made up 2 quick models.
I booted the radio in Bootloader mode, the serial adapter is connected to laptop and using eepe 421 version I can see the models I just created.

I don't see any sounds however.
Is there something else I need to do Joao?
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 »

No, you don't see the voice files.. You can send voice files to the card though.. But please note that if they have the same file names as another files on the SD Card, they will replace them.

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
hackerjoe
Posts: 89
Joined: Fri Dec 08, 2017 1:58 am
Country: United States

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

Post by hackerjoe »

jhsa wrote: Sat Aug 04, 2018 2:32 am No, you don't see the voice files.. You can send voice files to the card though.. But please note that if they have the same file names as another files on the SD Card, they will replace them.

João
ok got it Joao
Thank you for all the help, I appreciate it.
I should have done all 3 radios over last winter but I ran out of time and went onto a new project.
I'm just getting back to finishing this.
I still have 2 planes to build and 2 quads waiting on me, maybe this coming winter.
Now I can button up my last Radio then swap out my stock receiver with a D8R-II PLUS in my Octocopter.
I want to have a true failsafe.
Thank you again,
Joe
tolisn
Posts: 35
Joined: Sat Nov 08, 2014 9:30 pm
Country: Greece

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

Post by tolisn »

Hi
Is Arduvoice based on an arduino with a mega164 or a mega328 chip ?
I'm trying to make a pcb and I'm sourcing the required parts.

And one more question. Is the bootloader a common arduino optiboot bootloader or something specially designed for arduvoice ?
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 »

The ArduVoice uses the m328p chip.
About the bootloader, I think Mike might have used a modified one, not sure.. He will for sure let you know, if he sees these posts :)

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”