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.
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: Tue Feb 27, 2018 7:40 am It should also work with er9x, but it is not an ArduVoice, it is a Megasound board which is parallel. It could probably be modified to work as serial.. I don't have the board though so I don't know the schematic for it..

João

Sent from my BLN-L21 using Tapatalk
Hi João,

Do you have a diagram or photo of the back of the single board version?
I want to make sure the shunts and opens are in the correct spots.
Thank you,

Joe

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 »

Sorry for the late answer. Is this what you need?ImageImage

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

Thank you, João

It Kind of does João,

I guess its the newest version but I see now you added a 10U Cap and different Transistor ( which I don't have that transistor )

I'm building the 2 board version at the moment and will give that a try before building the single board.

One question is do you have to do the speaker mod for this to work or will installing the ArduVoice bypass the old OEM beeper/speaker
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 »

hackerjoe wrote: Tue Mar 13, 2018 12:04 pm

I guess its the newest version but I see now you added a 10U Cap and different Transistor ( which I don't have that transistor )
Not sure I understand, I believe I always used that transistor, which if I remember, switches the backlight..
One question is do you have to do the speaker mod for this to work or will installing the ArduVoice bypass the old OEM beeper/speaker
No need for speaker mod the beeper signal is fed to the arduVoice board, and it will be played through its speaker.

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 »

Hi João,

Sorry, I meant the transistor is in a different spot, you have an extra 10uF Capacitor on the latest diagram you just posted.

I don't recall seeing it on the first page, I think there were only a 10uF and 220uF cap on the first-page diagram.


I was thinking the voltage regulator was different but its the same 7805. It just looks bigger.

Joe

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 »

it's been a long time since I last played with 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
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 »

Yes João, I realize that and again I thank you for taking the time out to reply.

Just an update.
I'm going to build the 2 board design first.
I'm working on the Amplifier board and have completed the Arduino board minus connections.
I just rechecked my work and noticed I used the wrong value resistor for R9 so I found the correct one and swapped it out.

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

Hi again,

I realize this is an old thread but can someone help with loading the bootloader please?

I have an Arduino Pro Mini
I do not have the completed module in the transmitter yet and figured while I had it out I can install the Bootloader.
I have tried using my USBasp programmer with eepe but get a sync error and I don't think anything is getting loaded.
Also I'm not sure if I'm supposed to see a com port using a using my USBasp programmer.

I think you can use the Arduino IDE program to flash a bootloader but you have to manually add it to the board file which I am not 100% on how to go about that and where I would get all the files needed.

Thank you for any help or suggestion.
I have checked to make sure everything was connected right and it is and have read this thread like 3 times.
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 believe I used "AVR Studio 4" to flash the bootloader. But I had another programmer, not the UsbAsp..
never did it with the arduino IDE, so I am not of much help unfortunately :(

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 thank you I will look into that.
There is also something called ARVdudess as well

Thank you as always
User avatar
MikeB
9x Developer
Posts: 17979
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 »

AvrDudess is a GUI frontend of AvrDude, and works quite well.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
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 have tried to load the bootloader with my USBasp but nothing can detect the arduino.
The USBasp is loaded correctly with the right drivers. I used it to flash ER9X to the radio.

I double checked all connections and checked the 6 cable to make sure they are ok.

Is there a way to burn the bootloader using FTDI adapter ? I can flash blink sketches to the pro mini and I see the light timing change so that's working.

I don't understand what I'm missing :(
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 think I got the bootloader and firmware loaded. ( I am not sure how to tell for sure until it installed ) Is the LED supposed to blink after flashing it ?

I used a different laptop (Windows 7) that had Bitburner on it.

I loaded the Bootloader (EEPROM) first then the Firmware (Flash). I hope that's the correct order?
It worked!
I also tried AVRdudess and it worked as well. ( I was logged in as local admin on my Windows 7 laptop if that matters so keep that in mind )

Ok, now its time to wire the card to the radio and hope it all works.
I'm guessing something didn't like my Dell Windows 10 laptop for some reason or you need to logged in using the local admin account.

I have 2 questions :
1. Should I remove the 2 resistors at pin 27 & 28 on the board
2. Should I remove the OEM speaker and run the tone input to the soundcard or leave it be? Does it matter? (
I did order vibration motors to add them as well but they must be coming over to the USA on a slow boat :)
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 your recent PMs, thought I’d have a look in here as it’s been some time....

Regarding your questions:-

1. I didn’t remove the resistors on mine and all seems to work ok.
2. I did remove the original beeper and connected to the new board instead. Beeps work well.

The only thing I haven’t got working yet is the volume control from one of the pots....must be doing something wrong!

Hope that helps.

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

A question on the Trim connections ?

In the photo on the first page it says to connect to pins 27 & 28 on the main board but it looks like its actually soldered to pin 28 and 29.
I just want to be sure before going ahead and soldering to the resistors.
The schematic for 9X radio shows pin 27 & 28 as the 4th and 5th in that row on the photo on page 1. When I am looking at my board its the 4th and 5th resistors as well.
I attached schematic photo - this is how I see it on my board as well
Attachments
Pins27and28.jpg
Pins27and28.jpg (20.23 KiB) Viewed 13886 times
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 »

Count the pins. It is definitely pins 27 and 28.
I will try to post a picture when I get to my computer.

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

Here is a picture
I did remove the resistors on mine..

João
Attachments
Untitled.png
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 »

don9f wrote: Wed Mar 21, 2018 7:40 pm
The only thing I haven’t got working yet is the volume control from one of the pots....must be doing something wrong!
Go to "Model Setup / General", Scroll down to "Volume Control" and select the Pot you want to control the volume with.


@Mike
I have just tested this, the volume pot works, but I can't turn it down to completely mute it.. Is this normal?
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
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 »

Joao,
Is the photo for the trim connections correct? It looks like 28 and 29 ?
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 photo was actually originally posted by Mike, so yes, it is correct. You are obviously not counting the pins correctly. On the picture, the first pin at the bottom near the crystal is pin 17, top one is 32. Follow the tracks and you will see that those resistors are connected to pins 27 and 28..

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 its the pins for the CPU. Thank you I wanted to make sure.
PIN 27 & 28 are ElevTrimUp & ElevTrimDn :D
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 »

That is on mode 1. They are the throttle trim on mode 2. They are the left stick vertical trims to be more precise..

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
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 everything is installed and the sound board powers up.
I removed OEM beeper and transistor.
I get a beep when powering up from ArduVoice.
I enabled M'sound serial in hardware mode and changed mode sound to Megasound.

How do I setup what file plays for whatever switch is toggled ? Or is that the program that the Arduino is running? If that's the case I have no sound.

Does the FTDI adapter need to be connected? I think I had RX & TX connected to it but no ground. I'm hooking up the ground as I post this.

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

jhsa wrote: Thu Mar 22, 2018 8:28 am
don9f wrote: Wed Mar 21, 2018 7:40 pm
The only thing I haven’t got working yet is the volume control from one of the pots....must be doing something wrong!
Go to "Model Setup / General", Scroll down to "Volume Control" and select the Pot you want to control the volume with.


@Mike
I have just tested this, the volume pot works, but I can't turn it down to completely mute it.. Is this normal?
Thanks

João
Hi Joao, thanks for your advice....I had already done that but have now realised that altering the setting of the volume control (P1) only takes effect for the “next” voice file to be played....I had initially thought it would work “during” a voice file.
All is ok now.

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 »

hackerjoe wrote: Thu Mar 22, 2018 10:26 pm OK everything is installed and the sound board powers up.
I removed OEM beeper and transistor.
I get a beep when powering up from ArduVoice.
I enabled M'sound serial in hardware mode and changed mode sound to Megasound.

How do I setup what file plays for whatever switch is toggled ? Or is that the program that the Arduino is running? If that's the case I have no sound.

Does the FTDI adapter need to be connected? I think I had RX & TX connected to it but no ground. I'm hooking up the ground as I post this.

Joe
Hi, I haven’t got an FTDI adapter installed inside my Tx, leaving a connector in the battery bay to be able to plug one in if required in the future, so no that doesn’t have to be connected.
The voice files are stored on the micro SD card and are all numbered. To allocate a voice file to a switch for instance, go to “Model Setup”, “Voice”, select a line to use/edit, set the “Source” (example CH5 which could be controlled by a switch), set the “Function” (example v~=val which means variable is approximately equal to the value), set the “Value” (example 700), set “On no Telemetry” to Play (so this works without having any telemetry from a receiver), set “FileType” to Number (so it chooses one of the numbered files mentioned earlier), set “Voice File” to your chosen file number (example 160) which should play “Throttle Cut Active” if the switch moves CH5 to a value near to 700.
After all this, it’s just a matter of playing around!

Cheers Don
Now if the switch is used to set a value of 700 on CH5 and the
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 »

Download the Er9x voice pack from here

http://openrcforums.com/forum/viewtopic.php?f=5&t=7717

Also, here you will find some videos on voice and Er9x in general. There are 3 videos explaining how to program voice.

https://www.youtube.com/playlist?list=P ... qcuIqJXhb9

This link is also at the end of all my posts, together with the donation link for Mike, the Er9x and Ersky9x Developer..

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 »

Hi all,
Ok I ripped everything apart last night after noticing no change on the Arduino led when trying to play a file. :shock: :? :x
I may have reversed pins 27 & 28 to the Arduino not sure and also possibly the trims inputs. :oops:
The other thing I noticed is that the Aileron switch didn't change status after adding the sound board. ( I think I added a sound board ground on the main board in a spot I shouldn't have not 100% ) :roll:
After fixing all the inputs to the arduVoice board I saw the led flash finally indicating it was doing something.
I tried adding the 20k resistor on the SD card reader I saw someone posted about but that made no change. :roll: :o

I thought the beeping was coming from the speaker but realized it was the DHT module speaker ! Duh ! :roll: :oops:
I then suspected the speaker was bad. :D
I think the speaker I used wasn't new but something I had laying around so seeing it may be bad I switched it out with a brand new one and to my delight I have sound now ! :D

Thank you all for all the help and suggestions.

Joao I watched your video on YouTube from 3 years ago that tipped me off to the LED on the Arduino flashing when it plays a file. Its the one that shows how to setup the switches to play a file off the SD card.

I was up for hours but got it done - the wife asked what time I went to bed last night and I said I don't know I didn't look at the time,
Beside I didn't want to know at that point....

I have one more to build for my TH9X now with an Atmega128 - I will post a photo of the next board when its done.

My other TH9X is an Atmega64 can you do the sound card in it or is there not enough memory in it?
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, well done :) Congratulations ;)
hackerjoe wrote: Fri Mar 23, 2018 5:38 pm I was up for hours but got it done - the wife asked what time I went to bed last night and I said I don't know I didn't look at the time,
Beside I didn't want to know at that point....
I do know what you are talking about.. When I am working on something I completely forget about the time. That is why people see me replying here on the forum at any time of the night or day :mrgreen: I had already a few people asking me if I sleep at all :mrgreen:
My other TH9X is an Atmega64 can you do the sound card in it or is there not enough memory in it?
It's been quite a while, and Mike could probably answer this better than me, but I think there is a special Er9x version only for the voice over serial. This version is only for the m64 processor..

I have just checked on www.er9x.com and the file is called "er9x for M64-FrSky with serial voice"

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 »

ArduVoice.jpg
I made another sound card its basically 2 but on one board.
I attached a photo of it before wiring it.
Thank you for making sound happen Joao & 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 »

It is not only sound :) you can have 2 extra switches with the ArduVoice :) I installed 2 pushbuttons on the back of my radio ;) :D

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

Post Reply

Return to “er9x”