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)

Post by jhsa »

MikeB wrote: All needs thinking about, as we also need some continuous voice output such as altitude, or flight battery voltage, or flight battery capacity used.

Mike.
Could we also have the possibility to have that on a switch? I mean when on the loop with the info starts and when off it stops.. but if then there's an alarm it would trigger that specific alarm anyway.. the loop would be information and of course the alarms priority and override anything else..
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
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

I think those are two basic/most important needs for audio, warning and loop for all telemetry info available with a switch.
All others are just for fun. :)
User avatar
man-bis
Posts: 27
Joined: Tue Dec 27, 2011 9:10 pm
Country: -
Location: Russia

Re: Audio (voice)

Post by man-bis »

Hello, guys!
I want to ask Mike, will change the hardware in your device? I live in the province and have difficulties in the delivery of the ordered electronic components, the postal service is slow. Really want to hurry to make voice modify, and join the discussion, with the device in their hands.
ReSt
Posts: 1581
Joined: Tue Dec 27, 2011 11:34 pm
Country: -

Re: Audio (voice)

Post by ReSt »

by MikeB » Tue Jun 05, 2012 10:55 pm

Using Audacity, I force the end of the WAV file to SILENCE. After conversion to AD4, this shows up as a repeated byte sequence.

Thanks

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

Re: Audio (voice)

Post by MikeB »

Man-bis: Sorry, I'm not sure what you are asking for, what hardware change?

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Audio (voice)

Post by Kilrah »

I think he is asking whether hardware changes need to be done.

Yes, there is new hardware to integrate, and some components will be needed.
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice)

Post by MikeB »

Generally, keep checking the FIRST post of this thread. All modification information will be there (eventually!).

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)

Post by jhsa »

I think he was asking if this is the final version of the hardware, or if you still might change it for some reason, because parts are not easy to get and take a long time to arrive..
Don't we know the feeling?? :)
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)

Post by MikeB »

Ahh yes, I see the question now, thanks.

I cannot see any reason to change the design now. It is working. There are always things that could be done, but it is best to stop changing/adding things. The only change I can see would be to add another transistor on the 'spare' output to drive a haptic device.

Now, I think we just go with the design as it is, it adds the voice output, and provides control for a LED backlight, which was lost due to using the processor pin 17 to control this interface. As such, it meets my design target of adding voice to the stock board. Besides, I won't need to change the documentation! (Feedback on the documentation is welcome, anything that needs to be more clear?)

I'm lucky, I had all the bits needed already!

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)

Post by jhsa »

Hey guys, this was the fastest delivery from China.. 1 week.. I can mod the radio starting with the telemetry. then flashing and then using this beauty :mrgreen: :mrgreen:
Attachments
060620121974.jpg
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
man-bis
Posts: 27
Joined: Tue Dec 27, 2011 9:10 pm
Country: -
Location: Russia

Re: Audio (voice)

Post by man-bis »

MikeB wrote:Ahh yes, I see the question now, thanks.

I cannot see any reason to change the design now. It is working. There are always things that could be done, but it is best to stop changing/adding things. The only change I can see would be to add another transistor on the 'spare' output to drive a haptic device.

Mike.
Yes, thank you, this is the answer to my question. I am very grateful for your excellent work. I'm waiting for my order from China to start modify. It's been almost 2 weeks.
User avatar
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: Audio (voice)

Post by cre8tiveleo »

Add a few more wires from the mobo to your board and now you have a place to stick a header for a avrusb programmer... :D

Nice work! Gotta wait fr next pay to get this into one of the tx's here.
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

If I read the pdf file by Mike correctly. in the pic, you don't need to have the telemetry mod to the main chip's 41,42 pin any more.
Is this correct?
that will make me feel much more comfortable to do this mod with voice telemetry. :D
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice)

Post by MikeB »

The picture is how to do the voice mod, if you want telemetry, you still need to do the telemetry mod I'm afraid.
I'm using my 'spare' 9x to test this voice mod on. I'll transfer the voice to my main (telemetry) unit later. I just didn't want to have my main 9x in pieces while I get this working, I might need it for flying (if the weather improves!).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

I know how that feels "I might need it for flying". ;) that is why out of the 2 T9X, I only changed one to er9X so far. ;)
back to audio. so if you want all the telemetry info 'spoken out' with the audio mod you still need to do the telemetry mod. :(
other wise you can only hear: 'put me down you psyco" at the start up. :lol:
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice)

Post by jhsa »

or you could have it reading your plane's check list for you :mrgreen: :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
cre8tiveleo
Posts: 1434
Joined: Tue Dec 27, 2011 6:13 pm
Country: -
Location: Ontario,(GTA North)
Contact:

Re: Audio (voice)

Post by cre8tiveleo »

Psycho... Psyco is a python compiler... :mrgreen:
User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

jhsa wrote:or you could have it reading your plane's check list for you :mrgreen: :mrgreen:
like:" are you sure you want to fly your plane with this Tx."
"press menu long will shut down the Tx and save your plane"
:mrgreen:
cre8tiveleo wrote:Psycho... Psyco is a python compiler... :mrgreen:
you must be using it all day long. :lol:
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice)

Post by jhsa »

that'd be funny if someone else was listening :D
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)

Post by MikeB »

Mine actually says "E R 9 X" in a feminine voice. My wife didn't like the way I said it :mrgreen:

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)

Post by jhsa »

Well done Mike, You've just got your license to spend money on the hobby :mrgreen:
I must try that with my wife.. I probably end up divorced, or worse, dead.. ;) :D
She couldn't buy some new shoes because I bought the sound module.. Yayks.. :?
I didn't know tho..
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
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

MikeB wrote:Mine actually says "E R 9 X" in a feminine voice. My wife didn't like the way I said it :mrgreen:

Mike.
Gee, your wife did not ask you : who the hell is she? :lol:
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Audio (voice)

Post by jhsa »

I understood that it's his wife's voice.. :)
I need more beer but I can't drink at the moment...
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
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Audio (voice)

Post by kaos »

Gee, isn't that worse, even in the flying field you have to hear that. :mrgreen: :lol:
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice)

Post by MikeB »

How do you mean, worse? If it's not the hayfever season, she often is at the flying field with me. Helps to carry the planes, and is my 'official' photographer.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: Audio (voice)

Post by Rob Thomson »

Mike is one of those lucky people.

His wife likes his hobbies! And his work!
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
mhotar
Posts: 198
Joined: Wed May 16, 2012 9:57 pm
Country: -
Location: Jemnice, Vysocina

Re: Audio (voice)

Post by mhotar »

Nice job Mike,
looking forward to hear my TX to speak.
I have seen you have your hardware solution closed, so i post gpio schematics just for info only :)
9x_sound_gpio.png
Positives I see:
-Another 4 Inputs/Outputs(with internal pullups) for something (switches ...)
-Only 6 wires to mainboard
-Stripboard friendly package
-Less qty of components to solder
Negatives:
-Serial communication with internal registers will be slightly slower than 74HC574
User avatar
MikeB
9x Developer
Posts: 17992
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Audio (voice)

Post by MikeB »

Nice idea, there are a couple of problems though.

The SO line as specified for a logic '1', is only guaranteed to be VDD-0.7V, which from 3.3V supply is 2.6V. The Mega64 is specified as needing 0.6 VCC, which from 5V supply is 3.0V. So we can't guarantee to see a logic '1' on the SO signal.

The other problem is the PB7 signal is 0-5V, and the maximum input voltage for the '2308 is VDD+0.6V, which from 3.3V supply is 3.9V. The MEGA64, on 5V, is specified as a minimum of 4.2V output which is too high.

This level shifting is a bit of a problem.

This is why I needed so many transistors, and then had to make sure the MEGA64 outputs were active long enough to make sure the transistors actually switched. R3 on my circuit has to be 100K for the rest of the circuit to work correctly, but the current through it is so low that transistor TR2 doesn't switch off immediately. (The base-emitter capacitance of a saturated transistor has to be discharged before it will turn off).

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)

Post by jhsa »

Mike, wouldn't a FET switch off faster in that case?
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
mhotar
Posts: 198
Joined: Wed May 16, 2012 9:57 pm
Country: -
Location: Jemnice, Vysocina

Re: Audio (voice)

Post by mhotar »

You are right again Mike,
but I`am not giving up :)
9xGpio.png
I must say that your circuit seems to be easier now.

Post Reply

Return to “er9x”