Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: August 26, 2008, 01:49:41 am
I've developed a example of howto use the ethernet shield as a web client.  I think it is useful, as the ethernet shield can be used as a distributed network sensor.   smiley

Better start a new topic on this, so there is the list on Arduino forum, or you can visit my blog at
2  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: July 04, 2008, 01:27:18 am
I just updated the Ethernet shield project note -

and included an example of switching on/off a LED via webserver.

It might be helpful for your project.
3  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: March 27, 2008, 06:13:10 am
En...  It is a good idea - can be implemented with Full TCP/IP protocol rather than the Single data packet at the moment.   But are we going to reinvent the WIZNET module?  
What? Your shield only does single packets? (UDP only?)
Hmm that limits its usefulness.

Maybe switch over to Wiznet with a onboard AVR controller?
The Wiznet chews about 8kb as well to interface with it.
But it can handle TCP/IP in hardware which makes it substantially simpler.

No... We have webserver implementation, and HTTP is based on TCP.  It is the a simplified TCP/IP implementation that uses the "single data packet",  which  sends the FIN immediately together with the data,  rather than uses standard multiple packets TCP/IP protocol.  

This makes the state handling for the closing of the connection a lot simple, and leave more space (flash & RAM) for user application.   "Single data packet" means that your webpage(s) needs to be in one packet (limited by 1K RAM space), which should be OK for many applications that Arduino can handle.
4  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: March 26, 2008, 10:41:00 am
Also have you considered putting a AVR on the shield so the code required to interface with it is reduced?
Put all the low level code on the on board processor and expose a simple API over I2C or something.
En...  It is a good idea - can be implemented with Full TCP/IP protocol rather than the Single data packet at the moment.   But are we going to reinvent the WIZNET module?  
5  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: March 25, 2008, 08:06:04 am

the library does not compile (on linux) because etherShield.cpp tries to include EtherShield.h but the name of the file is etherShield.h (camelCase).

Ususally the C-header/source-files are in all lower-case so I suggest you rename the files to ethershield.h ethershield.cpp
or go with the classname EtherShield.h EtherShield.cpp


Thanks for the advice.  

The library was only tested on Windows machine, since I don't have a Linux PC.   I've changed the line #include "EtherShield.h to #include "etherShield.h" in file etherShield.cpp.  The new file has been uploaded to my website.

Hope it will work on Linux.  I'd really appreciate if someone could test it.  Thanks  smiley-wink
6  Forum 2005-2010 (read only) / Development / Re: Arduino Ethernet Shield on: March 20, 2008, 01:12:20 pm
The memory usage -- for the above webserver with Temperature reading example

[size=16]Flash -- 7700 bytes;  SRAM -- around 520 bytes [/size]

So for ATMEGA8 with 8K flash and 1K SRAM, this example will be difficult to fit in unless you don't use bootloader.   But the temperature reading routine takes around 2K space in the Flash. my other example, the webserver example, only use 5.5K flash space, so it should fit into the ATMEGA8 without problems.
7  Forum 2005-2010 (read only) / Development / Arduino Ethernet Shield on: March 20, 2008, 09:50:02 am
[size=16]Put your Arduino on-line [/size]  

I have developed a Ethernet shield for Arduino boards.  The board uses the Microchip's ENC28J60 SPI based ethernet controller.  A tiny open-source TCP/IP stack has been developed as an Arduino IDE library.  The memory usage is moderate -- 7700 bytes FLASH space  and around 520 bytes of SRAM are used for the following application, A webserver with temperature sensor reading.  It leaves around half of the FLASH and SRAM space for your own application smiley

The schematic and the open-source TCP/IP stack are avaiable on my website  

There is also a details project description at

Fig 1. EtherShield V1.0

Fig 2. EtherShield with Arudino and the DS18B20 temperature senor (in the middle board)

Fig 3. Arduino Webserver with Temperature reading

8  Forum 2005-2010 (read only) / Development / Another Arduino LCD shield on: March 20, 2008, 10:13:06 am
[size=16]Yet another Arduino LCD shield[/size] smiley-wink

But this one is available, tested and ready to use.  The LCD shield uses A 16x2 HD44780 compatible LCD (White character & Blue backlight); it also has a 5-key joystick style keypad, which allows users to go through the menu, make selections etc.  Moreover, to save I/O resources on Arduino, the 5-key keypad only needs ONE ADC channel to read the key values.  

The LCD shield uses a modified LCD4bit library and has two examples -- one is to test & show keypad pressing on the LCD, the other is to show a temperature reading on the LCD.

The schematic and the software (modified LCD4bit library) are avaiable on my website  

There is also a detailed project description at

Fig 1. LCD Keypad shield

Fig 2. LCD Keypad shield with Arduino

Fig 3. LCD Keypad shield with Arduino and the DS18B20 temperature senor (in the middle board)
9  Forum 2005-2010 (read only) / Interfacing / Ethernet shield - as a network sensor node on: August 26, 2008, 01:45:15 am
Since the web server example for Ethernet shield was published a few month ago, and, I've got a few emails regarding to how to use the Ethernet shield as a web client.

In a sense, a web client application is more appropriate for a small device such as the Ethernet shield on Arduino.  Based on the TCP/IP protocol, it is the web client (such as a web browser) who initializes the TCP connections, requests data from or sends data to the web server.  Therefore the ethernet shield running in web client mode can be used as a distributed sensor node in the network.  It can send periodic or interrupt driven sensor data to a web server.  The web server can then record, process and show the sensor data from one or multiple web client.

Therefore I developed a new version ethernet shield library, web client examples and web server (using Apache web server) PHP script to implement this web client application.  You can find detailed description in my blog -

Here is a picture that shows list of web clients, running as distributed network sensor nodes, which send sensor data to a webserver.

10  Forum 2005-2010 (read only) / Exhibition / NOkia LCD & Joystick Shield for Arduino on: October 03, 2008, 12:33:57 pm
[size=16]Want a decent user interface for Arduino?  Try this ...[/size]

I've developed a color LCD shield that uses Nokia 6100 LCD & a 5 direction joystick, it has features such as --

  • Use popular Nokia 6100 LCD (Philips controller), 4K color and 128x128 pixels.
  • Directly plug into the Arduino or Freeduino board
  • Has a 5-direction Joystick , but only use ONE ADC PIN on Arudino.
  • Supplied with fully functional Arduino library & demo application sketch.
The Nokia_lcd library provides basic graphic functions that can draw pixels, lines, characters, bitmaps, boxes, circles and etc.  The Demo application also provide an interrupt-driven Joystick control routine, which can be used to accept user inputs and menu navigation.

The schematic & the Nokia_lcd library can be downloaded from my website, link -

Here are photos of the Demo application --

11  Forum 2005-2010 (read only) / Exhibition / LCD smartie on Arduino on: June 01, 2008, 10:46:41 am
Hi, I've put a LCD smartie firmware on Arduino platform...  smiley

The Arduino + my LCD keypad shield seem to be a good platform to experiment the LCD smartie program.  For those who are not familiar to the LCD smartie, it is a PC software that open-source software for Windows that you can use to show lots of different types of information on your LCD/VFD that connects to the PC via USB/Serial/Parallel ports.

For detailed information, please refer to the project note --

Here are some LCD smartie screenshots --

12  Forum 2005-2010 (read only) / News / Re: Low-cost graphic Nokia 3310 LCD shield & Joystick on: September 03, 2009, 02:34:30 am
The LCD uses the Philips PCD8544 chip, it is compatible with the 3310 LCD.  Here is a link of the PCD8544 datasheet -   Accessing individual pixel on the LCD is a bit tricky, because the LCD control chip is organized in 84 x 6 bytes (= 84 x 48 pixels).  Therefore a local buffer is needed for pixel read/write, and updating the LCD.   I am in a process of developing the graphic library (most of the code is working).  Will publish the code as soon as I can  ;D
13  Forum 2005-2010 (read only) / News / Low-cost graphic Nokia 3310 LCD shield & Joystick on: July 23, 2009, 12:39:39 pm
We have developed a new shield based on the popular Nokia 3310 graphic LCD.  Nokia 3310 LCD is low-cost, monochrome LCD with 84x48 display.  It also has a 5-direction joystick and 4 blue backlight LED.    

Schematic, library & example application can be downloaded from our website -

Here are a couple of photos of this shield  smiley --

14  Forum 2005-2010 (read only) / News / Re: Arduino Ethernet! When? on: March 20, 2008, 11:15:30 am
I have made an Arduino Ethernet shield based on Mircochip's ENC28J60 and an open-source TCP/IP library available for downloading.

There is the link for the post that I've just put on the forum --
Pages: [1]