you can use a digitalpin to power the sensor (either directly or through a power transistor and switch the sensor on when you want to.
you can use a digitalpin to power the sensor (either directly or through a power transistor and switch the sensor on when you want to.