LAN DS18B20 WEB Temperature Monitor 1 meter Cable
www.WEB-Relays.com
www.Facebook.com/KMtronic

UDP packet send from ESP8266 to KMtronic UDP LAN Relay board

      #include <ESP8266WiFi.h> #include <WiFiUdp.h> const char *ssid = “KMTRONIC”; const char *password = “12345678”; WiFiUDP Udp; unsigned int localUdpPort = 12345; // local port to listen on char incomingPacket[255]; // buffer for incoming packets char replyPacket[] = “Hi there! Got the message :-)”; // a reply string to send back void setup() . . .

Read More

Randomnerdtutorials: ESP8266 Controlled with Android App (MIT App Inventor)

  ESP8266 Controlled with Android App (MIT App Inventor)   #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <ESP8266mDNS.h> const char *ssid = “KMTRONIC”; const char *password = “12345678”; ESP8266WebServer server(80); const int led = D0; void handleRoot() { digitalWrite(led, 1); server.send(200, “text/plain”, “hello from esp8266!”); digitalWrite(led, 0); } void handleNotFound(){ digitalWrite(led, 1); String message = . . .

Read More

ESP8266 NodeMCU: KMtronic UART 8 Channel Relay Controller control

KMtronic UART 8 Channel Relay Controller control         void setup() { //Initialize serial and wait for port to open: Serial.begin(9600); } void loop() { for(uint8_t i=1; i < 9; i++ ){ KMtronic_Relay_ON(i); delay(50); } for(uint8_t i=1; i < 9; i++ ){ KMtronic_Relay_OFF(i); delay(50); } KMtronic_Relay_ON(1); delay(500); KMtronic_Relay_OFF(1); delay(500); KMtronic_Relay_ON(8); delay(500); KMtronic_Relay_OFF(8); delay(500); . . .

Read More

MFRC522 RFID Reader interfaced with NODEMCU

    #include <SPI.h> #include <MFRC522.h> #include <ESP8266WiFi.h> #define RST_PIN D2 // Configurable, see typical pin layout above #define SS_PIN D3 // Configurable, see typical pin layout above MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance // Thing Speak API server const char* myserver = “xxxxxxxxxx.com”; const char* resource = “/MFRC522-RFID-Reader/get.php?id=”; const char *ssid = “KMTRONIC”; . . .

Read More

KMtronic LAN WEB 8 Channel Relay board