Project:Nanode/Applications: Difference between revisions

From London Hackspace Wiki

Line 1: Line 1:
==Before You Start==
==Before You Start==
You now have a flashing red LED, and are keen to connect to the internet.  If you are unfamiliar with Arduino, you might wish to visit the extensive reference and examples pages linked to the main [http://www.arduino.cc/ Arduino Homepage] site.
Nanode is essentially just an Arduino with ethernet connectivity added - so anything that you can do on Arduino, you should be able to do with Nanode.
Note there are some slight differences,  the LED on Nanode is on Digital 6 rather than Digital 13 on Arduino and it lights when digital 6 is set LOW - so it's sense is inverted - more on why this is later.


Nanode uses an ethernet library which was written specifically to drive the ENC28J60 ethernet controller.
Nanode uses an ethernet library which was written specifically to drive the ENC28J60 ethernet controller.


This device is used on several similar designs, and it must be noted that the library needs to be tailored so that it correctly addresses the ENC28J60 via digital pin 8, and not pin 10 as used in some ethernet shields.
This device is used on several similar designs, and it must be noted that the library needs to be tailored so that it correctly addresses the ENC28J60 via digital pin 8, and not pin 10 as used in some ENC28J60 based ethernet shields.


To do this look at the DHCP test sketch and identify the line
To do this look at the DHCP test sketch and identify the line
552

edits