DEV Community

Discussion on: Pirrigator, part 7: Problems emerge

Collapse
 
neilgall profile image
Neil Gall

Update: I successfully modified the circuit board to control power to the moisture sensors with an NPN transistor and an additional GPIO pin. Power them up, wait a few milliseconds, read values and power down. The MCP3008 already has a chip select pin and according to the datasheet a 5 nanoAmp standby current, so I left it alone. Similarly the BME280 is 0.1µA so it should be fine too. Just need a sunny day to recharge my battery and I'll be in business again!