รหัสสินค้า | SKU-00359 |
หมวดหมู่ | เซนเซอร์แก๊ส |
ราคา | 285.00 บาท |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 8 ก.ค. 2559 |
อัพเดทล่าสุด | 26 พ.ค. 2562 |
จำนวน | ชิ้น |
Overview:
Sharp’s GP2Y1010AU0F is an optical air quality sensor, designed to sense dust particles. An infrared emitting diode and a phototransistor are diagonally arranged into this device, to allow it to detect the reflected light of dust in air. It is especially effective in detecting very fine particles like cigarette smoke, and is commonly used in air purifier systems.
The sensor has a very low current consumption (20mA max, 11mA typical), and can be powered with up to 7VDC. The output of the sensor is an analog voltage proportional to the measured dust density, with a sensitivity of 0.5V/0.1mg/m3.
According to the GP2Y1010AU0F data sheet, all 6 pins on sensor need to be connected to Arduino:
Do not miss the 150ohm resistor and a 220uF capacitor:
Sensor Pin | Arduino Pin | ||
1 | Vled | –> | 5V (150ohm resistor) |
2 | LED-GND | –> | GND |
3 | LED | –> | Digital pin 2 |
4 | S-GND | –> | GND |
5 | Vo | –> | Analog pin 0 |
6 | Vcc | –> | 5V |
The LED pin has to be modulated with a cycle of 1ms as discussed in the datasheet.
The LED seems to use a PNP transistor so to power on, the LED pin must actually recieve a lower voltage.
Ok, you should now have every thing connected:
The Arduino source code:
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
int dustPin=0; int dustVal=0; int ledPower=2; int delayTime=280; int delayTime2=40; float offTime=9680; void setup(){ Serial.begin(9600); pinMode(ledPower,OUTPUT); pinMode(4, OUTPUT); } void loop(){ // ledPower is any digital pin on the arduino connected to Pin 3 on the sensor digitalWrite(ledPower,LOW); // power on the LED delayMicroseconds(delayTime); dustVal=analogRead(dustPin); // read the dust value via pin 5 on the sensor delayMicroseconds(delayTime2); digitalWrite(ledPower,HIGH); // turn the LED off delayMicroseconds(offTime); delay(3000); Serial.println(dustVal); } |
แหล่งที่มา http://sensorapp.net/?p=479
ค่าจัดส่งสินค้า มีทั้ง แบบ พัสดุลงทะเบียน พัสดุด่วนพิเศษ (EMS) ,KERRY
สั่งสินค้าและแจ้งยอดชำระเงินพร้อมหลักฐานการโอนเงินก่อน (10.00 น.) ส่งสินค้าออกภายในวันเดียวกันหรือวันทำการถัดไปแล้วแต่กรณี
กรุณาแจ้งยอดโอนพร้อมแนบหลักฐานการโอนมาที่ http://roboticscircuitshop.lnwshop.com/informpayment
หรือ izemkung@gmail.com
กรุณาระบุชื่อผู้ซื้อ ธนาคารที่ทำการโอน เวลา
และOrder #ด้วยทุกครั้ง เพื่อความสะดวกและรวดเร็วในการจัดส่งสินค้า
ระบบของร้านจะแจ้ง
สถานะการสั่งซื้อ การชำระเงิน การส่งสินค้าและหมายเลขพัสดุให้ท่านทราบทางอีเมล์
กรุณากรอกรายละเอียดให้ครบถ้วน เพื่อความสะดวกในการจัดส่ง
เปิดร้าน | 2 ม.ค. 2557 |
ร้านค้าอัพเดท | 25 ส.ค. 2568 |