Bouclier Ethernet Geekcreit W5100 R3 Prise en charge PoE pour UNO Mega 2560 Nano
$59,88
Description
.
La description:
The Ethernet Shield for connects your to the internet in mere minutes. Just plug this module onto your board, connect it to your network with an RJ45 cable(not included) and follow a few simple instructions to start controlling your world through the internet. As always with , every element of the platform e hardware, software and documentation e is freely available and open-source. This means you can learn exactly how it's made and use its design as the starting point for your own circuits. Hundreds of thousands of boards are already fueling peoplees creativity all over the world, everyday.
Le bouclier Ethernet pour permet e une carte de se connecter e Internet. Il est base sur la puce Ethernet Wiznet W5100. Le Wiznet W5100 fournit une pile reseau (IP) capable e la fois de TCP et d'UDP. Il prend en charge jusqu'e quatre connexions de socket simultanees. Utilisez la bibliotheque Ethernet pour ecrire des croquis qui se connectent e Internet e l'aide du bouclier. Le blindage Ethernet se connecte e une carte e l'aide de longs en-tetes e enroulement qui s'etendent e travers le blindage. Cela garde la disposition des broches intacte et permet e un autre bouclier d'etre empile sur le dessus.
Specification:
Requires an board (not included)
Tension de service 5V (fournie par la carte)
Ethernet controller: W5100 with internal 16K buffer
Vitesse de connexion: 10 / 100Mb
Connection with on SPI port
Fonctionnalite:
The most recent revision of the board exposes the 1.0 pinout on rev 3 of the UNO board.
L'Ethernet Shield a une connexion RJ-45 standard, avec un transformateur de ligne integre et Power over Ethernet active.
There is an onboard micro-SD card slot, which can be used to store files for serving over the network. It is compatible with the Uno and Mega (using the Ethernet library). The onboard microSD card reader is accessible through the SD Library. When working with this library, SS is on Pin 4. The original revision of the shield contained a full-size SD card slot; this is not supported.
Le blindage comprend egalement un contreleur de reinitialisation, pour garantir que le module Ethernet W5100 est correctement reinitialise e la mise sous tension. Les revisions precedentes du bouclier n'etaient pas compatibles avec le Mega et doivent etre reinitialisees manuellement apres la mise sous tension.
The current shield has a power over Ethernet (PoE) coneu pour extraire l'energie d'un ceble Ethernet classique e paire torsadee de categorie 5:
Conforme IEEE802.3af
Ondulation et bruit de sortie faibles (100 mVpp)
Plage de tension d'entree 36V e 57V
Protection contre les surcharges et les courts-circuits
Sortie 9V
Convertisseur DC / DC e haut rendement: typ 75% e 50% de charge
Isolation 1500V (entree vers sortie)
Le bouclier Ethernet R3 pour contient un certain nombre de voyants d'information:
PWR: indicates that the board and shield are powered
LINK: indique la presence d'un lien reseau et clignote lorsque le bouclier transmet ou reeoit des donnees
FULLD: indicates that the network connection is full duplex
100M: indique la presence d'une connexion reseau e 100 Mb / s (contre 10 Mb / s)
RX: flashes when the shield receives data
TX: clignote lorsque le bouclier envoie des donnees
COLL: flashes when network collisions are detected
Re :
Le cavalier e souder eINTe peut etre connecte pour permettre e la carte de recevoir une notification d'evenement declenchee par interruption du W5100, mais cela n'est pas pris en charge par la bibliotheque Ethernet. Le cavalier connecte la broche INT du W5100 e la broche numerique 2 du.
Emballage inclus:
1 x bouclier Ethernet compatible R3
Code source:
/ *
* Serveur Web
*
* Un serveur Web simple qui montre la valeur des broches d'entree analogiques.
* /
#comprendre
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192, 168, 0, 15 };
Serveur serveur (80);
void setup()
{
Ethernet.begin (mac, ip);
server.begin();
}
boucle vide ()
{
Client client = serveur disponible ();
if (client) {
// une requete https se termine par une ligne vide
boolean current_line_is_blank = true;
while (client.connected()) {
if (client.available()) {
char c = client.read ();
// if we've gotten to the end of the line (received a newline
// caractere) et la ligne est vide, la requete https est terminee,
// so we can send a reply
if (c == 'n' && current_line_is_blank) {
// envoyer un en-tete de reponse https standard
client.println ("HTTP/1.1 200 OK");
client.println ("Type de contenu: texte / html");
client.println();
// output the value of each analog input pin
client.print ("bienvenue chez tinyos");
client.println ("
");
client.print("//*************************************");
client.println ("
");
client.print;
client.println ("
");
client.print("//*************************************");
client.println ("
");
for (int i = 0; i < 6; i++) {
client.print ("entree analogique");
client.print(i);
client.print ("est");
client.print(analogRead(i));
client.println ("
");
}
Pause;
}
if (c == 'n') {
// nous commeneons une nouvelle ligne
current_line_is_blank = true;
} else if (c != 'r') {
// nous avons un caractere sur la ligne courante
current_line_is_blank = false;
}
}
}
client.stop ();
}
}