Hallo Arduino people,
Forgive my ignorance, I'm a software developer and don't know much about electronics (yet). I hope you can help me, I've search the internet long enough already without finding answers.
The Wemos D1 mini has both 5v and 3.3v pins.
I know I can power it via the 5v pin, which is practically the same as powering it via USB.
Question 1: Is this pin INput only?
I've also noticed a 3.3v pin, in some diagrams also used to connect logic level shifter.
Question 2: What's this pin for? Is it input and/or output?
Question 3: Why would the logic shifter need to have both 5v and 3.3v connected? To close the circuit?
Question 1: Is this pin INput only?
I've also noticed a 3.3v pin, in some diagrams also used to connect logic level shifter.
Question 2: What's this pin for? Is it input and/or output?
Question 3: Why would the logic shifter need to have both 5v and 3.3v connected? To close the circuit?
No, it can be used as an output if you’re powering through USB.
The 3.3v pin is an output only.
The level shifter needs both voltages as inputs so it can provide both voltages as outputs. You should study the schematics of the level converters to better understand why both voltages are required.
On Arduino boards where the microcontroller runs at 5 V (e.g. Uno), the 3.3V pin could be considered output only because it is being supplied directly from a 3.3 V voltage regulator (or a 3.3 V output pin on the USB chip in some cases). However, the ESP8266 microcontroller on the D1 Mini is running at 3.3 V so you can also supply it with 3.3 V via the 3.3V pin.