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.
mackem54
Posts: 49
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 17, 2017 7:45 pm

hi joao,
i have not got a different card at moment my super duper samsung evo wont let me format it,im getting confused with the voice files not sure if its heather or sharon that i loaded,
Attachments
New Sound Module 22KHz 16 Bit - Heather.zip
(9.16 MiB) Downloaded 7 times

User avatar
jhsa
Posts: 16212
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 17, 2017 8:14 pm

Please double check the connections between the card reader and the voice module are correct, including the power. where did you connect the power to the card?
Are you using an arduino nano or a pro mini? I could never make it work with a nano..

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: 49
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 17, 2017 8:39 pm

hi joao.
im using the pro mini.
i dont have any connections from amp board to sd card, i have arduino board powered from ampboard sharing the vcc and ground with the sd card,same as your diagrams in your first thread

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Wed May 17, 2017 10:24 pm

Same test as before please, see what is on the terminal output.

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

mackem54
Posts: 49
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 17, 2017 10:51 pm

dont know why but it wont let me upload pics ok mike the new code is
03 heart 09 4 blanks 11 < 0 0 C
cheers


mackem54
Posts: 49
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 17, 2017 10:54 pm

managed it
Attachments
20170517_234500-1.jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Wed May 17, 2017 11:51 pm

That indicates the SD card is being initialised OK, so it is responding, and also the FAT file system is recognised. But it is then still failing to open the file, very odd.
I'll see what I can come up with tomorrow. For the moment, all I can suggest is you delete all the files from the SD card, then just put 0040.WAV on there.

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

mackem54
Posts: 49
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 18, 2017 12:03 am

cheers mike,
really sorry for using all your time like this,
eddie

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Thu May 18, 2017 10:55 am

Another for you to try! I need to keep adding debug info to narrow down what is failing. It is something odd since the firmware is known to work.

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

User avatar
jhsa
Posts: 16212
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 18, 2017 12:33 pm

it works really well for me.. and i built a couple (3 to be more precise) of these boards. One is installed in my er9x radio with m2561, and working.. I have built every single example I have posted.. the double board one, the single board one, and I also made a PCB for another one.. This one is in my radio.. But all work..

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: 49
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 18, 2017 2:31 pm

as requested,
cheers mike
Attachments
20170518_151602-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Thu May 18, 2017 10:54 pm

That indicates all is working up to finding the file, but it is not opening it. I'll come back with another test version tomorrow, I was busy actually flying today!

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

mackem54
Posts: 49
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 19, 2017 12:08 am

cheers mike hope you had a good day,
eddie

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Fri May 19, 2017 10:00 am

Try this one please, same method.
I'm needing to put this debug into the FAT file system code, which I did not write, so it is taking a bit of time to locate where I need the debug.

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

mackem54
Posts: 49
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 19, 2017 1:19 pm

next one mike,
i was wondering if the arduino board is ok maybe the amp board isnt so i desoldered everything and checked with a multimeter everything as it should be,
i didnt know how to check audio chip so i built a simple audio circuit on a breadboard and it worked fine chip and speaker so something else eliminated,
cheers mike
Attachments
20170519_141156-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Fri May 19, 2017 3:28 pm

Something that was OK in an earlier test is now not working. You had one situation where 5 minutes later you had a different output.
The firmware is looking to check the SD is "mounted", so is present and has a FAT file system. This test shows that is failing, the 03(heart) is "Not Ready". After the 03(heart) you have 00 00 83. Because 00 is a power up value, I added setting the top bit (80) to see if it is being set. Since the first 2 values show as 00, they were never set, so the check for "mounted" is failing.

This may be a timing problem with the SD card at power up.
Please try two things:
1. Wait a few minutes to see if the 00 00 after the "heart" changes.
2. Press the reset button on the Arduino as this will restart the firmware but with everything already powered.

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

mackem54
Posts: 49
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 19, 2017 6:06 pm

ok mike,
i flashed it back to the version before this one to see if anything has changed and the second pic is that,i then flashed it to the next version and thats pic 1
i reset the arduino as you can see in the process,
Attachments
20170519_190119-1[1].jpg
20170519_184458-1[1].jpg

mackem54
Posts: 49
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 » Sat May 20, 2017 11:16 am

mike ive just been having a playabout with the sd card module and the new arduino,when i setup the sketch for the sdcard info i had to change the chip select to no 10, dont know if this has any bearing on your code,
cheers eddie

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Sat May 20, 2017 9:34 pm

Yet another test for you to try please.

The chip select for the SD card does look to be on port B bit 2, which corresponds to D10 on the Arduino.

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

mackem54
Posts: 49
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 » Sat May 20, 2017 10:12 pm

next one mike,
cheers eddie
Attachments
20170520_230700-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Sat May 20, 2017 10:55 pm

The SD card is not initialising, but it did in an earlier set of tests!
So this version tries to pin down why it is not initialising.

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

mackem54
Posts: 49
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 » Sun May 21, 2017 10:34 am

and the next one,
cheers eddie
Attachments
20170521_113216-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Sun May 21, 2017 1:56 pm

Sorry, got the debug a bit wrong, it didn't tell me enough so here is another one to try.

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

mackem54
Posts: 49
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 » Mon May 22, 2017 2:56 pm

next one mike,
cheers
Attachments
20170522_155354-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Mon May 22, 2017 6:47 pm

Going down even deeper into the code, try this one please.
I am getting information from this debug!

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

mackem54
Posts: 49
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 » Mon May 22, 2017 7:40 pm

and he next one,
cheers
Attachments
20170522_203740-1[1].jpg

User avatar
MikeB
9x Developer
Posts: 14163
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset

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

Post by MikeB » Mon May 22, 2017 9:49 pm

The SD card is not responding to the "select" operation. I can only suggest checking the connections from the Arduino, via the level converter to the SD card.
The Arduino connection "10" is the CS signal, 11 is MOSI, 12 is MISO and 13 is SCK.

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

mackem54
Posts: 49
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 » Mon May 22, 2017 10:53 pm

cheers mike i will check everything and try a different card,
eddie

mackem54
Posts: 49
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:01 am

hi mike im just about ready to bin this,
ive put in google how to check connections for sd card from arduino via level convertor and what ive read i dont really understand,
my understanding is that a serial convertor changes the voltage either up or down,
i have a level convertor and i assume im supposed to connect this to the pins 10 11 12 13,to drop voltage to 3.3v,
so what i have done is connected the sd card reader to the other arduino that i have flashed with sd card info and when i read the card (succesfully) i took readings from the pins and its working with 5v,
have i got this right,
cheers eddie

User avatar
jhsa
Posts: 16212
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:06 am

Can you actually load some sketch to make it play a file?
It seems you are only getting the card info but not using the data in it. And that might not be working..
Do you have another card Reader you can try?

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

Post Reply

Return to “er9x”

Who is online

Users browsing this forum: No registered users and 3 guests