pauldeng / arduino-leonardo-eth-w5500-powerdown-example

Power down WIZnet W5500 Ethernet controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino W5500 Ethernet Controller Power Saving Example

This repo contains WIZnet W5500 power saving example code.
It demonstrates:

  • Power down W5500
  • Power saving by setting the W5500 to low speed (10Mbps)

Hardware

Any Arduino board/Shield with WIZnet W5500 Ethernet controller. I tested it on:

Software Library

This branch uses Arduino standard Ethernet library.
If you use Ethernet3 library, you can switch to branch arduino-sstaub-ether3-lib.

Usage

  1. Clone this project
  2. Choose the branch
  3. Load this project to PlatformIO
  4. Compile and load to target hardware
  5. Measure the power consumption change

Power Consumption

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.

References

License

MIT

About

Power down WIZnet W5500 Ethernet controller


Languages

Language:C++ 100.0%