Hi, I am using ESP-01 (1MB) with the ESP-01S relay module. I have tweaked the module by connecting VCC with CHPD through 10K, remove R2 from the board, and pullup GPIO0 with 10K.
When I program ESP-01 with the programmer it's working fine. but When I connect it with Relay Module, It shows it as standalone. When I fill UID/PASS then again it shows up as standalone. sometimes it connected with my wifi network but not shown IP and its name. I connected a switch as an Input with serial
in setup its like this
#define in_led 0
#define btnPin 3
void setup() {
pinMode(in_led, OUTPUT);
digitalWrite(in_led, LOW);
pinMode(btnPin, INPUT);
attachInterrupt(digitalPinToInterrupt(btnPin), checkButton, CHANGE);
Serial.begin (115200,SERIAL_8N1,SERIAL_TX_ONLY);
if(!wifiManager.autoConnect("MY_DEV")){
Serial.println("failed to connect, we should reset as see if it connects");
}
}
Interestingly code in interrupt works, but not the other piece of code. it only shows as a standalone device. Any idea what is going wrong?