I made a device that detects the soil moisture and uses a PIR sensor and DF player mini and speakers to askes the person walking by when water is needed and thanks when it got watered.
I used a normal 5V phone charging cable where I cut the wires free at one end and it worked just fine when I pluged it to VIN and the GND line on the breadboard on my Arduino UNO.
The problem: I want to use a 9V battery but it doesn't work.
The soil moisture sensor seems to work right but the PIR sensor doesn't react anymore.
To be clear, everything workes, when connected with power through a wall socket by a 5V phone charging cable cut open so the vcc and gnd cable can be directly plugged in the breadboard.
But when powered with a 9V battery it doesn't work.
As already mentioned, 9V batteries are intended for very low power devices, like smoke alarms, and cannot provide enough current for things like motors and audio amplifiers/speakers.