This is a circuit module for the web need not be expensive to show this little project.

A complete mini web server for about 30 €. In the microchip ENC28J60 Ethernet Controller comes in conjunction with an ATmega32 or ATmega644 used. I am aware that it had some of these circuits on the basis of this network chips, and this controller on the internet there. However, my connection comes from without SMD components and the PCB is also only one-sided. This guarantees that it can be reconstructed from a hobbyist mini web server easily. The picture here shows you the web server with an optional display. Even if the software was written in the C programming language, can actually create its own Web site and include everyone in the Web server. A glance at the file webpage.h shows you how a Web page is included, and thus be carried out switching operations. The rest, and general problems with the configuration is done.Here, too, is demanded by any of any C knowledge.

For power supply, I recommend a little stabilized power supply with a voltage to 7.5 V to 9V - 500mA. Will, of course, will also still run a camera and an LCD display with backlight on the Web server comes around to a stronger power supply not. In Grundbeschaltung the web server has a current consumption of about 190mA. The camera Philips DC-3840 still needs more time 60mA. This small Web server has been designed for measurement, control and automation. As a replacement for a running PC for your own homepage or Network Attached Storage (NAS), this server is not thought of. The volume of data and the size of the files are of course limited. But switch to a power outlet to transfer web images, or as a small weather station that module, but suffice forever. In the file below you will find all the required documents and files to build you a qualified for web servers. Anyone who is unable to produce the circuit board itself, it can also refer in the shop. Of course, the Web server also gives a more professional look the same.Through a web form, can with one click, the components are placed in the Reicheltwarenkorb.The necessary software for the web server is located a little further down.

In addition, there are also my new little mini stack, which has ARP, ICMP, WOL, UDP, TCP, DNS, DHCP, NTP (client) and HTTP support. As of version 1.0.79 of the sending e-mails is now also available. Via the serial port you have access to the processor. This takes to receive commands for example ARP, TCP, and RESET are available here. ARP is e.g. the current ARP table. Here, the current connection state can be observed. A more detailed overview of the available commands is the command Help. The serial interface settings are: 9600Baud, 8 data bits, no parity and 1 stop bit, no handshake further. The software in the Makefile to an ATmega644 or ATmega32 is the default. The stack now supports Positive Acknowledgment with Retransmission Positive acknowledgment with then retransmit. I will expand in the near future every now and then the stack. I am currently using the WinAVR version 20071221 So, 21 December 2007, hereby consent to the source code should compile without any problems. How this will find out here. Erstmal for people who only want to see that everything works, I have already finished Hexfiles there. The IP address can be set via the serial port using a terminal program. This is then stored in the EEPROM. The setting is done with the command: IP 192.168.0.99.

The web server is able to establish a connection via telnet to the RS232 interface of the AVR.Incoming signal to the serial port of the Web server are sent to the Telnet application started.This can also be reversed, ie from the Tellnetapplikation to the RS232 interface of the web server. Mithilfenahme the tools "com0com" and "com2tcp" is now a virtual COM port to be established. Eventually, the RX buffer of the serial port must be enlarged. This is done in the "usart.h" at the entry BUFFER_SIZE.

Through the NTP (NTP = Network Time Protocol), it is possible from an NTP server retrieves the current time. Thus, one can also build a small Ethernet clock, which receives over the Internet, the current time.

Of course, the stack is also running on the AVR web server by Holger Buss (www.mikrocontroller.com) this will require only a small change in the config.h config.h must be changed in only the network entry on RTL8019.

A small AVR test server can be reached at http://ulrichradig.dyndns.org to (USER: admin PASSWORD: uli1). The jumpers for RS232 interface must be set as follows when a 1:1 cable is used:

If everything works the Exporer should show the following. You can now outputs from Port A 0 - 2 are set.

Functional diagram of the Com Port Redirector:

Sign up to vote on this title
UsefulNot useful