简体   繁体   English

关闭Arduino以太网屏蔽

[英]Turn off Arduino Ethernet shield

To conserve battery life I would like to turn off the Arduino Ethernet shield (or put it in a low power state if this is possible). 为了节省电池寿命,我想关闭Arduino以太网屏蔽(或在可能的情况下将其置于低功耗状态)。 Is it possible to do this? 是否有可能做到这一点?

unfortunately, the shield does not appear to support a native method. 不幸的是,防护罩似乎不支持本机方法。

However, a quick hack that only requires a single jumper wire and no significant tools, can add this feature. 但是,仅需一根跳线而又不需要重要工具的快速技巧可以添加此功能。

The quickest and simplest way would be jump the Shields Reset to an available IO pin along with bending the Shields Reset Pin, as not to make contact with the Arduino's shield connector. 最快和最简单的方法是将Shields Reset跳到可用的IO引脚,同时弯曲Shields Reset Pin,以免与Arduino的屏蔽连接器接触。 This separates the shields reset from the Arduino's, allowing you to drive it directly. 这将屏蔽重置与Arduino的重置分开,使您可以直接驱动它。

This is similar to the following video that changes the IRQ pin, but same concept. 这类似于以下视频 ,其中更改了IRQ引脚,但概念相同。

Note the W5100 is 3V and its reset is not directly tied to the Arduino, but rather to a Voltage Monitor along with a button that is wired-or'ed into the Arduino's Reset. 请注意,W5100为3V,其复位不直接与Arduino相连,而是与电压监控器以及有线或连接到Arduino复位中的按钮相连。 It would be best to not to drive this pin as OUTPUT HIGH and LOW, but rather as INPUT for ON (the pull up will make it High for you) and OUTPUT LOW for Reset. 最好不要将此引脚驱动为OUTPUT HIGH和LOW,而是将INPUT驱动为ON(上拉将使其变为高电平),而将OUTPUT LOW驱动为复位。 This avoids a conflict of the Arduino being HIGH and the Button being low, which may burn out the Arduino's IO. 这样可以避免Arduino处于高电平和Button处于低电平的冲突,这可能会烧毁Arduino的IO。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM