You're great at conveying information. You have a real knack for it! Consider being a professor or something, I think it would suit you well. Best of luck to you in the future. Thanks!
This is just wonderful and it only took me 7 years to find it. 😐 I use a Raspberry PI though, which does not have an analog connector. 😐 I WISH someone would provide a step by step guide as good as this for Raspberry PI using an MCP3008 analog to digital converter. 😐 I love this stuff but finding examples and explanations ....its a struggle...for real. 😐 Kodos on this wonderful walk through. You are a hero to many... 🙂
I realize this is a really old video. However, watching this video. I realized why I wasn't getting any results, thus scraped my project. Revisiting my piezo as an input listening device idea.
Sir how to make a circuit for high power capacity PZT to make it vibrate at 2 MHz, 4 MHz & 8 MHz. I took sq. wave generator. Filtered to make near sine wave. Then added Amplifier buffer circuit & finally Common Emitter Transistor Amplifier circuit. The PZT does not vibrate. Is there any standard procedure to design a circuit for PZT according to its resonating frequency?
Hi, I have seen that these piezo sensors come in different diameters. In another video, I saw that the bigger piezo can produce louder sounds (65mm vs 15mm). I was wondering if the same is true for the sensitivity, does a larger piezo means a more "sensitive" sensor? Thank you!
I was wondering if I can mix them or add a speaker as an output and have the sensor detect vibration and tell the arduino when it gets a spasific input volume to play a text message tone or something recorded.
Would adding a capacitor smooth out the pulse and extend the pulse width a little for cleaner switching involving attached electronics? Sometimes my presses are not registered to serial port.
I would never connect a piezoelectric directly to the analog pin like you do; ItKindaWorks, but probably an ill-advised idea. This can kill the pin over a period of time if the voltage spikes constantly exceeding the MCU's absolute maximum/minimum analog pin voltage. You should put protection diodes from the piezoelectric signal line to both rails (AVCC (or VCC) and GND) to clamp it and a series resistor (something like 100Ω to 200Ω) from the signal line to the analog pin to limit the injection current (below the absolute maximum, of course) when the signal voltage slightly overshoots/undershoots after the clamping.
why do you apply DC to the piezo sensor? Is it better with 5V DC? I've seen circuits on net without DC. Red to input from disc, black to ground, resistor in paralell. Please tell!
Wondering if you ever figured this out. I have a similar problem I’m trying to solve to detect a race car driving over different spots. I’m thinking a shock sensor should be able to pull your reset down via ground. The shock sensor is just a normally open switch.
Hi, I can't see the link to the code, I would be very grateful if you could provide it to me, and also I have a question, what model of Arduino did you use?
Forgive me for my ignorance, but do I need an arduino to use the piezo trigger? I just want to use it to light up a 12v light strip and I really don't know what to do.
While I'm sure it is possible to wire up a piezo sensor to control an LED strip without an Arduino, it would certainly require other components (some kind of 555 timer circuit could probably work...). It would be most easily done with an Arduino though and would require less circuit fiddling/building.
Since it seems you know what you are doing unlike I who has practically no electrical experience, maybe you can help me (if you have the time). I want to add led strips to my drum set so that when I hit each drum it lights up. I've seen this done a lot but I still don't understand how it works. Any thoughts? Thanks for the help so far :)
Out of my head, I believe it's not very straightforward, and probably using Arduino is the easiest. Although as you are dealing with 12v, you need other components to enable / disable the current flow individually to each item on your drum set. It's not "difficult", but the burden relies on the number of items to control. And again, it's more complex than in this video, because here he doesn't need external power, he just uses the 5v from the Arduino. I advice you to search for "control led stripes with Arduino" or so, and combine that knowledge with the one in this video. Cheers!
Sure it can, hook it up exactly the same, just make sure that you hold the piezo really close to the dynamite.. you have to keep it pressed right up to the moment of explosion, then you can let go.. you will detect that it went off for sure..
Thank you for the great video! I hope you do a few more on chibiOS. Do you know how the speed fo chibiOS compares to regular Arduino and RTOS? Also, I really like your IDE. What are you making your code in? Thank you again for the great video!
You probably have found out by now, but just if others have the same question: You might destroy the analog input on your Arduino because of too much voltage/current. I've seen spikes up to 30 volts with these discs., depending on the disc and such.
Thanks for the tutorial! I wired it up and it works nicely. I’m baffled as to why 1. The ground going to Pin A0 gives a signal and 2. The resistor is placed before the ground and not the input pin???
Autoscaling is done to fit the plot on screen 14V peak overshoot is kinda ok for the pin but a long duration 14V will damage the pin BTW 14V peaks were observed only when piezo was hit
From what I understand, tone utilizes one of the Arduino's onboard timers to create custom timed pulses which generate the tone. The reason you can only do one pin at a time is because there is only one extra timer available on the Arduino.
I'm not sure about the Mega. I believe it has more/extra timers but It's been years since I've played with one. I would do a google search for "Arduino mega multiple tone" or "Arduino Mega simultaneous tone". Depending on what you're purpose is it might be worth looking into whether there is a separate module that can communicate with the arduino that would give you the functionality you want.