I have an the following components:
- Arduino Mega (9V)
- 8 relays (5V)
- 4 AC/DC voltage sensors (5V)
- SIM800L (4.1 V)
How many power supplies do I need on my circuit board?
Is it good idea to use one step-down module (8A) with voltage regulators?
I have an the following components:
How many power supplies do I need on my circuit board?
Is it good idea to use one step-down module (8A) with voltage regulators?
The Arduino Mega board can accept power from its barrel jack or the USB connector. It auto-selects one or the other depending on which source is present. If the barrel jack is used, the on-board regulator makes 5V, which you could power directly with 12V. If you connect only USB, then 5V comes from USB. Either way, there's no need to make 9V.
Once the Mega is powered you could take some 5V power from it for the relays and the sensor. It has enough extra to do that (up to 800mA for the LD1117S50 if the barrel jack is used, 500mA ~ 1A if USB us used.)
That leaves the Sim800l. The module has a 2A peak current. Being so power hungry means this module should have its own 4.1V regulator derived from either your 12V or some other supply. Their datasheet shows references for an LDO with 5V or a DCDC for a higher voltage.
I suggest that the Sim800l have its own Li-ion battery run off 5V with a charge control: basically, a 'power bank' type circuit that could also run off Arduino 5V. The battery then handles the peak and 5V keeps it topped up during idle times.