'2) Sensor'에 해당되는 글 153건

  1. 2016.09.08 Mini Mercury Switch Module (KY-017) [S049]
  2. 2016.09.08 Tilt SW-520D Sensor (SW-520D) [S067]
  3. 2016.09.08 Tilt SW-200D Sensor (W-200D) [S051]
  4. 2016.09.08 Ultrasonic Ranging Module (HC-SR04) [S011]
  5. 2016.09.08 ML8511 UV Sensor (GYML8511) [S083]
  6. 2016.09.08 Load CDS sensor type values into DB by calling server API [P001]
  7. 2016.09.08 Auto On Off Photo Switch (AS-10-220) [S157]
  8. 2016.09.08 BH1750 Digital Light intensity Sensor Module (GY-302) [S085]
  9. 2016.09.08 Photo Resistor Module (KY-018) [S002]
  10. 2016.09.08 Mini Photocell (FIT0180) [S001]
  11. 2016.09.08 CDS5MM~CDS20MM Value [S003~S006]
  12. 2016.09.07 Temperature and humidity DHT22 (DHT22) [S063]
  13. 2016.09.07 Wind Speed Sensor 0~5V Voltage Type (JL-FSX2) [S163]
  14. 2016.09.07 G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]
  15. 2016.09.07 Water Level Sensor v1.0 [S094]
  16. 2016.09.07 Raindrops Detection Sensor Modue (FC-37) [S072]
  17. 2016.09.07 Water Level Sensor [S028]
  18. 2016.09.07 Soil Moisture Detection Control Module (FC-28) [S022]
  19. 2016.09.07 SI7021 Humidity Sensor (GY-21) [S068]
  20. 2016.09.07 MAX6675 Module + K Type Thermocouple Thermocouple Sensor (MAX6675) [S080]
  21. 2016.09.07 Infrared Thermometer MLX90614 (GY-906) [S034]
  22. 2016.09.07 Voice Recognition Module V3 [S134]
  23. 2016.09.05 QRD1114 Reflective Object Sensor (QRD1114) [S210]
  24. 2016.09.03 Temperature and humidity DHT11 sensor module (KY-015) [S008]
  25. 2016.09.02 Multifunctional Digital Temperature Sensor Module LM393 (KY-028) [S021]
  26. 2016.09.02 Analog Temperature Sensor (KY-013) [S020]
  27. 2016.09.02 Terminal sensor adapter (DFR0055) [S093]
  28. 2016.09.02 DS18b20 Waterproof Temperature Sensor (DS18B20) [S023]
  29. 2016.09.02 DS18B20 (KY-001) [S019]
  30. 2016.09.02 TMP36 (TMP36GT9Z) [S071]

Mini Mercury Switch Module (KY-017) [S049]



https://www.youtube.com/watch?v=TzuxDa6xQ-g


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


* Specs

Working voltage: 3.3V~5V

digital switch output (0 & 1)

High sensitivity

With fixed bolt hole for easy installation

Works with Official Arduino Boards

Application: For Arduino DIY project

Forum link: https://www.facebook.com/123Neonado

Material PCB

Dimensions: 31 x 15 x 8 mm / 1.22 x 0.59 x 0.31 inch

Weight: 2 g / 0.07 oz

Color: Black


* Contents

- Connect

- ----- GND

middle ----- 5V

S ----- D2


- Key Code

int pin = 2;

int val = digitalRead(pin);


  if(val == LOW)

  { 

    lcd.setCursor(0,2);

    lcd.print("Tilt CLOSE");

  }

  else

  {

    lcd.setCursor(0,2);

    lcd.print("Tilt OPEN ");  

  }

Posted by RDIoT
|

Tilt SW-520D Sensor (SW-520D) [S067]



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


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


* Specs

Max voltage : 20V 

Max current : 0.3A


* Contents

- Connect

1 ---- 5V

2 ----- R220 ----- D2

           ------ GND


- Key Code

int pin = 2;

int val = digitalRead(pin);


if(val == LOW)

  lcd.setCursor(0,2);

  lcd.print("Tilt CLOSE");

}

else

{

  lcd.setCursor(0,2);

  lcd.print("Tilt OPEN ");  

}

Posted by RDIoT
|

Tilt SW-200D Sensor (W-200D) [S051]



https://www.youtube.com/watch?v=Awp-0iWdAm4


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


* Specs

the switch using metal manufacturing, electrical characteristics and mercury switches are similar but not the risk of mercury switches and environmental issues, while shaking unidirectional conducting the same characteristics, the assembly of the use of more convenient and safe;

Operating Characteristics: Switch in the stationary state, as shown in Figure (ON) side below the level of 15 degrees, the switch is in the ON state; when (OFF) side below the level of 15 degrees, the switch is in the OFF state; when achieved by external shaking shaking force, or set the conduction angle, the conductive pin electrical characteristics will produce short or continuous conduction.

when the electrical characteristics of the open state to be restored (OFF) when the switch is set to the environment must be static, and the (OFF) is set to be lower than the level of the open end angle;

the switch all materials are manufactured using environmentally friendly raw materials, in line with ROHS requirements;

when the switch below the horizontal angle of 15 degrees, shaking hard trigger conduction;

the trigger switch for low current circuit, does not apply when the power switch;

this switch is a sealed package, dustproof and waterproof.

The switch is lacoste type better than the single bead type conduction effect


Maximum operating voltage (Vmax): 12V

Maximum operating current (Imax): 2mA

Open resistance: greater than 10M

Resistance: less than 5 ohm

Ambient temperature: less than 100 degrees

Life: 500,000 times


* Contents

- Connect

1 ---- 5V

2 ----- R220 ----- D2

           ------ GND


- Key Code

int pin = 2;

int val = digitalRead(pin);


if(val == LOW)

  lcd.setCursor(0,2);

  lcd.print("Tilt CLOSE");

}

else

{

  lcd.setCursor(0,2);

  lcd.print("Tilt OPEN ");  

}

Posted by RDIoT
|

Ultrasonic Ranging Module (HC-SR04) [S011]



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


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


* Specs

Working Voltage DC 5 V

Working Current 15mA

Working Frequency 40Hz

Max Range 4m

Min Range 2cm

MeasuringAngle 15 degree

Trigger Input Signal 10uS TTL pulse

Echo Output Signal Input TTL lever signal and the range in proportion

Dimension 45*20*15mm


* Contents

VCC - 5V

Trig - D8 

Echo - D9

GND - GND


- Key Code

#include "U8glib.h"

U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE);


const int TriggerPin = 8; //Trig pin

const int EchoPin = 9; //Echo pin

long Duration = 0;

long Distance_mm = 0;


void setup() {

  pinMode(TriggerPin, OUTPUT); // Trigger is an output pin

  pinMode(EchoPin, INPUT); // Echo is an input pin

  Serial.begin(9600); // Serial Output

}


void loop(void) {

  digitalWrite(TriggerPin, LOW);

  delayMicroseconds(2);

  digitalWrite(TriggerPin, HIGH); // Trigger pin to HIGH

  delayMicroseconds(10); // 10us high

  digitalWrite(TriggerPin, LOW); // Trigger pin to HIGH


  Duration = pulseIn(EchoPin, HIGH); // Waits for the echo pin to get high

  Distance_mm = Distance(Duration); // Use function to calculate the distance


  Serial.print("Distance = "); // Output to serial

  Serial.print(Distance_mm);

  Serial.println(" mm");


  // picture loop

  u8g.firstPage();  

  do {

    draw();

  } while( u8g.nextPage() );

  // rebuild the picture after some delay

  delay(500);

}


long Distance(long time)

{

  // Calculates the Distance in mm

  // ((time)*(Speed of sound))/ toward and backward of object) * 10


  long DistanceCalc; // Calculation variable

  DistanceCalc = ((time / 2.9) / 2); // Actual calculation in mm

  //DistanceCalc = time / 74 / 2; // Actual calculation in inches

  return DistanceCalc; // return calculated value

}


'2) Sensor > Distance' 카테고리의 다른 글

Infrared distance sensor (GP2Y0A21YK0F) [S036]  (0) 2019.02.23
Posted by RDIoT
|

ML8511 UV Sensor (GYML8511) [S083]

 


 

https://www.youtube.com/watch?v=R-o1q9Vmtk4


*GitHub : https://github.com/rdiot/rdiot-s083.git

 

* Specs
The ML8511 breakout is an easy to use ultraviolet light sensor. The MP8511 UV (ultraviolet) Sensor works by outputing an analog signal in relation to the amount of UV light that's detected.
This breakout can be very handy in creating devices that warn the user of sunburn or detect the UV index as it relates to weather conditions.
This sensor detects 280-390nm light most effectively.
This is categorized as part of the UVB (burning rays) spectrum and most of the UVA (tanning rays) spectrum.
It outputs a analog voltage that is linearly related to the measured UV intensity (mW/cm2).
If your microcontroller can do an analog to digital signal conversion then you can detect the level of UV!

 

* Contents
- Connect
VIN ----- X
3V3 ----- 3.3V
GND ----- GND
OUT ----- A0
EN ----- A1

 

- Key Code
int UVOUT = A0; //Output from the sensor
int REF_3V3 = A1; //3.3V power on the Arduino board

 

int uvLevel = averageAnalogRead(UVOUT);
int refLevel = averageAnalogRead(REF_3V3);

 

//Use the 3.3V power pin as a reference to get a very accurate output value from sensor
float outputVoltage = 3.3 / refLevel * uvLevel; 
float uvIntensity = mapfloat(outputVoltage, 0.99, 2.9, 0.0, 15.0);

 

lcd.print("uv=" + (String)uvIntensity + "(mW/cm^2)");


//The Arduino Map function but for floats
float mapfloat(float x, float in_min, float in_max, float out_min, float out_max)
{
  return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min;
}

Posted by RDIoT
|

Load CDS sensor type values into DB by calling server API [P001]


 



 

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


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

 

* Contents

- API Call and Save the CDS Values to the API Server.

 

- Result
2391 S001       ArduinoUno   W5100         Ethernet     MiniPhotocell       2015-10-08 00:22:34 F01                  513 0~1023           
2392 S002       ArduinoUno   W5100         Ethernet     PhotoResistorModule 2015-10-08 00:22:36 F01                  343 0~1023           
2393 S003       ArduinoUno   W5100         Ethernet     CDS5MM               2015-10-08 00:22:37 F01                 829 0~1023           
2394 S004       ArduinoUno   W5100         Ethernet     CDS10MM             2015-10-08 00:22:38 F01                  702 0~1023           
2395 S005       ArduinoUno   W5100         Ethernet     CDS15MM             2015-10-08 00:22:39 F01                  957 0~1023           
2396 S006       ArduinoUno   W5100         Ethernet     CDS20MM             2015-10-08 00:22:41 F01                  959 0~1023           

 

- Key Code
#include <SPI.h>
#include <Ethernet.h>

/* --------------------------------------------------------------------
*  Ethernet Config
* -------------------------------------------------------------------*/
byte mac[] = { 0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02 }; //MAC Address
char server[] = "54.65.30.222"; //API Server
String s_data1 = ""; // Request Data
int led_green = 6; // Connect LED ON
int led_red = 7; // DisConnect LED ON


EthernetClient client;

connect_server();

 s_data1 = "sensor_id=S001&";
 s_data1 += "sensor_board=ArduinoUno&";
 s_data1 += "sensor_shield=W5100&";
 s_data1 += "sensor_comm=Ethernet&";
 s_data1 += "sensor_name=MiniPhotocell&";
 s_data1 += "sensor_func=F01&";
 s_data1 += "sensor_value=" + (String)analogRead(A0) + "&";
 s_data1 += "sensor_value_desc=0~1023";
 Serial.println("S001-"+ (String)analogRead(A0));


if (client.connected())
 {
  Serial.println("c1");
  client.println("POST /iotHome-api/v1/sensor/post-form2xml-mysqldb HTTP/1.0");
  client.println("Host: 54.65.30.222");
  client.println("User-Agent: Arduino");
  client.println("Connection: close");
  client.println("Content-Type: application/x-www-form-urlencoded");
  client.print("Content-Length: ");
  client.println(s_data1.length());
  client.println();
  client.println(s_data1);

  digitalWrite(led_green, HIGH);
  delay(100);
  digitalWrite(led_green, LOW);
 }
 else
 {
  digitalWrite(led_red, HIGH);
  delay(1000);
  digitalWrite(led_red, LOW);
 }
 delay(1000);

Posted by RDIoT
|

Auto On Off Photo Switch (AS-10-220) [S157]

 

 

 

https://www.youtube.com/watch?v=8xIMZTtYBdg

* Specs
To turn on or off the light in day and night without manual operation
Do not install the control unit in a place extremely darker in daytime or a place directly by lighting of turning - ON lamp
Widely used: street light, highway, factories, garden, ports, airports, farm, parks, schools, and other places. Also can fit into solar lamps and lanterns, or cars, motorcycles, electric cars and other power supply voltage is 220V lamps and lanterns or equipment
Easy to install and Convenient to use
Model:AS-10-220
Input Voltage: DC or AC 220V
Max Load Current: 10A
Size:(approx)5 x 4.2 x3.5cm/1.96"x1.65"x1.37"
Frequency:50-60Hz

 

* Contents
AC Auto On/Off Test

 

- Connect
Black - LINE
White - NEUT
Red - LOAD

Posted by RDIoT
|

BH1750 Digital Light intensity Sensor Module (GY-302) [S085]

 

 

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


*GitHub https://github.com/rdiot/rdiot-s085.git

* Specs
Model: GY-302
Chip: BH1750FVI
Power supply :3-5V
Data output range resembles luminance from 0-65535 lux
I2C Interface
No external parts required
Dimensions: 13.9mm X 18.5mm

 

* Contents
- DataSheet : http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1750fvi-e.pdf
- Library : https://github.com/claws/BH1750

- Connect
VCC ----- 5V(3.3V)
GND ----- GND
SCL ----- A5
SDA ----- A4
ADD ------ X

- Key Code
#include <BH1750.h>
BH1750 lightMeter;
lightMeter.begin();
uint16_t lux = lightMeter.readLightLevel();
lcd.print("Light=" + (String)lux + " lx   ");

Posted by RDIoT
|

Photo Resistor Module (KY-018) [S002]


 

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


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

 

* Specs
Photoresistors are semiconductor photosensitive devices,
in addition to having high sensitivity, fast response, consistent with the spectral characteristics and value of good features, but at a high temperature, and humidity in harsh environments, but also to maintain
a high degree of stability and reliability, wide pan used cameras, solar garden lights, lawn, detectors, clock, music, cups, gift boxes, mini-Night light, light voice switches, lights automatically switch toys and a variety of light control, light control lighting, lamps and other light automatic opening OFF control field


* Contents
- Connect
S - A1
middle - 5V
- GND

 

- Key Code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
 
LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004
 
int sensorPin1 = A0;
int sensorPin2 = A1; //S002
 
void setup()
{
  lcd.init();  // initialize the lcd
  lcd.backlight();
  lcd.print("start LCD2004");
}
 
void loop()
{
  int rate1 = analogRead(sensorPin1);
  int rate2 = analogRead(sensorPin2);

  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("[1]CDS05MM=" + (String)rate1);
  lcd.setCursor(0,1);
  lcd.print("[2]KY-018=" + (String)rate2);
 
  delay(200);
}

Posted by RDIoT
|

Mini Photocell (FIT0180) [S001]

 

 

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


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

 


* Specs
Head Diameter:              5mm
Voltage:                    5V 
Power Consumption:          70mW
Operating Temperature:      -25~+85
Storage Temperature:        -40~+100
Soldering Temperature:      260(<3s)

 

* Contents
- Connect
Short ----- 5V
Long  ----- P10K ----- GND

 

- Key Code
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

 

LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004

 

int sensorPin = A0;

 

void setup()
{
  lcd.init();  // initialize the lcd
  lcd.backlight();
  lcd.print("start LCD2004");
}

 

void loop()
{
  int rate = analogRead(sensorPin);

  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("S001:FIT0180");
  lcd.setCursor(0,1);
  lcd.print("CDS Value=" + (String)rate);
 
  delay(200);
}

Posted by RDIoT
|

CDS5MM~CDS20MM Value [S003~S006]



https://www.youtube.com/watch?v=660-OrdtU4E


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


* Contents

- Connect

A0, A1, A2, A3


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004


int sensorPin1 = A0;

int sensorPin2 = A1;

int sensorPin3 = A2;

int sensorPin4 = A3;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD2004");

}


void loop()

{

  int rate1 = analogRead(sensorPin1);

  int rate2 = analogRead(sensorPin2);

  int rate3 = analogRead(sensorPin3);

  int rate4 = analogRead(sensorPin4);


  lcd.clear();

  lcd.setCursor(0,0);

  lcd.print("[1]CDS05MM=" + (String)rate1);

  lcd.setCursor(0,1);

  lcd.print("[2]CDS10MM=" + (String)rate2);

  lcd.setCursor(0,2);

  lcd.print("[3]CDS15MM=" + (String)rate3);

  lcd.setCursor(0,3);

  lcd.print("[4]CDS20MM=" + (String)rate4);


  delay(200);

}


Posted by RDIoT
|

Temperature and humidity DHT22 (DHT22) [S063]



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


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


* Specs

The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Simply connect the first pin on the left to 3-5V power, the second pin to your data input pin and the right most pin to ground. Although it uses a single-wire to send data it is not Dallas One Wire compatible! If you want multiple sensors, each one must have its own data pin!

 

Compared to DHT11,this sensor is more precise, more accurate and works in a bigger range of temperature/humidity, but its larger and more expensive

Comes with a 4.7K - 10K resistor, which you will want to use as a pullup from the data pin to VCC.

 

Temperature

Resolution : 0.1°C

Accuracy : ±0.5℃

Measuring range : -40°C ~ 80°C

Humidity

Resolution : 0.1%RH

Accuracy : ±2%RH (25°C)

Measuring range : 0%RH ~ 99.9%RH

Operating voltage : 3.3V ~ 5.5 V

Recommended storage condition

Temperature : 10°C ~40°C

Humidity : 60%RH 



* Content

- Connect

1 ----- 5V

2 ----- D2

3 ----- X (NC Not connected)

4 ----- GND


- DataSheet : http://www.waveshare.com/wiki/File:AM2302.pdf


- Source : http://www.waveshare.com/wiki/File:DHT22-Temperature-Humidity-Sensor-code.7z 


- Key Code

#define DHTPIN 2


DHT dht(DHTPIN, DHT22);


  switch(dht.read())

  {

    case DHT_OK:


    lcd.setCursor(0,1);

    lcd.print("temperature=" + (String)dht.temperature + "'C");


    lcd.setCursor(0,2);

    lcd.print("humidity=" + (String)dht.humidity + "% ");



      break;

  }

Posted by RDIoT
|

Wind Speed Sensor 0~5V Voltage Type (JL-FSX2) [S163]



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


*GitHub : https://github.com/rdiot/rdiot-s163.git


* Specs

Signal output, Current signal, Pulse signal, Voltage signal, RS485/232 signal

Signal output way: 4 ~ 20 mA, 1.5 / M * S, 0 ~ 5 V, 1 ~ 5 V, RS485/232

Input voltage: DC24V/DC12V/DC5V

Response time: < 1 S

Transmission distance: > 1km

Measurement range: 0 ~ 5 M/S, 0 ~ 30 M/S, 0 ~ 50 M/S ( choose)

Measurement accuracy: Plus or minus 3%

Start wind speed: < 0.6 M/S

Environment temperature: E: -35 ~ 85 C (often-used) L: -55 to 150 C

Level position: + 80 Rotation, with a hammer, automatically adjust the horizontal position

Potential lead: Three wire or two wire

Material: Aluminum alloy, the surface waterproof, prevent corrosion treatment.

Other matters: Optional configuration RS485 communication output or RS232 output


* Content

- Connect

LH (GND), RH(VCC) <- External VCC 9V~

RB (Volate) -----> A0

LH GND -----> Arduino GND


- Key Code

int sensorValue = analogRead(A0);

float outvoltage = sensorValue * (5.0 / 1023.0);

int Level = 6*outvoltage;//The level of wind speed is proportional to the output voltage.

lcd.print("wind speed " + (String)Level + " Level");


Posted by RDIoT
|

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]



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


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


* Specs

Mini. Wokring Voltage: DC 4.5V

Max. Working Current: 15mA (DC 5V)

Working Voltage: DC 5V~24V

Flow Rate Range: 1~30L/min

Load Capacity: ≤10mA (DC 5V)

Operating Temperature: ≤80℃

Liquid Temperature: ≤120℃

Operating Humidity: 35%~90%RH 

Water Pressure: ≤1.75MPa

Storage Temperature: -25~+ 80℃

Storage Humidity: 25%~95%RH


* Content

- Connect

Red ---- 5V

Yellow ----- P10k(5V) ----- D2

Black ----- GND


- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,20,4);  // LCD2004


volatile int NbTopsFan; //measuring the rising edges of the signal

int Calc;                               

int hallsensor = 2;    //The pin location of the sensor : D2

 

void rpm ()     //This is the function that the interupt calls 

  NbTopsFan++;  //This function measures the rising and falling edge of the hall effect sensors signal


void setup()

{

  Serial.begin(9600); 

  pinMode(hallsensor, INPUT);

  attachInterrupt(0, rpm, RISING); //and the interrupt is attached

}


void loop()

{

  NbTopsFan = 0;   //Set NbTops to 0 ready for calculations

  sei();      //Enables interrupts

  delay (1000);   //Wait 1 second

  cli();      //Disable interrupts

  Calc = (NbTopsFan * 60 / 7.5); //(Pulse frequency x 60) / 7.5Q, = flow rate in L/hour


  Serial.print (Calc, DEC); //Prints the number calculated above

  Serial.println (" L/hour"); 

}

'2) Sensor > Water' 카테고리의 다른 글

Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RDIoT
|

Water Level Sensor v1.0 [S094]



https://www.youtube.com/watch?v=oZh0t-vV8pY


*GitHub https://github.com/rdiot/rdiot-s094.git


* Specs

Water Sensor water level sensor is an easy-to-use, cost-effective high level/drop recognition sensor, 

which is obtained by having a series of parallel wires exposed traces measured droplets/water volume in order to determine the water level.

Easy to complete water to analog signal conversion and output analog values can be directly read 


Arduino development board to achieve the level alarm effect.

Rainwater can be used to detect water level detection.

4 M2 screws positioning holes for easy installation.

Operating voltage: DC3.3-5.5V.

Operating current: less than 20mA.

Dimension: 4.1 x 2.2cm; A product for arduino that works with official Arduino boards


* Content

- Connect

GND - GND

VCC - 5V

SIG - A0

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RDIoT
|

Raindrops Detection Sensor Modue (FC-37) [S072]



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


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


* Specs

Product use: rain, rain sensor, can be used for all kinds of weather monitoring, and translated into output signals and AO.

The sensor USES the high quality FR - 04 double material, large area of 5.5 * 4.0 CM, treatment of nickel plating and surface, have fight oxidation, electrical conductivity, and life has more superior performance;

The comparator output, signal clean, good waveform, driving ability is strong, for more than 15 mA;

With potentiometer sensitivity adjustment

The working voltage of 3.3 V to 5 V

The output format: digital switch output (0 and 1) and analog AO voltage output;

Has a fixed bolt hole, convenient installation

Small board PCB size: Approx. 3.2 cm x 1.5 cm

The LM393, use of wide voltage comparator


* Content

- Connect

L + ----- L +

R - ----- R -

 

A0 ----- A0

D0 ----- D2 (TTL ON/OFF)

GND ----- GND

VCC ----- 5V (3.3V~5V)


- Key Code

 nRainVal = analogRead(nRainIn);

  bIsRaining = !(digitalRead(nRainDigitalIn));

  if(bIsRaining)

  {    

    strRaining = "YES";  

  }  

  else

  {    

    strRaining = "NO";  

  }    

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Water Level Sensor [S028]  (0) 2016.09.07
Posted by RDIoT
|

Water Level Sensor [S028] 



https://www.youtube.com/watch?v=6MSdCu5QRZk


*GitHub https://github.com/rdiot/rdiot-s028.git


* Specs

Product Name: water level sensor

Operating voltage: DC3-5V

Operating current: less than 20mA

Sensor Type: Analog

Detection Area: 40mmx16mm

Production process: FR4 double-sided HASL

Operating temperature:10℃-30℃

Humidity: 10% -90% non-condensing

Product Dimensions: 62mmx20mmx8mm


* Content

- Connect

- ----- GND

+ ----- 5V

S ----- A0


+ --P220--- D13

- ----- GND


- Key Code

val = analogRead(analogPin); 

if (val > 650)                 

{                               

      digitalWrite(led, HIGH);   // LED ON

}

else

{

      digitalWrite(led, LOW);    // LED OFF

}

'2) Sensor > Water' 카테고리의 다른 글

G1/2 Water Flow Sensor (SEN-HZ21WA) [S135]  (0) 2016.09.07
Water Level Sensor v1.0 [S094]  (0) 2016.09.07
Raindrops Detection Sensor Modue (FC-37) [S072]  (0) 2016.09.07
Posted by RDIoT
|


Soil Moisture Detection Control Module (FC-28) [S022]



https://www.youtube.com/watch?v=2tKvzzbl2gA


*GitHub https://github.com/rdiot/rdiot-s022.git


* Specs

1 This is a summary of the moisture sensor can be used to detect soil moisture, soil water when the module outputs a high level, whereas the output low. Using this sensor make an automatic watering system, so that your garden plants need people to manage.

2 adjustable sensitivity (shown in blue digital potentiometer adjustment)

4 Operating Voltage 3.3V-5V

5 module dual output mode, the digital output is simple, analog output is more accurate.

6 with fixed bolt hole for easy installation

7 small PCB board size: 3cm * 1.6cm

 

Small plate interface specification (4-wire)

1 VCC 3.3V-5V external

2 GND GND External

3 DO small board digital output interface (0 and 1)

4 AO small plates analog output interface


* Content

- Connect

A0 - A0

D0 - X

GND - GND

VCC - 5V


- Key Code

int sensorValue = analogRead(pin);

sensorValue = constrain(sensorValue, 485, 1023);


int soil = map(sensorValue, 485, 1023, 100, 0);


lcd.print("sensorValue=" + (String)sensorValue);

Posted by RDIoT
|

SI7021 Humidity Sensor (GY-21) [S068]



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


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



* Specs

Precision Relative Humidity Sensor

± 3% RH (max), 0-80% RH

High Accuracy Temperature Sensor

±0.4 °C (max), -10 to 85 °C

0 to 100% RH operating range

Up to -40 to +125 °C operating range

Wide operating voltage (1.9 to 3.6 V)

Low Power Consumption 150 μA active current

60 nA standby current

Factory-calibrated

I2C Interface

Integrated on-chip heater

3x3 mm DFN Package

Excellent long term stability

Optional factory-installed cover

Low-profile

Protection during reflow

Excludes liquids and particulates


* Content

- Library : https://github.com/mlsorensen/SI7021

- Connect

VIN ----- 3.3V

GND ----- GND

SCL ----- SCL 

SDA ----- SDA


- Key Code

#include <SI7021.h>

SI7021 sensor;


float temperature = sensor.getCelsiusHundredths();

temperature = temperature / 100.0;


int humidity = sensor.getHumidityPercent();


si7021_env data = sensor.getHumidityAndTemperature();

int t = data.celsiusHundredths;

int h = data.humidityBasisPoints;

lcd.setCursor(0,3);

lcd.print("t="+(String)t+" h="+(String)h);

Posted by RDIoT
|

MAX6675 Module + K Type Thermocouple Thermocouple Sensor (MAX6675) [S080]



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


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


* Specs

MAXIM MAX6675 is an American company with a cold junction compensation, linearity correction, thermocouple break detection ADC Serial K-type thermocouple, its temperature resolution capability is 0. 25 Degree, cold junction compensation range - 20 ~ + 80 Degree, wide operating voltage range 3. 0 ~ 5. 5

Operating voltage: 3. 0 ~ 5. 5V

Internal integrated cold junction compensation circuit;

With a simple three serial interface;

Temperature signal can be converted into 12-bit digital

Temperature resolution of: 0. 25 Degree;

Cold junction compensation range: - 20 ~ + 80 Degree,

Embedded thermocouple break detection circuitry.

Using SPI 3 wire communication

K-type temperature probe

Type K temperature range 0-800 degrees



* Content

- Library : https://github.com/ryanjmclaughlin/MAX6675-Library

- Connect

GND ----- GND

VCC ----- 5V

SO ----- D12

CS ----- D10

SCK ----- D13


- Key Code

#include <MAX6675.h>

int CS = 10;              // CS pin on MAX6675

int SO = 12;              // SO pin of MAX6675

int SCK = 13;             // SCK pin of MAX6675 

int units = 1;            // Units to readout temp (0 = raw, 1 = ˚C, 2 = ˚F)


MAX6675 temp0(CS,SO,SCK,units);


temp0.read_temp();

Posted by RDIoT
|

Infrared Thermometer MLX90614 (GY-906) [S034]



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


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


* Specs

Small size, low cost

Mounted on a breakout board with two types of pins

10k Pull up resistors for the I2C interface with optional solder jumpers

Easy to integrate

Factory calibrated in wide temperature range:-40…+125°C for sensor temperature and -70…+380°C for object temperature.

High accuracy of 0.5°C over wide temperaturerange (0…+50°C for both Ta and To) High (medical) accuracy calibration

Measurement resolution of 0.02°C

Single and dual zone versions

SMBus compatible digital interface

Customizable PWM output for continuousreading

Simple adaptation for 8-16V applications

Sleep mode for reduced power consumption

Different package options for applications andmeasurements versatility

Automotive grade


* Contents

- Library : http://code.bildr.org/download/994.zip


- Connect

VIN ----- 5V / 3.3V 

GND ----- GND

SCL ----- SCL

SDA ----- SDA 


- Key Code

double tempFactor = 0.02; // 0.02 degrees per LSB (measurement resolution of the MLX90614)

double tempData = 0x0000; // zero out the data


tempData = (double)(((data_high & 0x007F) << 8) + data_low);

tempData = (tempData * tempFactor)-0.01;

    

float celcius = tempData - 273.15;

float fahrenheit = (celcius*1.8) + 32;



Posted by RDIoT
|

Voice Recognition Module V3 [S134]




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


*GitHub https://github.com/rdiot/rdiot-s134.git



* Specs

ELECHOUSE Voice Recognition Module is a compact and easy-control speaking recognition board.

This product is a speaker-dependent voice recognition module. It supports up to 80 voice commands in all. Max 7 voice commands could work at the same time. Any sound could be trained as command. Users need to train the module first before let it recognizing any voice command.

This board has 2 controlling ways: Serial Port (full function), General Input Pins (part of function). General Output Pins on the board could generate several kinds of waves while corresponding voice command was recognized.

What's new?

We already have Voice Recognition module V2. It supports 15 commands in all and only 5 commands at the same time.

On V2, voice commands are separated into 3 groups while you training it. And only one group (5 commands) could to be imported into Recognizer. It means only 5 voice commands are effective at the same time.

On V3, voice commands are stored in one large group like a library. Any 7 voice commands in the library could be imported into recognizer. It means 7 commands are effective at the same time.

aeProduct.getSubject()

Parameter

Voltage: 4.5-5.5V

Current: <40mA

Digital Interface: 5V TTL level for UART interface and GPIO

Analog Interface: 3.5mm mono-channel microphone connector +  microphone pin interface

Size: 31mm x 50mm

Recognition accuracy: 99% (under ideal environment)

Feature

Support maximum 80 voice commands, with each voice 1500ms (one or two words speaking)

Maximum 7 voice commands effective at same time

for  library is supplied

Easy Control: UART/GPIO

User-control General Pin Output

Document

Manual

Library 

Video Instruction

How to play VR3 with VR3



* Content

- Libary : https://github.com/elechouse/VoiceRecognitionV3/archive/master.zip

- GitHub : https://github.com/elechouse/VoiceRecognitionV3


- Connect

GND - GND

VCC - 5V

RXD - D3

TXD - D2


LED - D13



- Order

1. train -- let VoiceRecognitionModule record your voice command

new line 115200 band


2. Send command settings(case insensitive) to check Voice Recognition Module settings.

settings


3. Send sigtrain 0 On command to train record 0 with signature "On"

sigtrain 0

-> Success: 1, Record 0 Trained, SIG: On


4. Train another record. Send sigtrain 1 Off command to train record 1 with signature "Off".

sigtrain 1

-> Success: 1, Record 1 Trained, SIG: Off


5. Send load 0 1 command to load voice. 

Load 0 1

-> Load sucess: 2


6. Other Command

https://github.com/elechouse/VoiceRecognitionV3/blob/master/image/train_command.jpg


7. Control LED Sample

File -> Examples -> VoiceRecognitionV3 -> vr_sample_control_led



Posted by RDIoT
|

QRD1114 Reflective Object Sensor (QRD1114) [S210]



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


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



* Specs

Derate power dissipation linearly 1.33 mW/°C above 25°C.

RMA flux is recommended.

Methanol or isopropyl alcohols are recommended as cleaning agents.

Soldering iron 1/16” (1.6mm) from housing.

As long as leads are not under any spring tension.

D is the distance from the sensor face to the reflective surface.

Cross talk (ICX) is the collector current measured with the

indicator current on the input diode and with no reflective surface.

Measured using an Eastman Kodak neutral white test card with 90% diffused reflecting as a reflective surface.



* Content

- Connect

- : L GND, R P220 - 5V

- : L P10K - 5V

           --- Signal ---> D2

Speker : Ged -----> D3

         : Black -----> GND


- DataSheet : https://www.sparkfun.com/datasheets/BOT/QRD1114.pdf


Posted by RDIoT
|

Temperature and humidity DHT11 sensor module (KY-015) [S008]




* Specs

It Can detect ambient humidity and temperature

Humidity measuring range:20% -90 %RH, Humidity

measurement tolerance:+ /-5%

Temperature measurement range:0 Degree-50

Degree temperature measurement tolerance:+/ -2 Degree

Resolution: humidity(1%RH),temperature(1 degree)

Stability: <±1%RH/year

Storage temperature:10-40 degree,humidity:below 60%RH

Operating Voltage:3.3V-5V

Output Type: Digital Output

With fixed bolt hole for easy installation

Small size, PCB Size:3.2cm*1.4cm

Power indicator ( red )

Weight is about 8g 




* Content

- DataSheet : http://www.ram-e-shop.com/ds/general/KY-015.pdf

- Library : http://deneb21.tistory.com/attachment/cfile24.uf@220A6C3755DA9E322E7FED.zip


- Connect

S - D4

5V - 5V

- - GND


- Key Code

#include <DHT11.h>


DHT11 dht11(pin); 

int err;

float temp, humi;


if((err=dht11.read(humi, temp))==0)

{

    lcd.setCursor(0,1);

    lcd.print("temperature=" + (String)temp + "'C");

 

    lcd.setCursor(0,2);

    lcd.print("humidity=" + (String)humi + "'F");

}

else

{

    lcd.setCursor(0,3);

    lcd.print("err=" + (String)err); 

}

delay(DHT11_RETRY_DELAY);  



Posted by RDIoT
|

Multifunctional Digital Temperature Sensor Module LM393 (KY-028) [S021] 



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


*GitHub https://github.com/rdiot/rdiot-s021.git


* Specs

Material: FR4

Length: 43mm

Width: 15mm

Height: 14mm

Weight: 2.9g

Operating Voltage: 5V DC


* Content

- Connect

A0 - A0

G - GND

+ - 5V

D0 - X


- Key Code

double Thermistor(int RawADC) {

  double Temp;

  Temp = log(10000.0 * ((1024.0/RawADC-1)));

  Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp)) * Temp);

  Temp = Temp - 273.15;

  return Temp;

}



Posted by RDIoT
|

Analog Temperature Sensor (KY-013) [S020]



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


*GitHub : https://github.com/rdiot/rdiot-s020.git


* Specs

Using of plug-in full-color LED

Three primary colors (RGB) connected with the current- limiting resistance to prevent burning

Adjusting three primary colors by PWM to get different colors in mixture

Can be connected with a variety of single-chip 

Working voltage: 5V

LED driver mode: Cathode driver


* Content

- Connect

S - A0

middle - 5V

- - GND


- Key Code

GetTemperature(analogRead(pin);


double GetTemperature(int v)

{

double Temp;

Temp = log(10000.0 / (1024.0 / v - 1)); 

Temp = 1 / (0.001129148 + (0.000234125 + (0.0000000876741 * Temp * Temp))* Temp);

Temp = Temp - 273.15; // Convert Kelvin to Celcius

return Temp;

}





Posted by RDIoT
|

Terminal sensor adapter (DFR0055) [S093]



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


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


* Specs

Voltage: +5 V

Current: <1000mA

Size: 22x34mm


* Content

- Wiki : http://www.dfrobot.com/wiki/index.php/Terminal_sensor_adapter_V2_SKU:DFR0055

- Manual : http://www.dfrobot.com/index.php?route=product/product&product_id=203#.V8lSmvmLRqM

- Schematic : http://www.dfrobot.com/image/data/DFR0055/V2.0/Terminal%20sensor%20adapter%20V2%20SCH.pdf


- Connect

A ----- Yellow (Data)

B ----- Red (VCC)

C ----- Black (GND)


Green ----- D10

Red ----- 5V

GND ----- GND



Posted by RDIoT
|

DS18b20 Waterproof Temperature Sensor (DS18B20) [S023]




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


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


* Specs

Power supply range:3.0V-5.5V

Operating temperature range: -55°C - +125°C (-67°F - +257°F)

Storage temperature range: -55°C to - +125°C (-67°F - +257°F)

Accuracy over the range of -10°C to +85°C: ±0.5°C.

No other components, unique single bus interface

Output lead:red (VCC), yellow(DATA) , black(GND)


* Contents

- Library : http://www.pjrc.com/teensy/td_libs_OneWire.html

- Connect

R - 5V - P4.7K - D10

B - GND

Y - D10 

'2) Sensor > Temperature' 카테고리의 다른 글

Analog Temperature Sensor (KY-013) [S020]  (0) 2016.09.02
Terminal sensor adapter (DFR0055) [S093]  (0) 2016.09.02
DS18B20 (KY-001) [S019]  (0) 2016.09.02
TMP36 (TMP36GT9Z) [S071]  (0) 2016.09.02
LM35 (LM35DZ) [S007]  (0) 2016.09.01
Posted by RDIoT
|

DS18B20 (KY-001) [S019] 




https://www.youtube.com/watch?v=a-nNbhuyJl8


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


* Specs

Unique 1-Wire interface requires only one port pin for communication

Multidrop capability simplifies distributed temperature sensing applications

Requires no external components Can be powered from data line. 

Power supply range is 3.0V to 5.5V

Zero standby power required

Measures temperatures from -55°C to +125°C. Fahrenheit equivalent is -67°F to +257°F

±0.5°C accuracy from -10°C to +85°C

Thermometer resolution is programmable from 9 to 12 bits

Converts 12-bit temperature to digital word in 750 ms (max.)

User-definable, nonvolatile temperature alarm settings Alarm search command identifies and addresses devices whose temperature is outside of programmed limits (temperature alarm condition)

Applications include thermostatic controls, industrial systems, consumer products, thermometers, or any thermally sensitive system


* Contents

- DataSheet : http://cdn.sparkfun.com/datasheets/Sensors/Temp/DS18B20.pdf

- Library : http://www.pjrc.com/teensy/arduino_libraries/OneWire.zip

- Connect 

 - - GND

 + - 5V

 S - D10


ROM = 28 31 3E 33 7 0 0 58

  Chip = DS18B20

  Data = 1 93 1 4B 46 7F FF D 10 32  CRC=32

  Temperature = 25.19 Celsius, 77.34 Fahrenheit

No more addresses.





Posted by RDIoT
|

TMP36 (TMP36GT9Z) [S071] 





* Specs
Temperature range: -40°C to 150°C / -40°F to 302°F
Output range: 0.1V (-40°C) to 2.0V (150°C) but accuracy decreases after 125°C
Power supply: 2.7V to 5.5V only, 0.05 mA current draw

* Contents
Temp in °C = [(Vout in mV) - 500] / 10
So for example, if the voltage out is 1V that means that the temperature is ((1000 mV - 500) / 10) = 50 °C

- Connect
L -  5V
M - A0
R - GND

- Key Code
int sensorValue = analogRead(TMP36_PIN);  
float mVoltage = sensorValue * 5000.0/1024.0;
float temperatureC = (mVoltage - 500) / 10.0;  




Posted by RDIoT
|