I'm currently on a new project, a prototype of a machine using Arduino Mega 2560 as my microcontroller. However the problem is that, I'm curious on how this microcontroller power distribution works. Is it can sustain or not. Here is my circuit for my project.
As you can see, I'm using 10 voltage regulator, each with 5k resistance as analog input A0 until A9. Next, I'm using 10 pullup resistor as digital input each with 10k resistance from pin 22 until 31. Afterwards, there's 10 digital signal output to relay module output (normally low) from pin 32 to 41. Lastly 10 pwm signal from pin 2 to 11. In conclusion, here's the power distribution for the project:
5V from the arduino to the:
-10 x 5k Voltage Regulator
-10 x Arduino input pin parallel to 10k resistor
-10 x Relay output (normally low)
- Power supply to Relay module(Vcc different power supply with JD-VCC)
-10 x PWM signal
-Relay Module power supply
For the power supply of the Mega, I'm using adjustable 5A DC-DC Power Module with 9V to Vin pin. Voltage regulator and pullup resistor is powered by 5V pin from the Arduino Mega 2560. Can it sustain the power distribution? Or should I use seperate power supply for the analog and digital input? Is it permissable to do that at the first place? How?