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

part 2 mike,
rebuilt amp board with all new components,the new arduino hasnt arrived yet so bought a new multimeter and tested all resistors,caps and diodes on that board all tested fine,
tested the pro mini board with serial ftdi connector connected to eepe ,used serial and tried list models,it came back with a few lines of symbols nothing ledgible but it connected to the board,reflashed the test firmware with eepe and usbasp successfully,the sd card has got the 40 wav file,
connected it all up and powered on,the arduino powered up with a red light and a flashing light every 10 secs approx ,i used a led as the backlight,
the backlight was blinking on and off and everytime the red light flashed the led would stay on and next cycle stay off for approx half a second or less,
a slight whistle from the speaker and no sound,
ive got a couple of questions firstly what file system should the sd card be formatted to eg.fat 32,
and assuming the arduino board is working fine where can i possibly be going wrong with the amp board ive used all the right values on the components
and checked it time after time,
cheers eddie

User avatar
MikeB
9x Developer
Posts: 17992
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 »

I think the backlight should stay on for 10 secs, then off for 10 seconds. I'll need to double check the code.

Mike.
erskyTx/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 »

ive found a different arduino with the connections a4 and a5 in a different position but that shouldnt be a problem rerouting connections,
i was concerned the sd card and reader arent working so i flashed the arduino with a sd card info sketch using ftdi connector and arduino ,on opening serial it came back with wiring correct card formatted to fat16 and showed all the wav files,at last a bit of good news lol,
so im going to build another board later today and see what happens,
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 »

well built new arduino board with all new components,exactly the same as before only difference is the arduino wont power up with the earth to arduino cable only works if i connect it to power connector on amp board,very close to giving up on this now,
eddie
User avatar
MikeB
9x Developer
Posts: 17992
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 »

Hang in there, I've been a bit busy for a few days. I'll run some tests and come up with a way forward for you tomorrow.
I've never built one of these, I've always used a "MegaVoice" board, which is the same thing, but all on a single board. This is why I'll need to do some tests.

Mike.
erskyTx/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 »

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

Did you follow exactly the schematic on the first post?

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 »

hi joao,
ive attached pics of the boards exactly the same as your pics in your board build post,
only difference on this one compared to the other 2 ive built is the sdcard connectors are straight from the arduino rather than through pins to board,
i really hope you can find something wrong,
cheers eddie
Attachments
arduino 1.jpg
amp 1.jpg
arduino 2.jpg
amp2.jpg
User avatar
MikeB
9x Developer
Posts: 17992
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 »

I've re-built the test version of the firmware for this. The Megasound design was for a M328 running from 3.3V, and with a 12MHz crystal. This is using a standard Arduino running from 5V with a 16MHz crystal.
The previous test version I posted appears to have used the buadrate setting for a 12MHz version, so the serial baudrate on you hardware was incorrect.

Please try flashing this test version. I've flashed it to an Arduino and I'm getting serial data at 38400 baud.

Mike.
Attachments
amod_lastSer16test.zip
(27.02 KiB) Downloaded 178 times
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 got my first arduvoice modul not working and now im building a new one . I only have an arduino pro mini 5v with atmega 168 .
Will it work? On the first page if this I saw a model with atmega 168 but I wasn't able to burn the bootloader with burnomat. So is it possible? or do I have to wait for my pro mini with the atmega 328?
User avatar
MikeB
9x Developer
Posts: 17992
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 »

The firmware needs about 24K, so doesn't fit in a '168.

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 »

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

well i flashed your second test firmware mike, the results were pretty much the same only difference is the led stayed on or of for longer still flashing though,i connected through serial with fdti connecting rx tx and ground and tried list models nothing happened just monitor came up,after removing the ground it listed a list of 588 symbols,sometimes the led stopped flashing and i would power up with battery and then i got a (D) in list models,
cheers mike
User avatar
MikeB
9x Developer
Posts: 17992
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 »

OK, the "588" should be appearing 5 times per second. Each time you see a "588", the backlight should change state (on to off or off to on).
Every 10 seconds (50 of "588"), it should play the file "0040.wav".

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
MikeB
9x Developer
Posts: 17992
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 »

Try flashing this one, then run a terminal program (38400 baud) on the FTDI. You should see "58X" displayed with the backlight toggling each time. Every 10 seconds, it tries to play 0040.wav. It sends a result value to the serial port. Please let me know what this data is, and if the "58X" pauses when this result is displayed.

Mike.
Attachments
amod_lastSer16test.zip
(27.07 KiB) Downloaded 175 times
erskyTx/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 »

will do mike,
i will have to read up on how to do that first though,
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 »

as requested mike,
there is no pause when the symbol changes,
cheers eddie
Attachments
20170516_190706.jpg
User avatar
MikeB
9x Developer
Posts: 17992
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 »

The 02 indicates a failure to open the .wav file. Please repeat this test using the attached file, the value displayed will give a better reason for the file open failure than "it didn't open"!

Mike.
amod_lastSer16test.zip
(27.08 KiB) Downloaded 127 times
erskyTx/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 »

there you go mike,same thing no pause before code change,
cheers eddie
Attachments
20170517_005240[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 »

my mistake a lead was of sd card connector, wont let me upload pic but code is 03(heart)c
cheers
User avatar
MikeB
9x Developer
Posts: 17992
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 »

This test version will, hopefully, pin down the reason for the failure to open the file. It sends a few more bytes after trying to open the file.

Mike.
amod_lastSer16test.zip
(27.12 KiB) Downloaded 122 times
erskyTx/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 »

next one mike,
cheers
Attachments
20170517_152618-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 »

different code 5 mins later
Attachments
20170517_153731-1[1].jpg
User avatar
MikeB
9x Developer
Posts: 17992
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 »

This suggests things are working, but the required file is not being found.
Please check once more that you do have a file "0040.WAV" (zero zero four zero) in the root of the SD card.
Also, is there a directory named "MODELS" on the SD card. The firmware should create one if it is not present.

Mike.
erskyTx/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 »

i have checked the sd card and there is definately a file 0040.wav there,
i assume i have done this correct, i formatted card in fat16 because its only a small test card, i downloaded the voice file heather,
i put the zip file in the root directory( i hope i am right in assuming the root directory is as soon as you open the card you put the files in there)
then unzipped them and deleted the zip so when you open card your presented with a list of numbered .wav files,
Attachments
20170517_190908[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 »

there is no model directory either
User avatar
MikeB
9x Developer
Posts: 17992
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 »

I'll get back to you late this evening with another set of test code, I'll need to delve further into working out what why the file is not being found.

Did you have some firmware you used to test the SD card could be accessed? If so, have you used this on the board/card you are currently using to test?

Mike.
erskyTx/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 »

hi mike before i built the arduino board i flashed the arduino with sd card info using the ftdi adaptor,after flashing you connect to arduino serial and it lists all the info connections correct format and lists all the files on the sd card,
i did this and everything came back as fine, connections fine format fat16 size 500mb and loaded all the wave files,
this is the only bit of good news ive had since i started this project lol,
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 »

Can you try another card?
also, can you please post the zip file with your voice files?? I would like to have a look at them..

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 »

ive just flashed my new arduino with the sd card info prog connected sd card and this is what i got
Attachments
20170517_203310[1].jpg

Post Reply

Return to “er9x”