Ethernet Adapter for PyBoard Which?

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
User avatar
TravisT
Posts: 54
Joined: Sun Feb 23, 2014 2:31 pm
Location: Portland, OR
Contact:

Re: Ethernet Adapter for PyBoard Which?

Post by TravisT » Thu Sep 14, 2017 7:02 pm

I wanted to see if anybody got this working with the W5500 also, even though it says it is not tested, it still says it should be supported.
_______________
Travis Travelstead

wbodemann
Posts: 1
Joined: Fri Aug 09, 2019 11:22 am

Re: Ethernet Adapter for PyBoard Which?

Post by wbodemann » Fri Aug 09, 2019 1:47 pm

HansvL wrote:
Tue Oct 25, 2016 7:08 pm
Well, I installed the proper firmware and followed the examples for the network module. Mine is hooked up as
nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.X5, pyb.Pin.board.X4)

My PyBoard reads several sensors and uses a simple http GET to post data to my server, 10 times per hour. It has been doing that non-stop since mid May and hasn't missed a beat. I intend to implement a watchdog timer but so far the board hasn't failed. So for my (hobby) purpose, it is quite stable enough.

Not sure what you mean by dependability.
hi HansvL, tried the same but get no connection with WIZ820io.

nic.ifconfig() reports False
nic.ifconfig() reportrs ( 0.0.0.0, 255.....)
tried it with latest firmware for pyboard V1.1 .
tested with external 3.3V.
Is there anything else to take care with cabling. connected as described

MOSI connected to X8
MISO connected to X7
SCLK connected to X6
nSS connected to X5
nRESET connected to X4

I need the board for mqtt publishing accel values and uart communication with two sensors. Wifi is no option.
Working on network connection since one day without success!
Would appriciate help or even donate for working code, maybe will set up a project in freelnacer.

HansvL
Posts: 3
Joined: Wed Apr 06, 2016 6:12 am

Re: Ethernet Adapter for PyBoard Which?

Post by HansvL » Sun Aug 11, 2019 3:15 pm

Hi,
Sorry, I didn't touch this project for the last 3 years and I am not in a position to assist you with a live system.
Some (probably obvious) remarks from memory:
-I used the precompiled "network" version of Micropython. V1.8.7 iirc.
-Your cabling is OK. Also GND and 3V3. I used the 3V3 output from the PYB.
-I have a 3 second delay after power-up before addressing the adapter. I think I got this from its specsheet.
-No DHCP (that I could find) so configure using nic.ifconfig(('192.168.1.101', '255.255.255.0', '192.168.1.1', '192.168.1.1')) to fit your network.

HTH,
Hans.

Post Reply