Audio (voice) - Stock 9X PCB

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
mbanzi
Posts: 223
Joined: Thu May 24, 2012 5:53 am
Country: -
Location: San Diego, CA

Re: Audio (voice) - Stock 9X PCB

Post by mbanzi »

MikeB wrote:Can't read your EAGLE files, you must be using a more recent version than I have. I use version 4.16 (Full version) for work, so will cost a lot to upgrade to a later version.
Mike.
Ok I managed to go through a rather painful process of exporting libraries, schematic & board to Eagle scripts, then recreating them in Eagle 4.16. Let me know if it works for you now.

http://audiomega.googlecode.com/files/A ... 204_16.zip

hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

mbanzi wrote:I copied the schematic created a few pages ago into Eagle, but it probably needs to be validated. For example I couldn't figure out if any of the caps in the schematic are polarized, which I'm sure they are.
All capacitors are ceramic in my circuit, and therefore not polarized
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

mbanzi wrote:Let me know if it works for you now.
Read in fine, just a small problem around the LM386, pins 2 and 3 have no connections, and the connections to some other pins are slightly odd, but I can sort that easily. I'll check the circuit out.

My only concern is with the connector to the SD card, which applies to several of the circuit on this thread, is I would like the pinout to be directly compatible with the connections to a micro SD card to SD card adapter. I've wired up my breadboard to include a 0.1" pitch, PCB edge connector, and I can plug the SD card adapter directly into this. I'll detail this later. One reason the the existing pinout is used is, it is much easier to put onto stripboard.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

My board uses a 7 pin female header for the SD Card adapter and also for the programmer as per HaGeha idea. the programmer and SD Card adapter wires have a 90 degree male header that plug in the board.. that way, only one is connected at the time and no possibility of connect it wrong.. the connections from the Atmega come straight to the header to make the layout of the stripboard easier..

I'm working on a new sound pack for the new board at 22KHz 16 bit. tried some test files last night (or should I say this morning :D ) and it sounds quite good. It should be available in a day or 2.. A lot of work.. And I want to do more sound packs ;) at least one more.. shall I do one with a male voice??

Joao
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
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

Oliver,
you have converted the Gerber file, great!

I have found a mistake in the diagram. Pin 13 (middle left side) must go to pin 28 of the M64! (no pin 29)

The gain change I've taken back.
R 10 now 33k.
Connection "beeper" I have applied to the base of the transistor.
I removed the beeper.
I made new German sound files (22kHz/16Bit) and
"Oliver Onions-Flying through the air" uploaded.
(My wife says, "you're crazy!" She is probably right.)

Works fine, I just can not stop it. Just turn the radio off, or wait until the end.
I can not imagine how it is to be possible,
after a break to jump to the right place.
(large RAM?)

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

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Yeah, I removed the gain circuit as well.. My resistor from pin 3 of the LM386 to ground was also increased to 22K..

we can only have long audio files if we can stop them somehow, and/or the alarms stop them.. I twould be nice to have it ;)

Joao
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
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Hans, if you wish you can upload your German sound pack here

viewtopic.php?f=64&t=1290&p=27969#p27969

And I will link your post to my first post.. where all the other links are
Thanks

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
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

Joao Would it not be better to load the sound files to the sounds pack library under the language it is in, we already have some English, American, Scottish etc. That way its just a simple task of looking under the language you require instead of trawling through a thread, better still would be sub folders inside language folder for male, female, computer voice etc.

Bill
User avatar
mbanzi
Posts: 223
Joined: Thu May 24, 2012 5:53 am
Country: -
Location: San Diego, CA

Re: Audio (voice) - Stock 9X PCB

Post by mbanzi »

MikeB wrote: Read in fine, just a small problem around the LM386, pins 2 and 3 have no connections, and the connections to some other pins are slightly odd, but I can sort that easily. I'll check the circuit out.
That was one of the chips in the linear library I had trouble converting, it was getting late so I didn't check it.
MikeB wrote:My only concern is with the connector to the SD card, which applies to several of the circuit on this thread, is I would like the pinout to be directly compatible with the connections to a micro SD card to SD card adapter. I've wired up my breadboard to include a 0.1" pitch, PCB edge connector, and I can plug the SD card adapter directly into this. I'll detail this later. One reason the the existing pinout is used is, it is much easier to put onto stripboard.
It may be worth putting both connectors on the schematic once the design has stabilized, as an option. Would be nice to have a stripboard, single sided & double sided PCB versions! Btw is it possible to have several board designs linked to the same schematic in Eagle?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

bill516 wrote:Joao Would it not be better to load the sound files to the sounds pack library under the language it is in, we already have some English, American, Scottish etc. That way its just a simple task of looking under the language you require instead of trawling through a thread, better still would be sub folders inside language folder for male, female, computer voice etc.

Bill
Hi Bill, I always link the files on the first post. the people can post the files on the last post (obviously :) ) but there will be a link for them on the first one.. I normally add a line saying which language.. please check it out.. it's just one more click ;) there are already Hungarian and Russian files linked..
I will probably do some Fortuguese :) as well, but I need time for that and the demand is not so great as far as I know..

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
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

mbanzi wrote: It may be worth putting both connectors on the schematic once the design has stabilized, as an option. Would be nice to have a stripboard, single sided & double sided PCB versions! Btw is it possible to have several board designs linked to the same schematic in Eagle?
Can't you just save the schematic and then open it in another project and design a new board for it? it should be possible..
Not very familiar with Eagle yet, but I'm workin on it :) It's giving me a few headaches ;)

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
mbanzi
Posts: 223
Joined: Thu May 24, 2012 5:53 am
Country: -
Location: San Diego, CA

Re: Audio (voice) - Stock 9X PCB

Post by mbanzi »

hageha wrote:Oliver,
I have found a mistake in the diagram. Pin 13 (middle left side) must go to pin 28 of the M64! (no pin 29)

The gain change I've taken back.
R 10 now 33k.
Connection "beeper" I have applied to the base of the transistor.
I removed the beeper.
Hans, which diagram are you referring to?
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

João, now I repeating Hans's board, because I TIRED of my arduino board and great jumble of wires around it. After this I make a fun version of firmware for crazy like you and me, which will playing music files from folder \MUSIC and interrupting when takes commands from er9x and continue playing after that. Just while Mike make normal (not so rough, as my code) version. :)
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

hageha wrote:
mbanzi wrote:I copied the schematic created a few pages ago into Eagle, but it probably needs to be validated. For example I couldn't figure out if any of the caps in the schematic are polarized, which I'm sure they are.
All capacitors are ceramic in my circuit, and therefore not polarized
Hans, but in datasheets the blocking capasitors on output of linear voltage regulators must be the tantalum or aluminium electrolitics and polarized!
It does not matter? Or it's mistake and we need to update scheme and board?
Oliver
Posts: 177
Joined: Mon Jul 23, 2012 1:02 pm
Country: -
Location: SPb, Russia

Re: Audio (voice) - Stock 9X PCB

Post by Oliver »

mbanzi wrote:
hageha wrote:Oliver,
I have found a mistake in the diagram. Pin 13 (middle left side) must go to pin 28 of the M64! (no pin 29)

The gain change I've taken back.
R 10 now 33k.
Connection "beeper" I have applied to the base of the transistor.
I removed the beeper.
Hans, which diagram are you referring to?
I think, this diagram
mbanzi, maybe you'll become commiter in that project and place you versions of scheme and board? Then all versions will be in one place and they can choose the version they like. Or we can place the links of different versions in the top of thread?
kintash
Posts: 10
Joined: Sun Jun 24, 2012 4:54 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by kintash »

Jhsa,

Voice issue fixed!

Yesterday my friend Rabono and I got together and connected my voice interface with his TX. Sure enough the numbers weren't announced with his TX either. We figured that it is a hardware issue. Soon we spotted a mistake I made while building the interface board. R1 & R2 resistors were mixed up.

Once again thank you for your support.

Reading up on this forum you guys are discussing a lot of technical ideas. Since I am not big on electronics lately I have hard time to follow this forum. :? Could you just briefly tell me which project do you discuss?

Thnaks.
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

Yes, this diagram.
Oliver, it's all Ceramic Capacitors 10μF/16V - SR0805
100uF / 6 V SR1206 and 47uF / 6 V SR 1206
Everything shown in the photo. Without RF module I can not hear any noises.
With the RF module a faint buzz, but only with the ear to the speaker. The voltage stabilization I have also used the Emartee modules.
Important, according to the datasheet LM386, short connections
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

yes, I reported before about the noise because of the RF module.. but that's a very low noise..
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
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

kintash wrote:Jhsa,

Voice issue fixed!
Good that you found the problem ;)
Reading up on this forum you guys are discussing a lot of technical ideas. Since I am not big on electronics lately I have hard time to follow this forum. :? Could you just briefly tell me which project do you discuss?

Thnaks.
Well, the new emartee sound module is basically.... rubbish not to say worse.. it has a long delay when playing consecutive files. Also the welcome message doesn't work very well. So Oliver decided to start a nice project, that is, build a new sound model using an Atmega 328 microcontroller. That's what all this is about and it's working great so far.. Also there are other possibilities like storing models on the SD Card from the module and connection to a PC using a serial interface.. And probably much more. Let's wait and see what magic can be done.. :D

Joao
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
mbanzi
Posts: 223
Joined: Thu May 24, 2012 5:53 am
Country: -
Location: San Diego, CA

Re: Audio (voice) - Stock 9X PCB

Post by mbanzi »

Oliver wrote:mbanzi, maybe you'll become commiter in that project and place you versions of scheme and board? Then all versions will be in one place and they can choose the version they like. Or we can place the links of different versions in the top of thread?
Oliver,

That's a good idea to put the files in the project. I think we should have 2 versions of the schematic, one with the combined connector and another with separate connectors for the microSD & programmer as in the original schematic. That way we can have multiple board layouts, single or double sided, 0805 SMD, 1206 SMD or thru hole components.

I'm not very good at doing the board layout, so I'm hoping one of the Eagle experts will jump in and make a nice small double sided 1206 layout!

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

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I might get to that. This viewtopic.php?f=5&t=948&start=1950#p28521 is an actual, double-sided layout I did for trhough hole components.
I'm building a stripboard version at the moment, then I will have something much easier to use than the breadboard version I was using. I hope to finish it sometime today. When I've tested it I will know the exact circuit and values I've used, I'll have a #328 on there as well instead of the'88 I've been testing with so far. My stripboard is rather like Jhsa'a, a mixture of through hole and surface mount, and is about the same size, I have a development kit of 0805 resistors so I have most values available.
For handling these small components, I use a cheap pair of *3.5 reading glasses, they are easier than a single magnifying glass to use. For really fine work I have two pairs and use both at the same time!

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Yeah Mike, I don't know if it's possible to use only through hole components on the srip board.. it must not excced about 46mm wide and thats quite narrow for all the lines we need to bring from one side to the other. It can be longer than 85mm though. also we can't place the resistors standing up because of height problems.. that's why I went for tantalum caps. they are smaller.

Maybe the 0805 components, being smaller, are better than the 1206 for the stripboard because the 1206 are nearly the same size as 2 strips, so leaves very little space to put the iron and solder them.. I was using a lot of flux and place the iron on the side of the component and let the solder flow.. that worked for me..

Joao
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
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

The lid should be closed. -for the first-
Attachments
MicroSD.JPG
Everything in its place.JPG
Last edited by hageha on Sun Nov 11, 2012 7:31 pm, edited 1 time in total.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

If mine closed, yours should.. ;)

I had to sit on mine though :mrgreen:
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: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

OK, my stripboard version is running, voice, and beeper OK, Tx data to PC OK, I can now start looking into the rest of the functionality.

The volume does seem to be a bit low, looking with the 'scope we can increase that a bit. We could also use a 7806 instead of a 7805 which would allow even more volume.
We can use the battery voltage for the amplifier, but this MUST be limited to 12 volts absoulte maximum.
I thought I had a 7806 somewhere, but I can't find it so I can't try it (yet).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Mike, I'm using battery voltage to power the amp.. I use a LiFe 3s Battery That is rated at 9.9V

Anyway... ;) 8-)

Guys go get'em :mrgreen: :mrgreen:

viewtopic.php?f=64&t=1290&p=18110#p18110


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
bill516
Posts: 160
Joined: Fri Feb 24, 2012 6:31 pm
Country: -
Location: UK Sheffield City of Steel

Re: Audio (voice) - Stock 9X PCB

Post by bill516 »

Mike hows that 12v max going to affect people who use the eneloop batt option, they kick out about 7.7v fully charged. Glad you got the stripboard version to work I sill cant get the price for smd down to a reasonable cost. Its the quantity you have to buy thats doing it and not being able to get all items in one place, unless there are alternatives we could use. The bat42 diodes are hard to find and those I have found have been a stupid price, although I admit I havnt checked out the properties of some components to find alternates as yet.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Bill, try the BAT85 to replace the BAT42.. the 85 is the one in Mike's schematic a couple posts ago.. what about farnell, digikey, mouser, etc? do they all only sell big quantities??

eneloops will charge maximum 12V as far as I know and will drop quickly to about 11V.. The problem is that some people use 3S LiPos that hold a max voltage of 12.6V..

Mike, do you have a 7808 or 7809?? one of them would do the trick as well..

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: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Bill: How about http://www.rapidonline.com/Electronic-C ... de-47-2908, should do the job fine. Half the battle is knowing what is a suitable equivalent device, then find the right manufacturer to get the right price.

The main concern is people using a 3S lipo, they will go over 12V. I use Vapex instant (8 cells), similar to eneloop. I'd like to have a design that works for all.

Jhsa: I'm just thinking it would be useful to put a fixed delay in on receipt of a command. That way it wouldn't matter where the file was, all files would start playing that fixed time after the command. Also, if we put a queue of requests in the '328, we would have this fixed delay between them. Probably upset you latest sets of voice files :mrgreen:
No, only 7805s and 7812s. I might try a diode in the ground leg of the 7805, that boosts the output by around 0.6V to 5.6V.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Mike, please don't antecipate my divorce :mrgreen: I just spent all 3 weekend days making these files one by one.. ER9x doesn't use scripts to make all the files at once remember? ;)
But I don't understand why the delay and where? not between files I hope.. the module is nice and fast and sounding very natural.. ;)
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”