Pages: [1] 2   Go Down
Author Topic: Arduino with onboard Ethernet adapter: Still under development?  (Read 3046 times)
0 Members and 1 Guest are viewing this topic.
Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello everybody!

Are there any news on the Arduino with onboard Ethernet adapter (and the possibility to use POE)? It was announced last year, but since then it was mentioned only very rarely.

- Klaus
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.freetronics.com/blogs/news/2866922-etherten-production-has-begun-arduino-with-built-in-ethernet
Logged

Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much, that thing looks quite impressive!

Anybody out there who has experience with this board?

- Klaus
Logged

Wellington, New Zealand
Offline Offline
Sr. Member
****
Karma: 1
Posts: 404
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've have an EtherTen and I've run the basic web server demo that comes with the Arduino IDE with no problems at all.  Also tried out an SD card and wrote a file without problems either.  Really nice board.
Logged


Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for mentioning the SD card slot, that is another very useful element. I think I will try the product.
Logged

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Guys
I have just acquired the Freetronics EtherTen, looks like a great board and saves on a shield and throws in SD Storage and PoE. I intend for it to act as a data collector via a network of Xbees and the SD card would be ideal for the data storage. I have not used the SD card on Arduino before, can you please advise if there is a preferred library for the EtherTen to utilize the SD Card ?. Ideally the data format should be compatible with a PC, but not essential.
Thanks in advance
Logged

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not to worry, I have sorted my issues with the SD Card, just downloaded sdfatlib20110702 and all seems to be good so far.
Logged

Switzerland
Offline Offline
Sr. Member
****
Karma: 6
Posts: 375
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just acquired an EtherTen too, with much the same goal in mind.  It's working well serving small html and svg files, but slows down markedly with larger files such as jpegs.  Add in dynamic content such as plots of sensor data, and it's really struggling.  It's fun to see what can be done with 32k and an 8-bit processor, but I think I'll switch to a small Atom-PC for data collection and web-serving.

Anyway, I recommend taking a look at the v1.0-beta IDE.  The standard Ethernet and SD libraries are very much improved: the code is cleaner, easier to use, and includes features which previously required external libraries (eg. DHCP).  The included examples are very easy to follow.
Logged

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the update tim7, I will check it out. Sounds like you are a bit ahead of me at the moment.
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5356
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

... but slows down markedly with larger files such as jpegs.

I'm just writing a web server for an Ethernet Arduino and it seems very slow. It's currently sending files at about 30kbytes/sec.

I'm sure I can optimize a bit more but still, I think it will struggle to send much more than 50kbytes/sec. I know it's only an Arduino but I expected a little bit more...

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Guys
    I ma looking into the NetDuinoPlus to see if I can get a reasonable performance. It has built in Ethernet, SD memory card and a much faster processor.
Logged

Forum Administrator
Offline Offline
God Member
*****
Karma: 52
Posts: 639
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

@BC238 the Arduino Ethernet is in production and being sold for quite  a bit now.
http://store.arduino.cc/ww/index.php?main_page=product_info&cPath=11_12&products_id=141

you can buy it with or without POE module in case you want to power it through the ethernet cable.

@fungus I think you need to be realistic about what can be done with an 8 bit processor with 2k of ram running at 16mhz.. i would say 30kb/s it's very impressive for such a simple device. if you want more power you might need to get a Linux single board computer.

@tdrew keep in mind that, apart from the shape and  vague resemblance in the name, the netduino has got nothing to do with arduino: it's programmed in a different language (C#) and different IDE, different API etc... so you might need to re-learn everything you learned on arduino

m
Logged

Sydney, Australia
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks M
    Very much aware of the differences, I have been playing with it for a little while now. I have used some .net before, just seriously and not in this embedded micro world.
    Still have a way to go though ....
Tim
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5356
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@fungus I think you need to be realistic about what can be done with an 8 bit processor with 2k of ram running at 16mhz.. i would say 30kb/s it's very impressive for such a simple device. if you want more power you might need to get a Linux single board computer.

Hello again...

I've done some more tests and I found that the fastest I could transmit data across a network connection from the Arduino is about 75kbyes/sec. I think my web server can be optimized a little bit more... :-)

To me it seemed that 200 clock cycles per byte sent is quite a lot so I looked in w5100.cpp and the loop to send data looks like this:

Code:
  for (int i=0; i<_len; i++)
  {
    setSS();   
    SPI.transfer(0xF0);
    SPI.transfer(_addr >> 8);
    SPI.transfer(_addr & 0xFF);
    _addr++;
    SPI.transfer(_buf[i]);
    resetSS();
  }

So it does a complete SPI transaction per byte ... there's the problem!

Can the w5100 not receive bytes sequentially?


I don't really need this to be a serious web server, I'm just experimenting. The main idea behind what I'm doing is to create a web server with extensions to view/control the Arduino pins directly. That way I can do things with the Arduino via a web browser (eg. my mobile phone) from anywhere in the world.

But ... it would be nice if it worked well as a little web server too, there's plenty of space on the SD card for files.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

0
Offline Offline
Edison Member
*
Karma: 63
Posts: 1604
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sadly, the W5100 requires four byte on the SPI bus to transfer one data byte.  Here is a quote from the datasheet.
Quote
In SPI Mode, W5100 operates in “unit of 32-bit stream”.
The unit of 32-bit stream is composed of 1 byte OP-Code Field, 2 bytes Address Field and 1 byte data Field.
There are two SPI op-codes, read and write.
Logged

Pages: [1] 2   Go Up
Jump to: