Recommendation for choosing sensor that detect vibration and a battery to connect to the particle photon

For the piezo sensor you can go with virtually any, but this should work

And they have a knock detector sample too

(be aware of the difference: Photon ADCs only take up to 3.3V signals and the reading range is 0…4095, where Arduinos take up to 5V with a range 0…1023)

With the Photon Battery Shield you may want to look at a single cell LiPo battery like the one that’s shipped with other Particle devices.
Similar to this on Lithium Ion Battery - 3.7v 2000mAh : ID 2011 : $12.50 : Adafruit Industries, Unique & fun DIY electronics and kits

Since the polarity of these JST connectors isn’t codified make sure to check.
If the polarity of the battery is flipped compared to the shield, you can simply swap the pins round in the connector on the battery.

1 Like