I have an ultrasonic sensor (JSN-SR04T) connected to an Arduino. In order to achieve low power consumption i decided that i want to switch the Ultrasonic sensor off for 8 seconds intervals in between , I connected the sensor via a transistor and used a signal from the Arduino to the npn base to control the switching (ON/OFF) of the transistor.
My problem is that the sensor remains on even when i switch of the signal to transistor base. Does anyone know how to solve this. I suspect that the sensor finds its way to ground even somehow