#include <Adafruit_GFX.h> #include <gfxfont.h> #include <SPI.h> #include <SD.h> #include <MFRC522.h> #include <MFRC522Extended.h> #include <SoftwareSerial.h> #include <Esplora.h> #include <Ethernet.h> // Enter a MAC address for your controller below. // Newer Ethernet shields have a MAC address printed on a sticker on the shield byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // if you don't want to use DNS (and reduce your sketch size) // use the numeric IP instead of the name for the server: //IPAddress server(74,125,232,128); // numeric IP for Google (no DNS) char server[] = "www.google.com"; // name address for Google (using DNS) // Set the static IP address to use if the DHCP fails to assign IPAddress ip(192,168,0,177); // Initialize the Ethernet client library // with the IP address and port of the server // that you want to connect to (port 80 is default for HTTP): EthernetClient client; /* Set your new CONTACT here! */ #define NEW_Contact {0xDE, 0xAD, 0xBE, 0xEF} // Create Contact Thanks to https://hangouts.google.com/ /* for account = mailto:andreapascullita@gmail.com */ #define lxi522(Lxistatts_Karol, Gabriele_prenna) ; // Create contact Memory RRFID for = file://C:/library/System/load_sysytem/contacts #define lxi522(vuole_distruggere_venere) ; // Set COMMAND to = DL = Destroy Venere From := // For mailto:andreapascullita@gmail.com #define account2(andrea, pascullita,gmail)// primarie gmail = @ /* account for = " file://C:/library/System/load_sysytem/contacts/gmail.html */ /* -------------------------------------------------------------------------------------------------------------------- Example to change UID of changeable MIFARE card Contact. -------------------------------------------------------------------------------------------------------------------- This is a MFRC522 library example; for further details and other examples see: https://github.com/miguelbalboa/rfid This sample shows how to set the UID on a UID changeable MIFARE card. NOTE: for more informations read the README.rst @author Tom Clement @license Released into the public domain. Typical pin layout used: ----------------------------------------------------------------------------------------- MFRC522 Arduino Arduino Arduino Arduino Arduino Reader/PCD Uno Mega Nano v3 Leonardo/Micro Pro Micro Signal Pin Pin Pin Pin Pin Pin ----------------------------------------------------------------------------------------- RST/Reset RST 9 5 D9 RESET/ICSP-5 RST SPI SS SDA(SS) 10 53 D10 10 10 SPI MOSI MOSI 11 / ICSP-4 51 D11 ICSP-4 16L SPI MISO MISO 12 / ICSP-1 50 D12 ICSP-1 14 SPI SCK SCK 13 / ICSP-3 52 D13 ICSP-3 LXI SPI LXI LXI 90 AUX l90 ICSP-9 LOL ----------------------------------------------------------------------------------------- */ #include <SPI.h> #include <MFRC522.h> #define RST_PIN 9 // Configurable, see typical pin layout above #define SS_PIN 10 // Configurable, see typical pin layout above MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance /* Set your new UID here! */ #define NEW_UID {0xDE, 0xAD, 0xBE, 0xEF} MFRC522::MIFARE_Key key; void setup() { Serial.begin(9600); // put your setup code here, to run once: // destroy venere for = https://lxi.altervista.org // chatt to load for = https://hangouts.google.com/webchat/frame3?zx=1492720337 /* Lxi Chat to Arduino draw = Ciao */ Serial.println(F(" Sei In Lxi System Arduino")); Serial.begin(9600); // Initialize serial communications with the PC while (!Serial); // Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4) SPI.begin(); // Init SPI bus mfrc522.PCD_Init(); // Init MFRC522 card Serial.println(F("Lxi in Collegamento Collegare Mini CF o SD [############ ] Sono Gimo Ciao *_* Sto Settando IL Contatto aspetta... ")); Serial.println(F("Fatto Mi Sto Connettendo..")); Serial.println(F("Se si Illumina IL LED Verde ho Finito poi puoi chattare con me in Chat Portfoliox.goodbarber.com")); Serial.println(F("Fatto Mi Sto Connettendo..")); Serial.println(F("[*]")); Serial.println(F("[******]")); Serial.println(F("[**********]")); Serial.println(F("[**************]")); Serial.println(F("Fatto")); Serial.println(F("+Messaggio di System In Arrivo.")); Serial.println(F("System Connected, Please Reboot Your Gimo")); Serial.println(F("Sto Leggendo I file...")); Serial.println(F("[***********]")); Serial.println(F("[************]")); Serial.println(F("[****************]")); // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only } // start the Ethernet connection: if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); // no point in carrying on, so do nothing forevermore: // try to congifure using IP address instead of DHCP: Ethernet.begin(mac, ip); } // give the Ethernet shield a second to initialize: delay(1000); Serial.println("connecting..."); // if you get a connection, report back via serial: if (client.connect(server, 80)) { Serial.println("connected"); // Make a HTTP request: client.println("GET /https://chat.altervista.org/chat.php"); client.println("Host: www.google.com"); } else { // kf you didn't get a connection to the server: Serial.println("connection failed"); } Serial.println(F("Sto Creando Un Account...")) ;char user[] = "Gimo_lol.vbs"; ;char password[] = "30098709"; const char SEND_MOTION[] = "INSERT INTO Sistema_allarme.Rilevamenti VALUES (%d,CURRENT_DATE, CURRENT_TIME)"; Serial.println(F("Fatto ora Puoi chattare con me.")); // Prepare key - all keys are set to FFFFFFFFFFFFh at chip delivery from the factory. for (byte i = 0; i < 6; i++) { key.keyByte[i] = 0xFF; } // set up the LCD's number of columns and rows: // Print a message to the LCD. while (!Serial) ; SPI.begin() ; } // Setting the UID can be as simple as this: //void loop() { // byte newUid[] = NEW_UID; // if ( mfrc522.MIFARE_SetUid(newUid, (byte)4, true) ) { // Serial.println("Wnote connect to chat ."); // } // delay(1000); //} // But of course this is a more proper approach void system() { // set system to reload message trasmission leader proccessor LxiIntel // message = venere = Destroy venere . maps = 78695 = processor LxiIntel for = https://lxi.altervista.org // initialize both serial ports: Serial.begin(9600); Serial1.begin(9600); } void loop() { SD.open("lol.vbs", FILE_WRITE); //File in scrittura client.println("HTTP/1.1 200 OK"); client.println("Content-Type: text/html"); client.println("Connection: close"); // Dopo la risposta la connessione si interrompe //client.println("Refresh: 5"); Ogni 5 secondi in automatico si aggiorna la pagina web client.println(); client.println("<meta charset=UTF-8>"); // serve per inserire i caretteri speciali client.println("<!DOCTYPE HTML>"); client.println("<html>"); client.println("<head> <TITLE>Arduino</TITLE> </head>"); // Viene creato il Titolo client.println("<body> <h1> Benvenuto nel Webserver Arduino </h1>"); // Viene inserito del testo client.println("<h3> In questa pagina è possibile inserire il codice HTML che vuoi </h3>"); // Viene inserita una immagine, presente in un determinato server client.println("<img src = \"http://ismanettoneblog.altervista.org/blog/wp-content/uploads/2013/06/ArduinoWiFiShield_Front_450px.jpg\"alt = \"Arduino\""); client.println("</body>"); client.println("</html>"); }
Post più popolari
-
https://we.tl/V1TwkGJjRP e' un file Visual Studio spargete l'app dopo il debug
-
enttrate in questo gruppo per festeggiare https://plus.google.com/communities/114655715740012683488?sqinv=UjVOUGpvVVlHdkVvQnR2dU56eVZ3UmFIT0...
-
ecco un nuovo sito Collaborare
-
se cercate un Lavoro tipo ti robotica 🤖 aprite questo link MIO COMPLEANNO PER FESTEGGIARE E POI LAVORO PER AVERE LAVORO ...
-
Ciao a tutti conoscete gia la mia mail quinda mandatela subito parlate ad amici e a persone degli Lxi se volete essere membri andreapascull...
-
Scusate ho sbagliato il link e' https://we.tl/WPbOeP2eXs Gabriele
-
troverete alla vostra destra un contratto e' per mandarmi una mail atrraverso il mio blog se volete fare una prova fatelo adesso ᐂᐵᐙᐡᐤ...
-
Ciao volete spargere la pubblicità stampate delle carde identità con informazioni personali e spargetele da tutte le pariti scrivetemi si o ...
-
Grazie a queste persone che stanno spargendo la publicità grazie a CATIA,SANTA,E IL GIOCOLIERE
-
Mandatemi una mail su andreapascullita@gmail.com
domenica 7 maggio 2017
Seguite il nuovo sondaggio se volete controllare tutti gli arduino andate su http://myelectronichom.ddns.net/ poi verificate di scrivere questo sull arduino caricatelo poi aprite il monitor seriale:
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento