Answer the question
In order to leave comments, you need to log in
Can the Vin pin on the NodeMCU board be used as a 5V output?
I have a temperature and humidity sensor that works with an arduino when I connect it to 5V.
With NodeMCU, I tried to connect it to 3.3V when connecting the board itself via usb to the computer, but the power is clearly not enough for the board and sensor.
I read on the Internet that you can use the Vin contact to output 5V, but advice on this varies.
Will I be able to connect the board to the computer via usb, connect the sensor itself to the board not on 3V3, but on the Vin pin in order to receive 5V voltage?
============
UPD: I just read on reddit that some NodeMCU v3 boards (like mine) only use Vin as input. And they have a 5V output somewhere under the analog port as in the picture:
True, my board is under analog, reserved RSV ports
Answer the question
In order to leave comments, you need to log in
The miracle happened.
I was able to get data from the sensor.
The order of my actions is as follows:
I removed the resistor between Data and VCC
I uploaded the sketch to the board, connected to the local and server
And only after that I put the resistor in place
Now everything works
Well, yes, just be sure to make sure that you really need exactly 5 volts for the sensor
Depends on the specific board.
The easiest way is to connect the board as usual in USB and measure with a multimeter whether there is a voltage of +5 volts on this vin pin. If there is a diode there, then the voltage may be slightly less, for example 4.8 volts, which is in principle acceptable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question