Questions tagged [nodemcu]

For questions about the NodeMCU open-source Internet of Things (IoT) platform. Use in conjunction with the "iot" tag.

For questions about the NodeMCU open-source Internet of Things (IoT) platform. Use in conjunction with .

See the NodeMCU website and Wikipedia's article on NodeMCU for more information.

189 questions
1
vote
1 answer

Connecting optocouplers to pins D3 or D4

I am trying to create a fairly standard setup: controlling 4 channel relay with NodeMCU. I decided to use optocouplers to make connections and generally have everything working now. However I learned the hard way that NodeMCU will not boot if pin D3…
michal
  • 111
  • 1
1
vote
0 answers

Adding momentary switch (push-button) to NodeMCU

I want to add 2-pole momentary push-button (switch) for my covers. Integration goes through a NodeMCU and ESPHome. I'm having a hard time understanding the schematics for this switch: I'm not sure how to connect the inputs/outputs to a NodeMCU in…
lonelydev101
  • 111
  • 1
1
vote
1 answer

Calculating Yaw Pitch and Roll from Quaternions in MPU6050 without Gimbal lock but giving problems

I am trying to convert quaternions provided by a MPU6050 to heading attitude and bank values but at least one of the three calculations is broken, for example in the third calculation (the uncommented one) the yaw and pitch are in the same axis and…
1
vote
1 answer

Output Current of NodeMCU Digital Pin

I'm trying to power the waterproof version of the DS18b20 Temperatur Sensor via the D1 (GPIO05) Pin. I tested the setup first by using the 3.3 Volt Out Pin and by connecting a 4.7 Resistor between VCC and the Data Pin (GPIO04) and everything…
Peter S
  • 235
  • 3
  • 14
0
votes
1 answer

NodeMCU 12E power requirement

On the back of the NodeMCU, it is: Vin +5V Recommended +10V MAX. I can see that it has an AMS1117 voltage regulator. Its datasheet says we can use [4.5V to 15V] AmI reading something wrong? Can I use 12V for VCC? Can I use 15V for VCC?
kdm6389
  • 107
  • 8
0
votes
1 answer

Can I connect 5v 1 amp usb mobile charger to power Node MCU?

I am planning to power Node MCU from cable power. Can I connect mobile charger to the micro USB port? Or is it better to connect to Vin in NodeMCU?
everestkid
  • 21
  • 1
  • 4