Nodemcu question

I am very new to nodemcu board I want to know :

  • EN pin should keep float without using pullup resistor then if need a resistor what is the value
  • another point what is pullup resistor value should be connected to RST pin?

While waitng for precise reply, use 10k.

EN must connected to pullup resistor 10K
RST must connected to pullup resistor 10K
is it correct?
note: ESP8266 board is located near to 220V AC Contactor then as you know contactor can generate electric spark when turn on & turn off
is there any recommendation?

looking at NodeMCU schematics many have 12K pullups on GPIO0, GPIO2, EN and RST
240V contactors, motors, etc can be a problem around microcontrollers causing data corruption, processor resets, etc
use good power supplies and grounds, metal enclosures, shielded cables, etc

No, a NodeMCU already has all the required parts included.
You only should be asking these questions if you would use a bare ESP8266 module.

Supply and wiring matters, but a metal enclosure is not an option for a WiFi module.
Leo..

ESP.wdtEnable(5000);

this command what means?

I have a question please relating using MDNS

 if (MDNS.begin("esp8266", WiFi.localIP())) {

    Serial2.println("MDNS Responder Started");
  }

is it same as

MDNS.begin;

also I want to know what is the difference between

MDNS.update();
MDNS.loop();

MDNS.begin; is the same, only without the serial prints.

All I know is that MDNS doesn't work if MDNS.update() is not in void loop().
Don't know what MDNS.loop() is.
Leo..

so no need

if (MDNS.begin("esp8266", WiFi.localIP())) {

    Serial2.println("MDNS Responder Started");
  }

just put

MDNS.begin("esp8266");

Been a while since I used mDNS, but the brackets AFAIK just hold the friendly name.
Connect with esp8266.local, or whatever name you have in there.
Leo..

which command is correct?

MDNS.begin("esp8266", WiFi.localIP());
or
MDNS.begin("esp8266");

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.