hi everyone, my name is Marcos.
I have some programming skills, but I am just starting with electronic circuits.
It’s my first IoT project and I would like to build (one more) automatic watering system for my plants.
I decided to use a Photon and to write a webapp to monitorize and control the system.
I need to power a 12v/9v water pump and the photon itself.
I have been reading many tutorials but I have not found much information about power circuits.
My idea is to connect the power source to the pumb through a relay, convert the power with a power converter and connect with 5v to a particle power shield and to plug the photon and a battery to that shield.
I whould like to power off the whole system (disconnecting the battery) with a switch because I want It to be portable.
I whould like to start/stop the battery charge with a switch, so I need to install a switch to disconnect the power of the battery shield too.
So please can anybody tell me if that is correct? and ¿What kind of switches and where should I put them?