Audio Work - Piezo Driver Updates
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Audio Work - Piezo Driver Updates
Rob, what build has the sounds in your utube post?
SM
SM
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Audio Work - Piezo Driver Updates
All current builds.
You just have to make sure you
speaker mode is set too PiSpkr, and the
frsky alerts too:
Int. FRSky Alarms : on
Then you can select the red/orange/yellow alert tones.
Rob
You just have to make sure you
speaker mode is set too PiSpkr, and the
frsky alerts too:
Int. FRSky Alarms : on
Then you can select the red/orange/yellow alert tones.
Rob
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!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Audio Work - Piezo Driver Updates
Hi, all!
I believe that there is more than information on yellow, orange or red level of alarm (and besides about many other things) it is possible to receive from the speech speaker. Speech, instead of sound, though and with different tone. On a sound even different tone it can be not clear about what warns a buzzer. And if the transmitter a pleasant female voice informs us that for example: "you come nearer to a zone of uncertain reception of a radio signal!" That it will be fantastic. And it is very convenient.
I have no experience of working out of such equipment and mod and very much I hope that colleagues at this forum can offer similar mod.
I believe that there is more than information on yellow, orange or red level of alarm (and besides about many other things) it is possible to receive from the speech speaker. Speech, instead of sound, though and with different tone. On a sound even different tone it can be not clear about what warns a buzzer. And if the transmitter a pleasant female voice informs us that for example: "you come nearer to a zone of uncertain reception of a radio signal!" That it will be fantastic. And it is very convenient.
I have no experience of working out of such equipment and mod and very much I hope that colleagues at this forum can offer similar mod.
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Audio Work - Piezo Driver Updates
This sort of feature is planned for the new main board. (ersky9x)
The current hardware / firmware space is too limited to do fancy audio.
Rob
Sent from my iPhone using Tapatalk
The current hardware / firmware space is too limited to do fancy audio.
Rob
Sent from my iPhone using Tapatalk
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!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Audio Work - Piezo Driver Updates
Please delete. Hit wrong button
Last edited by ShowMaster on Mon Jan 16, 2012 11:08 pm, edited 1 time in total.
- ShowMaster
- Posts: 4327
- Joined: Thu Dec 29, 2011 3:44 am
- Country: -
- Location: Los Angeles, CA USA
Re: Audio Work - Piezo Driver Updates
Found it, used it, like it!rob.thomson wrote:All current builds.
You just have to make sure you
speaker mode is set too PiSpkr, and the
frsky alerts too:
Int. FRSky Alarms : on
Then you can select the red/orange/yellow alert tones.
Rob
Thanks
SM
Re: Audio Work - Piezo Driver Updates
That's it, you just broke my heart.. before (still at RCGroups) it was said that there was enough space for that, and now suddenly there isn't?? Mike was even thinking about releasing some pins for that and The PXX, and also we would have some extra pins for other stuff..rob.thomson wrote:This sort of feature is planned for the new main board. (ersky9x)
The current hardware / firmware space is too limited to do fancy audio.
Rob
Huummmmm...
I hope that some thoughts that just came to my mind are not true, because it wouldn't be fair on people that can't afford the new board. I'm one of them..
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
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Audio Work - Piezo Driver Updates
Depends on what specific feature you want.
Problem is there is not really any room for adding much in the way of menus to configure any of these alerts.
So at best we could trigger an MP3 to play for an event. But dont expect anything fancy.
You would not for example be able to select an mp3 to play for a specific event.
Just trying to keep expectations realistic . There is only about 4% of space left on the firmware.
Problem is there is not really any room for adding much in the way of menus to configure any of these alerts.
So at best we could trigger an MP3 to play for an event. But dont expect anything fancy.
You would not for example be able to select an mp3 to play for a specific event.
Just trying to keep expectations realistic . There is only about 4% of space left on the firmware.
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!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio Work - Piezo Driver Updates
That's it, you just broke my heart.. before (still at RCGroups) it was said that there was enough space for that, and now suddenly there isn't?? Mike was even thinking about releasing some pins for that and The PXX, and also we would have some extra pins for other stuff..
[/quote]
I haven't given up on the audio. The mod I have in mind is quite messy, a lot of modifications need to be done, not everybody will want to do them. We can get some space back if we don't have the templates, it is a compile option to leave them out, but keep the heli. We may get to a point where if you want special audio and FrSky, then you can't have templates. I've been working on slimming the code again, gained a bit back.
I have an idea for adding audio on, need to get it more solid before I suggest it.
Mike.
[/quote]
I haven't given up on the audio. The mod I have in mind is quite messy, a lot of modifications need to be done, not everybody will want to do them. We can get some space back if we don't have the templates, it is a compile option to leave them out, but keep the heli. We may get to a point where if you want special audio and FrSky, then you can't have templates. I've been working on slimming the code again, gained a bit back.
I have an idea for adding audio on, need to get it more solid before I suggest it.
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: Audio Work - Piezo Driver Updates
Hi Mike, thanks for giving us some hope..I personally don't think that the templates are needed in the tx because we have eepe. Another idea ( i don't understand anything about coding) would be maybe to leave the speaker and ?vibrator? part of the code out as well? or at least part of it? to save some space? the reason I say this is that if you have the audio you won't need any piezo I guess.. Not sure about the vib, that's why I wrote it in between question marks..
Thanks again..
João
Thanks again..
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
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Audio Work - Piezo Driver Updates
I suspect this will need to be left in. (or the bulk of it)
The actual code that drives the speaker or buzzer could be excluded - but will only remove 20 or so lines of code.
Rob
The actual code that drives the speaker or buzzer could be excluded - but will only remove 20 or so lines of code.
Rob
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!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio Work - Piezo Driver Updates
I'm going to try to summarise regarding an addon to give speech output, and then we can work on from there.
1) We need something to play the speech (what quaility?, we don't need hifi, what format of audio file?, how much?)
2) We need somewhere to store the audio files.
3) We need a method for the ATMEGA64 to request an audio file to be played.
4) We need a way of getting the audio files onto the storage.
5) The addon hardware should be easy to obtain/make, and be readily available to all.
6) If any addon needs to be programmed, how is this to be done?
Remember different people have different hardware mods already done to their TX.
I think we should try to keep this simple, don't complicate it with trying to get any addon to provide anything except the audio function. There is enough to do with that.
I have some ideas, for some of this, but whether they are appropriate depends on choices made to the questions.
Mike.
1) We need something to play the speech (what quaility?, we don't need hifi, what format of audio file?, how much?)
2) We need somewhere to store the audio files.
3) We need a method for the ATMEGA64 to request an audio file to be played.
4) We need a way of getting the audio files onto the storage.
5) The addon hardware should be easy to obtain/make, and be readily available to all.
6) If any addon needs to be programmed, how is this to be done?
Remember different people have different hardware mods already done to their TX.
I think we should try to keep this simple, don't complicate it with trying to get any addon to provide anything except the audio function. There is enough to do with that.
I have some ideas, for some of this, but whether they are appropriate depends on choices made to the questions.
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!
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
Re: Audio Work - Piezo Driver Updates
someone posted (on RCG) already some modules that use sd card. we could then play our own files, in any language..
I think this is the way to go.. As far as I remember they weren't that expensive..
João
I think this is the way to go.. As far as I remember they weren't that expensive..
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: Audio Work - Piezo Driver Updates
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: Audio Work - Piezo Driver Updates
And this one posted by ReSt if I'm not mistaken.. He did some experiments with it..
http://www.emartee.com/product/41928/MP ... d%20Module
It's from the same shop that sells the one above. but is nearly half of the price..
http://www.emartee.com/product/41928/MP ... d%20Module
It's from the same shop that sells the one above. but is nearly half of the price..
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
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
Audio Work - Piezo Driver Updates
I like this one... Smaller, half the price..
http://www.emartee.com/product/41540/MP ... 0SD%20Card
That would be cool.
---
I am here: http://maps.google.com/maps?ll=44.003000,-79.457341
http://www.emartee.com/product/41540/MP ... 0SD%20Card
That would be cool.
---
I am here: http://maps.google.com/maps?ll=44.003000,-79.457341
Re: Audio Work - Piezo Driver Updates
This is the card that I experimented withI'm going to try to summarise regarding an addon to give speech output, and then we can work on from there.
1) We need something to play the speech (what quaility?, we don't need hifi, what format of audio file?, how much?)
You have to order the module for two wire serial protocol.
http://www.emartee.com/product/41928/MP ... d%20Module
Sample file of output quality is attached here
http://www.rcgroups.com/forums/showpost ... ount=14442
It has an SD Card for the audio files2) We need somewhere to store the audio files.
Audiofiles are named with numbers 001.ad4 to 510.ad43) We need a method for the ATMEGA64 to request an audio file to be played.
you play them by just sending their number to the module
Put the card into an SD card reader attached to your computer and copy them (card is FAT formatted)4) We need a way of getting the audio files onto the storage.
is available at emartee.com and maybe others (I bought it on ebay .. (from emartee))5) The addon hardware should be easy to obtain/make, and be readily available to all.
No programming required on the card side.6) If any addon needs to be programmed, how is this to be done?
Remember different people have different hardware mods already done to their TX.
Programming for the TX should be done, so a compile switch adds the required code if wanted.
That worked for me (from my PC):
http://www.rcgroups.com/forums/showpost ... ount=13643
You will need two output lines (clock and data) to communicate with the module. There should be a third line (input) to monitor the busy signal to know, when playing a soundfile has finished (required if we want to add several partial sound to one complex message),
It could be possible to switch direction of one output line to input to monitor the busy signal, after data has been sent completely.
This solution is simple and allows nothing else but to play sounds.I think we should try to keep this simple, don't complicate it with trying to get any addon to provide anything except the audio function. There is enough to do with that.
(You can put in a card with your favourite songs, add three little pushbuttons and you will have an MP3 player).
Power can be supplied from 5 volt by reducing it via a red LED.
Clock and data line should run over a little voltage divider (I used 1.2k : 3.3k )
Reinhard
Re: Audio Work - Piezo Driver Updates
This could be used to say numbers.. it would reduce the number of files needed.. also for saying the type of info the numbers are associated to like altitude, voltage etc..You will need two output lines (clock and data) to communicate with the module. There should be a third line (input) to monitor the busy signal to know, when playing a soundfile has finished (required if we want to add several partial sound to one compex message)
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
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Audio Work - Piezo Driver Updates
Mike,
Believe you already have one of those from emartee. Gave it to you when we saw each other last
I meant to look into it more over Christmas - but had no time
Sent from my iPhone using Tapatalk
Believe you already have one of those from emartee. Gave it to you when we saw each other last
I meant to look into it more over Christmas - but had no time
Sent from my iPhone using Tapatalk
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!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Audio Work - Piezo Driver Updates
simple hardware: http://www.adafruit.com/products/94
available to anyone? yes
program needed to be made (probably from scratch)
no specific IC's or re-branded controllers. just an atmega328 and a DAC (ignoring the audio amp cos' its just and double amp-op)
price: forget it. its nos cheap, but you can buy the parts yourself and make it cheaper to you. if you don't know how? simple. save some money, then buy the shield.
bulky? yes. its huge. but its done and it works right?
low sound output? no problem.
add this: http://www.ebay.co.uk/itm/Mini-Capsule- ... 3f11997018
of this: http://www.ebay.co.uk/itm/3-5mm-Mini-Po ... 218wt_1272
btw. this would be interesting to do over I2c cos' the arduino supports it.
later on you could even plug a wii motion plus on your 9X to use as head tracker or other functions. (probably not but I wanted to say it! )
available to anyone? yes
program needed to be made (probably from scratch)
no specific IC's or re-branded controllers. just an atmega328 and a DAC (ignoring the audio amp cos' its just and double amp-op)
price: forget it. its nos cheap, but you can buy the parts yourself and make it cheaper to you. if you don't know how? simple. save some money, then buy the shield.
bulky? yes. its huge. but its done and it works right?
low sound output? no problem.
add this: http://www.ebay.co.uk/itm/Mini-Capsule- ... 3f11997018
of this: http://www.ebay.co.uk/itm/3-5mm-Mini-Po ... 218wt_1272
btw. this would be interesting to do over I2c cos' the arduino supports it.
later on you could even plug a wii motion plus on your 9X to use as head tracker or other functions. (probably not but I wanted to say it! )
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio Work - Piezo Driver Updates
Yes thanks. I notice it says supports a max of 1Gb SD card. Now I don't have a standard SD card, only a 2Gb micro SD without adapter.rob.thomson wrote:Mike,
Believe you already have one of those from emartee. Gave it to you when we saw each other last
So I have a question, will this device work with an SD card larger than 1Gb, even if it only uses 1Gb of it? 1Gb cards look to be less easy to obtain these days.
If we use this, others need to be able to get an SD card, to make it work, easily.
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!
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
Audio Work - Piezo Driver Updates
It probably works with 2gb cards, and select 4gb cards, not sdhc. Just standard sd cards. 4gb cards are usually sdhc even if not marked. Fat 32 cannot handle a file larger than 4gb... (fat32 can handle a 2tb drive though)
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
Audio Work - Piezo Driver Updates
Dealextreme has 1gb sd, tigerdirect.ca too
Re: Audio Work - Piezo Driver Updates
Just verified that 2GB SD card works.
But my 2GB micro SD card with adapter does not work.
Reinhard
But my 2GB micro SD card with adapter does not work.
Reinhard
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Audio Work - Piezo Driver Updates
That's a pity (2Gb micro card in adapter). I was going to try to sort an adapter for my micro card for this. I wanted the micro card for ersky9x, I'll probably need an adapter anyway, but if it won't work in the sound module, the sound module may be a bit restrictive.
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!
- cre8tiveleo
- Posts: 1434
- Joined: Tue Dec 27, 2011 6:13 pm
- Country: -
- Location: Ontario,(GTA North)
- Contact:
Audio Work - Piezo Driver Updates
Then why not the snd crd with micro adaptor then? It's there too
---
I am here: http://maps.google.com/maps?ll=44.003000,-79.457341
---
I am here: http://maps.google.com/maps?ll=44.003000,-79.457341
- agusta600gt
- Posts: 106
- Joined: Mon Jan 09, 2012 5:45 pm
- Country: -
- Location: Hebertville,Quebec,Canada
Re: Audio Work - Piezo Driver Updates
hi there...
is there a way to have the same alarms as frsky in stock er9x?
like choice of bootsound,
counter alarm choice,
alarm choice ect.
cheers
is there a way to have the same alarms as frsky in stock er9x?
like choice of bootsound,
counter alarm choice,
alarm choice ect.
cheers
Re: Audio Work - Piezo Driver Updates
Here is link to the sdcard sound module.
Same as cre8tive leo showed , but even cheaper.
http://www.ebay.com/itm/Mini-SD-Card-MP ... _970wt_698
Cheaper still.
http://www.ebay.com/itm/MP3-Voice-modul ... 2852wt_932
Best regards , Hasse.
To support the forum:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=82QKZZN5ZC8JE
To support ER9X:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Audio Work - Piezo Driver Updates
Just discovered this interesting thread !
Otherwise, any progress on the mp3 stuff ?
+1agusta600gt wrote:hi there...
is there a way to have the same alarms as frsky in stock er9x?
like choice of bootsound,
counter alarm choice,
alarm choice ect.
cheers
Otherwise, any progress on the mp3 stuff ?