1,143
edits
No edit summary |
m (Reverted edits by Ytogohiga (Talk) to last revision by Paul tanner) |
||
Line 1: | Line 1: | ||
{{ProjectDetails|ProjectTitle=Projects/Ethernet_Arduino|members=[[User:Teabot|Elliot]]|created=12/Aug/2010}} | {{ProjectDetails|ProjectTitle=Projects/Ethernet_Arduino|members=[[User:Teabot|Elliot]]|created=12/Aug/2010}} | ||
Discussions on the list highlighted great interest and demand for cheap Ethernet enabled Arduino compatible boards. A plan was hatched to produce a number of these boards for members and possibly for sale. Increased volumes would result in lower unit cost. | Discussions on the list highlighted great interest and demand for cheap Ethernet enabled Arduino compatible boards. A plan was hatched to produce a number of these boards for members and possibly for sale. Increased volumes would result in lower unit cost. | ||
Line 16: | Line 8: | ||
Some Background. | Some Background. | ||
The Arduino has had internet capability for the last couple of years following the release of the [http://www.arduino.cc/en/Main/ArduinoEthernetShield | The Arduino has had internet capability for the last couple of years following the release of the [http://www.arduino.cc/en/Main/ArduinoEthernetShield "Official Ethernet Shield" ] in 2008. This was based on the WizNet W5100 ethernet controller chip and will work at both with 10Mb/s and 100Mb/s. It is available in the UK for about £26 [http://www.skpang.co.uk/catalog/product_info.php?products_id=394] | ||
Whilst a very capable and well supported shield, the cost of the Arduino and ethernet shield together is the best part of £40. Other ethernet controller devices are available, and these started to attract the interest of the AVR hacking community, as a means of getting a very low cost ethernet connection for AVR based projects. These used the Microchip ENC28J60, which is a simpler and cheaper device than the W5100, but still offered acceptable ethernet connection and the means to build cost-effective micro web servers and web clients. | Whilst a very capable and well supported shield, the cost of the Arduino and ethernet shield together is the best part of £40. Other ethernet controller devices are available, and these started to attract the interest of the AVR hacking community, as a means of getting a very low cost ethernet connection for AVR based projects. These used the Microchip ENC28J60, which is a simpler and cheaper device than the W5100, but still offered acceptable ethernet connection and the means to build cost-effective micro web servers and web clients. | ||
Line 34: | Line 26: | ||
Firmware & | Firmware & Libraries | ||
* The ENC28J60 has been used by [http://www.tuxgraphics.org/electronics/ Tuxgraphics] Guider Socher wrote the original TCP/IP stack code. | * The ENC28J60 has been used by [http://www.tuxgraphics.org/electronics/ Tuxgraphics] Guider Socher wrote the original TCP/IP stack code. | ||
Line 40: | Line 32: | ||
* Almost all of the available code is derived from the Tuxgraphics stack examples. | * Almost all of the available code is derived from the Tuxgraphics stack examples. | ||
* A good starting place is the [http://tuxgraphics.org/electronics/200905/embedded-tcp-ip-stack.shtml Tuxgraphics Tutorial] where you learn the basics of connnecting the microcontroller to the web using the ENC28J60 and transferring data to and fro. Covers PUT and GET methods. | * A good starting place is the [http://tuxgraphics.org/electronics/200905/embedded-tcp-ip-stack.shtml Tuxgraphics Tutorial] where you learn the basics of connnecting the microcontroller to the web using the ENC28J60 and transferring data to and fro. Covers PUT and GET methods. | ||
* NuElectronics also use it on their Ethernet shield [http://www.nuelectronics.com/estore/index.php?main_page=product_info& | * NuElectronics also use it on their Ethernet shield [http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=4 - and have some code examples here.] | ||
* Andrew Lindsay has [http://blog.thiseldo.co.uk/?p=344 rewritten the code] to make it easier to understand and use. He has also written a Pachube client with twitter updates. He has also implemented DNS on the Arduino/ENC28J60 combination. | * Andrew Lindsay has [http://blog.thiseldo.co.uk/?p=344 rewritten the code] to make it easier to understand and use. He has also written a Pachube client with twitter updates. He has also implemented DNS on the Arduino/ENC28J60 combination. | ||
* Simon Monk has produced a [http://srmonk.blogspot.com/2010/03/simplified-ethernet-library-for-28j60.html simplified Server Libray for the ENC28J60 shield] | * Simon Monk has produced a [http://srmonk.blogspot.com/2010/03/simplified-ethernet-library-for-28j60.html simplified Server Libray for the ENC28J60 shield] | ||
Line 47: | Line 39: | ||
* John Crouchley has published a sketch which allows an Arduino with ENC28J60 to retrieve CSV data from Pachube using the GET command [http://john.crouchley.com/blog/archives/706] | * John Crouchley has published a sketch which allows an Arduino with ENC28J60 to retrieve CSV data from Pachube using the GET command [http://john.crouchley.com/blog/archives/706] | ||
Hardware & | Hardware & Mods | ||
* A similar project on [http://www.instructables.com/id/A-credit-card-sized-Ethernet-Arduino-compatable-co/ Instructables]. | * A similar project on [http://www.instructables.com/id/A-credit-card-sized-Ethernet-Arduino-compatable-co/ Instructables]. | ||
Line 138: | Line 130: | ||
* 100nF ceramic cap x 4 | * 100nF ceramic cap x 4 | ||
* 10uF 16V electrolytic cap x 3 | * 10uF 16V electrolytic cap x 3 | ||
* 28 pin 0.3 | * 28 pin 0.3" DIL socket x 2 | ||
* 4 pin dip switch | * 4 pin dip switch | ||
* RJ45 MagJack [http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=537 CoolComponents recommended] | * RJ45 MagJack [http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=537 CoolComponents recommended] | ||
* 20 pin 0.1 | * 20 pin 0.1" SIL header x2 | ||
* Small Tact switch | * Small Tact switch | ||
* ATmega Ethernet PCB | * ATmega Ethernet PCB |
edits