hi, first time post here so if im in the wrong category, i do apologise...
i have an issue with rebooting ESP8266 when my LM393 sensor is open (high)
what i mean is, i have to block the pickup beam in order to deploy/hard reset the board, if the pickup is open, it wont boot.
the project is an electronic brake controller for a hoverboard wind turbine, the LM is used as a rpm sensor, then a 4 relay unit controls shorting the phases of the 3 phase motors in order to brake the unit to stop destructive rpm in high wind.
the LM393 board is an Infrared Speed Sensor Slotted 4 pin Optical Photoelectric Module Arduino LM393
its connected on D3 pin for the sensor output and if i block the contact, it boots fine and works perfectly.
now i did read that some pins are high on boot and some are low, this board produces a high value when the contact is open (uninterruped beam) and low when broken beam, so im wondering if i need to find a different pin. but i am also controlling 4 relays from the 8266 using 4 other pins, and a I2C OLED unit using 2 more, so my choice is limited.
Anyone encountered this issue before?