AVR and internet communication

Hi there,

I want to design a system using AVR that communicates with a computer using internet browser (TCP/IP). I do not want ready made hardware. I want this to be a learning experience and do everything on AVR myself. I heard that there are some software modules(stacks) that you can get and run it on AVR and thus accomplish TCP/IP or Ethernet communication.

What are those stacks?

Where can I get them?

How much do they cost? anything free?

How can I use them?

Any examples of using those stacks?

At this moment, I want the AVR to measure something say, temperature, and using an internet browser, a person can remotely read this temperature.

I would appreciate your help. Thanks

Regards

Check out some software called Nut/OS. It is a real time operating system for the ATMega128 that offers TCP/IP interface.

smdFan:
Hi there,

I want to design a system using AVR that communicates with a computer using internet browser (TCP/IP). I do not want ready made hardware. I want this to be a learning experience and do everything on AVR myself. I heard that there are some software modules(stacks) that you can get and run it on AVR and thus accomplish TCP/IP or Ethernet communication.

What are those stacks?

Where can I get them?

How much do they cost? anything free?

How can I use them?

Any examples of using those stacks?

At this moment, I want the AVR to measure something say, temperature, and using an internet browser, a person can remotely read this temperature.

I would appreciate your help. Thanks

Regards

I’ve successfully used WizNet 810MJ and 811MJ modules. Ready-made in the sense that all the TCP/IP protocols and a four-socket interface come with these $20 modules. Sample software comes with it, however I did my own, for HTTP server, SMTP client, DHCP client, and so on. It’s so much easier when the entire TCP/IP/ARP protocols are off-loaded.

Nut/OS is probably one of your better bet here, though there are ports of uIP to the AVR using an external Ethernet MAC.

You’ll need an AVR with oodles (in AVR land) RAM and FLASH to pull it off and do something useful.

For more performance, the Atmel AT91SAM7 (ARMs) series features integrated ethernet MACs (just add a Phy), and are well supported by both lwIP and uIP. Take a look at the FreeRTOS demo applications.

The guys at http://www.tuxgraphics.org/electronics/ have their own stack and some projects that do exactly what you are looking for with an ATMega168 and ENC28J60. Their board also can run uIP.

It’s not as easy to use as Nut/OS, but runs on much simpler hardware.