ArduVoice-9x Voice Module with Arduino for the 9x Radio
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
I think the backlight should stay on for 10 secs, then off for 10 seconds. I'll need to double check the code.
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
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,
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,
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
eddie
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
Did you follow exactly the schematic on the first post?
João
Sent from my thor using Tapatalk
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
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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?
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?
- MikeB
- 9x Developer
- Posts: 17993
- 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 firmware needs about 24K, so doesn't fit in a '168.
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
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
cheers mike
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
- MikeB
- 9x Developer
- Posts: 17993
- 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 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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
will do mike,
i will have to read up on how to do that first though,
cheers eddie
i will have to read up on how to do that first though,
cheers eddie
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
as requested mike,
there is no pause when the symbol changes,
cheers eddie
there is no pause when the symbol changes,
cheers eddie
- MikeB
- 9x Developer
- Posts: 17993
- 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 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.
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
there you go mike,same thing no pause before code change,
cheers eddie
cheers eddie
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
my mistake a lead was of sd card connector, wont let me upload pic but code is 03(heart)c
cheers
cheers
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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,
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,
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
there is no model directory either
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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.
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!
The difficult we do immediately,
The impossible takes a little longer!
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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,
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,
Re: ArduVoice-9x Voice Module with Arduino for the 9x Radio
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
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
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
ive just flashed my new arduino with the sd card info prog connected sd card and this is what i got