The PCB routing looks good but I can not see any reason why you would have both a 5V regulator and a 3.3V regulator. Further more you have the 5V regulator output going into a voltage divider made up of a resistor and your LDR. If the ESP-01 had a Analog input I could see you reading the value but it does not have any Analog inputs so all you are doing is holding the GPIO high all the time unless your LDR’s resistance goes below 5k and then it may cause the voltage to go low enough to trigger a low input. But again I can not see why you would be running it off 5V rather than the 3.3v. Maybe if I understood what you were trying to achieve it would make more sense.
↧