Search found 8 matches

by John12
Mon Aug 16, 2021 6:29 pm
Forum: ESP32 boards
Topic: WIRED LAN
Replies: 4
Views: 4230

Re: WIRED LAN

I tried to flash the board with the firmware v1.14 (built with ESP-IDF v3.x), this code : lan = network.LAN(mdc=Pin(23), mdio=Pin(18),power=None, id=None, phy_addr=1,phy_type=network.PHY_LAN8720) worked ! but when triyng to active the network with : lan.active(True) i got these errors : E (724752) e...
by John12
Mon Aug 16, 2021 3:37 pm
Forum: ESP32 boards
Topic: WIRED LAN
Replies: 4
Views: 4230

Re: WIRED LAN

after some searches, i think the answer is : mdc = Pin23 mdio = Pin18 ...when i tried this code : lan = network.LAN(mdc=Pin(23), mdio=Pin(18),power=None, id=None, phy_addr=1,phy_type=network.PHY_LAN8720) i got these errors : E (346651) emac_esp32: emac_esp32_init(308): reset timeout E (346651) esp_e...
by John12
Mon Aug 16, 2021 3:16 pm
Forum: ESP32 boards
Topic: WIRED LAN
Replies: 4
Views: 4230

WIRED LAN

Hello, I bought this board to test the wired lan : www.wireless-tag.com/portfolio/wt32-eth01/ It is a board with esp32 and LAN8720A I flashed this board with this version of micropython : esp32-20210816-unstable-v1.16-217-g5b655665a.bin To test the wired lan, i used the network.LAN class : import ne...
by John12
Tue Aug 10, 2021 2:49 pm
Forum: ESP32 boards
Topic: WT32-ETH01
Replies: 3
Views: 3851

Re: WT32-ETH01

I tried it. Everything works fine. The only problem is that almost all libraries Micropython are written for a wireless network, therefore, as a rule, they do not work on a wired LAN. Hello Alex_III, Did you try this example (i don't have a WT32-ETH01 to test it) : https://github.com/emard/esp32lan...
by John12
Sat Jun 19, 2021 12:33 pm
Forum: Programs, Libraries and Tools
Topic: QR Reader/Decoder Lib?
Replies: 10
Views: 8050

Re: QR Reader/Decoder Lib?

Hello, I tried an example mentioned here : https://github.com/dlbeer/quirc It worked for me on my laptop when providing an image file that contents a qr code. To compile the example file on my laptop, i used theses commands : cc -I lib -I tests -g -O0 -c example.c cc -o example example.o tests/dbgut...
by John12
Tue Jun 15, 2021 6:03 pm
Forum: Development of MicroPython
Topic: Error when compiling native modules ESP32
Replies: 1
Views: 1965

Re: Error when compiling native modules ESP32

Solved !

i followed the steps mentioned in this tuto :

https://lemariva.com/blog/2020/03/tutor ... python-v20
by John12
Mon Jun 14, 2021 5:46 pm
Forum: Development of MicroPython
Topic: Error when compiling native modules ESP32
Replies: 1
Views: 1965

Error when compiling native modules ESP32

Hello, I tried to compile the example "factorial" http://docs.micropython.org/en/latest/develop/natmod.html The compilation succeed when using ARCH = x64 (the .mpy file was created) but it failed when using ARCH = xtensawi the error is : CC factorial.c make: xtensa-esp32-elf-gcc: Command not found ....
by John12
Thu Jun 10, 2021 8:48 pm
Forum: Programs, Libraries and Tools
Topic: QR Reader/Decoder Lib?
Replies: 10
Views: 8050

Re: QR Reader/Decoder Lib?

I ended up using in the quirc C code directly from their github repo and writing a fairly simple MP wrapper for it. Their example code is a really great starting point. https://github.com/dlbeer/quirc I was able to test it with a sample image file today and it recognized the QR code! :D This code w...