Page 6 of 137

Re: Audio (voice)

Posted: Tue Jun 05, 2012 11:16 pm
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..

Re: Audio (voice)

Posted: Wed Jun 06, 2012 2:07 am
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. :)

Re: Audio (voice)

Posted: Wed Jun 06, 2012 7:32 am
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 8:12 am
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

Re: Audio (voice)

Posted: Wed Jun 06, 2012 9:10 am
by MikeB
Man-bis: Sorry, I'm not sure what you are asking for, what hardware change?

Mike.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 9:20 am
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 9:23 am
by MikeB
Generally, keep checking the FIRST post of this thread. All modification information will be there (eventually!).

Mike.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 9:29 am
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?? :)

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:53 am
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:57 am
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:

Re: Audio (voice)

Posted: Wed Jun 06, 2012 11:32 am
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 11:44 am
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 4:40 pm
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

Re: Audio (voice)

Posted: Wed Jun 06, 2012 4:53 pm
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:03 pm
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:

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:15 pm
by jhsa
or you could have it reading your plane's check list for you :mrgreen: :mrgreen:

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:16 pm
by cre8tiveleo
Psycho... Psyco is a python compiler... :mrgreen:

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:28 pm
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:

Re: Audio (voice)

Posted: Wed Jun 06, 2012 10:51 pm
by jhsa
that'd be funny if someone else was listening :D

Re: Audio (voice)

Posted: Wed Jun 06, 2012 11:00 pm
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.

Re: Audio (voice)

Posted: Wed Jun 06, 2012 11:28 pm
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..

Re: Audio (voice)

Posted: Thu Jun 07, 2012 12:14 am
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:

Re: Audio (voice)

Posted: Thu Jun 07, 2012 12:22 am
by jhsa
I understood that it's his wife's voice.. :)
I need more beer but I can't drink at the moment...

Re: Audio (voice)

Posted: Thu Jun 07, 2012 2:28 am
by kaos
Gee, isn't that worse, even in the flying field you have to hear that. :mrgreen: :lol:

Re: Audio (voice)

Posted: Thu Jun 07, 2012 8:36 am
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.

Re: Audio (voice)

Posted: Thu Jun 07, 2012 8:48 am
by Rob Thomson
Mike is one of those lucky people.

His wife likes his hobbies! And his work!

Re: Audio (voice)

Posted: Thu Jun 07, 2012 11:05 am
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

Re: Audio (voice)

Posted: Thu Jun 07, 2012 11:40 am
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.

Re: Audio (voice)

Posted: Thu Jun 07, 2012 11:52 am
by jhsa
Mike, wouldn't a FET switch off faster in that case?

Re: Audio (voice)

Posted: Thu Jun 07, 2012 3:12 pm
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.