Categories

Archives

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

RC522

Code

#include <SPI.h> #include <MFRC522.h> #include <ESP8266WiFi.h> #include <ESP8266WiFiMulti.h> #include <ESP8266HTTPClient.h> #include <Wire.h> #include “SSD1306Ascii.h” #include “SSD1306AsciiWire.h”

// 0X3C+SA0 – 0x3C or 0x3D #define I2C_ADDRESS 0x3C

SSD1306AsciiWire oled; //——————————————————————————

const String PROGRAM_VERSION = “60101500”; String pp = PROGRAM_VERSION + “>> “;

String webload; ESP8266WiFiMulti WiFiMulti; const char* ssid = “ddcard”; const char* password = […]

EMON

Code

// EmonLibrary examples openenergymonitor.org, Licence GNU GPL V3 // SICC_EMON v2

#include <ESP8266WiFi.h> #include <ESP8266WiFiMulti.h> #include <ESP8266HTTPClient.h>

String ResponseControl(void); const char* ssid =”pichet-wifi”; const char* password =””;

#include “EmonLib.h” // Include Emon Library EnergyMonitor emon1; // Create an instance

ESP8266WiFiMulti WiFiMulti;

void setup() { Serial.begin(9600);

emon1.current(1, 111.1); // Current: input pin, calibration. for(uint8_t t […]

ESP8266 แจ้งเตือนเข้า LINE

ที่มา: https://www.ioxhop.com/article/47/esp8266-esp8285-%E0%B8%81%E0%B8%B1%E0%B8%9A%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%AA%E0%B9%88%E0%B8%87%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%81%E0%B8%88%E0%B9%89%E0%B8%87%E0%B9%80%E0%B8%95%E0%B8%B7%E0%B8%AD%E0%B8%99%E0%B9%80%E0%B8%82%E0%B9%89%E0%B8%B2-line

การต่อ OLED กับ WeMOS D1

อุปกรณ์ที่ต้องมี

WeMos D1 OLED I2C

Library

 

การติดตั้ง Library

http://www.praphas.com/forum/index.php?topic=312.0

 

การต่อสาย

[…]