Show Posts
|
|
Pages: [1]
|
|
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
|
Hi,
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
Eberhard
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 
|
|
|
|
|
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 The schematic and the open-source TCP/IP stack are avaiable on my website http://www.nuelectronics.com. There is also a details project description at http://www.nuelectronics.com/estore/index.php?main_page=project_eth 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]  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 http://www.nuelectronics.com. There is also a detailed project description at http://www.nuelectronics.com/estore/index.php?main_page=project_lcd 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, http://www.nuelectronics.com/estore/?p=12 and http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206024602/0, 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 - http://www.nuelectronics.com/estore/?p=14Here 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 - http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=10Here are photos of the Demo application --   
|
|
|
|
|