Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By diner peng
#82972 As we know, the esp8266 D3 pin have internal 10K resistor.
How to disable that and let D3 can read Dry contact perfectly?
I get High when reading Dry contact...

thanks and code as below

Code: Select allint pins = D3;
void setup() {
  Serial.begin(115200);
  pinMode(pins, INPUT);
}

void loop() {
  Serial.print(digitalRead(pins));
  delay(500);
}