I am building a meteostation.
There is a WEMOS D1 mini as the brain of the meteostation. For power I am using solar panels with 18650 acumulators. Through a discharge circuit it gives 5VDC to the Wemos and modules.
I'd like to save power and power up the modules only when the Wemos is on (most of time it will be in deep sleep).
I'd like to connect the modules VIN pin to 5V through a transistor and switch it off and on via digital pin of Wemos (as shown in image below)
Could you please tell me, if this is posible and what transistor should I use?