WIZnet5K use DHCP ?

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
User avatar
water
Posts: 50
Joined: Sun Sep 24, 2017 9:16 am

WIZnet5K use DHCP ?

Post by water » Fri Sep 11, 2020 3:35 pm

Can I configure WIZnet5K use DHCP ?
If not, how to set the network parameter ?
I try to use

Code: Select all

nic.ifconfig(('192.168.1.103', '255.255.255.0', '192.168.1.1', '8.8.8.8'))
(e.g. my router IP address is '192.168.1.1')

but can't not connect to internet, WIZnet5K device can't detect on router (it should be detected).

I use adafruit_wiznet5k library on CircuitPython success to connect to internet, so the hardware is correct.
https://circuitpython.readthedocs.io/pr ... t/api.html

How should I configure WIZNET5K correctly on MicroPython ?

Stevo52
Posts: 38
Joined: Sun Feb 03, 2019 10:28 pm

Re: WIZnet5K use DHCP ?

Post by Stevo52 » Thu Sep 24, 2020 3:44 am

You haven't shown how you set up the WIZnet5k device?

This section of Micropython documentation might be worth reading, to help you figure it out...

http://docs.micropython.org/en/latest/l ... NET5K.html

Post Reply