Main Forums >> DIY, Electronics, Studio Design & Acoustics
        Print Thread

Pages: 1
Hairy Ears
member


Joined: 06/09/03
Posts: 495
Loc: UK
Creating a digital pulse from a piezo input
      #988484 - 20/05/12 10:25 AM
Can anyone point towards a circuit that would take an input from a piezo crystal and create a +5v pulse from it?

I had been trying to do it with a simple op-amp circuit, with the legs of the piezo inputs connected either side of a 5M pot, with one leg of the piezo connected to the - input of the op-amp through a 150k resister and also tied to 0v. The wiper of the pot connected to the + input of the op-amp (also through 150k resister) thus relying on the theoretical infinite gain of the op-amp to produce the pulse.

Supply to the op-amp is +5V and 0V.

Even with no signal present I am measuring 75mV across the + and - inputs of the op-amp which is enough to swing the output to +5V.

All I want is a 5 volt pulse, no velocity sensitivity is required.

This is the first circuit I have fiddled with in about 20 years, so I am definitely rusty on my circuit design! Any help would be appreciated.

(I do know now that I should be rectifying the input from the piezo).

--------------------
* Soundcloud *
* Bandcamp *


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Hairy Ears
member


Joined: 06/09/03
Posts: 495
Loc: UK
Re: Creating a digital pulse from a piezo input new [Re: Hairy Ears]
      #988486 - 20/05/12 10:41 AM
Here's a drawing of my naive input circuit.




--------------------
* Soundcloud *
* Bandcamp *


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
James PerrettModerator



Joined: 10/09/01
Posts: 9654
Loc: The wilds of Hampshire
Re: Creating a digital pulse from a piezo input new [Re: Hairy Ears]
      #988643 - 21/05/12 09:41 AM
Op-amps have a really high gain so any imbalance on the inputs will result in full scale output. You need to add negative feedback to reduce this gain. A standard non-inverting configuration should work.

If you are triggering samples from drums you should be aware that successful drum triggering isn't simple. A simple circuit will often give multiple triggers so you may need some way of creating a hold off time before the circuit can be triggered again.

James.

--------------------
JRP Music - Audio Mastering and Restoration.
http://www.jrpmusic.net


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Martin WalkerModerator
Watcher Of The Skies


Joined: 28/02/01
Posts: 16381
Loc: Cornwall, UK
Re: Creating a digital pulse from a piezo input new [Re: Hairy Ears]
      #988660 - 21/05/12 10:51 AM
Hi Hairy Ears!

No point re-inventing the wheel – a quick Google threw up quite a few circuits for you - this one is the simplest:



Oh, and part from rectifying the pulse, that capacitor after the diode will 'hold onto' the pulse and let it decay slowly courtesy of the bleed resistor – this should help with the mis-triggering that James mentions by holding the rectified pulse high until any multiple trigger input signals die down, although you may need to tweak values depending on your piezo element.

Hope this helps!


Martin

--------------------
YewTreeMagic


Post Extras: Print Post   Remind Me!   Notify Moderator     Back to top
Pages: 1

Rate this thread

Jump to

Extra Information
2 registered and 35 anonymous users are browsing this forum.

Moderator:  David Etheridge, James Perrett, zenguitar, Martin Walker, Forum Admin, Hugh Robjohns, Zukan, Frank Eleveld, Will Betts,  
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled
Rating:
Thread views: 1690

 

Home | Search | News | Current Issue | Tablet Mag | Articles | Forum | Subscribe | Shop | Readers Ads

Advertise | Information | Digital Editions | Privacy Policy | Support

May 2013
On sale now at main newsagents and bookstores (or buy direct from the
SOS Web Shop)
SOS current Print Magazine: click here for FULL Contents list
Click image for May 2013
DAW Tips from SOS
 

Email: Contact SOS

Telephone: +44 (0)1954 789888

Fax: +44 (0)1954 789895

Registered Office: Media House, Trafalgar Way, Bar Hill, Cambridge, CB23 8SQ, United Kingdom.

Sound On Sound Ltd is registered in England and Wales.

Company number: 3015516 VAT number: GB 638 5307 26

         

All contents copyright © SOS Publications Group and/or its licensors, 1985-2013. All rights reserved.
The contents of this article are subject to worldwide copyright protection and reproduction in whole or part, whether mechanical or electronic, is expressly forbidden without the prior written consent of the Publishers. Great care has been taken to ensure accuracy in the preparation of this article but neither Sound On Sound Limited nor the publishers can be held responsible for its contents. The views expressed are those of the contributors and not necessarily those of the publishers.

Web site designed & maintained by PB Associates | SOS | Relative Media