This repo contains WIZnet W5500 power saving example code.
It demonstrates:
- Power down W5500
- Power saving by setting the W5500 to low speed (10Mbps)
Any Arduino board/Shield with WIZnet W5500 Ethernet controller. I tested it on:
This branch uses Arduino standard Ethernet library.
If you use Ethernet3 library, you can switch to branch arduino-sstaub-ether3-lib.
- Clone this project
- Choose the branch
- Load this project to PlatformIO
- Compile and load to target hardware
- Measure the power consumption change
A simple USB power meter is used to measure the whole board power consumption (including the MCU). At 5.20V, I observed the RobotDyn Leonardo ETH v2:
- W5500 All capable, Auto-negotiation enabled: ~170mA
- W5500 10BT Half-duplex, Auto-negotiation disabled: ~120mA
- W5500 Power Down mode: ~80mA
By using Adafruit SleepyDog library, you can further reduce ~20mA from MCU.