Search found 10 matches

by greg161
Fri May 15, 2020 5:43 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Re: Nucleo stm32 F429ZI MQTT

So it is possible. But small modification of utelnetserver.py is necessary. Last lines need to be changed from WiFi to LAN. From this: for i in (network.AP_IF, network.STA_IF): wlan = network.WLAN(i) if wlan.active(): print("Telnet server started on {}:{}".format(wlan.ifconfig()[0], port)) to this: ...
by greg161
Tue May 12, 2020 6:51 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Re: Nucleo stm32 F429ZI MQTT

MQTT works like a charm :), thanks a lot.
Is there any option to use rshell remote like telnet ?
I see that there is telnet server for ESP32 but it is prepared for WiFi , is it possible to use it on LAN network ?
by greg161
Mon May 11, 2020 5:51 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Re: Nucleo stm32 F429ZI MQTT

Code: Select all

>>> import uos
>>> print(list(uos.ilistdir('umqtt')))
[('robust.py', 32768, 0, 1038), ('simple.py', 32768, 0, 0)]
Yes, it was the problem, I sent again the file to the board and put it to umqtt directory and it works. Beginning is very hard.
by greg161
Mon May 11, 2020 5:22 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Re: Nucleo stm32 F429ZI MQTT

Unfortunally not:

Code: Select all

>>> from umqtt.simple import MQTTClient
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: can't import name MQTTClient
by greg161
Mon May 11, 2020 5:04 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Re: Nucleo stm32 F429ZI MQTT

Some progress : >>> os.listdir() ['boot.py', 'main.py', 'pybcdc.inf', 'README.txt', 'umqtt', 'lib'] >>> os.listdir('umqtt') ['robust.py', 'simple.py'] >>> from umqtt.robust import MQTTClient Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: can't import name MQTTCli...
by greg161
Mon May 11, 2020 4:48 pm
Forum: Other Boards
Topic: How to use network.LAN on NUCLEO_F429
Replies: 4
Views: 3918

Re: How to use network.LAN on NUCLEO_F429

Did run MQTT on this board ?
by greg161
Mon May 11, 2020 3:53 pm
Forum: Other Boards
Topic: Nucleo stm32 F429ZI MQTT
Replies: 11
Views: 8002

Nucleo stm32 F429ZI MQTT

I try to use MQTT on this board, I saved simple.py and robust.py on board , but I have an error: >>> from umqtt.robust import MQTTClient Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: no module named 'umqtt' my files: >>> os.listdir('lib') ['robust.py', 'simple.p...
by greg161
Mon May 11, 2020 11:54 am
Forum: Other Boards
Topic: Nucleo stm32 F429ZI Telnet Server on LAN wired connection
Replies: 1
Views: 3045

Nucleo stm32 F429ZI Telnet Server on LAN wired connection

I am trying to use telnet server from https://github.com/cpopp/MicroTelnetServer on Nucleo board F429ZI which has LAN connection. I don't know how to use it on this board. I see that it makes server on WiFi interface but how to change it to LAN (Ethernet by cable) ?
by greg161
Mon May 11, 2020 7:57 am
Forum: ESP32 boards
Topic: ESP 32 - is it possible to use W5500 ?
Replies: 8
Views: 10389

Re: ESP 32 - is it possible to use W5500 ?

So the other solution for wired connection on ESP 32 is to use LAN8720 according to https://github.com/micropython/micropython/issues/4502 ?
by greg161
Wed May 06, 2020 1:58 pm
Forum: ESP32 boards
Topic: ESP 32 - is it possible to use W5500 ?
Replies: 8
Views: 10389

ESP 32 - is it possible to use W5500 ?

Is it posiible to use ethernet like WizNet 5500k on ESP32 board under micropython ?