+ Reply to Thread
Results 1 to 9 of 9

Thread: Delay switch based on voltage

  1. #1
    prprog Newbie
    Join Date
    Nov 2006
    Location
    Puerto Rico
    Posts
    119

    Smile Delay switch based on voltage

    I am building a drum controller and need a circuit that based on how hard you hit a piezo disc you generate 2 signals - one will activate a switch immediately. A second switch should be activated but with a time delay based on how hard the piezo was hit. Any suggestions?


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,794

    Default

    Try googling for existing projects!.

    Like this:
    http://www.edrum.info/index.html
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    prprog Newbie
    Join Date
    Nov 2006
    Location
    Puerto Rico
    Posts
    119

    Smile eDrum site

    Thanks for the eDrum site. I check this web site before...but the solution used a PIC , which already got analog inputs (ADC). My project involved no PIC so I am still looking on how to handle a delay switching based on the voltage generated by the piezo.

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,794

    Default

    Quote Originally Posted by prprog
    Thanks for the eDrum site. I check this web site before...but the solution used a PIC , which already got analog inputs (ADC). My project involved no PIC so I am still looking on how to handle a delay switching based on the voltage generated by the piezo.
    It would seem stupid NOT to use a PIC? - it could be done (and was decades ago), but it makes it MUCH more complicated and expensive.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    prprog Newbie
    Join Date
    Nov 2006
    Location
    Puerto Rico
    Posts
    119

    Lightbulb Delay switch based on voltage

    Quote Originally Posted by Nigel Goodwin
    It would seem stupid NOT to use a PIC? - it could be done (and was decades ago), but it makes it MUCH more complicated and expensive.
    ....(I already made a Basic Stamp circuit and code that work very similar to the eDrum concept. It got ADC's that I added to manage the voltage from the piezo)...so it is not about doing a stupid thing not using a PIC , but more of a challenge...So again any suggestions on how to activate a switch (with time delay) based on the voltage generated by the piezo disc. (I dont want to used PIC or Stamps chips). [I have search the WWW for circuits but since I am not an expert I am not sure were to start] Thanks.

  6. #6
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,794

    Default

    Check for 'sample and hold' circuits.

    I'm always sceptical though when people say they want a 'challenge', spending lots of time and money to create an inferior project by using old technology - it's usually ONLY because it's a school assignment!.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  7. #7
    prprog Newbie
    Join Date
    Nov 2006
    Location
    Puerto Rico
    Posts
    119

    Default Delay switch based on voltage

    Quote Originally Posted by Nigel Goodwin
    Check for 'sample and hold' circuits.

    I'm always sceptical though when people say they want a 'challenge', spending lots of time and money to create an inferior project by using old technology - it's usually ONLY because it's a school assignment!.
    Thanks for the tip - I will check sample and hold circuits. No this is not a school assigment. I do electronics as a hobby.

  8. #8
    prprog Newbie
    Join Date
    Nov 2006
    Location
    Puerto Rico
    Posts
    119

    Default delay switch based on piezo sensor

    Hi. I am back to work on this project. Let me re-stated what I am trying to do. I have the "internal" circuit board of a MIDI keyboard. It is touch sensitive based on the time it takes to close 2 switches. So I figured that if I can find a circuit that can mimic this time closure switches I can make a drum or mallet controller out if this. So based on how hard you hit a piezo disc you generate 2 signals - one will activate a switch immediately. A second switch should be activated but with a time delay based on how hard the piezo was hit. Again any suggestions.?

  9. #9
    Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent Hero999 Excellent
    Join Date
    Apr 2006
    Location
    England
    Posts
    13,170

    Default

    A sample and hold circuit can catch the peak voltage value and the control voltage pin on a monostable 555 timer can vary the delay depending on the voltage.

    I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

    Please ask on the open forum if you have a question and I'll be happy to help,
    if I know the answer.

+ Reply to Thread

Similar Threads

  1. Voltage
    By ElectroMaster in forum Electronic Theory
    Replies: 44
    Latest: 8th August 2007, 05:35 PM
  2. Voltage reference with a zener diode
    By Futterama in forum General Electronics Chat
    Replies: 7
    Latest: 28th January 2006, 08:35 AM
  3. VOLTAGE ACTIVATED SWITCH!
    By JATEU_01 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 12
    Latest: 3rd June 2005, 07:02 AM
  4. Switch between positiva and negative voltage
    By nppc in forum General Electronics Chat
    Replies: 23
    Latest: 3rd June 2005, 05:07 AM
  5. Voltage controlled amplifier
    By Jimbo in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 20th October 2003, 12:25 PM

Tags for this Thread