Create an advanced server rack monitoring system, make a secret combination lock, or improve the reliability of your alarm. This Troyka module with a remote piezo-sensor would be useful in any of these projects.
The vibration sensor catches even a slight deformation on the piezo disk and produces an analog signal proportional to its strength.
To adjust the sensitivity, we have provided a tuning potentiometer on the module. It is useful if you need to change the sensitivity of the sensor or change the threshold of operation of the device without touching the firmware.
The sensitive piezo-disc is the sensitive element contained in this module. It is a thin plate of brass, on which a layer of lead zirconate titanate is deposited. This coating has a pronounced piezo effect - when compressing this material a voltage appears across the disk proportional to the force of the action.
The sensor is connected to the module via screw terminals. The amplifier raises the zero value of the piezo disk to the middle of the supply voltage, and further voltage changes occur with respect to this value. Therefore, the microcontroller can digitize the signal completely, without losing the negative half of the wave.
Single measurements of the maximum values of the amplitudes of the oscillations will not give an idea of the overall level of vibration. To get reliable information, you will have to make measurements as often as possible and integrate the obtained values. However, this can significantly increase the load on your microcrontroller. .
We solved this problem by adding the hardware for averaging of the signal amplitude to the module. The sensor outputs an analog signal in the range from zero to the supply voltage. The output voltage is proportional to the vibration level for the last few hundred milliseconds. This feature will greatly simplify your code and reduce strain on your microcontroller.
The module is connected to four pins on the controller:
The module works at 3.3 to 5 V.
Connect the module via 3-pin jumper cable. The 3-pin jumper cables needed for the connection are included in the kit.
There are several different ways to wire this module:
Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.
Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.
Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.