Re: [PD] Piezo, trigger, Arduino

2011-06-27 Thread Andy Farnell



Hi Richard,

The thought just came to me, if you were to use
other kinds of experimental piezo not designed
for audio purposes with FET stages then you'd
definitely blow away the gate without dropping
and shunting the high voltage spikes. Glad the book
is giving you some fun. 
cheers,
a.



On Sat, 25 Jun 2011 16:41:15 -0700 (PDT)
richard duckworth  wrote:

> Hi Andy, sorry for the late reply. Just reading your book - totally cool! No 
> I've never tried that type of piezo, sounds intriguing. I'll give it a go 
> next time I'm 'piezo mode'. I use the cheapo bellbuzzer types for 
> non-critical apps and the MEAS film when I want an audiophile sound. As far 
> as the FET buffers go, I bought a load of generic 1 transistor PCB boards and 
> use those to fabricate unity gain buffers with 10 Mega-ohm IP impedance as 
> the need arises. It must be said that the few BSS AR 116 DI boxes that we 
> have make fabulous piezo IP's too, due to the hi impedance in and the wide 
> bandwidth. The MEAS make fabulous contact mics for gongs, cymbals and, my 
> favorite, sawmill blades.    
> Rich Duckworth
> 
> Lecturer in Music Technology
> 
> Department of Music
> 
> House 5 
> 
> Trinity College 
> 
> Dublin 2
> 
> Ireland
> 
> 
> 
> Tel 353 1 896 1500
> 
> 
> 
> It's the most devastating moment in a young mans life, when he quite 
> reasonably says to himself, "I shall never play The Dane!"
> 
> --- On Thu, 23/6/11, pd-list-requ...@iem.at  wrote:
> 
> From: pd-list-requ...@iem.at 
> Subject: Pd-list Digest, Vol 75, Issue 91
> To: pd-list@iem.at
> Date: Thursday, 23 June, 2011, 12:01
> 
> Send Pd-list mailing list submissions to
>     pd-list@iem.at
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.puredata.info/listinfo/pd-list
> or, via email, send a message with subject or body 'help' to
>     pd-list-requ...@iem.at
> 
> You can reach the person managing the list at
>     pd-list-ow...@iem.at
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pd-list digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Pd performance at TED (Olivier Baudu)
>    2. Re: Piezo, trigger, Arduino (padawa...@obiwannabe.co.uk)
> 
> 
> --
> 
> Message: 1
> Date: Thu, 23 Jun 2011 12:56:10 +0200
> From: Olivier Baudu 
> Subject: Re: [PD] Pd performance at TED
> To: Pierre Massat 
> Cc: pd-list@iem.at
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
> 
> >The fact that he created it on a sequencer in 97 and not on a drumkit in
> 1963 doesn't make any difference to me.
> 
> Ok, but could "beatjazz" be played in an other way than Onyx did ?
> If "beatjazz" can't be triggered pre-record patterns, it's pity (for me)
> that the audience think it is...
> 
> By the way, if Flim had been created in 63 it would make a big difference
> for me...
> The context of a creation matters, don't you think ?
> 
> Cheers...
> 
> 01ivier
> 
> -- 
> Envie de tisser ?
> http://yamatierea.org/papatchs/
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://lists.puredata.info/pipermail/pd-list/attachments/20110623/73f32ec3/attachment-0001.htm>
> 
> --
> 
> Message: 2
> Date: Thu, 23 Jun 2011 12:00:52 +0100 (BST)
> From: "padawa...@obiwannabe.co.uk" 
> Subject: Re: [PD] Piezo, trigger, Arduino
> To: richard duckworth , pd-list@iem.at
> Message-ID:
>     <131539004.238019.1308826852682.javamail.open-xcha...@oxltgw16.schlund.de>
>     
> Content-Type: text/plain; charset="utf-8"
> 
> Ever tried the kind of high voltage piezo you get in ?
> cigarette lighters?? MaybeY you can drop that across some high ?
> value resistors to get an input suitable for an opamp stage. ?
> You would need to remove the spring loaded housing. ?
> They would be highly robust and able to
> take a beating from a drummer more directly.?
> ?
> a. ?
> 
> On 23 June 2011 at 10:43 richard duckworth  wrote:
> 
> > Piezo elements (the round, gold-coloured bell-buzzer type) make excellent
> > triggers. Drumpads like the Roland SPD-n type use these as the triggers.
> > Modifications need to be done to create a reliable trigger. The mechanical
> > integrity of these devices can be a problem: the leads can literally 'fall
> > off'. I 'pot' mine in a layer of epoxy so that the leads are literally glued
> > to the sur

Re: [PD] Piezo, trigger, Arduino

2011-06-25 Thread richard duckworth
Hi Andy, sorry for the late reply. Just reading your book - totally cool! No 
I've never tried that type of piezo, sounds intriguing. I'll give it a go next 
time I'm 'piezo mode'. I use the cheapo bellbuzzer types for non-critical apps 
and the MEAS film when I want an audiophile sound. As far as the FET buffers 
go, I bought a load of generic 1 transistor PCB boards and use those to 
fabricate unity gain buffers with 10 Mega-ohm IP impedance as the need arises. 
It must be said that the few BSS AR 116 DI boxes that we have make fabulous 
piezo IP's too, due to the hi impedance in and the wide bandwidth. The MEAS 
make fabulous contact mics for gongs, cymbals and, my favorite, sawmill blades. 
   
Rich Duckworth

Lecturer in Music Technology

Department of Music

House 5 

Trinity College 

Dublin 2

Ireland



Tel 353 1 896 1500



It's the most devastating moment in a young mans life, when he quite reasonably 
says to himself, "I shall never play The Dane!"

--- On Thu, 23/6/11, pd-list-requ...@iem.at  wrote:

From: pd-list-requ...@iem.at 
Subject: Pd-list Digest, Vol 75, Issue 91
To: pd-list@iem.at
Date: Thursday, 23 June, 2011, 12:01

Send Pd-list mailing list submissions to
    pd-list@iem.at

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.puredata.info/listinfo/pd-list
or, via email, send a message with subject or body 'help' to
    pd-list-requ...@iem.at

You can reach the person managing the list at
    pd-list-ow...@iem.at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pd-list digest..."


Today's Topics:

   1. Re: Pd performance at TED (Olivier Baudu)
   2. Re: Piezo, trigger, Arduino (padawa...@obiwannabe.co.uk)


--

Message: 1
Date: Thu, 23 Jun 2011 12:56:10 +0200
From: Olivier Baudu 
Subject: Re: [PD] Pd performance at TED
To: Pierre Massat 
Cc: pd-list@iem.at
Message-ID: 
Content-Type: text/plain; charset="iso-8859-1"

>The fact that he created it on a sequencer in 97 and not on a drumkit in
1963 doesn't make any difference to me.

Ok, but could "beatjazz" be played in an other way than Onyx did ?
If "beatjazz" can't be triggered pre-record patterns, it's pity (for me)
that the audience think it is...

By the way, if Flim had been created in 63 it would make a big difference
for me...
The context of a creation matters, don't you think ?

Cheers...

01ivier

-- 
Envie de tisser ?
http://yamatierea.org/papatchs/
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.puredata.info/pipermail/pd-list/attachments/20110623/73f32ec3/attachment-0001.htm>

----------------------

Message: 2
Date: Thu, 23 Jun 2011 12:00:52 +0100 (BST)
From: "padawa...@obiwannabe.co.uk" 
Subject: Re: [PD] Piezo, trigger, Arduino
To: richard duckworth , pd-list@iem.at
Message-ID:
    <131539004.238019.1308826852682.javamail.open-xcha...@oxltgw16.schlund.de>
    
Content-Type: text/plain; charset="utf-8"

Ever tried the kind of high voltage piezo you get in ?
cigarette lighters?? MaybeY you can drop that across some high ?
value resistors to get an input suitable for an opamp stage. ?
You would need to remove the spring loaded housing. ?
They would be highly robust and able to
take a beating from a drummer more directly.?
?
a. ?

On 23 June 2011 at 10:43 richard duckworth  wrote:

> Piezo elements (the round, gold-coloured bell-buzzer type) make excellent
> triggers. Drumpads like the Roland SPD-n type use these as the triggers.
> Modifications need to be done to create a reliable trigger. The mechanical
> integrity of these devices can be a problem: the leads can literally 'fall
> off'. I 'pot' mine in a layer of epoxy so that the leads are literally glued
> to the surface.
> The element can be glued to a rubber pad (this is essentially what Roland
> does) and mounted on a wooden block to create a trigger pad. Roland uses a
> small coil in series with the piezo: this is there to provide transient
> suppression as the instantaneous signal peaks can be quite high (albeit
> fleeting). This coil is a good idea as it protects the circuitry on the first
> buffer the piezo sees. ?
>
> Other Piezo tips (mainly for audio):
> 1) If soldering new leads use a very low wattage iron, low temperature solder
> and complete the solder joint *quickly*
> 2) buy in bulk as a few will get destroyed as you perfect your method
> 3) if using for audio (i.e., as an audio pickup), then the piezo must be
> screened. A 'balanced signal' architecture works well here: piezo elements are
> wired 'signal hot' and 'signal cold', and the hum/RFI suppression is handled
> by a separate screen.
>

Re: [PD] Piezo, trigger, Arduino

2011-06-23 Thread padawa...@obiwannabe.co.uk
Ever tried the kind of high voltage piezo you get in  
cigarette lighters?  MaybeY you can drop that across some high  
value resistors to get an input suitable for an opamp stage.  
You would need to remove the spring loaded housing.  
They would be highly robust and able to
take a beating from a drummer more directly. 
 
a.  

On 23 June 2011 at 10:43 richard duckworth  wrote:

> Piezo elements (the round, gold-coloured bell-buzzer type) make excellent
> triggers. Drumpads like the Roland SPD-n type use these as the triggers.
> Modifications need to be done to create a reliable trigger. The mechanical
> integrity of these devices can be a problem: the leads can literally 'fall
> off'. I 'pot' mine in a layer of epoxy so that the leads are literally glued
> to the surface.
> The element can be glued to a rubber pad (this is essentially what Roland
> does) and mounted on a wooden block to create a trigger pad. Roland uses a
> small coil in series with the piezo: this is there to provide transient
> suppression as the instantaneous signal peaks can be quite high (albeit
> fleeting). This coil is a good idea as it protects the circuitry on the first
> buffer the piezo sees.  
>
> Other Piezo tips (mainly for audio):
> 1) If soldering new leads use a very low wattage iron, low temperature solder
> and complete the solder joint *quickly*
> 2) buy in bulk as a few will get destroyed as you perfect your method
> 3) if using for audio (i.e., as an audio pickup), then the piezo must be
> screened. A 'balanced signal' architecture works well here: piezo elements are
> wired 'signal hot' and 'signal cold', and the hum/RFI suppression is handled
> by a separate screen.
> 4) The MEAS film-type of piezo work much better for audio than the bell-buzzer
> type:
> http://www.meas-spec.com/product/t_product.aspx?id=2478
> 5) Impedance, impedance, impedance! Impedance is the rock upon which many
> piezo hackers perish. These elements need to be presented with an input
> impedance of many megaOhms. The average line input / mic input is totally
> inappropriate for these units. I use a simple FET buffer with an input
> impedance of 10 megaOhms on my piezos. Certain electronic DI boxes will also
> work well due to their high impedance characteristics, e.g., BSS. If piezos
> see a low-to-medium impedance, drastic LF rolloffs occur. This is why the
> cheap guitar contact mics sound so tinny when plugged directly into an amp.
>
>    
>
>
> Rich Duckworth
>
> Lecturer in Music Technology
>
> Department of Music
>
> House 5
>
> Trinity College
>
> Dublin 2
>
> Ireland
>
>
>
> Tel 353 1 896 1500
>
>
>
> It's the most devastating moment in a young mans life, when he quite
> reasonably says to himself, "I shall never play The Dane!"
>
> --- On Thu, 23/6/11, pd-list-requ...@iem.at  wrote:
>
> From: pd-list-requ...@iem.at 
> Subject: Pd-list Digest, Vol 75, Issue 88
> To: pd-list@iem.at
> Date: Thursday, 23 June, 2011, 6:42
>
> Send Pd-list mailing list submissions to
>     pd-list@iem.at
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.puredata.info/listinfo/pd-list
> or, via email, send a message with subject or body 'help' to
>     pd-list-requ...@iem.at
>
> You can reach the person managing the list at
>     pd-list-ow...@iem.at
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pd-list digest..."
>
>
> Today's Topics:
>
>    1. Re: control lot of audios files with arduino + puredata
>       (FernandoG)
>    2. Re: Pd performance at TED (Tyler Leavitt)
>    3. Re: Pd performance at TED (Jonathan Wilkes)
>
>
> --
>
> Message: 1
> Date: Wed, 22 Jun 2011 21:13:45 -0400
> From: FernandoG 
> Subject: Re: [PD] control lot of audios files with arduino + puredata
> To: Hans-Christoph Steiner 
> Cc: pd-list@iem.at, Martin Peach 
> Message-ID: 
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi guys
>
> I was researching about arduino mega and pd firmata and i found a post where
> they say that its not posible to use all digital output and analog inputs of
> arduino mega. http://arduino.cc/forum/index.php?topic=62256.0
>
> I gona buy arduino mega this week, but i need all inputs-output working for
> my proyect. Do you know something about this incompatibility??
>
> thanks
>
> 2011/6/3 FernandoG 
>
> > Thanks guys, first i will try the easy way, arduino mega.
> >
> > best!
> >
> >
> > 2011/6/3 Hans-Christoph Steiner 
> >
> >>
> >> I think people have done some shift register+firmata things, but nothing
> >> got integrated into StandardFirmata/  Here's an example:
> >>
> >> http://www.makingthingsmove.org/blog/
> >>
> >> .hc
> >>
> >>
> >> On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
> >>
> >>  It's certainly possible to make a Pd patch that controls shift registers
> >>> through firmata. It's also possible to program the Arduino to do that and
> >>> send the switch numbers to a Pd patch that has

Re: [PD] Piezo, trigger, Arduino

2011-06-23 Thread richard duckworth
Piezo elements (the round, gold-coloured bell-buzzer type) make excellent 
triggers. Drumpads like the Roland SPD-n type use these as the triggers. 
Modifications need to be done to create a reliable trigger. The mechanical 
integrity of these devices can be a problem: the leads can literally 'fall 
off'. I 'pot' mine in a layer of epoxy so that the leads are literally glued to 
the surface. 
The element can be glued to a rubber pad (this is essentially what Roland does) 
and mounted on a wooden block to create a trigger pad. Roland uses a small coil 
in series with the piezo: this is there to provide transient suppression as the 
instantaneous signal peaks can be quite high (albeit fleeting). This coil is a 
good idea as it protects the circuitry on the first buffer the piezo sees.   

Other Piezo tips (mainly for audio): 
1) If soldering new leads use a very low wattage iron, low temperature solder 
and complete the solder joint *quickly* 
2) buy in bulk as a few will get destroyed as you perfect your method
3) if using for audio (i.e., as an audio pickup), then the piezo must be 
screened. A 'balanced signal' architecture works well here: piezo elements are 
wired 'signal hot' and 'signal cold', and the hum/RFI suppression is handled by 
a separate screen. 
4) The MEAS film-type of piezo work much better for audio than the bell-buzzer 
type: 
http://www.meas-spec.com/product/t_product.aspx?id=2478
5) Impedance, impedance, impedance! Impedance is the rock upon which many piezo 
hackers perish. These elements need to be presented with an input impedance of 
many megaOhms. The average line input / mic input is totally inappropriate for 
these units. I use a simple FET buffer with an input impedance of 10 megaOhms 
on my piezos. Certain electronic DI boxes will also work well due to their high 
impedance characteristics, e.g., BSS. If piezos see a low-to-medium impedance, 
drastic LF rolloffs occur. This is why the cheap guitar contact mics sound so 
tinny when plugged directly into an amp. 

    


Rich Duckworth

Lecturer in Music Technology

Department of Music

House 5 

Trinity College 

Dublin 2

Ireland



Tel 353 1 896 1500



It's the most devastating moment in a young mans life, when he quite reasonably 
says to himself, "I shall never play The Dane!"

--- On Thu, 23/6/11, pd-list-requ...@iem.at  wrote:

From: pd-list-requ...@iem.at 
Subject: Pd-list Digest, Vol 75, Issue 88
To: pd-list@iem.at
Date: Thursday, 23 June, 2011, 6:42

Send Pd-list mailing list submissions to
    pd-list@iem.at

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.puredata.info/listinfo/pd-list
or, via email, send a message with subject or body 'help' to
    pd-list-requ...@iem.at

You can reach the person managing the list at
    pd-list-ow...@iem.at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pd-list digest..."


Today's Topics:

   1. Re: control lot of audios files with arduino + puredata
      (FernandoG)
   2. Re: Pd performance at TED (Tyler Leavitt)
   3. Re: Pd performance at TED (Jonathan Wilkes)


--

Message: 1
Date: Wed, 22 Jun 2011 21:13:45 -0400
From: FernandoG 
Subject: Re: [PD] control lot of audios files with arduino + puredata
To: Hans-Christoph Steiner 
Cc: pd-list@iem.at, Martin Peach 
Message-ID: 
Content-Type: text/plain; charset="iso-8859-1"

Hi guys

I was researching about arduino mega and pd firmata and i found a post where
they say that its not posible to use all digital output and analog inputs of
arduino mega. http://arduino.cc/forum/index.php?topic=62256.0

I gona buy arduino mega this week, but i need all inputs-output working for
my proyect. Do you know something about this incompatibility??

thanks

2011/6/3 FernandoG 

> Thanks guys, first i will try the easy way, arduino mega.
>
> best!
>
>
> 2011/6/3 Hans-Christoph Steiner 
>
>>
>> I think people have done some shift register+firmata things, but nothing
>> got integrated into StandardFirmata/  Here's an example:
>>
>> http://www.makingthingsmove.org/blog/
>>
>> .hc
>>
>>
>> On Jun 2, 2011, at 1:02 AM, Martin Peach wrote:
>>
>>  It's certainly possible to make a Pd patch that controls shift registers
>>> through firmata. It's also possible to program the Arduino to do that and
>>> send the switch numbers to a Pd patch that has a [comport] in it.
>>>
>>> Martin
>>>
>>>
>>> On 2011-06-01 22:33, FernandoG wrote:
>>>
 Thanks for answer

 Martin: I am researching about shift registers, but if the idea is to
 use puredata to control audio playbacks, thats means that i need to
 control shift registers with pd? because the arduino will be flashed
 with pd firmdata and will be imposible to upload code to control shift
 registers, is that posible or i am thinking wrong?
  Thanks again

 Best!


 2011/5/30 Martin Peach >>> >
>

Re: [PD] Piezo, trigger, Arduino

2011-06-22 Thread Tee
Hello, (some time lurker, first post)

On 17/06/2011 14:27, Pierre Massat wrote:
> Dear List,
> 
> This is yet another question about Arduino. Sorry about that.
> I want to use piezos to trigger samples using my arduino board. I want the
> trigger to be sensitive, and a quick google search seems to show that piezo
> is the way to go.
> Does anybody have any experience with piezo triggers (what type of piezo,
> isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no
> drumsticks or anything like that), but i guess it doesn't really matter
> since i can control the threshold within Pd.
> 
> This last sentence is just to make sure that everyone knows i'm talking
> about piezos in case there wasn't enough occurences of the word in my
> message.
> 
> Cheers!
> 
> Pierre

i am currently building something similar, but triggering synthesis
instead of samples.
While i can't really comment on my piezos (i had them for a long time
until i put them to use), an oscillograph showed they have their biggest
peaks between 8.88 and 9ms.
The arduinos analogue inputs give values between 0 and 1023 (10 10bits).
Using the piezos with or without their shell makes a huge difference in
the values propagated to pd.
i asked someone more knowledgeable than me about a circuit with the same
purpose (just reading the "biggest amplitude" of the piezos response)
using  but he
replied that this specific one would mostly show the characteristics of
the capacitor and recommended using a Schmitt-Trigger instead.
I'm documenting my project on
, it is still a work in
progress so not everything is up there yet.

hth,

tee

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-22 Thread Martin
I use the MCP6024. It's a quad rail-to-rail single-supply high impedance 
input op-amp, which makes it easy to power from the arduino.


Martin



On 22/06/11 09:13 AM, Pierre Massat wrote:

Oops. Sorry, i meant Martin, obviously.

2011/6/22 Roman Haefeli mailto:reduz...@gmail.com>>

On Wed, 2011-06-22 at 15:06 +0200, Pierre Massat wrote:
> Thank you all for your advice.
>
> @Roman : what type of op-amp do you use?

I guess, it was Martin Peach who suggested using an op-amp. However, I
think many common ones will do.

Roman




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-22 Thread Roman Haefeli
On Wed, 2011-06-22 at 15:06 +0200, Pierre Massat wrote:
> Thank you all for your advice.
> 
> @Roman : what type of op-amp do you use? 

I guess, it was Martin Peach who suggested using an op-amp. However, I
think many common ones will do.

Roman



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-22 Thread Pierre Massat
Oops. Sorry, i meant Martin, obviously.

2011/6/22 Roman Haefeli 

> On Wed, 2011-06-22 at 15:06 +0200, Pierre Massat wrote:
> > Thank you all for your advice.
> >
> > @Roman : what type of op-amp do you use?
>
> I guess, it was Martin Peach who suggested using an op-amp. However, I
> think many common ones will do.
>
> Roman
>
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-22 Thread Pierre Massat
Thank you all for your advice.

@Roman : what type of op-amp do you use?

Thanks!

Pierre

2011/6/17 Michael Shiloh 

> Are you using piezo sensors? :-)
>
> Try this for starters:
>
> http://www.arduino.cc/en/Tutorial/KnockSensor
>
> Note that there are other types of piezo sensors, but this is the most
> common type and probably what you mean. May or may  not come in the
> black plastic case.
>
> They are also often called contact mics or piezo speakers. Best price
> is probably from those silly singing birthday cards. Ask your friends
> for their old ones and you'll probably get them for free.
>
> I also find that most lo-fi audio equpiment uses these as speakers:
> cordless phones, answering machines, assorted beepers and buzzers. If
> you collect old junk for future component salvage (I do), you probably
> have half a dozen of these already.
>
> Good luck and let us know what you make!
>
> Michael
>
> On Fri, Jun 17, 2011 at 5:27 AM, Pierre Massat  wrote:
> > Dear List,
> >
> > This is yet another question about Arduino. Sorry about that.
> > I want to use piezos to trigger samples using my arduino board. I want
> the
> > trigger to be sensitive, and a quick google search seems to show that
> piezo
> > is the way to go.
> > Does anybody have any experience with piezo triggers (what type of piezo,
> > isolating each piezo, etc.)? I will hit the piezos with my bare fingers
> (no
> > drumsticks or anything like that), but i guess it doesn't really matter
> > since i can control the threshold within Pd.
> >
> > This last sentence is just to make sure that everyone knows i'm talking
> > about piezos in case there wasn't enough occurences of the word in my
> > message.
> >
> > Cheers!
> >
> > Pierre
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-17 Thread Martin Peach
I found that it works better if you put some kind of peak detector 
op-amp circuit between the piezo and the arduino.


See the peak detector circuit in here:
http://www.st-andrews.ac.uk/~www_pa/Scots_Guide/audio/part8/Page3.html

The diode rectifies the signal and the capacitor stretches it out so the 
arduino has time to measure it, the resistor drains the capacitor so it 
doesn't hold the peak forever.


Putting weights on top of the piezos increases their output, as does 
gluing them to a resonant object.


Martin


On 2011-06-17 08:53, Roman Haefeli wrote:

Hi Pierre

Actually, I wouldn't connect the piezos to an arduino, but to a sound
card, because the piezos will likely give very very short spikes and the
sampling rate of the analogIns of the arduino is quite low (don't know
the exact value) compared to the sampling rate of a common sound card.
Also, you have more control in Pd to build a trigger detection filter
then on the arduino. Also you would likely get much lower latency with a
good audio setup than with the atmega->ftdi->usb->comport path. Also
when using the soundcard, the latency is constant, while you would have
glitches with the arduino.

I'd be glad to hear other opinions, though, since my thoughts are purely
theoretical. I haven't implemented a piezo-based trigger, neither with
sound card nor arduino.

Roman

On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote:

Dear List,

This is yet another question about Arduino. Sorry about that.
I want to use piezos to trigger samples using my arduino board. I want
the trigger to be sensitive, and a quick google search seems to show
that piezo is the way to go.
Does anybody have any experience with piezo triggers (what type of
piezo, isolating each piezo, etc.)? I will hit the piezos with my bare
fingers (no drumsticks or anything like that), but i guess it doesn't
really matter since i can control the threshold within Pd.

This last sentence is just to make sure that everyone knows i'm
talking about piezos in case there wasn't enough occurences of the
word in my message.

Cheers!

Pierre
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-17 Thread olsen

ej pierre regarding sensitivity a FSR = force sensitive resistor might be 
interesting as well?!
salutis
ø

On 06/17/2011 03:15 PM, Pierre Massat wrote:

Hi Roman, thanks for your reply. I'm afraid i can't use a soundcard to capture 
the input from the piezo (I don't want to
buy one just for three little triggers). If what you're saying is true i guess 
i will just use three switches and forget
about the sensitivity.

Pierre

2011/6/17 Roman Haefeli mailto:reduz...@gmail.com>>

Hi Pierre

Actually, I wouldn't connect the piezos to an arduino, but to a sound
card, because the piezos will likely give very very short spikes and the
sampling rate of the analogIns of the arduino is quite low (don't know
the exact value) compared to the sampling rate of a common sound card.
Also, you have more control in Pd to build a trigger detection filter
then on the arduino. Also you would likely get much lower latency with a
good audio setup than with the atmega->ftdi->usb->comport path. Also
when using the soundcard, the latency is constant, while you would have
glitches with the arduino.

I'd be glad to hear other opinions, though, since my thoughts are purely
theoretical. I haven't implemented a piezo-based trigger, neither with
sound card nor arduino.

Roman

On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote:
 > Dear List,
 >
 > This is yet another question about Arduino. Sorry about that.
 > I want to use piezos to trigger samples using my arduino board. I want
 > the trigger to be sensitive, and a quick google search seems to show
 > that piezo is the way to go.
 > Does anybody have any experience with piezo triggers (what type of
 > piezo, isolating each piezo, etc.)? I will hit the piezos with my bare
 > fingers (no drumsticks or anything like that), but i guess it doesn't
 > really matter since i can control the threshold within Pd.
 >
 > This last sentence is just to make sure that everyone knows i'm
 > talking about piezos in case there wasn't enough occurences of the
 > word in my message.
 >
 > Cheers!
 >
 > Pierre
 > ___
 > Pd-list@iem.at  mailing list
 > UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list


--
ETs DNA will not be televised
http://hasa-labs.org


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-17 Thread Pierre Massat
Hi Roman, thanks for your reply. I'm afraid i can't use a soundcard to
capture the input from the piezo (I don't want to buy one just for three
little triggers). If what you're saying is true i guess i will just use
three switches and forget about the sensitivity.

Pierre

2011/6/17 Roman Haefeli 

> Hi Pierre
>
> Actually, I wouldn't connect the piezos to an arduino, but to a sound
> card, because the piezos will likely give very very short spikes and the
> sampling rate of the analogIns of the arduino is quite low (don't know
> the exact value) compared to the sampling rate of a common sound card.
> Also, you have more control in Pd to build a trigger detection filter
> then on the arduino. Also you would likely get much lower latency with a
> good audio setup than with the atmega->ftdi->usb->comport path. Also
> when using the soundcard, the latency is constant, while you would have
> glitches with the arduino.
>
> I'd be glad to hear other opinions, though, since my thoughts are purely
> theoretical. I haven't implemented a piezo-based trigger, neither with
> sound card nor arduino.
>
> Roman
>
> On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote:
> > Dear List,
> >
> > This is yet another question about Arduino. Sorry about that.
> > I want to use piezos to trigger samples using my arduino board. I want
> > the trigger to be sensitive, and a quick google search seems to show
> > that piezo is the way to go.
> > Does anybody have any experience with piezo triggers (what type of
> > piezo, isolating each piezo, etc.)? I will hit the piezos with my bare
> > fingers (no drumsticks or anything like that), but i guess it doesn't
> > really matter since i can control the threshold within Pd.
> >
> > This last sentence is just to make sure that everyone knows i'm
> > talking about piezos in case there wasn't enough occurences of the
> > word in my message.
> >
> > Cheers!
> >
> > Pierre
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Piezo, trigger, Arduino

2011-06-17 Thread Roman Haefeli
Hi Pierre

Actually, I wouldn't connect the piezos to an arduino, but to a sound
card, because the piezos will likely give very very short spikes and the
sampling rate of the analogIns of the arduino is quite low (don't know
the exact value) compared to the sampling rate of a common sound card.
Also, you have more control in Pd to build a trigger detection filter
then on the arduino. Also you would likely get much lower latency with a
good audio setup than with the atmega->ftdi->usb->comport path. Also
when using the soundcard, the latency is constant, while you would have
glitches with the arduino.

I'd be glad to hear other opinions, though, since my thoughts are purely
theoretical. I haven't implemented a piezo-based trigger, neither with
sound card nor arduino.

Roman

On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote:
> Dear List,
> 
> This is yet another question about Arduino. Sorry about that. 
> I want to use piezos to trigger samples using my arduino board. I want
> the trigger to be sensitive, and a quick google search seems to show
> that piezo is the way to go. 
> Does anybody have any experience with piezo triggers (what type of
> piezo, isolating each piezo, etc.)? I will hit the piezos with my bare
> fingers (no drumsticks or anything like that), but i guess it doesn't
> really matter since i can control the threshold within Pd. 
> 
> This last sentence is just to make sure that everyone knows i'm
> talking about piezos in case there wasn't enough occurences of the
> word in my message. 
> 
> Cheers!
> 
> Pierre
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list