I flashed the last stable of micropython to my ESP-01 1mb with esptool. I connected to it the wifi, I can ping the esp from my mqtt server.
Esp is fed from external power and extra 1000uf capacitor was added for extra stability. I reflashed the module.
>>> print(sta_if.ifconfig())
('192.168.4.55', '255.255.255.0', '192.168.4.1', '192.168.4.1')
>>> from umqtt.simple import MQTTClient
>>> c = MQTTClient("umqtt_client", "192.168.4.10")
>>> c.connect()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "umqtt/simple.py", line 56, in connect
OSError: [Errno 103] ECONNABORTED
>>> c.ping()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "umqtt/simple.py", line 94, in ping
OSError: [Errno 103] ECONNABORTED
>>> import esp
>>> esp.check_fw()
size: 586684
md5: 2c7ce68f0e1a5690257698e5e42caf16
True
Hello,
I flashed the last stable of micropython to my ESP-01 1mb with esptool. I connected to it the wifi, I can ping the esp from my mqtt server.
Esp is fed from external power and extra 1000uf capacitor was added for extra stability. I reflashed the module.