Anda di halaman 1dari 9

Ethernet ATmega32/644 Experimentierboard

© 2007 Ulrich Radig

Contents:

Foreword ………………………………3
Parts list ………………………………..4
Assembly Schedule …………………..5
Switching Plan ………………………...6
RS232 interface ……………………….7

Preface

This is a circuit module for the web need not be expensive to show this little project. A complete mini web server for about 35 €. In the microchip
ENC28J60 Ethernet Controller comes in conjunction with an ATmega32 or ATmega644 used. It comes from the circuit without SMD components. This
ensures that the mini web server can be reproduced by any hobbyist without further ado. As a replacement for a current PC or Network Attached
Storage (NAS), this server is not thought of. In principle, this would be possible, but it is not here faster than ISDN speed on the road. To view a 2-4-KB
website / homepage for shift and sway, but it goes forever. The software now supports ARP, ICMP, UDP, TCP, NTP (client) and HTTP. 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 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.
Parts List
Number Part Value Order no.Reichelt Prices
p.S.12/07
4 C1, C2, C17, C18 22p KERKO 22P 0.041 €
11 C3, C4, C5, C14, C15, C16, 100n Z5U-5 100N € 0.07
C10, C24, C25, C26, C27
4 C6, C7, C8, C9 470n Z5U-5 470N € 0.25
3 C11, C12, C13 220μF 16V RAD 105 220/16 € 0.072
1 C21 10μF 16V RAD 105 10/63 0.041 €
2 C19, C20 1n KERKO 1n 0.041 €
2 C22, C23 10n KERKO 10n 0.041 €
3 D1, D2, D3 1N4004 1N4004 0.020 €
1 D4 Z-Diode 12V ZF12 0.031 €
1 F1 PICOFUSE 0.5 PICO 0.5 A € 0.45
A
1 FERIT 10μH L-11P 10μ € 0.35
1 IC1 ATmega644 ATMEGA 644-20 PU € 7.20
1 IC2 LM 78S05 uA 78S05 0.357 €
1 IC3 LM 317 LM317-220 0.226 €
1 IC4 MAX232 / MAX MAX 202 CPE € 1.10
202
1 IC5 ENC28J60-DIL -----------------------------
1 J1 MEB 8P MEBP 8-8G € 0.62
1 JP1 2x02 SL 2X10G 2.54 € 0.51
1 JP2, JP3 1 X 06 SL 1X36G 2.54 € 0.31
1 L1 10μH SMCC 10 € 0.16
1 LED1, LED2, LED3 LED3MM LED 3MM GN 0.051 €
1 PROG ML10 WSL 10G € 0.072
1 Q1 16Mhz 16.0000-HC49U-S € 0.24
1 Q2 25Mhz 25.0000-HC49U-S € 0.24
1 R1 10k 1/4W 10K € 0.10
1 R2 470 Ohm 1/4W 470 € 0.10
1 R3 270 Ohm 1/4W 270 € 0.10
1 R4 1.5 k ohms 1/4W 1,5 K € 0.10
1 R5 33k Ohms 1/4W 33K € 0.10
2 R6, R7 180 ohms 1/4W 180 € 0.10
1 R8 2,7 k Ohm 1/4W 2,7 K € 0.10
4 R9, R10, R11, R12 50 ohms METAL 49.9 € 0.025
1 S1 SWITCH 3301B SWITCH 3301B € 0.12
1 SV1 ML16 WSL 16G € 0.072
1 SV2 ML10 WSL 10G € 0.072
1 TR FB2201 -----------------------------
1 X1 2.1 mm jack HEBW 21 € 0.27
socket
1 X2 SUB-D09F D-SUB BU 09EU € 0.28

Miscellaneous
2 Jumper JUMPER 2.54 BL 0.041 €
1 40-pin version GS 40P € 0.46
1 16-pin version GS 16P € 0.18
1 Text 28WAY GS 28P-S € 0.36
1 Heatsink V PR5/25-M3 € 0.53
€ 17.99

In version 1.0, only the fuse board assembly is missing otherwise in compliance as of
version 1.1!
Schematic
RS232 interface

The serial interface has the following settings (HyperTerminal):

On the board is a 9-pin connector that can not be replaced by a 9-pin connector. By default, I
recommend a 1:1 RS232 extension.

1:1 RS232 cable connector /


male null modem cable x TXD RXD

Create from the Web server source code Hexfile

With the installation of WinAVR a useful tool Programmers Notepad 2 is installed shortly
PN2. This program will open it on the taskbar.

Next, the project file of the project will open in PN2, the project files) have the file
extension (*. pnproj. Now we find the project under the Open Content (Standard
installation) Mark on the left side in column (1) again. Now you should still a file from the
project which is tabulated in (1) appears to be opened. It is to be the best file
main.c. Double-clicking in the project overview (1) is sufficient to do so. The file will now
appear in a new window (2). Only now can be accessed 3) on the control bar on Tool /
[WinAVR] Make All (. Make All created now a Hex file that can be flashed into the AVR.
Flashing the Hexfiles may also be from the PN2.
In MAKEFILE CPU type and details are available for programming hardware. I use as a
programmer always the STK200 to the LPT1, this is my cable which I have described under
BaseKit (minimal solution for use with four resistors). In another programmer that has to be
specified in the makefile, should be programmed from the PN2. If the programming via an
external tool such as PonyProg the definition of the programmer in makefife deleted.

Anda mungkin juga menyukai