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.
fxshoppe
Posts: 27
Joined: Sat Sep 08, 2018 3:45 am
Country: India

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

Post by fxshoppe » Sun Jan 06, 2019 7:14 pm

MikeB wrote:
Sun Jan 06, 2019 6:52 pm
The required fuses are described in the "instructions.pdf" file on Github for the amod.

1. The '128 is running at 5V. What voltage is your promini running on? If 5V, with a level converter to the SD card, then these connections are OK.
2. OK, but make sure the fuses don't then try to start in the bootloader.

If we can get the trims switches working, then we can get the amp side working later.

Mike
Thanks Mike

I assume the only way to enter bootloader is through trims so noted.

Really appreciate all the help, strangely I am zeroing it to a specific brand of promini bought them because they were with xtals strangely the same card reader is playing standard wave file using tmrpcm library and test wavefile on root of sdcard but when uploaded on this promini it is dud.

My entire gig is running on 5volts and the 3.3 volts conversion happening at sd card level

blessing in disguise learnt lots of things fuses,custom compile

If God permits and if am back in UK would like to take you out for beer
rgds Amit


fxshoppe
Posts: 27
Joined: Sat Sep 08, 2018 3:45 am
Country: India

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

Post by fxshoppe » Wed Jan 09, 2019 3:09 pm

Houston success at last

Compiled both the bootloader and program merged it to hex file as suggested.

The promini was not happy with twisted pair wires between card reader and promini.

Have not connected amp but a direct speaker to pin 6 and ground & voila have voice, trims working, backup & restore working.

https://youtu.be/ixSAVQ5b7dU

Now happy to help anyone who has abandoned this project.

Thanks Mike and everyone for patience and help

User avatar
jhsa
Posts: 19038
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 09, 2019 3:51 pm

Hey, good news.. well done, wonderful.. I haven't messed with this again since I wrote the first post. I have only one radio with stock board and it has an arduvoice inside.. But I have no reason to open it as it is working well.. :) I know that this voice module can be problematic sometimes. I spent many hours trying to make it work when Mike was writing the code to support it.. Actually I have just found the first 2 ever Arduvoice modules inside my computer desk drawer :)

You could now try to connect your amp and see if it has any problem..

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: 19038
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 09, 2019 3:55 pm

Wait a second, why did your radio say "Radio battery low"? Was the battery empty? Have you set an alarm for the radio battery? What firmware do you have installed 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

fxshoppe
Posts: 27
Joined: Sat Sep 08, 2018 3:45 am
Country: India

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

Post by fxshoppe » Wed Jan 09, 2019 4:42 pm

fxshoppe wrote:
Wed Jan 09, 2019 3:09 pm
Houston success at last

Compiled both the bootloader and program merged it to hex file as suggested.

The promini was not happy with twisted pair wires between card reader and promini.

Have not connected amp but a direct speaker to pin 5(not pin 6 as posted earlier) and ground & voila have voice, trims working, backup & restore working.

https://youtu.be/ixSAVQ5b7dU

Now happy to help anyone who has abandoned this project.

Thanks Mike and everyone for patience and help
PIN 5 not PIN 6 as posted earlier


fxshoppe
Posts: 27
Joined: Sat Sep 08, 2018 3:45 am
Country: India

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

Post by fxshoppe » Wed Jan 09, 2019 4:47 pm

jhsa wrote:
Wed Jan 09, 2019 3:55 pm
Wait a second, why did your radio say "Radio battery low"? Was the battery empty? Have you set an alarm for the radio battery? What firmware do you have installed on the radio??

João
Er9x pr822 (test version of 128 bit proc)

Some teething issues need to fix :D
Have connected a 12v charger as was too difficult to open and shut back cover.

Amit

fxshoppe
Posts: 27
Joined: Sat Sep 08, 2018 3:45 am
Country: India

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

Post by fxshoppe » Wed Jan 09, 2019 5:04 pm

jhsa wrote:
Wed Jan 09, 2019 3:51 pm
Hey, good news.. well done, wonderful.. I haven't messed with this again since I wrote the first post. I have only one radio with stock board and it has an arduvoice inside.. But I have no reason to open it as it is working well.. :) I know that this voice module can be problematic sometimes. I spent many hours trying to make it work when Mike was writing the code to support it.. Actually I have just found the first 2 ever Arduvoice modules inside my computer desk drawer :)

You could now try to connect your amp and see if it has any problem..

João
I can understand sharing all this because lots of people abandon the DIY due to initial teething issue.

I started on night of 24th December with a target date of 15 Jan as deadline before i shelve it.

24 years in IT we are taught good network cable has data consistency due to number of twist in the wire pair which is not the case with sd card module to pro mini.

Also compiled everything afresh as for strange reasons my ftdi was not uploading @ 38400 baud rate. Even used latest optiboot binaries.

As the saying goes all well that ends well.

Backup and restore working like a charm

Will upload the demo video soon.

My target is to build a 128 processor tx with voice & oled and keep it below 30 usd which was not possible without using serial interface and ersky 9x

Thanks to You, Mike and Reinhart for all the help.

I will create a detailed work instructions for it and upload if you permit.

regards
Amit
Last edited by fxshoppe on Wed Jan 09, 2019 5:48 pm, edited 1 time in total.

User avatar
jhsa
Posts: 19038
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 09, 2019 5:47 pm

Of course, that would be cool. :)

João

Sent from my BLN-L21 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

plastinaf
Posts: 14
Joined: Sat Dec 24, 2016 10:45 am
Country: France

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

Post by plastinaf » Sun May 05, 2019 8:09 pm

Hello
I have a Turnigy 9x whith M64 processor.
I have build the 2 boards of Arduvoice but not voice listening and BackLight stay always On.
Trim Ok, backup, Restore, Delete Ok Beep Ok but very low.
i don't know why no Voice.
Radio Setup / Audio Haptic" menu set the "Sound Mode" to "MegaSound" Ok
"M'Sound Serial" Mike said for M64 is compiled to the firmware.
Where you put the wav files in the SD card (Root, Folder or Sub folder) and what name for the wave file (00x.wav or Gear_up.wav)
Please it is possible to share the last combinedSerial or the last Amod_lastSer16.hex - 16MHz
Thanks for help

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

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

Post by jhsa » Sun May 05, 2019 9:25 pm

First of all, Voice pack. Follow the link, download and extract the voice files to the root directory of the SD Card. There is a doc file with the file list..

https://www.openrcforums.com/forum/view ... f=5&t=7717
plastinaf wrote:
Sun May 05, 2019 8:09 pm

I have build the 2 boards of Arduvoice but not voice listening and BackLight stay always On.
Trim Ok, backup, Restore, Delete Ok Beep Ok but very low.
i don't know why no Voice.
If trim, backup and restore are working, it means that your module is working. Please check the backlight connections again.
Check connections to the SD CArd module as well, and place the voice pack I have linked above in the ROOT directory of the SD Card.

Radio Setup / Audio Haptic" menu set the "Sound Mode" to "MegaSound" Ok
"M'Sound Serial" Mike said for M64 is compiled to the firmware.
This looks correct to me..
Please it is possible to share the last combinedSerial or the last Amod_lastSer16.hex - 16MHz
I think Mike has all that on his Github page, but I don't have the link at the moment.

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

plastinaf
Posts: 14
Joined: Sat Dec 24, 2016 10:45 am
Country: France

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

Post by plastinaf » Mon May 06, 2019 5:44 pm

Hy João
Thank you for your quick reply.

I uploaded the wav files from the link given to me on the root of the SD card, and now the voice works.
The sound volume is low and not very clear on the output of the amplifier.
If i solder the same speaker on pin 5 and Gnd directly to the arduino
the voice is clear but the sound volume is a little lower than amplifier output.
in radio setup General i put Volume Control to P1 but he not control all the voices.
example Timer Cont Down yes P1 control the volume but if i select a switch on Voice VA1 Filetype Number Voice File 150(Landin gear Up) P1 not control the volume idem for welcome Message on radio power ON.
it is not simple to affect a voice file by number because you must remember the numbers corresponding to the requested action.
i see your video to explain er9x New voice menus this one is verry simple to use but not in my firmware i have er9xProv822k --> er9x-frsky-sv.hex
because i have telemetry Mod may be the m64 not enough memory for this option.

for the backlight if ON is selected it stay allways ON i put nothing (---) and now works

Thank you so much João for your help now i am happy

plastinaf
Posts: 14
Joined: Sat Dec 24, 2016 10:45 am
Country: France

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

Post by plastinaf » Tue May 07, 2019 9:45 am

Hy João

All works fine i just replace my old speaker for an other and now P1 control All voice volume.

Thank you

User avatar
jhsa
Posts: 19038
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 May 07, 2019 1:13 pm

Great.. Bad speakers can happen.. Or perhaps that one had a higher impedance, therefore the volume was lower??
Anyway, well 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

plastinaf
Posts: 14
Joined: Sat Dec 24, 2016 10:45 am
Country: France

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

Post by plastinaf » Tue May 07, 2019 7:20 pm

Hy João
what is the last realise of the firmware for my old Th9x M64 moded to telemetry and arduvoice ? i use the JP4in1 module multiprotocol
i have flashded er9xProv822k --> er9x-frsky-sv.hex but it sem's to be a test firmware
how can i put my radio in maintenance mode to access extra switch ?
it is possible to play music whith my radio ?

regards

User avatar
jhsa
Posts: 19038
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 May 07, 2019 11:23 pm

The test version is stable, you can use it.
Your radio doesn't have maintenance mode, and can't also play music.
Those are features of Ersky9x that runs on more powerful hardware, not on the Atmega64 :)

You might be able to get two extra switches connected to your voice module.
Then you can configure them in the hardware menu.
To activate the Hardware menu, which is hidden for obvious reasons ;) turn your radio on while holding the left horizontal trim to the left, for about a second or two. Then the hardware menu will be available in "Radio Settings".

João

Sent from my BLN-L21 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

plastinaf
Posts: 14
Joined: Sat Dec 24, 2016 10:45 am
Country: France

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

Post by plastinaf » Wed May 08, 2019 8:54 am

hi João
ok i anderstand.
In the Hardware menu i have just 2 lines:
BandGap (ticked) What is this ?
and TelemetrEZ>=r90 (ticked)
Nothing to configure extra switches.
regards
François

User avatar
MikeB
9x Developer
Posts: 16622
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 » Wed May 08, 2019 2:04 pm

If you have a MEGA64 processor, then there isn't space in the flash memory for the other hardware options. However, if you read the EEPROM using eepe, you will find the other hardware settings available if you edit the general settings.

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


Post Reply

Return to “er9x”