EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: BlogRahul on August 19, 2022, 08:51:47 am

Title: Ethernet communication test
Post by: BlogRahul on August 19, 2022, 08:51:47 am
I have found this link https://github.com/przemobe/micropy-ENC28J60 (https://github.com/przemobe/micropy-ENC28J60).

where to set IP address in code ?
Title: Re: Ethernet communication test
Post by: eutectique on August 19, 2022, 05:55:05 pm
where to set IP address in code ?

Click here (https://github.com/przemobe/micropy-ENC28J60/blob/main/examples/PeriodicUdpSender.py#L65) and here (https://github.com/przemobe/micropy-ENC28J60/blob/main/examples/SntpClient.py#L98).
Title: Re: Ethernet communication test
Post by: BlogRahul on August 20, 2022, 11:40:04 am
Click here (https://github.com/przemobe/micropy-ENC28J60/blob/main/examples/PeriodicUdpSender.py#L65) and here (https://github.com/przemobe/micropy-ENC28J60/blob/main/examples/SntpClient.py#L98).

I ran script and It show this output

MAC ADDR: xx:xx:xx:xx:xx:xx
ENC28J60 revision ID: 0x00

How to test ethernet communication ?