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

Yes, I think you do need the custom one as er9x "knows" where that one is and jumps to it on command.

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 »

Hello,
I saw on the video from João that he has extra switches/buttons with his ArduVoice.
So I have some questions now =):
How you can connect more switches to the ArduVoice?
Do I need a special firmware on the ArduVoice modul for this?
How do I wire this extra switches?
How er9x know I have extra switches?
I also saw that he had an 3 positon switch on ELE.
How you connect the 3 positon ELE switch?
How er9x know I have that 3 postion switch?
Thanks for your help.
rcfish
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 »

Hey, good to see you here.. :) :D
Before trying to answer your questions, I have a few questions myself.
Tell us a bit more about your setup.
Do you already have an arduvoice module already? Or did you buy/built a Megasound voice module?
The ArduVoice talks to the radio over serial. The Megasound talks to the radio using the LCD lines.
Some of your questions can be answered if you read the first few posts on this thread.
What radio do you have, and what processor does it have?

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 »

I have the normal 9x with a m128 processor and I have did the frsky telemetry mod. I have the newest fw of er9x . I want to build the ArduVoice and have most of the parts i need already.So i would connect the arduino with serial to the processor.
I hope i answered everything :)
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 just noticed that I forgot to make to mark show which pins to connect the extra switches on the stripboard pictures, probably because when I designed the stripboards for this project Mike still hadn't implemented the extra switches in Er9x ...

Please see this post:

viewtopic.php?f=5&t=6831#p94510

Pins 7 and 8 of the arduino are EXT1 and EXT2 in the Er9x hardware menu.

To enable the hardware menu, that is protected, just turn the radio ON while holding the left horizontal trim to the left for a second or two, and then release it.. Now you can find the hardware menu in the Radio Setup index.

The extra switches Are PB1 and PB2. Just select EXT1 and EXT2 as sources to tell the radio to use the pins 7 and 8 on the arduino for the extra switches.. I have them installed as push buttons on the back of the radio..

The pin I've used to make the ELE switch a 3 position switch was pin 35 of the atmega (PC0). You can also use pin 17 (PB7) as it is easier to solder to..

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 »

Thank you.
Are there only 2 external switches?or can i add even more?
Can I use pin 35 and pin17 for two different switches?
Can i use something like sliders on the external switches?
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 »

yes, I think so.. Enter the hardware menu and check which pins you can use..
You can also turn another 2 position switch into a 3 position, I believe..

It's been quite a while since I did this :) I installed an Ar9x board in my other 9x radio. It is not so expensive and already supports telemetry and voice. And it has a much more powerful ARM processor.
I still have my Er9x radio though as I have also modded the gimbals to use Hall sensors instead of potentiometers..

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 »

Ok,can you tell me what's this PG2, PG5 and L-WR?
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 »

Have a look at the PDF file attached.

João
Attachments
Turnigy 9X Service Manual.pdf
(179.45 KiB) Downloaded 422 times
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 »

I think L-WR is pin 39
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 »

Very usefull file. Thank you.
I hope maybe Mike can tell me what's pin L-WR and pin PG5 because I can't find them. PG2 is normaly used for a piezo speaker.
Another question : Is haptic feedback still available, when I install the 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 »

No, PG2 Is normally used for the haptic feedback. So if you want haptic, you can use this pin for a switch.

Funny that I can't also see PG5.. And I don't remember what it was :(

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 »

PG-5 is only on a '2561 processor.
L_WR is pin 39. To use as an input you need to remove the 5K1 resistor it connects to (leave the 10K after the 5K1), then connect a wire to pin 39 (or the resistor pad it connects to.

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 »

Ahh, so on my radio that has a m2561, I can use PG5.. Good to know, 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 »

Thank you Mike + João
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Hi, I have read through this thread a few times now and have a couple of questions for Joao or Mike if that's ok....
I have a 9X with the 128 processor, Smartieparts 2.4 board and Telemetrez board, running latest ER9x. I'm interested in making the stripboard version of the voice board but am not sure how it would work alongside the configuration of this particular radio....for instance the backlight....would I have to disconnect it from the Smartieparts board ? I'm also a bit confused over programming etc. as obviously that's done via the SP board at the moment. Any help would be much appreciated.
I haven't got any parts yet, so want to understand a bit more before ordering any. Soldering, wiring etc. is no problem, just need a bit more confidence that it should work !
Cheers
Don
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 »

Yes, the backlight would be controlled by the Voice Module...

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
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Thanks for that quick reply....that's one step closer 😀
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 »

On the first post there are the pictures showing what connects to the module.

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
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

I was a bit confused at first over the programming, regarding the references to loading bootloader and firmware but having just read it all again, I take it that it is meaning just to the voice module....not to the radio itself ? If I'm wrong please let me know.
Thanks
Don
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 »

Yes, you will have to flash a bootloader to the module, and then flash the firmware to it.

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
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Thanks again, I now understand and will order all the parts and have a go.
Cheers
Don
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Hello again, I have now built my voice module and have installed it in the 9X and done all the wiring etc. except for the SD card board, which I'm still waiting for. Loaded the bootloader and firmware as per the 1st post, all went well and everything seems to work so far....
I'm still a bit uncertain about something though....when it comes to accessing the SD card, I will now have an FTDI adapter board, as well as the Smartieparts 2.4 board....do I use the FTDI just for loading voice files on the SD card, do I still use the USB connector of the 2.4 board to connect to Eepe for firmware changes and so on ?
This is the bit I don't quite understand and any advice much appreciated.
Thanks Don
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 »

Yes, the smartiparts board and the voice module are 2 completely different things.. The smartieparts board programs the radio and manages the eeprom as it always did.

The voice module can also store models in the SD Card. You can use the FTDI to:
- Update the voice module
- copy/delete models between SD Card and PC
- Upload/ download voice files to/from the SD Card

When you are in the Model Select menu you have an option to "Backup" the model. This option copies it to the card. The "Restore" option copy a model from the card to the radio's memory..

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
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Brilliant, that's answered my question ! Thank you very much to both yourself and Mike and the other contributors to this thread for giving me the confidence to make something that actually works without having the full understanding of it. I enjoyed making the stripboard version.....it's the sort of thing I used to do years ago.
With the Smartieparts 2.4, plus the Telemetrez boards, there's not that much room left, but I managed to fit it between the gimbals towards the top of the radio. I'll be able to fit the SD card board in a little bit of space left in a bottom corner, hopefully it will arrive tomorrow. Not too sure about the FTDI yet, may decide to leave that out !

Cheers Don
Attachments
image.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 »

I would leave the FTDI out if I were you.. :) I remember having a hard time making it work. I have it working though. But it seems, as far as I remember, that different FTDI adapters behave differently, and what it might work with one, might not work with the other.. :(I'm amazed you made that huge board fit in the radio :) Good job :)

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 »

I still have one of those. :) Just found it. Not in use now ;)
IMG_20170301_230646.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
don9f
Posts: 46
Joined: Fri Nov 02, 2012 10:47 pm
Country: -
Location: Staffordshire Moorlands UK

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

Post by don9f »

Hi, after a bit of delay from the ebay seller, I finally received my micro sd card board today and once installed, the first two cards I tried didn't work in it at all but the third one did and I was able to backup models to the card etc. and get voice alarms working !
I had to transfer the voice files to the card using a laptop as I haven't yet been able to "read" the card via the serial adapter but know there are various problems with this, so thats for another day.
Thanks to everyone for this interesting project....
Cheers Don
risnandar
Posts: 1
Joined: Tue Mar 07, 2017 1:31 pm
Country: -

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

Post by risnandar »

i want to build one like this. nice project

how do you remove the copper in stripboard? mine is too cruel, i just drill the hole to remove it
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 »

Use a large enough drill bit (3.5mm diameter), place it on the hole (copper side to the drill bit) and turn it by hand until the copper is removed around the hole. No need to drill right through.
I have a special tool for this job, but all it really is, is a 3.5mm dril bit with a handle to make turning it easy.

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

Post Reply

Return to “er9x”