12V Thermostat Temperature Controller with NTC Sensor [S238]




https://www.youtube.com/watch?v=WA48OBo7E0Y


* Specs

Features:

 Used advanced micro-computer technology

 Built-in 3 LED display windows, start temp, realtime temp and stop temp

 Switch to heating or cooling mode automatically

 Relay output separately, can control 1000W device

 It is easily to install

 Temperature Measurement Range: -9-99℃

 Measuring Accuracy: ±1℃

 Control Accuracy: 1℃

 Meaturement Input: NTC(10K. 0.5%) waterproof type sensor

 Input Voltage: DC12V

 Output: 10 a relay all the way

 Size: Approx. 7.2cm x 5.1cm x 2cm/ 2.83" x 2" x 0.78"


Package included:

 1 x 12V Digital Led Temperature Controller

 1 x NTC Temp Sensor

 1 x Manual


 * Contents

 - Input DC 12V 

 - Relay Output AC 220V, DC 12V 

 - Start (On), Stop (Off)

Posted by RDIoT
|

WeMos D1 Wifi Uno ESP8266 esp-12e [B175]



https://www.youtube.com/watch?v=WS91LpeA6QM


*GitHubhttps://github.com/rdiot/rdiot-b175.git


* Specs

Microcontroller ESP-8266EX

Operating Voltage 3.3V

Digital I/O Pins 11

Analog Input Pins 1(Max input: 3.2V)

Clock Speed 80MHz/160MHz

Flash 4M bytes

Length 68.6mm

Width 53.4mm

Weight 25g

OTA -- Wireless Upload(Program)

On board switching power supply -- Max 24V input, 5V 1A output

Support Ard uino IDE


Pin Function ESP-8266 Pin

TX TXD TXD

RX RXD RXD

A0 Analog input, max 3.3V input A0

D0 IO GPIO16

D1 IO, SCL GPIO5

D2 IO, SDA GPIO4

D3 IO, 10k Pull-up GPIO0

D4 IO, 10k Pull-up, BUILTIN_LED GPIO2

D5 IO, SCK GPIO14

D6 IO, MISO GPIO12

D7 IO, MOSI GPIO13

D8 IO, 10k Pull-down, SS GPIO15

G Ground GND

5V 5V -

3V3 3.3V 3.3V

RST Reset RST


* Contents

- Board Setup

http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json


- WebMos XI

https://www.wemos.cc/tutorial/getting-started-wemos-xi.html

https://github.com/wemos/Arduino_XI/archive/master.zip


- Key Code (example : helloServer)

#include <ESP8266WiFi.h>

#include <WiFiClient.h>

#include <ESP8266WebServer.h>

#include <ESP8266mDNS.h>

 

const char* ssid = "AP-B-2.4G";

const char* password = "32903290";

 

ESP8266WebServer server(80);

 

const int led = 13;

 

void handleRoot() {

  digitalWrite(led, 1);

  server.send(200, "text/plain", "hello RDIoT Wemos D1 Server Test from esp8266!");

  digitalWrite(led, 0);

}

 

void handleNotFound(){

  digitalWrite(led, 1);

  String message = "File Not Found\n\n";

  message += "URI: ";

  message += server.uri();

  message += "\nMethod: ";

  message += (server.method() == HTTP_GET)?"GET":"POST";

  message += "\nArguments: ";

  message += server.args();

  message += "\n";

  for (uint8_t i=0; i<server.args(); i++){

    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";

  }

  server.send(404, "text/plain", message);

  digitalWrite(led, 0);

}

 

void setup(void){

  pinMode(led, OUTPUT);

  digitalWrite(led, 0);

  Serial.begin(115200);

  WiFi.begin(ssid, password);

  Serial.println("");

 

  // Wait for connection

  while (WiFi.status() != WL_CONNECTED) {

    delay(500);

    Serial.print(".");

  }

  Serial.println("");

  Serial.print("Connected to ");

  Serial.println(ssid);

  Serial.print("IP address: ");

  Serial.println(WiFi.localIP());

 

  if (MDNS.begin("esp8266")) {

    Serial.println("MDNS responder started");

  }

 

  server.on("/", handleRoot);

 

  server.on("/rdiot", [](){

    server.send(200, "text/plain", "Hi I'm RD IoT...");

  });

 

  server.onNotFound(handleNotFound);

 

  server.begin();

  Serial.println("HTTP server started");

}

 

void loop(void){

  server.handleClient();

}

Posted by RDIoT
|

4x3 Matrix 12 Key Membrane Switch Keypad [S228]



https://www.youtube.com/watch?v=15Asj5XZBlg


* Specs

Pad Size: 69.2 x 76.9 x 0.8mm

Cable Length: 3-1/3" or 86mm (include connector)

Connector: Dupont 7 pins, 0.1" (2.54mm) Pitch

Mount Style: Self-Adherence

Max. Circuit Rating: 35VDC, 100mA

Insulation Spec.: 100M Ohm, 100V

Dielectric Withstand: 250VRms (60Hz, 1min)

Contact Bounce: <=5ms

Life Expectancy: 1 million closures

Operation Temperature: -20 to +40 °C

 

Package:

1PCS X4 x 3 Matrix Array 12 Key Membrane Switch Keypad Keyboard

 

* Contents

- LIbrary : http://playground.arduino.cc/uploads/Code/keypad.zip

- Connect

7 ----- D9

6 ----- D8

5 ----- D7

4 ----- D6

3 ----- D5

2 ----- D4

1 ----- D3


- Key Code

#include <Keypad.h>

const byte ROWS = 4; //four rows

const byte COLS = 3; //four columns

//define the cymbols on the buttons of the keypads

char hexaKeys[ROWS][COLS] = {

 {'1','2','3'},

 {'4','5','6'},

 {'7','8','9'},

 {'*','0','#'}

};

byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the row pinouts of the keypad

byte colPins[COLS] = {5, 4, 3}; //connect to the column pinouts of the keypad

//initialize an instance of class NewKeypad

Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);

void setup(){

 Serial.begin(9600);

}

 

void loop(){

 char customKey = customKeypad.getKey();

 

 if (customKey){

 Serial.println(customKey);

 }

}

Posted by RDIoT
|