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: 18014
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 23, 2017 9:10 am

Also when trying the voice module, do you keep the FTDI adapter always connected to power the arduino?
That might not work.. I remember having problems with it.
Disconnect the FTDI from the arduino and see if voice works.. Or if you can play that 0040.wav file with the test firmware Mike sent you. Remove the FTDI..

João

Sent from my thor 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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 9:58 am

hi joao,
i will see if i can find a sketch that plays something from sd card,
as i say i get the right results when checking using the arduino thats standalone, but i cant programme a sketch using arduino to the one thats part of the module,going to try your suggestions ,
cheers eddie

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 10:57 am

well joao,
i loaded a read write sketch to the standalone arduino that had been showing card info successful earlier,
and after the upload its supposed to show the files with test results,
on opening serial it comes back as card failed to initialise,
will try and find different card for next test,
cheers eddie

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 11:03 am

update reread sketch and it says cs pin is 4 so connected cs pin to pin 4 and it came back as test successful,
ive checked voltage on the 4 pins and they are cs 5.1v dropping to 0v then back to 5.1v when code changes,mosi 5.1v never changes,miso 0v never changes,sck 0v never changes,
cheers

User avatar
jhsa
Posts: 18014
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 23, 2017 11:56 am

jhsa wrote:
Tue May 23, 2017 9:10 am
Also when trying the voice module, do you keep the FTDI adapter always connected to power the arduino?
That might not work.. I remember having problems with it.
Disconnect the FTDI from the arduino and see if voice works.. Or if you can play that 0040.wav file with the test firmware Mike sent you. Remove the FTDI..

João
Please try 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


mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 12:23 pm

hi joao,
after flashing mikes test i firmware i connect it all back together then power it with my 12v flight battery to see if theres any sound, then connect the ftdi to serial rx and tx still powered from the battery to read the serial output for mike to look at,
cheers eddie

User avatar
jhsa
Posts: 18014
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 23, 2017 1:58 pm

leave the FTDI disconnected, does the file 0040 play?

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 2:06 pm

ive never had a sound except noise out of the speaker,with ftdi connected and without ftdi connected,
cheers eddie

User avatar
jhsa
Posts: 18014
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 23, 2017 2:32 pm

I'm at loss. I have built a couple of those and all worked.. :(
I actually have one working in one of my radios right now..

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 3:01 pm

ha ha so am i joao,
ive tested the sd card with read and write it came back as ok,ive tested it with sd card info everything came back ok,i actually bought a new multimeter to test all the components on both boards(actually had to send it back because it wouldnt stay switched on) so got another better one next day, all came back as ok,i removed amp chip and built a little circuit on a breadboard and it worked great,mike has wrote numerous codes for trouble shooting,
ive built 3 amp boards 3 arduino boards and cant get any to work,first time i put it in radio throttle trims didnt work and no sound,so looked to this forum for help,
cant thank mike b and yourself enough for the help and time youve afforded me in trying to sort this, but i think its going to go down as an enigma,
cheers guys
ps ive looked into building the smd megaboard as ive got a computer mobo that i think will have a big percentage of the parts but this has knocked my confidence a bit :?:

User avatar
bob195558
Posts: 1891
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

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

Post by bob195558 » Tue May 23, 2017 3:49 pm

mackem54,
Maybe you can look at the upgrade Ar9x board (http://www.ar9x.net/) which has sound built into it ?
Would save you from having all the troubles.

Bob B.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
3D Printing: (http://openrcforums.com/forum/viewforum.php?f=85)

User avatar
MikeB
9x Developer
Posts: 15717
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 » Tue May 23, 2017 4:01 pm

Where I'm confused is an earlier test appeared to show the SD card initialising OK, while now it isn't initialising, what changed?

Perhaps you could post a couple of pictures showing your wiring to the SD card holder from the Arduino.

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 4:37 pm

there you go mike,
cheers eddie
Attachments
20170523_173525-1[1].jpg

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Tue May 23, 2017 11:38 pm

bob195558 wrote:
Tue May 23, 2017 3:49 pm
mackem54,
Maybe you can look at the upgrade Ar9x board (http://www.ar9x.net/) which has sound built into it ?
Would save you from having all the troubles.

Bob B.
wish i had seen this about 2 weeks ago bob been looking at the forum about this,
couple of questions if you dont mind,
firstly my frsky 9x has the telemetry mod done to a djt external module but i didnt use a serial ttl adaptor(i think thats what its called), mine has the resistors in the module and on the rf plate in the radio,with the 2 processor pins connected,would i still be able to connect it to new board without having a wire from the tx pin at the back of the module,
and does it have the sound module integrated in the board,
cheers eddie

User avatar
bob195558
Posts: 1891
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

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

Post by bob195558 » Wed May 24, 2017 12:34 am

Hi mackem54,
I have never done the DJT mods, I run the telemetry wires through the back case and connect them to the the modules.
I have yet to (hope to some day) do the upgrade Ar9x board to a 9x radio (http://www.ar9x.net/).
João and or Mike B. can better say what you would need to do.

Bob B.
Last edited by bob195558 on Thu May 25, 2017 4:09 pm, edited 1 time in total.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
3D Printing: (http://openrcforums.com/forum/viewforum.php?f=85)

User avatar
jhsa
Posts: 18014
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 May 24, 2017 1:13 am

The Ar9x replaces the 9x stock board entirely. You remove the stock and install the Ar9x board.. Yes, it already has voice capability. With Ersky9x you can even play music if you wish :)

If you modified the DJT internally it might, or might not work as the Ar9x expects an inverted RS232 serial signal for the telemetry.
But actually, I think there is a jumper you can set to invert COM1 or not..
Not sure the telemetry port (COM1) also accepts TTL level. I believe so because I connect an MultiProtocol module to COM1 and it works..

The Ar9x board is an excellent upgrade..

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: 15717
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 24, 2017 10:33 am

This one waits longer to see if the card responds to the initialise operation.
Please also check the continuity of the wires between the Arduino and the SD card board. Sometimes, the crimp contacts are only held by the insulation, and make an intermittant contact. It is best to check between the headers on each board.

Mike.
Attachments
amod_lastSer16test.zip
(27.2 KiB) Downloaded 47 times
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
bob195558
Posts: 1891
Joined: Sun Dec 16, 2012 7:24 pm
Country: United States
Location: New England, Vermont
Contact:

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

Post by bob195558 » Wed May 24, 2017 1:25 pm

Hi mackem54,
What Mike says about there maybe a bad connection is a real possibility.
To add, I have had a wire to be bad as there was a place in the wire that was only the plastic insulation (no wire at all).
Also I have had a defective wire, where as when bent a particular way, had a break in the wire having no connection.

Bob B.
ErSky9x on Taranis, Sky9x, 9Xtreme, Er9x on 9x with Smartieparts Programmer with TelemetrEZ Board
3D Printing: (http://openrcforums.com/forum/viewforum.php?f=85)

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Wed May 24, 2017 2:53 pm

hi guys ive been looking for a schematic for the sd card module im using,
and ive come across this article about there being problems with this module and spi devices with the fix,
dont know if its relevant,but in the meantime im going to solder all my connections from the arduino to the sd card,
(clutching at straws lol)
cheers eddie
http://forum.arduino.cc/index.php?topic ... msg2942160

User avatar
MikeB
9x Developer
Posts: 15717
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 24, 2017 4:31 pm

That fix would be if you are using more than one device connected to the SPI bus. The description indicates the MOSI signal would be permanently active, thus preventing other devices from operating.

Don't forget to try the "test11" I posted above.

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Wed May 24, 2017 5:23 pm

renewed and checked all the sd card leads with multimeter from arduino board to sd card reader all fine,
i couldnt solder them as i needed them for flashing new firmware.
the results from next test mike,
cheers eddie
Attachments
20170524_181546-1[1].jpg

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Thu May 25, 2017 1:17 am

seriously thinking about the ar9x board only thing im not sure of is using my djt module,
ive read 45 pages so far on the ar9x forum but theres not a lot of info on the djt and ar9x(unless i havent reached them yet),as i said earlier the way my djt module is modded it has a couple of resistors in the rx and tx lines going to pin 2 and 5 i think (hard to remember) and the pins on the radio back pcb are seperated from all other connections,now the thread on the ar9x shows a mod where 1 wire is soldered in the djt module,
does this mean if i reconnect all traces ive cut on the radio back pcb and undo my mods in the module then do the ar9x mod this will work,
im very confused,
cheers eddie

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

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

Post by jhsa » Thu May 25, 2017 1:42 am

Point us to the exact mod you did. Better to start another thread as this one is for the voice on the stock 9x 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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Thu May 25, 2017 9:46 am

jhsa wrote:
Thu May 25, 2017 1:42 am
Point us to the exact mod you did. Better to start another thread as this one is for the voice on the stock 9x radio :)

João
Sorry guys
My mistake apologies will do more research.
Cheers eddie

User avatar
MikeB
9x Developer
Posts: 15717
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 » Thu May 25, 2017 11:34 am

OK, I can't see why the SD card isn't responding. Please do the following:
Try the firmware you used previously to get the list of files on the SD card and see if that still works.
If it does, can you point me to this firmware (source code) so I can see what, if anything, it is doing differently.

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Thu May 25, 2017 1:12 pm

hi mike,
ive never got the sd card to list the files on this arduino module(or the other 2 ive built) using an ftdi even after soldering the six pin header and connecting ftdi directly with nothing else connected,
ive tried flashing card info sketch on to it but its never once flashed correctly, ive always used another arduino flashed with the sdinfo sketch from the arduino basic codes to get the info and check its working,
cheers eddie

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

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

Post by jhsa » Thu May 25, 2017 2:01 pm

Does your arduino run at 16Mhz, or do you have the 8mhz version?

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Thu May 25, 2017 2:39 pm

hi joao,
i believe it is the 16mhz version,
well enough is enough cant thank mike b and joao enough for there support and time on this project but im now officially retiring it,
im going to read up a bit more on the ar9x board and hopefully purchase one later today or tomorrow,
on the bright side i have a new multimeter and loads of electrical components lol,
thanks again guys
cheers eddie

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

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

Post by jhsa » Thu May 25, 2017 3:04 pm

I don't know what to say.. all my boards that I made work..
I am starting suspecting the SD Card adapter itself..

But you will have a better radio with the Ar9x.. It is worth it the upgrade..

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

mackem54
Posts: 63
Joined: Sat Apr 22, 2017 9:18 pm
Country: United Kingdom
Location: south shields

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

Post by mackem54 » Fri May 26, 2017 8:42 pm

bought the ar9x,

Post Reply

Return to “er9x”