To boot properly both GPIO 0 and 2 need to be high. GPIO 0 if held low when GPIO 2 is high at boot will make the ESP8266 go into flash mode. I suspect that your float switch is pulling GPIO 0 down on boot. The pull up resistor only works when the float switch is open - it pulls GPIO 0 to Vcc - when the float switch closes it pulls GPIO 0 to ground. The Wemos D1 Mini is a popular development board that is widely used in the world of Internet of Things (IoT) projects. It is based on the ESP8266 chip, which provides Wi-Fi connectivity and can be programmed using the Arduino IDE. Shop wemos d1 mini pro on AliExpress: With the multiple promotions of wemos d1 mini pro, you can get everything you need right from the comfort of your home. Guess what, you can even find discount vouchers, coupons and other money saving deals of wemos d1 mini pro on AliExpress.
I just received today some MAX3485 (instead of MAX485) tranceivers, because I read that this is needed for controllers with 3.3V levels which Wemos D1 apparently is. I connected it to the Wemos D1 mini with the following setup without any success: DI-> D4 RO-> D5 RE, DE (both) -> D3. and this simple example code:
The easiest way to find the active hardware package location is as follows: Move up folder levels until you reach the one that contains boards.txt. The other thing you need to know about editing boards.txt is the changes won't appear until you close all Arduino IDE windows and then start the Arduino IDE again. . 385 262 119 6 420 263 42 412

what is wemos d1 mini