Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Feather or Clue with Ethernet Featherwing
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather or Clue with Ethernet Featherwing

by MikeB35 on Sat Aug 29, 2020 11:11 am

Hin,

I'm a little disappointed. I manage to use the Feather/Clue + airlift on my wifi network without difficulty.

On the other hand, I have a Featherwing Ethernet and here things get complicated.

I can't use it at all on my network...

There is this guide :
https://learn.adafruit.com/ethernet-for ... n/overview

But version 6 gives the following information:
"Disable socket, wiznet5k and network modules. They will be removed in 7.x in favor of networking libraries."

So, what do you need to use at the moment to connect a Featherwing Ethernet ? Are there examples somewhere ? Do we need to change any settings on our home box?

Thank you for your help!

Mike

MikeB35
 
Posts: 27
Joined: Thu Feb 05, 2015 10:18 am

Re: Feather or Clue with Ethernet Featherwing

by jerryn on Sat Aug 29, 2020 12:15 pm

It should work as described in the guide.

the modules removed from CircuitPython 6.0 are "core" modules that are not used. The guide explains how to install the Circuitpython adafruit_wiznet5k library that supports the Ethernet Featherwing.
I just ran the winznet5k_simpletest successfully on CP 6.0.0-alpha3 with a feather_m4_express and an ethernet featherwing.

Note: I do not represent Adafruit -- Just another user, trying to help.

jerryn
 
Posts: 1299
Joined: Sat Sep 14, 2013 9:05 am

Re: Feather or Clue with Ethernet Featherwing

by MikeB35 on Tue Sep 01, 2020 4:15 am

jerryn wrote:It should work as described in the guide.

the modules removed from CircuitPython 6.0 are "core" modules that are not used. The guide explains how to install the Circuitpython adafruit_wiznet5k library that supports the Ethernet Featherwing.
I just ran the winznet5k_simpletest successfully on CP 6.0.0-alpha3 with a feather_m4_express and an ethernet featherwing.

Note: I do not represent Adafruit -- Just another user, trying to help.


Thanks for your answer.
I also tried with the 6 alpha 3 version of Circuitpython on a Feather nRF52840 with an Ethernet Featherwing and it doesn't work.
It gives me the following message (see screenshot) :
"AssertionError: Failed to configure DHCP Server!"

Do you have an idea ?

Thanks in advance,

Mike
Attachments
Failed to configure DHCP server.jpg
screenshot of Mu editor
Failed to configure DHCP server.jpg (136.03 KiB) Viewed 11 times

MikeB35
 
Posts: 27
Joined: Thu Feb 05, 2015 10:18 am

Re: Feather or Clue with Ethernet Featherwing

by jerryn on Tue Sep 01, 2020 7:24 am

Not sure what the issue is. It works for me with the same hardware -- feather_nrf52840 express, Ethernet featherwing
Code: Select all | TOGGLE FULL SIZE
Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 6.0.0-alpha.3-10-g5084d2b56 on 2020-09-01; Adafruit Feather nRF52840 Express with nRF52840
>>>
>>> import wiznet5k_simpletest
Wiznet5k WebClient Test
Chip Version: w5500
MAC Address: ['0xde', '0xad', '0xbe', '0xef', '0xfe', '0xed']
My IP address is: 192.168.2.32
IP lookup adafruit.com: 104.20.39.240
Fetching text from http://wifitest.adafruit.com/testwifi/index.html
----------------------------------------
This is a test of Adafruit WiFi!
If you can read this, its working :)

----------------------------------------

Fetching json from http://api.coindesk.com/v1/bpi/currentprice/USD.json
----------------------------------------
{'time': {'updated': 'Sep 1, 2020 11:12:00 UTC', 'updatedISO': '2020-09-01T11:12:00+00:00', 'updateduk': 'Sep 1, 2020 at 12:12 BST'}, 'disclaimer': 'This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org', 'bpi': {'USD': {'code': 'USD', 'description': 'United States Dollar', 'rate_float': 11908.3, 'rate': '11,908.3369'}}}
----------------------------------------
Done!
>>>



jerryn
 
Posts: 1299
Joined: Sat Sep 14, 2013 9:05 am

Re: Feather or Clue with Ethernet Featherwing

by jerryn on Tue Sep 01, 2020 7:37 am

It is getting past the initial communication with the board so that is good news
https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/blob/master/adafruit_wiznet5k/adafruit_wiznet5k.py#L194

You might want to try enabling "debug" output

Code: Select all | TOGGLE FULL SIZE
eth = WIZNET5K(spi_bus, cs, debug=True)


to see if that helps identify where it is failing.

jerryn
 
Posts: 1299
Joined: Sat Sep 14, 2013 9:05 am

Please be positive and constructive with your questions and comments.