Skip to main content

Ethernet

ESP32 Open IoT and IIoT Gateways (P01 & P02)

Link to repositories:

  • C
  • MicroPython (#TODO)

Ethernet connection is associated with allocating an unique IP address which will identify the device in a network. Depending on the purpose, it might be necessary to choose between allocating a dynamic or a static IP address. For developer usage, there are both examples provided.

Remember to connect the IoT Gateway to the network by an Ethernet cable.

IP adressing:

  • dynamic - There is no need to do any modifications. Just flash into device. Blinking green LED indicates communication. Open serial port monitor to see logs.

2a6e6bbb-da0b-4e19-aefb-cbdcd54912ec.png

  • static - In this example it is important to set network settings manually. Flash into device. Blinking green LED indicates communication. Open serial port monitor to see logs.

Parameters to be changed:

  • DEFAULT_IP (IP address)
  • DEFAULT_GW (Gateway address)
  • DEFAULT_NM (Network mask)

13302356-4e8c-4d59-aa7b-6f7c9c16edaf.png