this is my first electronics project. I'm using a microcontroller (Adafruit ESP8266 Huzzah) connected to an IR sensor and two L293D stepper motor drivers which are connected to two Nema 17 stepper motors. I will be sending the data via Wifi to a web page. I asked my university professor about the current throughout the circuit and he said he is not sure what I mean and that major consumption, by far, will be the motors. I'm not convinced so I thought I would double-check and ask here.
The nema 17 stepper motor is rated at 0.4A
The L293d drivers have a max continuous current of 0.6A (datasheet shown below).
Here is some info for the microcontroller
And finally, the IR sensor. I found that the supply current is 1.3mA.
I plan on using a 12V battery with and LDO down to 5V to the microcontroller, driver and IR sensor. I am also using inverters to reduce the number of pins required from the microcontroller.
So my question is how do I ensure the circuit will work from those values of current? I'm rather confused by all of this but I'm guessing that the calculations start from the battery. My professor told me not to worry about the circuit current but I am skeptical. Many thanks.
EDIT:
Here is a schematic of my circuit. Hopefully you can read it. I was recommended 74HCT inverters.
[Enter]
twice because the picture is inline with the text if you don't... Hence why you have this sentence and then the word "...microcontroller" appeared further down the page. \$\endgroup\$