Wired Door Window Sensor 330mm [S140] 



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


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


* Specs

metals shield anti-fire ABS

connecting mode: N.C. normally closed

rated current : 100mA

rated voltage : 200 VDC

operating distance: more than 15mm, less than 25mm

rated power: 3W

No external power supply, connect to wired or wireless alarm control panel GND and N.C ports directly! Please note that this item not fit to iron door, It will decline magnetic of the sensor.


* Contents

- Key Code

#include <Wire.h> 

#include <LiquidCrystal_I2C.h>


LiquidCrystal_I2C lcd(0x27,16,2);  // LCD1602

int pushButton = 2;


void setup()

{

  lcd.init();  // initialize the lcd 

  lcd.backlight();

  lcd.print("start LCD1602");

  pinMode(pushButton, INPUT_PULLUP);

  

  delay(1000);


  lcd.clear();

}


void loop()

{

 

  lcd.setCursor(0,0);

  lcd.print("S140:Window Sensor");


  int buttonState = digitalRead(pushButton);


  lcd.setCursor(0,1);

  lcd.print("value=" + (String)buttonState + " ");


  if(buttonState == 1)

  {

    digitalWrite(8, HIGH);

  }

  else

  {

   digitalWrite(8, LOW); 

  }

  delay(1);

}

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

433Mhz Button Smart Receiver Doorbell [S220]  (0) 2016.09.12
433Mhz Wireless Door Contact Sensor [S212]  (0) 2016.09.12
Electromagnetic Door Lock 12V [S182]  (0) 2016.09.12
Posted by RDIoT
|

Solar Panel 2A 1A Battery Power Bank 18000mAh [S118]



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


* Specs

Features:

100% Brand new and high quality!

This Solar Battery Charger Power Bank is used in polymer batteries, performance is excellent, safe and practical, especially when you are traveling.

The solar panel can make full use of solar energy, convenience and environmental protection.

2 output ports,allows you charge two devices at the same time,or you can share your backup power with your friend,convenient and sweet.

Not only can use the solar panels to charge,but also can charge just like other usual battery. Pay attention to avoid being under the Blazing sun for quite a long time.


Specifications:

Battery Type: Polymer lithium battery

Capacity: 18000mAh

Input: DC 5.0V/1A

Output 1: DC 5.0V/2A

Output 2 :DC 5.0V/1A



Posted by RDIoT
|

LED Solar Outdoor Light [S172] 



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



* Specs

16 LED Solar Power Motion Sensor solar garden light Lamp Security Outdoor Lighting garden solar light led solar light outdoor

Feature

1. Light sensor and sensitive motion sensor, save energy.

2. 16 LED Lights, high brightness.

3. Automatically sense day or night.

4. Solar powered, easy to install and easy to maintain with detachable solar panel and LED Lamp body to the  supporting cover.

5. 0.55 Watt solar panel, 17% efficiency, can use more than 5 years.

6. Aluminum body, never fade, IP-65 waterproof and heatproof.

7. Great useful light for your garden, yard, aisle, porch, patio, or driveway etc...

8. More robust and brighter design than the first generation.

Specifications:

1. Li-ion battery:3.7V 1000mAh

2. LED: 16pcs, SMD 3528,1W

3. Lumens: 100 lm.

4. LED life span: 50,000 hrs.

5. Solar charging time:6- 8 hrs.

6. Three Lighting modes: Off/Dim/Bright; Off during the daytime; Dim light and Bright light is switched by  PIR to save power at night, i.e, Dim light at night time to save power, but will be switched to Bright light for about 30 seconds if PIR motion sensor is activated. The motion-sensing light is triggered when someone or    something enters its 3-5 meters range within a 120 degree sensing angle.

7. Protection functions: over charging, over discharging, over current, and short circuit.

8. Package size: 175 * 115 * 53 mm / 6 * 4.53 * 2.09”.

9. Product size: 136 * 90 * 45 mm / 5.35 * 3.54 * 1.77”.

10. Package weight: 250g / 8.8oz.

Package includes:

1 * Solar Lamp

2 * Expansion Pillar-hinges

2 * Big Screws ( for attaching the supporting cover to the wall )

1 * Pin ( for On/Off switch)

1 * User Manual

1 * retail box



Posted by RDIoT
|