2017年3月16日星期四

HTF3223LF Humidity Sensor

HTF3223LF Humidity Sensor Module for Humidifier, OA Equipment

HTF3223LF Humidity Sensor Module for Humidifier, OA Equipment
Temperature and humidity sensor HTF3223L
1. range: 0-99%RH
2.Stable, linear proportional frequency output from 10 to 95

Product Specification

Temperature and humidity sensor module HTF3223
Description of humidity module HTF 3223LF
Based on the rugged HS1101LF humidity sensor, HTF 3223LF is a dedicated humidity and temperature transducer designed for OEM applications where a reliable and accurate measurement is needed. It features a miniature connector for easy, cost-effective mechanical mounting. Direct interface with a micro-controller is made possible with the module’s linear frequency output.

Main features of humidity module HTF 3223LF
(1)Calibrated within +/- 5% RH @ 55% RH.
(2)Optional 10 K +/- 3% NTC temperature sensor
(3)Fast response time. High resistance to chemicals.
(4)Size and connector type match existing humidity modules.
(5)Stable, linear proportional frequency output from 10 to 95% RH.
(6)Instantaneous de-saturation after long periods in saturation phase.
(7)Not affected by water immersion. Patented solid polymer structure.
(8)Stable characteristics with temperature. High reliability and long term stability.

2017年3月10日星期五

GUVA-S12SD UV Sensor

GUVA-S12SD UV Sensor

The GUVA-S12SD UV Sensor chip is suitable for detecting the UV radiation in sunlight. It can be used in any application where you want monitor for the amount of UV light and is simple to connect to any microcontroller. I recently noticed that some sellers had little modules for this sensor at a reasonable price so decided to purchase one
s12sd
The module, with a typical UV detection wavelength of 200 – 370nm, outputs a calibrated analog voltage which varies with the UV light intensity so basically all you need to do is connect this to an ADC input and read in the value.
This value ties in with the UV index, this looks something like this
uv_index

Connection
The connections are straightforward and described below, I used 3.3v from my Arduino. This was mainly for compatibility with other development boards but the module works with 5v.
1. GND: 0V (Ground)
2. VCC: 3.3V to 5.5V
3. OUT: 0V to 1V ( 0 to 10 UV Index)
Layout
As said its a simple layout but here you go

arduino-and-guvas12sd_bb
Code
Simple code example that reads the value at A0 and outputs the results via the serial monitor, if you use 5v rather than 3.3v then you will need to change the 3.3 in the following line
sensorVoltage = sensorValue/1024*3.3;    
Source code  
void setup()   {    Serial.begin(9600);  }     void loop()   {    float sensorVoltage;     float sensorValue;       sensorValue = analogRead(A0);    sensorVoltage = sensorValue/1024*3.3;    Serial.print("sensor reading = ");    Serial.print(sensorValue);    Serial.println("");    Serial.print("sensor voltage = ");    Serial.print(sensorVoltage);    Serial.println(" V");    delay(1000);  }
Testing
Open the serial monitor and look at the readings
sensor reading = 46.00
sensor voltage = 0.15 V
sensor reading = 46.00
sensor voltage = 0.15 V
sensor reading = 46.00
sensor voltage = 0.15 V
sensor reading = 46.00
sensor voltage = 0.15 V
sensor reading = 46.00
sensor voltage = 0.15 V
If you look at the image earlier that corresponds to UV index of 0 which is a relief because I tested this indoors

UV-A Sensor - GUVA-S12SD

Product Specification

1.Features
Gallium Nitride Based Material
Schottky-type Photodiode
Photovoltaic Mode Operation
Good Visible Blindness
High Responsivity & Low Dark Current

2.Applications
UV Index Monitoring
UV-A Lamp Monitoring

3.Outline Diagrams and Dimensions



4.Details


2017年3月6日星期一

CO2 Sensor Occupancy Detection


CO2 Sensor Occupancy Detection

A group of researchers at the University of California in Berkley have designed an algorithm that can count the number of people in a room when only the CO2 level is known.
The study, titled “Sensing by Proxy: Occupancy Detection Based on Indoor CO2 Concentration” used SenseAir’s K-30 carbon dioxide sensor module for occupancy detection. The "Sensing by Proxy" model is more accurate than previously used machine learning models, and could be used to improve the efficiency of Demand-Controlled Ventilation systems (DCV) currently in use.
DCV works on the principle that you can save energy by heating, cooling or adding fresh air to a room only when it is needed. While heating and cooling can be controlled with a thermostat, the amount of fresh air that should be added to a room can be controlled by a carbon dioxide level transmitter. When CO2 levels go up, fresh air is added until the CO2 levels return to normal (typically 10% or less of the background CO2 levels).
NDIR CO2 Sensor Infrared CO2 Sensor module 0~10000PPM
While CO2 transmitters in a DCV system are good at monitoring CO2 levels, they do not tell you the number of occupants in a room. This is important because indoor air quality models specify the optimum fresh air exchange rate per person. If you don’t know how many people are in a room, all the system can do is pump in fresh air until the CO2 level drops.
This is where Sensing by Proxy comes in. Using the K-30 sensor’s CO2 level data as the only input, the researchers were able to create a model “that captures the spatial and temporal features of the system and links unobserved human emission to proxy measurements of CO2 concentrations.”
The algorithm they developed was tested in both controlled and field experiments, and resulted in an error rate of 0.6 fractional persons as compared to 1.2 fractional persons by the best alternative strategy. The algorithm is also better at measuring changes, such as occupants entering and leaving a meeting. In addition, it does not require more costly Pyroelectric infrared (PIR) or Ultrasonic sensors used for current occupancy detection systems.
The algorithm is one of a growing number of papers that test the use of CO2 levels for occupancy detection. For example, Chaoyang Jiang and others in a paper titled “Indoor occupancy estimation from carbon dioxide” were able to estimate occupancy in an office with 24 cubicles. They counted occupants accurately 94 percent of the time within a tolerance of four occupants.
While DCV is initially more expensive to install, improvements like this could be used to further reduce the long-term energy costs in DCV controlled buildings.