Project:Nanode/FAQ: Difference between revisions

From London Hackspace Wiki
(Fix up copy-pasta)
(better syntax)
Line 1: Line 1:
'''My Nanode can't access the ENC28J60 and comes up ENC28J60 Version 0.'''
=== Q: My Nanode can't access the ENC28J60 and comes up ENC28J60 Version 0 ===


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.
Line 23: Line 23:
We are in the process of creating a Nanode specific library that defaults to pin 8, so this change will not be needed in the future.
We are in the process of creating a Nanode specific library that defaults to pin 8, so this change will not be needed in the future.


'''How do I get in touch with other people with Nanodes?'''
=== How do I get in touch with other people with Nanodes? ===
 
* Have a look here for [[Pledges/Nanodes/Details#The_Complete_List |  Register of Nanodes and Users]]
* Have a look here for [[Pledges/Nanodes/Details#The_Complete_List |  Register of Nanodes and Users]]
* Use the [http://webchat.freenode.net/?channels=nanode webchat client that runs in your browser].
* Use the [http://webchat.freenode.net/?channels=nanode webchat client that runs in your browser].
Line 35: Line 36:
A good option if you have a server is to set up a screen session to run Irssi so that you don't miss anything. [http://quadpoint.org/articles/irssi] is a good guide to using screen and Irssi.
A good option if you have a server is to set up a screen session to run Irssi so that you don't miss anything. [http://quadpoint.org/articles/irssi] is a good guide to using screen and Irssi.


'''How do I connect External Power to my Nanode?'''
=== How do I connect External Power to my Nanode? ===


There are at least 3 ways to power the Nanode
There are at least 3 ways to power the Nanode


1. With a 5V FTDI cable or adaptor
1. With a 5V FTDI cable or adaptor
2. With a standard USB lead
2. With a standard USB lead
3. With an external dc power supply  
3. With an external dc power supply  


When using the FTDI cable, put the black wire closest to the USB socket.
When using the FTDI cable, put the black wire closest to the USB socket.
Line 52: Line 50:
If you want to use 12V or higher, you will need to fit a suitably sized TO220 heatsink (say 50mm x 25mm)to the tag of the 7805 regulator. The Voltage range for the regulator is 7V to 35V, but in the interests of power efficiency and overheating we do not recommend more than 12V dc.
If you want to use 12V or higher, you will need to fit a suitably sized TO220 heatsink (say 50mm x 25mm)to the tag of the 7805 regulator. The Voltage range for the regulator is 7V to 35V, but in the interests of power efficiency and overheating we do not recommend more than 12V dc.


 
=== What are the other screw terminal for? ===
'''What are the other screw terminal for?'''


Nanodes can be connected to networks in a number of ways, and the screw terminals provides a low cost wired serial bus.  Nanodes can be wired together using 4 core telephone cable or network cable, which provides power distribution and communication between Nodes. A separate wiki page describing this feature will be published in the near future.
Nanodes can be connected to networks in a number of ways, and the screw terminals provides a low cost wired serial bus.  Nanodes can be wired together using 4 core telephone cable or network cable, which provides power distribution and communication between Nodes. A separate wiki page describing this feature will be published in the near future.

Revision as of 17:22, 20 September 2011

Q: My Nanode can't access the ENC28J60 and comes up ENC28J60 Version 0

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.

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

es.ES_enc28j60Init(mymac);

for Nanode version 5 users this should be changed to:

es.ES_enc28j60Init(mymac,8);

Pin 8 is the pin used by the microcontroller to select the ENC28J60 for the SPI bus and if you don't add this, the MCU won't be able to communicate with the ENC28J60.

If you forget to do this, when you first power up there will be a message

ENC28J60 Version 0

This will appear as ENC28J60 Version 7 after the change has been made and you will know that all is well.

We are in the process of creating a Nanode specific library that defaults to pin 8, so this change will not be needed in the future.

How do I get in touch with other people with Nanodes?

If you've not used IRC before there are many tutorials out there for you. [1] [2] [3] [4]

If you're unsure of IRC etiquette, this guide might be worth a glance. More irritable users tend to get annoyed at away messages, so you may want to find out how to turn this off.

A good option if you have a server is to set up a screen session to run Irssi so that you don't miss anything. [5] is a good guide to using screen and Irssi.

How do I connect External Power to my Nanode?

There are at least 3 ways to power the Nanode

1. With a 5V FTDI cable or adaptor 2. With a standard USB lead 3. With an external dc power supply

When using the FTDI cable, put the black wire closest to the USB socket.

With external dc power, use a supply less than 12V, 9V is preferable and connect the positive to the screw terminal closest to the Magjack and the 0V to the next terminal along.

If you want to use 12V or higher, you will need to fit a suitably sized TO220 heatsink (say 50mm x 25mm)to the tag of the 7805 regulator. The Voltage range for the regulator is 7V to 35V, but in the interests of power efficiency and overheating we do not recommend more than 12V dc.

What are the other screw terminal for?

Nanodes can be connected to networks in a number of ways, and the screw terminals provides a low cost wired serial bus. Nanodes can be wired together using 4 core telephone cable or network cable, which provides power distribution and communication between Nodes. A separate wiki page describing this feature will be published in the near future.