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

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

Mike, I didn't know. that's how the voice is called, and I do like it.. if you want I can edit my post about the sexy voice, no ofense meant.. :?

I'm confused, where do the caps go? one seems to be the one connecting to the PWM output and the resistor that goes to pin 3 of the amp.. but the second cap you said on an earlier post that connects to pin 2 of the amp? that's the beeper input, not the voice input, or am I missing something..

João
jhsa wrote:Mike I've just noticed. Both my radios are saying 1 minutes instead of 1 minute...
Last edited by jhsa on Tue Nov 13, 2012 7:40 pm, edited 1 time in total.
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
GTiDon
Posts: 177
Joined: Wed Mar 28, 2012 6:15 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by GTiDon »

This board is looking complicated and could be a mission for some of us to get all the parts. It would be great if somebody could put kits together and sell it. It really wont bother me if somebody turns a profit distributing kits with a printed board.

Sent from my LT18i using Tapatalk 2
Er9X Flashed
Speaker Mod Done
Haptic Feedback Mod Done
Telemetry Mod Done with FRSky TTL Lite
Voice Mod Done with Emartee Board
HK Backlight Done
FRSky Telemetry DIY Module Installed
----All these mods removed and installed Sky 3.0 board with DJT Module.
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

jhsa wrote:I'm confused, where do the caps go? one seems to be the one connecting to the PWM output and the resistor that goes to pin 3 of the amp.. but the second cap you said on an earlier post that connects to pin 2 of the amp? that's the beeper input
Oops, typo, I should have said pin 3, I've edited the original post.
First capacitor, you have a 1K resistor from PD5 of the '328 (pin 11 of 28 dip) along with 560K and 470K from PD6 (pin 12 of 28 dip), this capacitor is connected to ground from where all three resistors join together.
The second capacitor is the one from pin 3 of the LM386 to ground.
So I have the first one as 10nF and the seconfd one as 2.2nF now.

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 »

right, thanks.. Now I got it.. and wrote the values on the printed schematics I have here...
I will change them when you give the OK, and update the module as soon as you release new fw for it..
At the moment I've made the mistake of shrinktubbing the module and closing the radio.. :(
next time I close it will be with all the features you're workin on..
Did you mention before that it could be possible to update the sound module using the serial connection to the PC, or did I misunderstand 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
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

I hope to be able to update over serial. I did manage to use ymodem protocol to the ersky board and write a file to the SD card, so I have some of the code already done.
Will still need the FATFS updating to allow file creating and writing, and I will need the ymodem working the 'other' way to allow reading files.
I'm also wondering if we could include a bootloader, so we could update the firmware over the serial as well. All will be nice if we can.
I'm just trying to make sure the hardware design is right first.

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 »

sure, thanks..
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
SFflyer
Posts: 17
Joined: Sat Jan 14, 2012 12:54 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by SFflyer »

As suggested by GTiDon I was considering sourcing components from RS and supplying sets of parts at cost. To buy a complete set of components for HaGeHa's schematic would be around £70 given minimum order quantities on most items - for making up 5 sets this cost drops to around £20 and falls to £14 for 50 (the minimum cost per set). Please note that these estimates include UK VAT and do not include PCB, SD board or connector headers (or postage). Once we have a finalized design and board layout we can get a definitive cost.
I've done most of the upgrades on my 9x and have found this forum invaluable so maybe I could give something back by doing this. I wouldn't be looking to make a profit.
How many of you would be interested ?
User avatar
MikeB
9x Developer
Posts: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

You may get better prices from http://www.rapidonline.com/, RS can be a bit pricey.

Bear with me folks, regarding these capacitor values, I changed the wrong one to 2.2nF, and I also found the LM386 does not like a feedback capacitor alone.
I think I shall settle for just the 2nd order filter, but need to get the capacitor values correct for this, next effort will be 22nF and 4.7nF. I;ll be trying that tomorrow.

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, but what is wrong with the ones we have now? 47n and 10n? I mean I can't really hear noise apart from the clicks and the normal sshhh noise from the amp..
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
rabono
Posts: 85
Joined: Mon Sep 03, 2012 7:03 am
Country: -
Location: Los Angeles< USA

Re: Audio (voice) - Stock 9X PCB

Post by rabono »

I got more Frsky sensors along with them got more questions
- Is there any way to get the voice faster I mean between digits spoken to shorter the blank?
- on the Flvs-01 I get only 1 cell spoken How to get 3 of them in sequence ?
- THE fAS-100 says the# of amps is there a way to have it saying the watts (maybe in a next firmware)?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

you could build this new module. It's much faster then the emartee module.
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: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

jhsa wrote:Mike, but what is wrong with the ones we have now? 47n and 10n?
While they remove the PWM noise, they also remove a lot of the voice signal as well, 2kHz is down to 70%, 4kHz is down to 39% and 8kHz is down to 14%. This means that using a voice sampling frequency above 16 kHz (twice the 8 kHz above) won't achieve much, if anything. The PWM noise is reduced to 0.5% by these capacitors.
Using 22nF and 4.7nF should keep 2kHz at 92%, 4kHz at 74% and 8kHz at 42% while the PWM noise is at 2%. This should sound much better.

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 »

Good explanation, thanks.. will open my radio and and change them as soon as you release new FW, then I will do all at once and hopefully I won't need to open it again.. that's my oldest radio and the plastic doesn't like to be openned that often ;)
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
SFflyer
Posts: 17
Joined: Sat Jan 14, 2012 12:54 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by SFflyer »

Mike, you are right - resistors for example are much cheaper. Rapid don't have the full range of components needed though as far as I can see. Looks like the costs for e.g. 5 sets would fall to around £12 and could/should be lower for higher quantities.
Offer still stands.
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 »

SFflyer

I've been doing some research on the costing and suppliers and like you have not found one supplier who has all components. Rapid online are cheapest but you have to order 100 min resistors and caps plus postage which is a £5. Best value I have come across on EBay is E-component from Mary £6.99. 32 different caps 50 of each and 50 different resistors 40 of each. The resistor pack gives all the values needed for this module but the cap pack does not have the 10uF 100uF and 47uF these will need to be bought.
Coldtears electron for atmega 328au x1 £3.01,
Discount Devices Shop bc 846 x 10 for £1.88, 2n7002 x 10 £0.99 p&p 0.99
Tinxi-global shop for the reg 1117 3.3v x 10 and 5v x 10 £1.75 and £1.65.

P&P is free from all except Discount Devices shop, then you have a long time to wait for delivery.

Mike for flashing the atmeaga could it be done through the sd card slot if an adapter is made up for fit into the card holder assuming you dont use a micro sd slot, that way you wouldnt have to open the box up to flash.
Last edited by bill516 on Wed Nov 14, 2012 2:56 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 »

hopefully we will bw able to do it through the serial connection with the PC. then you also don't have to open the radio..

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

The more I look at this the more it is looking like it will be a group buy, just playing on rapidonline and got to £16 just for res and caps, and not all the caps. The three uF value caps are the hardest to find, are they the ones Mikes looking at, at the moment?
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

I bought all SMD:

http://www.reichelt.de/

even small quantities.

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

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

If doing a bulk buy from Rapid, postage is free for an order over £35.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
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 »

The reichel.de option is out of the window 10 euro min order and 19 euro post, On the plus side you can order just the quantity you want. I did a quick add to my basket of caps and resistors and it came to just over 4 euros.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

I bought from Reichelt too.. i think they sell abroad also.. postage might be a bit more expensive though. to Germany is Euro 5.60
If you buy from them and do a through hole board you might want to look at this 3.3V regulator.. that's what I use

http://www.reichelt.de/ICs-LMC-LS-/LP-2 ... c4c80d7f12
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
Spoogy
Posts: 305
Joined: Wed Dec 28, 2011 6:27 pm
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by Spoogy »

Okay, finally I'm also prepairing to do this mod. Where I can now found the final part list what is needed?
What goes up, must come down. -Isaac Newton
OpenTX - expanding possibilities
tigar
Posts: 162
Joined: Wed Dec 28, 2011 5:31 am
Country: -

Re: Audio (voice) - Stock 9X PCB

Post by tigar »

I am in for a kit.
hageha
Posts: 213
Joined: Tue Dec 27, 2011 9:25 pm
Country: -
Location: Hildesheim

Re: Audio (voice) - Stock 9X PCB

Post by hageha »

A possible "T version" in SR1206.
As I said,
Problem is an appropriate switch.
Another variant would be to put a shorter board up on the "T-Board".
Tighten with the M4 screw.
Attachments
AUDIOMEGAT-SST.pdf
(14.82 KiB) Downloaded 305 times
AUDIOMEGAT1-7.pdf
(76.43 KiB) Downloaded 340 times
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice) - Stock 9X PCB

Post by jhsa »

couldn't we use the same switch?
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: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Lots of good ideas for a 'production' board. Here is another idea.
I've been looking inside the radio and I notice there is some space near the top. I reckon there is an area about 31mm but 82 mm between the top of the gimbals and the pillars for the case screws and between the pot on one side and the switch on the other. Such a board also overlaps an unused screw hole on each gimbal that might allow easy mounting. If more space is needed, then the board could be larger, but would need holes to alloe the case screw pillars to pass through.

I've tested the 22nF and 4.7nF capacitors. Audio sound quite good to me, and that's with the 8-bit, 16kHz files from the emartee module. There is about 100mV peak-to-peak of PWM noise on the output, which is about what I would expect.

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 »

If you leave the PWM always on as you say, would that be audible?
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: 17993
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice) - Stock 9X PCB

Post by MikeB »

Never at 46.875 kHz. I have my PWM always on now. It also saves 12.8 mS before each voice file output, and another 12.8 mS after, so 25.6 mS between files. These are the times taken for the anti-pop/click ramp up and ramp down.

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 »

you're right, we can't hear more than about 20KHz.. but I'm sure that my dog will hear it :)
Don't know if they can hear that high though.. but don't be surprised if you're attacked by a bat one day :D

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
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:A possible "T version" in SR1206.
As I said,
Problem is an appropriate switch.
Another variant would be to put a shorter board up on the "T-Board".
Tighten with the M4 screw.
Great! Hans, as I understood, we can arrange all details in this area
hageha_new_board.jpg
and make shoter board, that we can place upward current beeper board and tighten with screw or downward and seal with doublesided tape?
It would be great for me, because I killed my Atmega with wrong fuses and I need new board, but I'm too lazy to desolder switch. :)
And about long jumpers. Can we make something using 1206 0R? Or make pads bigger? Soldering wires for jumpers on previous board was harder for me than soldering 0805. :)

Post Reply

Return to “er9x”