I would like to ask if the pressure sensor needs power supply to work? Will it generate electricity by itself?
Power supply is required, because the external pressure causes the piezoelectric core to generate potential, but a closed return current is required to produce the current
Depending on the type of pressure sensor you choose, such as piezoelectric crystals, it generates charge itself, plus a test device, but because of the small charge, a charge detector is needed. If amplification is added to the sensor, it must be energized; otherwise, the amplification function cannot be achieved; if it is a variant, usually a change in the resistance, without electricity, there is no current or voltage.