ArduVoice-9x Voice Module with Arduino for the 9x Radio
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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,
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 261 times
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
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
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
Same test as before please, see what is on the terminal output.
Mike.
Mike.
- Attachments
-
- amod_lastSer16test.zip
- (27.27 KiB) Downloaded 217 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
03 heart 09 4 blanks 11 < 0 0 C
cheers
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
cheers mike,
really sorry for using all your time like this,
eddie
really sorry for using all your time like this,
eddie
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
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
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
cheers mike hope you had a good day,
eddie
eddie
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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 214 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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,
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,
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
cheers eddie
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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 144 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
So this version tries to pin down why it is not initialising.
Mike.
- Attachments
-
- amod_lastSer16test.zip
- (27.18 KiB) Downloaded 137 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
and the next one,
cheers eddie
cheers eddie
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
Sorry, got the debug a bit wrong, it didn't tell me enough so here is another one to try.
Mike.
Mike.
- Attachments
-
- amod_lastSer16test.zip
- (27.19 KiB) Downloaded 150 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
Going down even deeper into the code, try this one please.
I am getting information from this debug!
Mike.
I am getting information from this debug!
Mike.
- Attachments
-
- amod_lastSer16test.zip
- (27.2 KiB) Downloaded 139 times
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 18000
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
The Arduino connection "10" is the CS signal, 11 is MOSI, 12 is MISO and 13 is SCK.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
cheers mike i will check everything and try a different card,
eddie
eddie
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
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