552
edits
mNo edit summary |
|||
| Line 283: | Line 283: | ||
The complete code can be cut and pasted from this [https://gist.github.com/1164579 Github Gist] | |||
Github Gists are a good way of sharing small code projects with others. Just google Github Gist, where it opens a new form, paste in your code and it gives you a Gist number. Then share the URL of that Gist with your group. | |||
Note: | |||
To get the EtherShield examples to work you will have to edit the enc28j60 init function to read. | |||
ES_enc28j60Init(mymac,8); | |||
In the analogue webserver example in the Gist this can be found on line 93. | |||
===Further Applications=== | |||
EtherShield simpleClient examples for Pachube and Emoncms: [https://github.com/openenergymonitor/sketchbook/tree/master/EtherShield_simpleClient github] | |||
===Powering Down the ENC28J60 - when not used=== | |||
Most of the power consumed on the Nanode is in the line drivers of the ENC28J60 ethernet controller - even if it is transmitting or not! | |||
Here's someone's notes about putting the ENC28J60 into sleep mode so it doesn't use so much power. | Here's someone's notes about putting the ENC28J60 into sleep mode so it doesn't use so much power. | ||
http://blog.derouineau.fr/2011/07/putting-enc28j60-ethernet-controler-in-sleep-mode/ | http://blog.derouineau.fr/2011/07/putting-enc28j60-ethernet-controler-in-sleep-mode/ | ||
User softhook - Christian Nold has tried this and reports that it works well. | |||
==Simple Applications== | ==Simple Applications== | ||
edits