Please help. I am having 2 problems I can't seem to fix.
#1 wifi connects with static ip and works fine as a webserver.....until it is unplugged and plugged back in, then it does nothing. uploading the code again then checking the serial monitor and it works again until it is unplugged again.
#2 to get the esp-01 to work it requires me to have the uno's reset to jump to ground, making it impossible? to use the uno's analog and digital pins. (unless I'm just doing something wrong)
I had the BME280 and voltage sensor working fine with the uno and an ethernet shield but I want to replace it with wifi to get rid of the cable.
due to post size restrictions I've attached the code as txt files. There are 3 files.
-
Working wifi static ip.txt - this is the code that works fine to get the wifi to connect and act as a webserver until it is unplugged
-
Working Uno W5100 BME280 Volt.txt - works for ethernet shield
-test code.txt - attempt to integrate the 2 codes which works on the wifi end but not the bme280 or volt sensor connected to the uno scl/sda (bme) and analog pin (volt sensor)
the ESP is wired like the picture, except reset is jumped to ground on the UNO and the BME280 on 3V scl/sda and voltage sensor on 3V on analog 0
please help and thank you in advance for reading it and helping.
working wifi static ip.txt (3.32 KB)
Working Uno W5100 BME280 Volt.txt (4.13 KB)
test code.txt (5.02 KB)