Project:Nanode/Applications: Difference between revisions
From London Hackspace Wiki
no edit summary
No edit summary |
|||
| Line 631: | Line 631: | ||
The Jee Labs [http://jeelabs.net/projects/cafe/wiki/EtherCard EtherCard Library] works on Nanode with no modifications whatsoever. It even uses pin 8 for SPI chip select. Examples and details on [http://maniacbug.wordpress.com/2011/08/07/nanode/ maniacbug's blog]. | The Jee Labs [http://jeelabs.net/projects/cafe/wiki/EtherCard EtherCard Library] works on Nanode with no modifications whatsoever. It even uses pin 8 for SPI chip select. Examples and details on [http://maniacbug.wordpress.com/2011/08/07/nanode/ maniacbug's blog]. | ||
===Tuxgraphics I/O Web Server=== | |||
Tuxgraphics were the first company to produce a board based on the combination of the ATmega and the ENC28J60. In fact most of the library was written originally by Guido Socher and Pascal Stang. | |||
The tuxgraphics web server is not a normal web server. It is an IO-web server. It reads sensor values or IO-pins and it controls digital output lines or relays. It is as well possible to have analog output lines providing arbitary voltages between 0V and 3.3V by using a R2R-ladder DAC. | |||
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 connrection between microcontroller and 74hc595. The cable lenght of that connection should however not be longer than a meter (3ft). | |||
The 74hc595 chips can be chained to provide 16 bit output ports or more without occupying any further output lines on the atmage. | |||
For another article on IO-web servers which provide digital and analog input lines together with digital output lines see "Using the tuxgraphics embedded web server to control scientific equipment". | |||