9
edits
m (Misc. typos, capitalization, etc.) |
|||
| Line 1: | Line 1: | ||
===Nanode Applications=== | ===Nanode Applications=== | ||
Nanode is an Arduino like 8 bit microcontroller board with integrated | Nanode is an Arduino like 8 bit microcontroller board with integrated Ethernet connectivity. | ||
It has 6 analogue sensing channels and 6 spare digital I/O lines. | It has 6 analogue sensing channels and 6 spare digital I/O lines. | ||
| Line 114: | Line 114: | ||
*Windows users: when prompted to install drivers, point the installer to the arduino-0022/drivers directory | *Windows users: when prompted to install drivers, point the installer to the arduino-0022/drivers directory | ||
*Mac users: mount the arduino installation dmg and double click on the FTDI install package at the bottom of the window | *Mac users: mount the arduino installation dmg and double click on the FTDI install package at the bottom of the window | ||
*Linux users: if you are using a recent version of | *Linux users: if you are using a recent version of Ubuntu or Debian, the FTDI cable should be plug and play; type: | ||
dmesg | grep "ttyUSB*" | dmesg | grep "ttyUSB*" | ||
into terminal and hit return | into terminal and hit return. The response may look something like this: | ||
[ 7440.284623] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 | [ 7440.284623] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0 | ||
since ttyUSB0 is mentioned this indicates that the device mount point is /dev/ttyUSB0 | since ttyUSB0 is mentioned this indicates that the device mount point is /dev/ttyUSB0 | ||
| Line 198: | Line 198: | ||
This opens up a serial terminal window so that we can look at the debug output from the program. | This opens up a serial terminal window so that we can look at the debug output from the program. | ||
In the bottom right hand corner of this monitor window is a selection box allowing you to select different baud rates. The default is 9600 baud. Change this to 19200 baud - as this is the rate as defined in the current EtherShield_DHCPTest | In the bottom right hand corner of this monitor window is a selection box allowing you to select different baud rates. The default is 9600 baud. Change this to 19200 baud - as this is the rate as defined in the current EtherShield_DHCPTest program in the line in the Setup() code: | ||
Serial.begin(19200); | Serial.begin(19200); | ||
| Line 730: | Line 730: | ||
Sometimes you want to have more digital output pins than the microcontroller you are using provides. You can either switch to a bigger microcontroller chip or use a 74hc595 port expander. This article focuses on the 74hc595. Using multiple 74hc595 chips you could in theory have an infinite amount of output lines on a single ethernet board. | Sometimes you want to have more digital output pins than the microcontroller you are using provides. You can either switch to a bigger microcontroller chip or use a 74hc595 port expander. This article focuses on the 74hc595. Using multiple 74hc595 chips you could in theory have an infinite amount of output lines on a single ethernet board. | ||
The advantage of the 74hc595 is that you save on wires if you want to have the 8 additional output pins in a different place. There is a serial | The advantage of the 74hc595 is that you save on wires if you want to have the 8 additional output pins in a different place. There is a serial connection between microcontroller and 74hc595. The cable length of that connection should however not be more than a metre (3ft). | ||
The 74hc595 chips can be chained to provide 16 bit output ports or more without occupying any further output lines on the atmage. | The 74hc595 chips can be chained to provide 16 bit output ports or more without occupying any further output lines on the atmage. | ||
edits