MicroWebServer/FAQ

From Wiki

< MicroWebServer(Difference between revisions)
Jump to: navigation, search
(New page: {{Localize|en}} __TOC__ {{FAQEntry |Q=Wie verändert man die Konfiguration der Leuchtdioden an der Netzwerkbuchse? |A=In der Datei '''Hardware/Enc28j60.h''' befinden sich zwei #defines zum...)
Current revision (15:53, 14 September 2009) (edit) (undo)
 
(7 intermediate revisions not shown.)
Line 1: Line 1:
-
{{Localize|en}}
+
[[de:MicroWebServer/FAQ]]
__TOC__
__TOC__
{{FAQEntry
{{FAQEntry
-
|Q=Wie verändert man die Konfiguration der Leuchtdioden an der Netzwerkbuchse?
+
|Q=How do you change the configuration of the socket-LEDs
-
|A=In der Datei '''Hardware/Enc28j60.h''' befinden sich zwei #defines zum Anpassen der Leuchtdiodenkonfiguration (ENC28J60_LEDA, ENC28J60_LEDB). Die Defines stellen eine Bitmaske dar, die im ENC28J60 Datenblatt nachgelesen werden kann (LED Configuration). Für ein einfaches Tauschen der LED-Funktion reicht das Tauschen der Werte hinter den #defines.
+
|A=Take a look at the file '''Hardware/Enc28j60.h'''. You will find two #defines there (ENC28J60_LEDA, ENC28J60_LEDB) each one taking an initialization word for the LEDs. You can find the meaning of this word by reading the LED-section in the ENC28J60 datasheet. In case you just want to swap the LED-functions, just swap the two values and you will be fine.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Wohin wende ich mich bei Problemen?
+
|Q=Who do I ask in case of problems?
-
|A=Im [http://www.mikrocontroller.net/topic/87517 mikrocontroller.net-Forum] befindet sich ein Support-Thread zum MicroWebServer. Andernfalls stehe ich auch persönlich zu Verfügung. (siehe [[Impressum]])
+
|A=Look at the [http://www.mikrocontroller.net/topic/87517 mikrocontroller.net-Forum]. Although it's a German forum, you can also post there on english since there are a few english speaking people (including me ;)). You can also send me an EMail or something like that (See [[Wiki:General disclaimer]]).
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Wie sieht es mit eigenen Modifikationen an der Stack-Applikation aus?
+
|Q=What about modifications regarding the stack application?
-
|A=Es ist möglich weitere Applikationen über den TCP/IP-Stack zu legen, allerdings ist das mit 16KiB knapp bemessene ROM des ATMega168 schon zu etwa 90% ausgelastet, was das Hinzufügen eigener Erweiterungen erschwert. Wenn aber auf die Webserver-Funktionalität verzichtet werden kann, sollte wieder einiges an Speicher freizukriegen sein.
+
|A=You can freely modify the existing application. But you can also add other applications to the stack. Unfortunately there isn't so much space left in the Program-space which will make it hard to add a useful second application.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Mit welcher Eingangsspannung wird der MicroWebServer betrieben?
+
|Q=What input voltages are suitable for the MicroWebServer?
-
|A=Der auf dem MicroWebServer verbaute LM1117 benötigt min. 4,4V um die benötigten 3,3V auf der Platine bereit zu stellen. Je nachdem wie viel Strom über den 20-poligen Pfostenstecker abgezweigt wird, liegt die maximale Eingangsspannung bei etwa 7V.
+
|A=The used LM1117 needs at least 4.4V to generate the necessary 3.3V used in the circuit. The maximum input voltage is about 7V, mainly dependent on how much current you will draw on the 3.3V line.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Wie hoch ist der Stromverbrauch des MicroWebServers?
+
|Q=How much current does the MicroWebServer draw?
-
|A=Bedingt dadurch, dass der ENC28J60 die Spulen im Ethernet-Übetrager ständig bestromt (auch wenn er nicht sendet), liegt der Stromverbrauch bei etwa 150mA.
+
|A=It needs about 150mA, where most of this current is drawn by the ENC28J60 and the transformers connected to it. Since the ENC28J60 does also send current through those transformers, the current is '''not''' dependent on any send/receive activity.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Mein ENC28J60 wird relativ warm. Muss ich mir Gedanken machen?
+
|Q=My ENC28J60 gets pretty hot, is there something to worry about?
-
|A=Durch den relativ hohen Strom, der durch den ENC28J60 in den Ethernet-Übertrager fließt ist eine Erwärmung des ENC28J60 völlig normal. Solange der Chip ohne Brandwunden berührt werden kann, ist alles im grünen Bereich.
+
|A=No, there is nothing to worry about. At least if you don't get hurt while checking it's temperature. It's just usual that the chip can get hot, since there is current flowing through the Ethernet-transformer and therefore flowing through the ENC28J60.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Warum machst du Werbung für den IT-WNS Shop? Verdienst du beim Kauf dort?
+
|Q=Is there any reason you are advertising the IT-WNS Shop?
-
|A=Nein, ich verdiene nichts beim Bezug des MicroWebServers über den genannten Shop. Es ist Belohnung genug, dass ich mich nicht persönlich um das Herstellen der Platine und den Einkauf der benötigten Teile kümmern muss. Vielen Dank an dieser Stelle!
+
|A=No there is no specific reason, at least no financial one. Just that I don't have to care about people asking me about circuit-boards or parts, because IT-WNS is providing them.
}}
}}
{{FAQEntry
{{FAQEntry
-
|Q=Welche Ethernet-Buchsen können auf dem MicroWebServer verwendet werden?
+
|Q=What ethernet-jacks can be used together with the MicroWebServer
-
|A=Die Platine wurde ursprünglich für einen '''Magjack SI-60024-F''' erstellt. Da dieser aber zeitweise schlecht beschaffbar ist, existiert ein zweites Platinenlayout für die Buchsen '''HALO HFJ11-2450E-L12''' und '''ERNI Modular Jack M3D01-203199'''. Danke an Thomas Heldt für das alternative Platinenlayout.
+
|A=The board was originally designed to use it with the '''Magjack SI-60024-F'''. But there is a layout-alternative for using the '''HALO HFJ11-2450E-L12''' and '''ERNI Modular Jack M3D01-203199'''. Thanks go to Thomas Heldt for this layout.
 +
}}
 +
{{FAQEntry
 +
|Q=What do I have to pay attention to when using an ATmega328/P processor?
 +
|A=First of all the code has to be recompiled using the ATmega328/P as target processor.
 +
 
 +
It could be that there are problems with the PBx defines while compiling the code, because of a header file bug in the current version of the avr-libc. This problem is going to be solved in a next version of the avr-libc.
 +
 
 +
A workaround is to rename the defines. For example PB3 would be renamed to PINB3.
}}
}}

Current revision

Contents

How do you change the configuration of the socket-LEDs

Take a look at the file Hardware/Enc28j60.h. You will find two #defines there (ENC28J60_LEDA, ENC28J60_LEDB) each one taking an initialization word for the LEDs. You can find the meaning of this word by reading the LED-section in the ENC28J60 datasheet. In case you just want to swap the LED-functions, just swap the two values and you will be fine.

Who do I ask in case of problems?

Look at the mikrocontroller.net-Forum. Although it's a German forum, you can also post there on english since there are a few english speaking people (including me ;)). You can also send me an EMail or something like that (See Wiki:General disclaimer).

What about modifications regarding the stack application?

You can freely modify the existing application. But you can also add other applications to the stack. Unfortunately there isn't so much space left in the Program-space which will make it hard to add a useful second application.

What input voltages are suitable for the MicroWebServer?

The used LM1117 needs at least 4.4V to generate the necessary 3.3V used in the circuit. The maximum input voltage is about 7V, mainly dependent on how much current you will draw on the 3.3V line.

How much current does the MicroWebServer draw?

It needs about 150mA, where most of this current is drawn by the ENC28J60 and the transformers connected to it. Since the ENC28J60 does also send current through those transformers, the current is not dependent on any send/receive activity.

My ENC28J60 gets pretty hot, is there something to worry about?

No, there is nothing to worry about. At least if you don't get hurt while checking it's temperature. It's just usual that the chip can get hot, since there is current flowing through the Ethernet-transformer and therefore flowing through the ENC28J60.

Is there any reason you are advertising the IT-WNS Shop?

No there is no specific reason, at least no financial one. Just that I don't have to care about people asking me about circuit-boards or parts, because IT-WNS is providing them.

What ethernet-jacks can be used together with the MicroWebServer

The board was originally designed to use it with the Magjack SI-60024-F. But there is a layout-alternative for using the HALO HFJ11-2450E-L12 and ERNI Modular Jack M3D01-203199. Thanks go to Thomas Heldt for this layout.

What do I have to pay attention to when using an ATmega328/P processor?

First of all the code has to be recompiled using the ATmega328/P as target processor.

It could be that there are problems with the PBx defines while compiling the code, because of a header file bug in the current version of the avr-libc. This problem is going to be solved in a next version of the avr-libc.

A workaround is to rename the defines. For example PB3 would be renamed to PINB3.

Personal tools
In other languages