{"title":"Sensors \u0026 Sensor Modules","description":"\u003ch2\u003eSensors \u0026amp; Sensor Modules – Detect, Measure \u0026amp; Monitor with Precision\u003c\/h2\u003e\u003cp\u003eExplore our extensive range of \u003cstrong\u003esensors and sensor modules\u003c\/strong\u003e for Arduino, Raspberry Pi, ESP8266\/ESP32, and microcontroller projects. From environmental sensing to motion detection, we stock 540+ sensor products for every application.\u003c\/p\u003e\u003ch3\u003eWhat's in This Collection\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eEnvironmental Sensors\u003c\/strong\u003e – BME280, DHT11, DHT22 temperature \u0026amp; humidity sensors, BH1750 light intensity, MS5611 pressure sensors\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMotion \u0026amp; Position Sensors\u003c\/strong\u003e – MPU6050 gyroscope\/accelerometer, PIR motion sensors, ultrasonic distance sensors, tilt sensors\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGas \u0026amp; Chemical Sensors\u003c\/strong\u003e – MQ series gas sensors for CO, smoke, alcohol, LPG detection\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOptical Sensors\u003c\/strong\u003e – IR sensors, UV sensors (GUVA-S12SD), color sensors, flame sensors, APDS-9960 gesture sensors\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCurrent \u0026amp; Voltage Sensors\u003c\/strong\u003e – ACS712 current sensors, Hall effect sensors, voltage divider modules\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSoil \u0026amp; Water Sensors\u003c\/strong\u003e – Soil moisture sensors, rain sensors, water level detection modules\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLoad \u0026amp; Weight Sensors\u003c\/strong\u003e – HX711 load cell amplifier modules for weighing applications\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eWhy Choose Keszoox?\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e✅ 540+ sensor products in stock\u003c\/li\u003e\n\u003cli\u003e✅ Arduino, Raspberry Pi \u0026amp; ESP32 compatible\u003c\/li\u003e\n\u003cli\u003e✅ Bulk quantities available – ready to ship worldwide\u003c\/li\u003e\n\u003c\/ul\u003e","products":[{"product_id":"sensor-shield-v5-0","title":"Sensor Shield V5.0 for Arduino Uno — Digital \u0026 Analog Sensor Headers","description":"\u003ch2\u003eSensor Shield V5.0 for Arduino Uno — Digital \u0026amp; Analog Sensor Headers\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eSensor Shield V5.0\u003c\/strong\u003e stacks directly onto the Arduino Uno and breaks out all pins to \u003cstrong\u003e3-pin sensor headers (VCC \/ GND \/ SIG)\u003c\/strong\u003e — making it effortless to connect sensors, servos, and modules without breadboard wiring. Each digital and analog pin gets its own dedicated 3-pin header with power and ground, eliminating the need for separate power wiring.\u003c\/p\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e3-pin sensor headers (VCC\/GND\/SIG)\u003c\/strong\u003e — all digital and analog pins with dedicated power rails\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eServo headers\u003c\/strong\u003e — direct servo connection to PWM pins\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eI2C header\u003c\/strong\u003e — dedicated SDA\/SCL connector for I2C sensors and displays\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eUART header\u003c\/strong\u003e — dedicated TX\/RX connector for serial modules\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eSPI header\u003c\/strong\u003e — dedicated MOSI\/MISO\/SCK\/SS connector\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eDirect stack onto Arduino Uno\u003c\/strong\u003e — no wiring needed\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eMulti-sensor Arduino projects without breadboard wiring\u003c\/li\u003e\n\u003cli\u003eServo control with direct header connections\u003c\/li\u003e\n\u003cli\u003eI2C sensor and display module connections\u003c\/li\u003e\n\u003cli\u003eArduino learning and sensor experimentation\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45666027110635,"sku":"","price":19.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Sensor-Shield-V5-1.jpg?v=1723010214"},{"product_id":"sound-sensor-module","title":"Sound Sensor Module — Analog \u0026 Digital Output, Arduino","description":"\u003ch2\u003eSound Sensor Module — Analog \u0026amp; Digital Output, Arduino Compatible\u003c\/h2\u003e\u003cp\u003eA general-purpose \u003cstrong\u003esound sensor module\u003c\/strong\u003e with both \u003cstrong\u003eanalog (AO) and digital (DO) outputs\u003c\/strong\u003e for flexible integration into Arduino and microcontroller projects. The on-board electret microphone and LM393 comparator circuit provide a clean digital output for sound-triggered switching, plus a raw analog output for sound level measurement via Arduino ADC.\u003c\/p\u003e\u003cp\u003eThe adjustable sensitivity potentiometer allows threshold tuning for different environments. The compact module with standard 2.54mm header is compatible with 3.3V and 5V systems including Arduino, ESP32, and Raspberry Pi.\u003c\/p\u003e\u003ch3\u003eKey Specifications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eOutputs:\u003c\/strong\u003e Analog (AO) + Digital (DO) | \u003cstrong\u003eComparator:\u003c\/strong\u003e LM393\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOperating voltage:\u003c\/strong\u003e 3.3V–5V DC | \u003cstrong\u003eCurrent consumption:\u003c\/strong\u003e \u0026lt;15mA\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSensitivity:\u003c\/strong\u003e Adjustable via on-board potentiometer\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDigital output:\u003c\/strong\u003e HIGH when sound exceeds threshold | \u003cstrong\u003eAnalog output:\u003c\/strong\u003e 0–VCC proportional to sound level\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eIndicator LEDs:\u003c\/strong\u003e Power LED + digital output status LED\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eConnector:\u003c\/strong\u003e 4-pin 2.54mm header (VCC \/ GND \/ AO \/ DO)\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eSound-triggered relay and LED control\u003c\/li\u003e\n\u003cli\u003eClap-activated switch projects\u003c\/li\u003e\n\u003cli\u003eNoise level monitoring and alert systems\u003c\/li\u003e\n\u003cli\u003eArduino sound detection and voice trigger projects\u003c\/li\u003e\n\u003cli\u003eSecurity and intrusion detection systems\u003c\/li\u003e\n\u003cli\u003eSmart home automation sound triggers\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45668001448171,"sku":"","price":17.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Sound-Sensor-Module_1.jpg?v=1723010107"},{"product_id":"bme280-pressure-humidity-temperature-sensor-module","title":"BME280 I2C \/ SPI Pressure, Humidity \u0026 Temperature Sensor Module","description":"\u003ch2\u003eBME280 I2C \/ SPI Pressure, Humidity \u0026amp; Temperature Sensor Module\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eBME280\u003c\/strong\u003e is the most popular all-in-one environmental sensor for Arduino and IoT projects. A single module measures \u003cstrong\u003ebarometric pressure\u003c\/strong\u003e (±1hPa), \u003cstrong\u003erelative humidity\u003c\/strong\u003e (±3%RH), and \u003cstrong\u003etemperature\u003c\/strong\u003e (±1°C) simultaneously via \u003cstrong\u003eI2C or SPI\u003c\/strong\u003e. Used in weather stations, altitude measurement, HVAC monitoring, and indoor air quality projects worldwide.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eBosch BME280\u003c\/strong\u003e | Interface: \u003cstrong\u003eI2C (0x76\/0x77) \u0026amp; SPI\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003ePressure: \u003cstrong\u003e300–1100hPa\u003c\/strong\u003e, accuracy \u003cstrong\u003e±1hPa\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eHumidity: \u003cstrong\u003e0–100%RH\u003c\/strong\u003e, accuracy \u003cstrong\u003e±3%RH\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eTemperature: \u003cstrong\u003e−40–85°C\u003c\/strong\u003e, accuracy \u003cstrong\u003e±1°C\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e3.6μA\u003c\/strong\u003e (1Hz sampling)\u003c\/li\u003e\n\u003cli\u003eAltitude resolution: \u003cstrong\u003e±1m\u003c\/strong\u003e (derived from pressure)\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e3-in-1 sensor\u003c\/strong\u003e — pressure + humidity + temperature in one module\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eI2C and SPI\u003c\/strong\u003e — flexible interface options for any microcontroller\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eUltra-low power\u003c\/strong\u003e — 3.6μA at 1Hz, ideal for battery-powered IoT nodes\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eAdafruit BME280 library\u003c\/strong\u003e — extensive Arduino community support\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArduino and ESP32 weather station\u003c\/li\u003e\n\u003cli\u003eIndoor air quality and HVAC monitoring\u003c\/li\u003e\n\u003cli\u003eAltitude measurement for drones and balloons\u003c\/li\u003e\n\u003cli\u003eIoT environmental monitoring nodes\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45669144166635,"sku":"","price":18.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/BME280-I2C-Humidity-Pressure-Temperature-Sensor-Module.jpg?v=1723009692"},{"product_id":"guva-s12sd-uv-light-sensor-module","title":"GUVA-S12SD UV Light Sensor Module — Analog Output, Arduino","description":"\u003ch2\u003eGUVA-S12SD UV Light Sensor Module — Analog Output, Arduino\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eGUVA-S12SD UV sensor module\u003c\/strong\u003e measures \u003cstrong\u003eultraviolet (UV) light intensity\u003c\/strong\u003e in the \u003cstrong\u003e240–370nm wavelength range\u003c\/strong\u003e and outputs an analog voltage proportional to UV intensity. Convert the analog output to a \u003cstrong\u003eUV index (0–11+)\u003c\/strong\u003e using a simple formula in Arduino. Ideal for weather stations, UV exposure monitoring, and sunscreen effectiveness testing.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eSensor: \u003cstrong\u003eGUVA-S12SD\u003c\/strong\u003e | Wavelength: \u003cstrong\u003e240–370nm (UV-A + UV-B)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eOutput: \u003cstrong\u003eAnalog voltage\u003c\/strong\u003e (0–1V proportional to UV intensity)\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e0.1mA\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eUV index range: \u003cstrong\u003e0–11+\u003c\/strong\u003e (calculated from output voltage)\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e240–370nm range\u003c\/strong\u003e — covers both UV-A and UV-B bands\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eAnalog output\u003c\/strong\u003e — direct connection to Arduino analog input\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eUV index calculation\u003c\/strong\u003e — simple formula converts voltage to UV index\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e3.3V\/5V compatible\u003c\/strong\u003e — works with Arduino Uno, ESP32 and Raspberry Pi\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArduino weather station UV index measurement\u003c\/li\u003e\n\u003cli\u003eUV exposure monitoring and sunburn warning\u003c\/li\u003e\n\u003cli\u003eSunscreen effectiveness testing\u003c\/li\u003e\n\u003cli\u003eUV sterilization monitoring\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45669156618475,"sku":"","price":19.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/1b636747-f617-44d2-9041-8d4059fdc8a9.jpg?v=1723009647"},{"product_id":"gy-bme280-pressure-humidity-temperature-sensor","title":"GY-BME280 Pressure, Humidity \u0026 Temperature Sensor Module — I2C \/ SPI","description":"\u003ch2\u003eGY-BME280 Pressure, Humidity \u0026amp; Temperature Sensor Module — I2C \/ SPI\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eGY-BME280\u003c\/strong\u003e is a compact environmental sensor module based on the \u003cstrong\u003eBosch BME280\u003c\/strong\u003e chip, measuring \u003cstrong\u003ebarometric pressure\u003c\/strong\u003e (±1hPa), \u003cstrong\u003erelative humidity\u003c\/strong\u003e (±3%RH), and \u003cstrong\u003etemperature\u003c\/strong\u003e (±1°C) simultaneously via \u003cstrong\u003eI2C or SPI\u003c\/strong\u003e. The GY-series PCB includes voltage regulation and level shifting for direct 3.3V or 5V operation with Arduino, ESP32, and Raspberry Pi.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eBosch BME280\u003c\/strong\u003e | Interface: \u003cstrong\u003eI2C (0x76\/0x77) \u0026amp; SPI\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003ePressure: \u003cstrong\u003e300–1100hPa\u003c\/strong\u003e, accuracy \u003cstrong\u003e±1hPa\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eHumidity: \u003cstrong\u003e0–100%RH\u003c\/strong\u003e, accuracy \u003cstrong\u003e±3%RH\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eTemperature: \u003cstrong\u003e−40–85°C\u003c\/strong\u003e, accuracy \u003cstrong\u003e±1°C\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e3.6μA\u003c\/strong\u003e (1Hz sampling)\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e3-in-1 sensor\u003c\/strong\u003e — pressure + humidity + temperature in one module\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eOn-board voltage regulator\u003c\/strong\u003e — direct 3.3V or 5V operation\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eI2C and SPI\u003c\/strong\u003e — flexible interface for any microcontroller\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eAdafruit BME280 library\u003c\/strong\u003e — extensive Arduino community support\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArduino and ESP32 weather station\u003c\/li\u003e\n\u003cli\u003eIndoor air quality and HVAC monitoring\u003c\/li\u003e\n\u003cli\u003eAltitude measurement for drones and balloons\u003c\/li\u003e\n\u003cli\u003eIoT environmental monitoring nodes\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45669161009387,"sku":"","price":45.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/GY-BME280-Humidity-Pressure-Temperature-Sensor-Module-1.jpg?v=1723009638"},{"product_id":"gy-30-bh1750fvi-ambient-light-sensor-module-i2c","title":"GY-30 BH1750FVI Digital Ambient Light Sensor Module — I2C","description":"\u003ch2\u003eGY-30 BH1750FVI Digital Ambient Light Sensor Module — I2C\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eGY-30 BH1750FVI\u003c\/strong\u003e is a digital ambient light sensor module that outputs \u003cstrong\u003ecalibrated lux values directly via I2C\u003c\/strong\u003e — no ADC conversion or calibration required. Measures light intensity from \u003cstrong\u003e1 to 65,535 lux\u003c\/strong\u003e with \u003cstrong\u003e16-bit resolution\u003c\/strong\u003e, covering the full range from moonlight to direct sunlight. Ideal for automatic brightness control, light-dependent automation, and weather station light measurement.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eBH1750FVI\u003c\/strong\u003e | Output: \u003cstrong\u003eDirect lux value via I2C\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eRange: \u003cstrong\u003e1–65,535 lux\u003c\/strong\u003e | Resolution: \u003cstrong\u003e16-bit\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eAccuracy: \u003cstrong\u003e±20%\u003c\/strong\u003e | Spectral response: \u003cstrong\u003eclose to human eye\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eInterface: \u003cstrong\u003eI2C (0x23 \/ 0x5C selectable)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e0.12mA\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003eDirect lux output\u003c\/strong\u003e — no calibration or ADC conversion needed\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eHuman eye spectral response\u003c\/strong\u003e — accurate perceived brightness measurement\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e2 selectable I2C addresses\u003c\/strong\u003e — use two modules on one I2C bus\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eBH1750 Arduino library\u003c\/strong\u003e — simple one-line lux reading\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eAutomatic display brightness control\u003c\/li\u003e\n\u003cli\u003eArduino weather station light measurement\u003c\/li\u003e\n\u003cli\u003eSmart lighting and daylight harvesting\u003c\/li\u003e\n\u003cli\u003ePlant growth light monitoring\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45669162713323,"sku":"","price":12.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/GY-30-BH1750FVI-Digital-Ambient-Light-Intensity-Sensor.jpg?v=1723009626"},{"product_id":"gy-63-ms5611-barometric-pressure-sensor-module","title":"GY-63 MS5611 High-Resolution Barometric Pressure \u0026 Temperature Sensor Module","description":"\u003ch2\u003eGY-63 MS5611 High-Resolution Barometric Pressure \u0026amp; Temperature Sensor Module\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eGY-63 MS5611\u003c\/strong\u003e is a high-resolution barometric pressure and temperature sensor module used in professional drone altimeters and precision weather instruments. With a \u003cstrong\u003e24-bit ADC\u003c\/strong\u003e and \u003cstrong\u003e10cm altitude resolution\u003c\/strong\u003e, it far exceeds the accuracy of BMP180 and BME280 sensors. Communicates via \u003cstrong\u003eI2C or SPI\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eMS5611\u003c\/strong\u003e | ADC: \u003cstrong\u003e24-bit\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003ePressure range: \u003cstrong\u003e10–1200mbar\u003c\/strong\u003e | Resolution: \u003cstrong\u003e0.012mbar (10cm altitude)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eTemperature range: \u003cstrong\u003e−40–85°C\u003c\/strong\u003e | Resolution: \u003cstrong\u003e0.01°C\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eInterface: \u003cstrong\u003eI2C \u0026amp; SPI\u003c\/strong\u003e | Supply: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSampling rate: \u003cstrong\u003eup to 100Hz\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e10cm altitude resolution\u003c\/strong\u003e — far more precise than BMP180 or BME280\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e24-bit ADC\u003c\/strong\u003e — professional-grade pressure measurement\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eUp to 100Hz sampling\u003c\/strong\u003e — suitable for drone flight controller altitude hold\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eI2C and SPI\u003c\/strong\u003e — flexible interface for any microcontroller\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDrone and UAV altimeter and altitude hold\u003c\/li\u003e\n\u003cli\u003ePrecision weather station barometric pressure\u003c\/li\u003e\n\u003cli\u003eIndoor navigation and floor detection\u003c\/li\u003e\n\u003cli\u003eHigh-accuracy altitude logging\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45670630621419,"sku":"","price":45.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/GY-63-MS5611-Pressure-Sensor-Module.jpg?v=1723009614"},{"product_id":"apds-9960-gesture-proximity-rgb-light-sensor-gy-9960-i2c-arduino","title":"APDS-9960 Gesture, Proximity \u0026 RGB Light Sensor Module — GY-9960-3.3, I²C, Arduino","description":"\u003ch2\u003eAPDS-9960 Gesture, Proximity \u0026amp; RGB Light Sensor Module — GY-9960-3.3, I²C\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eGY-9960-3.3 module\u003c\/strong\u003e uses the Broadcom APDS-9960 sensor to provide four sensing capabilities in a single I²C device: gesture detection (swipe up\/down\/left\/right), proximity sensing (0–10cm), ambient light intensity, and RGB color sensing. It's the sensor used in many smartphones for screen-off detection and gesture control. The module includes a 3.3V regulator and I²C level shifter, making it directly compatible with both 3.3V and 5V Arduino boards.\u003c\/p\u003e\n\n\u003ch3\u003eModule Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSensor IC:\u003c\/strong\u003e Broadcom APDS-9960\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInterface:\u003c\/strong\u003e I²C (address: 0x39)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 3.3V (on-board regulator — can accept 5V input)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSensing Functions:\u003c\/strong\u003e\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eGesture:\u003c\/strong\u003e Detect swipe direction (up, down, left, right)\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eProximity:\u003c\/strong\u003e Detect object presence 0–10cm range\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eAmbient Light:\u003c\/strong\u003e Measure light intensity (lux)\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eRGB Color:\u003c\/strong\u003e Measure red, green, blue color components\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInterrupt:\u003c\/strong\u003e INT pin for hardware interrupt on gesture\/proximity events\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLibrary:\u003c\/strong\u003e SparkFun APDS-9960 Arduino library\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eVCC → 3.3V or 5V | GND → GND\u003c\/li\u003e\n  \u003cli\u003eSDA → Arduino A4 (with 4.7kΩ pull-up) | SCL → Arduino A5 (with 4.7kΩ pull-up)\u003c\/li\u003e\n  \u003cli\u003eINT → Arduino D2 (interrupt pin, optional)\u003c\/li\u003e\n  \u003cli\u003eInstall SparkFun APDS-9960 library from Arduino Library Manager\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTouchless gesture control:\u003c\/strong\u003e Swipe to control music, lights, or menu navigation without touching\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProximity wake:\u003c\/strong\u003e Wake display or activate device when hand approaches\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eColor detection:\u003c\/strong\u003e Identify object color for sorting and quality control\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAmbient light sensing:\u003c\/strong\u003e Auto-adjust display brightness based on room lighting\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSmart home control:\u003c\/strong\u003e Gesture-controlled lighting and appliance switching\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × GY-9960-3.3 APDS-9960 gesture, proximity, and RGB light sensor module\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eFour sensors in one I²C module — gesture, proximity, ambient light, and RGB color detection with Arduino library support for touchless control and smart sensing applications.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45670631637227,"sku":"","price":18.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/GY-9960-APDS-9960-Gesture-Module.jpg?v=1723009595"},{"product_id":"mpu-6050-gy-521-accelerometer-gyroscope-module-i2c","title":"MPU-6050 GY-521 3-Axis Accelerometer \u0026 Gyroscope Module — I2C","description":"\u003ch2\u003eMPU-6050 GY-521 3-Axis Accelerometer \u0026amp; Gyroscope Module — I2C\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eMPU-6050 GY-521\u003c\/strong\u003e is the most popular 6-DOF IMU (Inertial Measurement Unit) module for Arduino. Combines a \u003cstrong\u003e3-axis accelerometer\u003c\/strong\u003e and \u003cstrong\u003e3-axis gyroscope\u003c\/strong\u003e in a single I2C module with an integrated \u003cstrong\u003eDigital Motion Processor (DMP)\u003c\/strong\u003e for onboard sensor fusion. Used in drones, robots, gesture controllers, and balance bots worldwide.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eInvenSense MPU-6050\u003c\/strong\u003e | DOF: \u003cstrong\u003e6 (3-axis accel + 3-axis gyro)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eAccelerometer range: \u003cstrong\u003e±2g \/ ±4g \/ ±8g \/ ±16g\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eGyroscope range: \u003cstrong\u003e±250 \/ ±500 \/ ±1000 \/ ±2000°\/s\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eADC: \u003cstrong\u003e16-bit\u003c\/strong\u003e | Interface: \u003cstrong\u003eI2C (0x68 \/ 0x69)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eDMP: \u003cstrong\u003eYes\u003c\/strong\u003e (onboard sensor fusion)\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e3.9mA\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e6-DOF in one chip\u003c\/strong\u003e — accelerometer + gyroscope, no separate sensors needed\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eDigital Motion Processor\u003c\/strong\u003e — onboard sensor fusion for quaternion output\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e16-bit ADC\u003c\/strong\u003e — high-resolution motion data\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eMPU6050 Arduino library\u003c\/strong\u003e — extensive community support and tutorials\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDrone and UAV flight controller IMU\u003c\/li\u003e\n\u003cli\u003eSelf-balancing robot and segway\u003c\/li\u003e\n\u003cli\u003eGesture recognition and motion control\u003c\/li\u003e\n\u003cli\u003eVibration monitoring and tilt sensing\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45670701727979,"sku":"","price":12.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MPU-6050-Accel-and-Gyro-Module.jpg?v=1723009422"},{"product_id":"tcs34725-rgb-color-sensor-module-i2c","title":"TCS34725 RGB Color Sensor Module — I2C, IR Filter","description":"\u003ch2\u003eTCS34725 RGB Color Sensor Module — I2C, IR Filter\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eTCS34725 RGB color sensor module\u003c\/strong\u003e measures \u003cstrong\u003ered, green, blue, and clear light intensity\u003c\/strong\u003e with \u003cstrong\u003e16-bit resolution per channel\u003c\/strong\u003e via I2C. Features an \u003cstrong\u003eintegrated IR blocking filter\u003c\/strong\u003e for accurate color measurement under various lighting conditions. Used in color sorting machines, paint matching, and ambient light color detection.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIC: \u003cstrong\u003eTCS34725\u003c\/strong\u003e | Channels: \u003cstrong\u003eR \/ G \/ B \/ Clear (16-bit each)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eInterface: \u003cstrong\u003eI2C (0x29)\u003c\/strong\u003e | IR filter: \u003cstrong\u003eIntegrated\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eGain: \u003cstrong\u003e1× \/ 4× \/ 16× \/ 60× programmable\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eIntegration time: \u003cstrong\u003e2.4ms–700ms programmable\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | LED: \u003cstrong\u003eOn-board white LED for illumination\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003eIR blocking filter\u003c\/strong\u003e — accurate color measurement regardless of IR content\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e16-bit per channel\u003c\/strong\u003e — high-resolution color discrimination\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eOn-board white LED\u003c\/strong\u003e — consistent illumination for color measurement\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eAdafruit TCS34725 library\u003c\/strong\u003e — simple Arduino color reading\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eColor sorting and classification machines\u003c\/li\u003e\n\u003cli\u003ePaint and material color matching\u003c\/li\u003e\n\u003cli\u003eAmbient light color temperature measurement\u003c\/li\u003e\n\u003cli\u003eLED color calibration and white balance\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45670709985515,"sku":"","price":25.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/TCS34725-RGB-Color-Sensor-Module.jpg?v=1723009336"},{"product_id":"temt6000-ambient-light-sensor-module-analog","title":"TEMT6000 Ambient Light Sensor Module — Analog, Arduino","description":"\u003ch2\u003eTEMT6000 Ambient Light Sensor Module — Analog, Arduino\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eTEMT6000 ambient light sensor module\u003c\/strong\u003e measures ambient light intensity with a \u003cstrong\u003espectral response closely matching the human eye\u003c\/strong\u003e. Outputs an analog voltage proportional to light intensity — connect directly to an Arduino analog input. Ideal for automatic display brightness control and light-dependent automation.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eSensor: \u003cstrong\u003eTEMT6000\u003c\/strong\u003e | Output: \u003cstrong\u003eAnalog voltage\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSpectral response: \u003cstrong\u003e570nm peak (human eye matched)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eSupply voltage: \u003cstrong\u003e3.3–5V\u003c\/strong\u003e | Current: \u003cstrong\u003e20mA max\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eAngle: \u003cstrong\u003e±60° half-angle\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003eHuman eye spectral response\u003c\/strong\u003e — measures perceived brightness accurately\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eAnalog output\u003c\/strong\u003e — direct connection to Arduino analog input\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eWide angle\u003c\/strong\u003e — ±60° for broad ambient light capture\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eSimple integration\u003c\/strong\u003e — no library needed, read analogRead() directly\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eAutomatic display brightness control\u003c\/li\u003e\n\u003cli\u003eSmart lighting and daylight harvesting\u003c\/li\u003e\n\u003cli\u003eLight-activated relay and automation\u003c\/li\u003e\n\u003cli\u003eArduino weather station light measurement\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45670710444267,"sku":"","price":12.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/TEMT6000-Ambient-Light-Sensor-Module-2.jpg?v=1723009324"},{"product_id":"ds18b20-digital-temperature-sensor","title":"DS18B20 Digital Temperature Sensor — 1-Wire, TO-92, -55°C to +85°C, with 4.7K Resistor","description":"\u003ch2\u003eDS18B20 Digital Temperature Sensor — 1-Wire Interface, TO-92 Package\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eDS18B20\u003c\/strong\u003e is the industry-standard 1-Wire digital temperature sensor from Dallas\/Maxim, measuring temperatures from \u003cstrong\u003e-55°C to +85°C\u003c\/strong\u003e with \u003cstrong\u003e±0.5°C accuracy\u003c\/strong\u003e over the -10°C to +85°C range. Its single-wire digital interface means only one microcontroller pin is needed — and multiple DS18B20 sensors can share the same bus, each identified by a unique 64-bit serial number. Includes a \u003cstrong\u003e4.7kΩ pull-up resistor\u003c\/strong\u003e for immediate use.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003e1-Wire (single digital pin)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e3.0V – 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTemperature Range\u003c\/td\u003e\n\u003ctd\u003e-55°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eAccuracy\u003c\/td\u003e\n\u003ctd\u003e±0.5°C (-10°C to +85°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eResolution\u003c\/td\u003e\n\u003ctd\u003e9–12 bit (programmable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eConversion Time\u003c\/td\u003e\n\u003ctd\u003e93.75ms (9-bit) to 750ms (12-bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eTO-92 (3-pin through-hole)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLogic Levels\u003c\/td\u003e\n\u003ctd\u003eLogic High \u0026gt;2.2V \/ Logic Low \u0026lt;0.8V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eManufacturer\u003c\/td\u003e\n\u003ctd\u003eDallas \/ Maxim (now Analog Devices)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Choose the DS18B20?\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSingle-wire bus\u003c\/strong\u003e — only one GPIO pin required; multiple sensors can share the same wire\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDigital output\u003c\/strong\u003e — immune to electrical noise and long cable runs, unlike analog sensors (LM35, NTC thermistor)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUnique 64-bit address\u003c\/strong\u003e — identify and address each sensor individually on a shared 1-Wire bus\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProgrammable resolution\u003c\/strong\u003e — 9 to 12-bit resolution trades off speed vs. precision\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParasitic power mode\u003c\/strong\u003e — can operate on just 2 wires (data + ground) without a separate power supply\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompact TO-92 package\u003c\/strong\u003e — fits tight PCB areas or can be soldered to a cable for remote mounting\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIncludes 4.7kΩ resistor\u003c\/strong\u003e — required pull-up for 1-Wire bus, included in the package\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino and Raspberry Pi temperature monitoring projects\u003c\/li\u003e\n  \u003cli\u003eMulti-point temperature logging (multiple sensors on one pin)\u003c\/li\u003e\n  \u003cli\u003eThermostat and temperature controller builds\u003c\/li\u003e\n  \u003cli\u003eRemote temperature sensing with long cable runs\u003c\/li\u003e\n  \u003cli\u003eHeat sink and enclosure thermal monitoring\u003c\/li\u003e\n  \u003cli\u003eAquarium, greenhouse, and environmental monitoring\u003c\/li\u003e\n  \u003cli\u003e3D printer heated bed and hotend temperature sensing\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eWiring (Arduino)\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eDS18B20 Pin\u003c\/th\u003e\n\u003cth\u003eConnection\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eVDD (pin 3)\u003c\/td\u003e\n\u003ctd\u003e3.3V or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eGND (pin 1)\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDQ (pin 2)\u003c\/td\u003e\n\u003ctd\u003eDigital pin (e.g. D4) + 4.7kΩ pull-up to VDD\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003ch3\u003eQ: What libraries do I need for Arduino?\u003c\/h3\u003e\n\u003cp\u003eInstall \u003cstrong\u003eOneWire\u003c\/strong\u003e and \u003cstrong\u003eDallasTemperature\u003c\/strong\u003e libraries via the Arduino Library Manager. These handle all 1-Wire protocol communication and make reading temperature as simple as calling \u003ccode\u003esensors.getTempCByIndex(0)\u003c\/code\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eQ: How many DS18B20 sensors can I connect to one pin?\u003c\/h3\u003e\n\u003cp\u003eTheoretically unlimited — each sensor has a unique 64-bit address. In practice, 10–20 sensors on a single bus is common. Use a stronger pull-up resistor (2.2kΩ) for longer buses or more sensors.\u003c\/p\u003e\n\n\u003ch3\u003eQ: What is parasitic power mode?\u003c\/h3\u003e\n\u003cp\u003eIn parasitic mode, the sensor draws power from the data line, requiring only 2 wires (DQ + GND). This simplifies wiring for remote sensors but requires special timing considerations. For most projects, use standard 3-wire mode (VDD + GND + DQ).\u003c\/p\u003e\n\n\u003ch3\u003eQ: DS18B20 vs LM35 — which should I use?\u003c\/h3\u003e\n\u003cp\u003eThe DS18B20 is better for: long cable runs, multiple sensors on one pin, noise-sensitive environments, and digital systems. The LM35 is simpler (direct analog output, no library needed) but is more susceptible to noise and requires one analog pin per sensor.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e1× DS18B20 Digital Temperature Sensor (TO-92)\u003c\/li\u003e\n  \u003cli\u003e1× 4.7kΩ resistor (pull-up for 1-Wire bus)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673261531371,"sku":"","price":5.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DS18B20-Digital-Temp-Sensor-1.jpg?v=1723007563"},{"product_id":"analog-hall-effect-sensor-module","title":"Analog Hall Effect Sensor Module","description":"\u003cp\u003e\u003cspan\u003eUses the 49E sensor to detect N\/S pole and relative strength of magnetic field.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Analog Hall Effect Sensor Module uses the 49E sensor to detect North and South pole and relative strength of a magnetic field.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAnalog Hall Effect Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF ANALOG HALL EFFECT MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUse 49E analog Hall Effect sensor\u003c\/li\u003e\n\u003cli\u003eCan differentiate between North and South pole of the magnet\u003c\/li\u003e\n\u003cli\u003eDetects the strength of the magnetic field\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eHall Effect sensors detect the presence of a magnetic field and are commonly used for measuring the RPM of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates.  They can even be used to detect electrical current flow through conductors in some cases.\u003c\/p\u003e\n\u003cp\u003eThis sensor utilizes an analog 49E sensor.  With no magnetic field present, the sensor output rests at approximately 50% of Vcc.  In the case of 5V power, the output will be about 2.5V when at rest.  When a magnetic field comes near, the voltage will rise or fall depending on whether the south or north pole of the magnet is coming near.  If a south pole of a magnet is placed near the front of the sensor (side with the labeling), the output voltage will linearly ramp up towards Vcc to a maximum of 4.2V.  If the north pole of the magnet is presented, the voltage will linearly ramp down towards ground to a minimum of 0.86V.  The amount of the voltage rise or fall will depend on the magnetic strength of the field.\u003c\/p\u003e\n\u003cp\u003eTo use this analog sensor with a microcontroller,  it should be hooked up to an analog input.  The output will read approximately 1\/2 Vcc with no magnetic field present.  When a magnetic field approaches, the voltage will change linearly at a rate of 2.5mV \/ G.   Gauss (G) is the unit of measure for magnetism.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly.  There are a couple of different pin labeling schemes since the same board is used for several modules.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eG\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eor\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e‘-‘\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eR\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eor\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eCenter pin\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Vcc (3.3 or 5V typical)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eY\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eor\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eS =\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eAnalog output, connects to analog input on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is an interesting module that can be used to experiment with a number of industrial type applications.  The analog version of the Hall Effect sensor is a little trickier to use than the digital version, but it can provide information that the digital sensor cannot provide such as which pole of the magnet is being presented as well as the relative strength of the magnetic field.\u003c\/p\u003e\n\u003ch3\u003eAnalog Hall Effect Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eAnalog Hall Effect module test\u003c\/span\u003e\n\u003cspan\u003eBasic code for reading the analog output of the hall effect module. \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eAnalogPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e1.96\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Sensor outputs 2.5mV \/ Gauss.  \u003c\/span\u003e\n                                    \u003cspan\u003e\/\/ ADC step is about 4.89mV \/ Step\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e530.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Adjust as needed to get zero output with no magnetic field present.\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Output normalized to '0' with no field present\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading Raw: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erawValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e\/\/ Reading positive relative to the South Pole, the North Pole negative\u003c\/span\u003e\n  \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading in Gauss: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003egaussValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eSample tested per incoming shipment\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eSame as or similar to the KY-035.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"834\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 3 – 6.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output (no magnetic field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 1\/2 Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output (Max South pole field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 4.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eAnalog Output (Max North pole field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0.86V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSensitivity\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.5mV \/ G\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20mm x 15mm  (0.8 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLength including sensor\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mm  (1″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45680756359403,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/49E-Analog-Hall-Effect-Sensor-Module.jpg?v=1723006212"},{"product_id":"digital-hall-effect-sensor-module","title":"Digital Hall Effect Sensor Module","description":"\u003cp\u003e\u003cspan\u003e3144 sensor detects presence of magnetic field and outputs logic level.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Digital Hall Effect Sensor Module uses the 3144 sensor to detect the presence or absence of a magnetic field and outputs a logic level.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDigital Hall Effect Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF DIGITAL HALL EFFECT MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUse 3144 Digital Hall Effect sensor\u003c\/li\u003e\n\u003cli\u003eDetects presence or absence of a magnetic field\u003c\/li\u003e\n\u003cli\u003eLogic compatible Open Collector output\u003c\/li\u003e\n\u003cli\u003eLED indicator for magnetic field detected\u003c\/li\u003e\n\u003cli\u003e4.5 to 24V operation (5V logic compatible)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module incorporates a digital Hall-effect sensor.  Hall effect sensors detect the presence of a magnetic field and are commonly used for measuring the RPM of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates, but can also be used for applications such as telling when a door has been opened and a magnet moves away from the sensor.\u003c\/p\u003e\n\u003cp\u003eHall-effect sensors have several advantages over mechanic switches, chief among them are that by being solid-state, there is no concern about contacts wearing out and the switching speed can be quite high.\u003c\/p\u003e\n\u003cp\u003eThis sensor utilizes a digital 3144 sensor so the output is either on or off depending on whether a magnetic field is detected.  It does not detect the relative strength of the magnetic field as an analog Hall-effect sensor does.\u003c\/p\u003e\n\u003cp\u003eThe device is Open Collector, so with no magnetic field present, the sensor output is turned off and it is normally pulled HIGH using a pull-up resistor.  Most microcontrollers like Arduino have pull-up resistors that can be enabled on their input pins as we do in the example below. When a magnetic field comes near, the sensor output is turned on and the output drops LOW.  When the output goes low, an on-board red LED lights to let you know a magnetic field was detected.\u003c\/p\u003e\n\u003cp\u003eThese devices are able to handle a wide input voltage range of 4.5-24V, but will normally be operated off of 5V for use with a microcontroller.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly.  There are a couple of different versions of the markings.   See pictures for clarification if needed.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eG \/ ‘-‘\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eR \/ Center pin\u003c\/strong\u003e = 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eY \/ S =\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eSignal output, connects to digital input on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is an nice little module that can be used to experiment with a number of industrial type applications.\u003c\/p\u003e\n\u003cp\u003eThe sensor detects one pole of the magnet, so if it does not sense the magnetic field, turn the magnet or the sensor over.\u003c\/p\u003e\n\u003cp\u003eThe program below monitors the output of the sensor and reports when it detects a state change.\u003c\/p\u003e\n\u003ch3\u003eDigital Hall Effect Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eDigital Hall Effect Module Test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for monitoring the output of the module. \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e4\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Arbitrary digital pin for monitoring the output\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Current state of the sensor\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/Place to save our previous state\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT_PULLUP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Enable pullup on this pin since sensor output is open collector\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Set output window comm rate\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Read the current state of the sensor\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e!=\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e             \u003cspan\u003e\/\/ State has changed, so print out new state\u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Current State: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n   \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                 \u003cspan\u003e\/\/ Remember last state we were in\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThis module is the same as or similar to the KY-003\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"893\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 4.5 – 24V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e           Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e No magnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e Open Collector (normally pulled up to Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMagnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.8V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eOutput Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOpen Collector\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20mm x 15mm  (0.8 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45680771039467,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Digital-Hall-Effect-Sensor-1.jpg?v=1723006201"},{"product_id":"infrared-counting-sensor-module","title":"Infrared Counting Sensor Module","description":"\u003cp\u003e\u003cspan\u003eCount or detect objects that move through the U-shaped uprights.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Infrared Counting Sensor Module is used to count or detect objects that move through the U-shaped detector uprights.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInfrared Counting Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF INFRARED COUNTING SENSOR MODULE  MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eIR transmitter \/ receiver pair\u003c\/li\u003e\n\u003cli\u003eLM393 comparator circuit for clean detection\u003c\/li\u003e\n\u003cli\u003eLED indicator of detection\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module has an IR transmitter and receiver pair that face each other across a U-shaped housing.  An object moving through these uprights breaks the IR beam.\u003c\/p\u003e\n\u003cp\u003eThese modules are typically used to count something as it passes through the uprights.  This could be cogs on a wheel if it is counting revolutions or RPM, or something like pellets dropping through a chute if it is part of a feeder for a pellet stove or rabbit.  Another use is as an optical limit switch  or to detect when something is open or closed if it causes an object to move in or out of the beam.\u003c\/p\u003e\n\u003cp\u003eThe sensor output is normally LOW and the red LED on the module will be normally lit.  If the IR beam between the uprights is broken, the output goes HIGH and the LED goes off.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3 pin header for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOUT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Output, normally LOW.  Goes HIGH when IR beam is broken\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVCC\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– 3.3 – 5V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module has two holes for mounting.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eWhile this module is similar in functionality to the less expensive Light Block Sensor Module, the Infrared Counting Sensor Module has much higher and wider detector uprights and a LM393 comparator circuit that make it more robust and flexible in applications it can be used in.\u003c\/p\u003e\n\u003cp\u003eThe example program below simply monitors the output of the module and if the beam is broken, it turns the on-board LED on.  It used pin 8 in the example, but this can be changed to any digital input pin.\u003c\/p\u003e\n\u003ch3\u003eInfrared Counting Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eLight Interrupter Sensor Test\u003c\/span\u003e\n\n\u003cspan\u003eMonitor output from sensor module and light the on-board LED when\u003c\/span\u003e\n\u003cspan\u003ean object is blocking the IR beam between the sensor uprights.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Can be any digital input pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eledPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e13\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Pin that on-board LED is connected to\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ variable to store the value coming from the sensor\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ LED pin as output\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/Sensor pin as input\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/=============================================================================== \u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/read the value of the sensor \u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e\/\/ turn on LED when sensor is blocked \u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"1015\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3-5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Logic high (Vcc = 5V)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026gt; 3.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDimensions\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25 x 20mm  (1 x 0.8″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eHeight U-Channel\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e15mm  (0.59″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eH x W (Inside U-Channel)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e12 x 10mm  (0.47 x 0.39″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDepth of intrusion into U-Channel to interrupt beam\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3mm  (0.12″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681300865259,"sku":"","price":3.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Infrared-Counting-Sensor-Module-1.jpg?v=1723006080"},{"product_id":"ir-obstacle-avoidance-sensor-module","title":"IR Obstacle Avoidance Sensor Module","description":"\u003cp\u003e\u003cspan\u003eUses an infrared emitter \/ receiver pair to detect obstacles\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe IR Obstacle Avoidance Sensor Module uses an infrared emitter \/ receiver pair to detect obstacles in front of the sensor.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eIR Obstacle Avoidance Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF IR OBSTACLE AVOIDANCE SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDetection range from 2 cm to a maximum of 10 – 40 cm\u003c\/li\u003e\n\u003cli\u003eUses HS0038B IR Receiver\u003c\/li\u003e\n\u003cli\u003eOscillator frequency and duty cycle adjustment potentiometers\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis IR Obstacle Avoidance Sensor uses an IR emitting LED and IR Receiver pair to detect obstacles in front of the sensor by the IR Receiver detecting the IR that is bounced of an object by the IR Emitter.  Per specification, the device can detected objects in the range of 2 to 40 cm in front of it.\u003c\/p\u003e\n\u003cp\u003eThe clear LED is the IR emitter and the black device next to it is the HS0038B IR Receiver.  The black case of the receiver helps to block light that is not in the IR spectrum.  The device works by operating the IR LED at a frequency of 38KHz and detecting the IR energy from the LED which is bounced off an object and directed back at the IR Receiver module which is looking for an IR signal in the 38KHz frequency range.\u003c\/p\u003e\n\u003cp\u003eThe board includes two indicator LEDs.  The PLED is illuminated when the board receives power.  The SLED is illuminated momentarily when an obstacle is detected.\u003c\/p\u003e\n\u003ch3\u003eModule Adjustments\u003c\/h3\u003e\n\u003cp\u003eThe module includes a 555 timer that is used to drive the IR LED. There are two single-turn potentiometers for adjusting the frequency and duty cycle of the 555 timer.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFrequency Adjust: \u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe module operates at 38 kHz as the HS0038B receiver module is designed to specifically look for IR pulsing at a 38 kHz rate.  The potentiometer next to the GND pin is used to adjust the frequency of the 555 timer and is set to approximately 38 kHz from the factory and shouldn’t be readjusted unless you have a scope or frequency counter to calibrate the frequency.  We have noted that some modules function best at a higher frequency up around 41kHz.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eDuty Cycle Adjust:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe other potentiometer allows for adjustment of the duty cycle of the 555 timer.  This affects the brightness of the IR LED and it can be fiddled with to try to change the distance at which objects are detected.\u003c\/p\u003e\n\u003cp\u003eIf this potentiometer is adjusted too far CW, the module may show that it is always detecting an obstacle even when it isn’t.  In this case, adjust the potentiometer CCW until the LED goes off when there is no obstacle in front of the sensor.\u003c\/p\u003e\n\u003ch3\u003eContinuous \/ Pulse Mode Jumper:\u003c\/h3\u003e\n\u003cp\u003eThere is a jumper on the assembly that when installed causes the 555 timer to operate continuously.   This mode is most useful for basic testing of the module without requiring it to be hooked to a MCU.\u003c\/p\u003e\n\u003cp\u003eIf the jumper is removed, the\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eEN\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003epin on the 4-pin header is then used to enable the 555 timer to operate.  This is the more typical way to use this module if using it in an actual application.  The reason is the HS0038B receiver module is designed to filter out any IR signals that it sees continually, so it is better to pulse the IR.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 4-pin header on the assembly for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1×4 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Ground.  Must be common with the MCU ground.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e+\u003c\/strong\u003e = Power (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOUT\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Output, normally HIGH.  Output is pulsed LOW when an obstacle is detected.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eEN\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Enable, active HIGH.  When the on-board jumper is installed, EN is pulled to Vcc and always enabled.  If jumper is removed, an output pin from a MCU can be used to enable the device.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic obstacle detection such as used on entry level robotic vehicles.\u003c\/p\u003e\n\u003cp\u003eIn our experience, these devices vary quite a bit as to the distance that objects can be detected both due to the way the devices are used as well as variances in the devices themselves.  Some seem to max out at around 10cm while others will go up to 40cm or further.  Making sure the IR emitter and receiver are pointed straight forward can help maximize the distance.  They sometimes get tweeked around during shipping and handling.\u003c\/p\u003e\n\u003cp\u003eIf you are looking for a more capable obstacle avoidance sensor, we have a number available some of which are listed below including both IR and Ultrasonic types.\u003c\/p\u003e\n\u003cp\u003eAs shipped, the module has a jumper installed which causes the oscillator to run continuously.  The basic functionality can be easily tested in this mode by applying ground and 3.3V or 5V to the ground and power pins and then temporarily inserting and removing an object from in front of the IR LED\/Detector pair.  The detection LED will blink when it detects an obstacle.  IR reflectivity of the object will have an effect on the distance that it will be detected at.\u003c\/p\u003e\n\u003cp\u003eIn most cases, it is beneficial to shield the IR Transmitter LED from the receiver to prevent accidental direct coupling by using a short section of heat shrink or other tubing.  We add this if it is not already present on the module\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003e\u003cstrong\u003eNote:\u003c\/strong\u003e  If you found this page because you bought this module elsewhere and it is not working correctly, it is not uncommon for the C1 and C2 capacitors to be swapped.  C2 near the IR Receiver should be a fairly thick capacitor and C1 near the IC should be much thinner as can be seen in the pictures.  \u003c\/em\u003e\u003c\/p\u003e\n\u003cp\u003eThe device is based on the HS0038B IR receiver which is an older part.  One example of the datasheet can be found\u003cspan\u003e\u003cstrong\u003e \u003ca href=\"http:\/\/www.arm9board.net\/download\/OK6410\/docs\/HS0038B.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003ehere\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e.  As can be seen from the datasheet, the IR detector is designed to reject signals that it sees continually as noise, so the IR detector is primarily designed to operate in a burst mode where the oscillator is enabled via the EN pin before the detector output is checked for an obstacle and it is then disabled again.\u003c\/p\u003e\n\u003cp\u003eAn example program that operates the device in this burst mode is shown below.  It uses pins 8 \u0026amp; 9 for connecting to the module, but these can be any 2 digital pins.\u003c\/p\u003e\n\u003cp\u003eFor this software to work, be sure to remove the jumper from the board.\u003c\/p\u003e\n\u003ch3\u003eIR Obstacle Avoidance Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eExercise IR Obstacle Avoidance Sensor\u003c\/span\u003e\n\n\u003cspan\u003eBasic code to implement obstacle detection using the EN pin to enable the device.  \u003c\/span\u003e\n\u003cspan\u003eWhen the EN pin is enabled, it will cause a false detect trigger, so it is necessary to enable\u003c\/span\u003e\n\u003cspan\u003eand then delay reading the detection output pin.  This also includes a 2nd read to make sure any\u003c\/span\u003e\n\u003cspan\u003edetection is valid.  \u003c\/span\u003e\n\u003cspan\u003eIf an obstacle is detected, you would obviously want to implement some type of \u003c\/span\u003e\n\u003cspan\u003eavoidance rather than simply loop as we do here.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eLEDPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e13\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ On board LED\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eEnablePin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Arbitrary digital pins that are connected to device.\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eOutputPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e9\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n\u003cspan\u003eboolean\u003c\/span\u003e \u003cspan\u003eobjectDetect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eLEDPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ LED\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eEnablePin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Enable Pin of the device\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eOutputPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Output Pin of the device\u003c\/span\u003e\n\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003eEnablePin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Enable the internal 38kHz signal from the 555 timer.\u003c\/span\u003e\n \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                            \u003cspan\u003e\/\/ Wait 1mSec for signal to stabilize \u003c\/span\u003e\n \u003cspan\u003eif\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003eOutputPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e         \u003cspan\u003e\/\/ If detector Output is HIGH,\u003c\/span\u003e\n \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003eobjectDetect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e             \u003cspan\u003e\/\/ then no object was detected;\u003c\/span\u003e\n \u003cspan\u003e}\u003c\/span\u003e\n \u003cspan\u003eelse\u003c\/span\u003e                                 \u003cspan\u003e\/\/ If the Output is LOW,\u003c\/span\u003e\n \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                         \u003cspan\u003e\/\/ wait for another 1mSec and check again\u003c\/span\u003e\n    \u003cspan\u003eif\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eOutputPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e       \u003cspan\u003e\/\/ If the Output is now HIGH,\u003c\/span\u003e\n    \u003cspan\u003e{\u003c\/span\u003e                                 \u003cspan\u003e\/\/ then first Read was noise\u003c\/span\u003e\n        \u003cspan\u003eobjectDetect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ and no object was detected, so ignore\u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n    \u003cspan\u003eelse\u003c\/span\u003e                              \u003cspan\u003e\/\/ else if the Output is still LOW,\u003c\/span\u003e\n    \u003cspan\u003e{\u003c\/span\u003e\n        \u003cspan\u003eobjectDetect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003etrue\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ then a valid object was detected.\u003c\/span\u003e\n        \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eLEDPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ turn on LED to show the detection.\u003c\/span\u003e\n        \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Object Detected\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Also send detection to the serial monitor window\u003c\/span\u003e\n        \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e500\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n        \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eLEDPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ turn LED back off     \u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n \u003cspan\u003e}\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003eEnablePin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Disable the internal 38kHz signal.\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                        \u003cspan\u003e\/\/ wait for 1 Sec or some other arbitrary time period\u003c\/span\u003e\n                                      \u003cspan\u003e\/\/and then do again.\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003eThe board has a single hole in the middle that can be used for mounting.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eHeat shrink added to IR LED if not present\u003c\/li\u003e\n\u003cli\u003eBasic obstacle detection output verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a high quality resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt;5mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Frequency\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDetector Center Frequency\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e38KHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Detection Distance\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2 – 40cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e45 x 17mm (1.77 x 0.67″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.arm9board.net\/download\/OK6410\/docs\/HS0038B.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eHS0038B\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681304371435,"sku":"","price":3.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/IR-Obstacle-Avoidance-Module-1.jpg?v=1723006076"},{"product_id":"light-block-sensor-module","title":"Light Block Sensor Module","description":"\u003cp\u003e\u003cspan\u003eUses Infrared (IR) beam interruption to detect objects that move through the U-shaped detector uprights.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Light Block Sensor Module uses Infrared (IR) to detect objects that move through the U-shaped detector uprights.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLight Block Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LIGHT BLOCK SENSOR MODULE  MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eIR transmitter \/ receiver pair\u003c\/li\u003e\n\u003cli\u003e3.3V and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module has an IR transmitter and receiver pair that face each other across a U-shaped housing.  An object moving between these uprights breaks the IR beam.\u003c\/p\u003e\n\u003cp\u003eThis is a basic module that can be used in applications which use an interruption in a light beam to detect something.  One application includes mounting the sensor where a spinning wheel travels through the U-Channel.  Cogs or gaps in the edge of the wheel can be detected to calculate RPM, speed or movement.  It can also be used to detect if something is open or closed if a a piece of the object moves in and out of the channel when it is opened or closed.\\\u003c\/p\u003e\n\u003cp\u003eThe output of the module is normally LOW.  When an object blocks the light from crossing this housing, the output goes HIGH.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3 pin header for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘\u003c\/strong\u003e = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= 3.3 or 5V to match MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eS\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Signal output, connects to digital input pin on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test.jpg\"\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-10407 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-300x225.jpg\" alt=\"Light Block Sensor Module - In Test\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Light-Block-Sensor-Module-In-Test.jpg 800w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese are easy to use modules.  Just hook up power, ground and connect the sensor output pin to a digital input pin on an MCU to monitor it.\u003c\/p\u003e\n\u003cp\u003eIf you want a little more capable sensor of this type with larger uprights and a comparator output, check out the Infrared Counting Sensor Module below.\u003c\/p\u003e\n\u003cp\u003eOur example program below monitors the sensor and lights the on-board LED when the sensor is blocked.\u003c\/p\u003e\n\u003cp\u003eWe have the sensor pin hooked to pin 8, but can be set to work with any digital input pin.\u003c\/p\u003e\n\u003ch3\u003eLight Block Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eLight Interrupter Sensor Test\u003c\/span\u003e\n\n\u003cspan\u003eMonitor output from sensor module and light the on-board LED when\u003c\/span\u003e\n\u003cspan\u003ean object is blocking the IR beam between the sensor uprights.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Can be any digital input pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eledPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e13\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Pin that on-board LED is connected to\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ variable to store the value coming from the sensor\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ LED pin as output\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/Sensor pin as input\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/=============================================================================== \u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/read the value of the sensor \u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorVal\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e\/\/ turn on LED when sensor is blocked \u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eledPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic operation verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eThis module is similar to or the same as the KY-010.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"840\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Logic high\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026gt; 4.8V (when used with 5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDimensions\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e19 x 16mm  (0.75 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681308074219,"sku":"","price":2.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Light-Block-Sensor-Module-1.jpg?v=1723006066"},{"product_id":"linear-hall-effect-sensor-module","title":"Linear Hall Effect Sensor Module","description":"\u003cp\u003e\u003cspan\u003eDetects N\/S poles and relative strength of a magnetic field.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Linear Hall Effect Sensor Module detects both North and South poles and relative strength of a magnetic field and provides both analog and digital outputs.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLinear Hall Effect Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LINEAR HALL EFFECT MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUses 49E analog Hall Effect sensor\u003c\/li\u003e\n\u003cli\u003eCan differentiate between North and South pole of the magnet\u003c\/li\u003e\n\u003cli\u003eDetects the relative strength of the magnetic field\u003c\/li\u003e\n\u003cli\u003eProvides analog output representative of relative magnetic strength\u003c\/li\u003e\n\u003cli\u003eProvides digital output when magnetic strength exceeds the adjustable set-point\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module incorporates an analog Hall Effect sensor.  Hall Effect sensors detect the presence of a magnetic field and are commonly used for measuring the RPM of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates.  They can even be used to detect electrical current flow through conductors in some cases.\u003c\/p\u003e\n\u003ch3\u003eModule Operation\u003c\/h3\u003e\n\u003cp data-wp-editing=\"1\"\u003eThe analog output sits at around 50% Vcc with no input, but this varies with the setting of the sensitivity adjustment pot.  Any magnetic field picked up by the sensor causes this value to increase or decrease depending on whether the south or north pole of the magnet is coming near.  The south pole of the magnet will cause the analog output to linearly ramp towards\u003cimg alt=\"\" src=\"https:\/\/cdn.shopifycdn.net\/s\/files\/1\/0677\/1005\/8731\/files\/Linear-Hall-Effect-Sensor-Module-Schematic.jpg?v=1722229299\"\u003e\u003cspan\u003e \u003c\/span\u003eVcc to a maximum of about 4.2V (if Vcc is 5V).  If the north pole is presented, the voltage will linearly ramp towards ground to a minimum of 0.86V.  The amount of the voltage change will depend on the strength of the magnetic field.\u003c\/p\u003e\n\u003cp\u003eThe digital output which is active HIGH, is the result of a LM393 voltage comparator IC comparing the amplitude of the sensor to the level set by the on-board potentiometer.  Turning the pot CW increases the sensitivity.  A LED that is turned on when the output goes active HIGH.  If the pot is turned CCW (less sensitive), the LED will eventually always be off and if it is turned CW (more sensitive) it will come on as the magnet comes near.\u003c\/p\u003e\n\u003cp\u003eThe board also has a red LED which lights whenever power is applied.\u003c\/p\u003e\n\u003cp\u003eTo use this sensor with a microcontroller,  if the strength of the field is to be measured, the analog output should be hooked up to an analog input.  The output will read 1\/2 Vcc with no magnetic field present.  With a magnetic field, the voltage will change linearly at a rate of 2.5mV \/ G.   Gauss (G) is the unit of measure for magnetism.  If a basic GO \/ NO GO indication of a magnetic field is desired, the digital output can be connected to a digital input on the microcontroller.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 4-pin header on the module for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND \/ G\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘+’\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0 =\u003c\/strong\u003e Analog output, connects to analog input on uC\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e = Digital output, connects to digital input on uC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is an interesting module that can be used to experiment with a number of industrial type applications involving Hall Effect sensors.\u003c\/p\u003e\n\u003cp\u003eThe analog version of the Hall Effect sensor as used in this module is a little trickier to use than the digital version, but it can provide information that the digital sensors cannot provide such as which pole of the magnet is being presented as well as the relative strength of the magnetic field.  Since this module also has a digital output, it also functions similar to a digital Hall Effect sensor, but with an adjustable trigger point.\u003c\/p\u003e\n\u003cp\u003eThe program below monitors the analog output of the module using pin A0, but this can be any available analog pin.  It then reports the raw analog input value as well as the calculated Gauss value.\u003c\/p\u003e\n\u003ch3\u003eLinear Hall Effect Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eAnalog Hall Effect module test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for reading the analog output of the hall effect module. \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eAnalogPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e1.96\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Sensor outputs 2.5mV \/ Gauss.  \u003c\/span\u003e\n                                    \u003cspan\u003e\/\/ ADC step is about 4.89mV \/ Step\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e530.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Adjust as needed to get zero output with no magnetic field present.\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Output normalized to '0' with no field present\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading Raw: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erawValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e\/\/ Reading positive relative to the South Pole, the North Pole negative\u003c\/span\u003e\n  \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading in Gauss: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003egaussValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eModule similar or same as KY-024\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"834\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output (no magnetic field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 1\/2 Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output (Max South pole field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 4.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eAnalog Output (Max North pole field)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0.86V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSensitivity\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.5mV \/ G\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e36mm x 15mm  (1.4x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681315086571,"sku":"","price":3.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Linear-Hall-Effect-Sensor-Module-1.jpg?v=1723006056"},{"product_id":"optical-tracking-sensor-module","title":"Optical Tracking Sensor Module","description":"\u003cp\u003e\u003cspan\u003eUses infrared to detect a reflective line on the floor.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Optical Tracking Sensor Module is a line tracking module that uses infrared to detect a reflective line on the floor.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOptical Tracking Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF OPTICAL TRACKING SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eIR transmitter\/receiver pair\u003c\/li\u003e\n\u003cli\u003eSensitivity adjustment\u003c\/li\u003e\n\u003cli\u003eApproximately 1″ detection range\u003c\/li\u003e\n\u003cli\u003eDetection LED\u003c\/li\u003e\n\u003cli\u003e3.0 to 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis Optical Tracking Sensor, sometimes called a Line Tracking Sensor, uses an infrared (IR) emitting LED and IR Receiver pair to detect a reflective surface in front of the sensor.  These sensors are typically used in robotics to track a reflective line on the floor.  It can also be used to detect any reflective surface that comes close to it.\u003c\/p\u003e\n\u003cp\u003eThe output of the module is normally HIGH.  When a reflective surface (typically white) is brought near to the sensors, the output goes LOW and the on-board LED illuminates.  When a non-reflective surface (typically black or dark colored) is brought near, the output stays HIGH.  Maximum detection distance is generally around 1″.  There is an on-board LM393 voltage comparator and a 10K potentiometer that allows you to fiddle with the sensitivity of the detection.\u003c\/p\u003e\n\u003cp\u003eThe maximum range that it can detect a reflective surface depends on the operating voltage.  When operated at 5V, the range is about 1″.   At lower operating voltages, the maximum detection range decreases.  At 3.3V, the range decreases to about 0.6″.\u003c\/p\u003e\n\u003cp\u003eTo track a line, 2 or more sensors are generally used so that it can be more easily determined which side of the line the robot is on since one sensor will just tell you if you are on the line or not, but not how to correct course.  Another option to consider is our 3-sensor line tracking module available below.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly for making connections.  There are a couple of different labeling schemes used on this header.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eGND \/ G \u003c\/b\u003e= Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eVcc \/ V+ \u003c\/b\u003e=3.0 to 5V (5V gives greatest range)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOUT \/ S =\u003c\/strong\u003e Signal output, connects to digital input pin on uC.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic robotic line tracking experiments and is a good way to get started with basic robotic movement experiments as it is relatively straightforward to read the sensors and modify direction based on the feedback received.  These modules can sometimes find use in other applications such as keeping the detector stationary and detecting when a reflective object passes in front of the sensor.\u003c\/p\u003e\n\u003cp\u003eThe board has two large holes that can be used for mounting if desired.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic detection output verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"851\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.0 to 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt;15mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Detection Distance\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1 – 25mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e40 x 11mm (1.6 x 0.43″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681331175659,"sku":"","price":3.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Optical-Tracking-Module-1.jpg?v=1723006023"},{"product_id":"sharp-gp2y0a02yk0f-ir-distance-measuring-sensor-module","title":"Sharp GP2Y0A02YK0F IR Distance Measuring Sensor Module","description":"\u003cp\u003e\u003cspan\u003eUses Infrared (IR) to detect and measure the distance to the objects up to 5 feet\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Sharp GP2Y0A02YK0F Distance Measuring Sensor Module uses Infrared (IR) to both detect obstacles and measure the distance to the objects in front of it.  The detection and measurement range is from 20cm up to 150cm (8″ to 60″).  We ship these sensors with a compatible 8″ JST pigtail cable for easy hook-up.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSharp GP2Y0A02YK0F Distance Measuring Sensor module\u003c\/li\u003e\n\u003cli\u003eFemale JST 3-wire 8″ pig-tail cable\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eKEY FEATURES OF SHARP GP2Y-A-2YK0F DISTANCE MEASURING SENSOR MODULE:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eCompact design\u003c\/li\u003e\n\u003cli\u003eDetection range of 20 cm to 150 cm (8″ to 60″)\u003c\/li\u003e\n\u003cli\u003eAnalog output relative to the detection distance\u003c\/li\u003e\n\u003cli\u003e5V Operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe sensors operate by transmitting 1 kHz bursts of IR which are repeated at a 24 Hz rate and detecting the reflected light using a PSD (Position Sensitive Detector) that allows it to both detect objects via reflection, as well as calculate the distance to the object.  This setup allows the sensor to detect most surfaces fairly well independent of how reflective the surface is.  The IR is not visible to the human eye, but can be observed by looking at the sensor with a cell phone camera which is sensitive to IR light as shown in one of the pics.\u003c\/p\u003e\n\u003cp\u003eThese types of sensors can be used in robotics for object detection and distance measurements such as for obstacle avoidance, but they also work well for implementing applications such as touch-less switches or proximity sensing as might be used at an ATM to detect that someone is standing in front of the machine.  The detection angle is not specified, but it is fairly narrow.  These types of sensors are sometimes mounted to servo motors, so that the sensor can ‘look around’ at more of its environment.\u003c\/p\u003e\n\u003cp\u003eThe output of the sensor is analog with the distance represented by an analog voltage that can be read by an ADC input on a uC.  The output voltage ranges from about 0.4V to 2.7V and increases as the distance gets shorter. \u003cspan\u003e \u003c\/span\u003e\u003cem\u003eTake careful note that once a minimum distance of about 15cm is reached, the voltage will reverse direction and begin to decrease as the distance continues to get shorter, so use care not to misinterpret the results once inside the valid measurement range.\u003c\/em\u003e\u003c\/p\u003e\n\u003ch3\u003eConnections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly.  The pins are not labeled, but by using the supplied cable harness wire colors, the pin-out is as shown below.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eRed Wire\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e–        Connect to 5V.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBlack Wire\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e–     Connect to system ground.  This ground needs to be in common with the microcontroller.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eYellow Wire\u003c\/strong\u003e  –  Analog output.  Connect to any ADC input on microcontroller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for obstacle detection and basic range finding.  These modules are much more capable than the basic IR obstacle avoidance sensors that come in sensor kits and are highly recommended if you are building a motorized robotic car and want to implement a nicely capable obstacle avoidance system or just want to measure distance for some other reason using IR.   A possible alternative to consider for this application is an ultrasonic sensor which uses sound rather than light.\u003c\/p\u003e\n\u003cp\u003eThere is not a stated measurement accuracy for this sensor.  Empirical testing under typical use conditions indicates it seems reasonable to expect about a +\/- 10% accuracy which is adequate for most applications.\u003c\/p\u003e\n\u003cp\u003eThe maximum analog output of the sensor is less than 3V, so one technique to optimize distance measurement accuracy is to use an ADC reference voltage of 3V – 3.3V rather than the typical 5V.  This gives a finer resolution to the sensor readings.  Arduino boards have an AREF pin that can be used to input a specific voltage for the ADC to operate on.  If an external voltage is used, then the command\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eanalogReference (EXTERNAL)\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003emust be given to tell the microcontroller to use that external voltage.  Empirical bench testing indicated an accuracy improvement of about 0.25″ at a distance of 10″ when going from a 5V to 3V ADC reference voltage.  If using a 3.3V microcontroller, the ADC will already be running at 3.3V.\u003c\/p\u003e\n\u003cp\u003eThese sensors operate in a burst mode that creates fairly sharp current spikes on the power lines.  If the sensor is positioned remotely from the power supply, the manufacturer recommends that a 10uF or larger capacitor should be placed across the power and ground lines close to the sensor to reduce noise spikes.  We have measured a definite noise improvement with an O-Scope when that is done and it is good practice, but measurement accuracy did not seem to be affected much, especially if multiple readings are averaged as is done in the example code down below.\u003c\/p\u003e\n\u003cp\u003eThe program below implements a basic setup where the  measured range is displayed in centimeters and inches.  There are constants at the beginning of the program that allow you to change the number of readings to average together as well as setting the ADC voltage if changed from 5V.  If using an external ADC voltage, be sure to uncomment this line:  \u003cem\u003e\u003cspan\u003e \u003c\/span\u003e\/\/ analogReference(EXTERNAL);\u003c\/em\u003e\u003c\/p\u003e\n\u003ch3\u003eSharp GP2Y0A02YK0F Distance Measuring Sensor Module S Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eSharp IR Sensor GP2Y0A02YK0F Test\u003c\/span\u003e\n\u003cspan\u003eBasic code for reading the the output of the sensor and converting that to distance\u003c\/span\u003e\n\u003cspan\u003eUses averaging over multiple readings to smooth the readings.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eIR_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e              \u003cspan\u003e\/\/ analog pin for reading the IR sensor\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eNUM_READINGS_TO_AVG\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Number of readings to average together\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eADC_VOLTAGE\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e5.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Voltage that ADC is operating at. \u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003eADC_Step\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                     \u003cspan\u003e\/\/ Holds the voltage per step\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n \u003cspan\u003e\/\/ analogReference(EXTERNAL);     \/\/ Uncomment this line if using an external ADC reference source\u003c\/span\u003e\n \u003cspan\u003eADC_Step\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eADC_VOLTAGE\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003e1024\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ calculate the voltage per ADC step \u003c\/span\u003e\n \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e              \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003esum\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cspan\u003efor\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e=\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eNUM_READINGS_TO_AVG\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e  \u003cspan\u003e\/\/ Take the number of readings that you want to average\u003c\/span\u003e\n \u003cspan\u003e{\u003c\/span\u003e\n   \u003cspan\u003esum\u003c\/span\u003e \u003cspan\u003e+=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eIR_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cspan\u003e}\u003c\/span\u003e\n \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003evolts\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003esum\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003eNUM_READINGS_TO_AVG\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eADC_Step\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Calculate average * volts per ADC step \u003c\/span\u003e\n \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003edistance\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e65\u003c\/span\u003e\u003cspan\u003e*\u003c\/span\u003e\u003cspan\u003epow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003evolts\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e\u003cspan\u003e1.10\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Calculate distance from voltage.  Formula attributed to luckylarry.co.uk\u003c\/span\u003e\n \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edistance\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                   \u003cspan\u003e\/\/ Printout the results to the Serial Monitor\u003c\/span\u003e\n \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" cm t\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edistance\u003c\/span\u003e\u003cspan\u003e\/\u003c\/span\u003e\u003cspan\u003e2.54\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" in\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e500\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003eThe module has 2 holes that can be used for mounting.\u003c\/p\u003e\n\u003ch2\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic obstacle detection and range finding operation verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a high quality resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eTake note that once a minimum distance of about 15cm is reached, the voltage will reverse direction and begin to decrease as the distance continues to get shorter, so use care not to misinterpret the results once inside the valid measurement range.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"1206\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.5 – 5.5V  (5V typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e33mA (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Frequency\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eBurst Modulation\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1KHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eBurst Frequency\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e24Hz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Detection Range\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20cm – 150cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Measurement Resolution\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e+\/- 10% (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Detection Angle\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eUnspecified but very narrow\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e         Output Voltage\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 0.4V – 2.7V (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W x H\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e29.5 x 13 x 21.6mm (1.16 x 0.85″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eCountry of Origin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003eClick for Sensor \u003cstrong\u003e\u003ca href=\"http:\/\/www.sharp-world.com\/products\/device\/lineup\/data\/pdf\/datasheet\/gp2y0a02yk_e.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eDatasheet\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681354146027,"sku":"","price":34.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Sharp-GP2Y0A02YK0F-IR-Distance-Measuring-Module.jpg?v=1723005989"},{"product_id":"801s-vibration-sensor-module","title":"801S Vibration Sensor Module","description":"\u003cp\u003e\u003cspan\u003eSensitive micro shock detecting sensor that outputs pulses when a shock or vibration is detected.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 801S Vibration Sensor Module is a sensitive micro shock detecting sensor that operates by changing its resistance when a shock or vibration is detected.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e801S Vibration Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF 801S VIBRATION SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOutputs a logic HIGH when module senses a vibration\u003c\/li\u003e\n\u003cli\u003eOn-board LED indicator\u003c\/li\u003e\n\u003cli\u003eA gold alloy plating ensures a long service life of sensor\u003c\/li\u003e\n\u003cli\u003e3.3V and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe sensor operates in any orientation and is extremely sensitive to any type of movement such as a light tap or vibration.  Unlike many sensors that use a mechanical switching element, this sensor uses resistive element that changes resistance with motion.\u003c\/p\u003e\n\u003cp\u003eThe module output is normally LOW and outputs a series of random HIGH pulses when a vibration or shock is detected.  The on-board LED is normally ON and goes OFF momentarily or appears to flicker when a shock is detected.  It can take up to 2 seconds for the output to return to a steady LOW after the shock \/ vibration is removed\u003c\/p\u003e\n\u003cp\u003eThere are two variants we have seen on this module with different resistor values.  The current draw is either about 2mA or about 10mA @ 5V.  Most of that is due to the on-board LED.\u003c\/p\u003e\n\u003cp\u003eThe module includes an LM393 comparator with a potentiometer to allow adjustment of basic sensitivity level.  Turning the potentiometer CCW increases sensitivity.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDout\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Digital Output\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘+’ =\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eVcc 3V to 9V (3.3V or 5V typical)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis module can be used in a number of applications where an action needs to be taken if a physical shock or vibration is detected.\u003c\/p\u003e\n\u003cp\u003eThe scope capture below shows the typical output waveform when the surface the sensor is sitting on is lightly tapped.  In this case, the module is being operated at 5V.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"size-full wp-image-8152 aligncenter entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output.jpg\" alt=\"801S Vibration Sensor Module - Example Output\" width=\"656\" height=\"215\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output.jpg 656w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-300x98.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-280x92.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-400x131.jpg 400w\" data-lazy-sizes=\"(max-width: 656px) 100vw, 656px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 656px) 100vw, 656px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output.jpg 656w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-300x98.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-280x92.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/10\/801S-Vibration-Sensor-Module-Example-Output-400x131.jpg 400w\"\u003e\u003c\/p\u003e\n\u003cp\u003eWhen tapped, the output will transition from LOW to HIGH multiple times as shown in the scope capture.  If monitoring the output of the sensor with an MCU input, it may need to be debounced in the software in the same fashion as a typical mechanical switch would be by ignoring transitions for a period of time after the first LOW to HIGH transition is detected.\u003c\/p\u003e\n\u003cp\u003eThe datasheet is pretty terse and specifies 9V operation, but we have tested the module from 3V to 9V and it seems to work fine over that range.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"840\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.0 – 9V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 2mA @ 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Logic high\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled toward Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e35 x 11.5mm  (1.4 x 0.45″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSencera\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/www.tme.eu\/Document\/f057bde5b9f7ca0c86fbad8e5c5163e5\/SENS-801.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e801S\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45681616421099,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/801S-Vibration-Sensor-Module.jpg?v=1723005328"},{"product_id":"alcohol-gas-sensor-mq-3-module","title":"Alcohol Gas Sensor MQ-3 Module","description":"\u003ch2\u003e\u003cspan\u003eModule detects the presence and amount of alcohol \/ ethanol present in the air.\u003c\/span\u003e\u003c\/h2\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Alcohol Gas Sensor Module detects the presence and amount of alcohol \/ ethanol present in the air.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAlcohol Gas Sensor MQ-3 Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF ALCOHOL GAS SENSOR MQ-3 MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSensor type used in breathalyzer applications or detecting alcohol spills\u003c\/li\u003e\n\u003cli\u003eAnalog sensor output\u003c\/li\u003e\n\u003cli\u003eDigital sensor output with user adjustable sensitivity and LED indicator\u003c\/li\u003e\n\u003cli\u003e5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module includes the sensor which provides a direct analog output.  In addition, the module has a comparator IC and adjustment potentiometer to provide a digital output with an adjustable set point, power LED, digital output active LED and a header for easy hookup.\u003c\/p\u003e\n\u003cp\u003eThese modules can be used to detect the presence and amount of alcohol present in the air.  This can be used to create an alarm for monitoring  the presence of alcohol, such as from a spill, or more typically it can be used to try to quantify the amount of alcohol present in a person’s breath aka create a breathalyzer like the police use.\u003c\/p\u003e\n\u003ch3\u003eHeating Element\u003c\/h3\u003e\n\u003cp\u003eThe sensor contains a small heater, so the power draw is about 130mA.  The sensor will get warm to the touch after it has been operating for awhile.  The module can be powered off a 5V power pin on the MCU, but it draws too much power to try to power it off a digital pin.  For accurate measurement, the sensor needs to be fully warmed up.  The sample code below has a 1 minute warm-up, but for maximum accuracy the warm-up time before use can be extended.\u003c\/p\u003e\n\u003ch3\u003eSensing Element\u003c\/h3\u003e\n\u003cp\u003eThe sensor uses SnO2 (tin dioxide) for the sensing element which is heated and changes resistance when exposed to alcohol in the air.  A voltage divider is used to provide an analog output voltage that correlates to the amount of alcohol in the air.   When the sensor is left in storage for long periods, the calibration of the device can drift.  When first being put into use after a long storage (1 month or more), the device benefits from being powered on for 24-48 hours to break it in for maximum accuracy.  We have noticed that sensors tend to drop about 30-40 points after operating for about 24 hours with no alcohol present when we first receive them.\u003c\/p\u003e\n\u003cp\u003eWhen bench-top testing, the sensor will take 5-10 minutes to fully warm up.  During the warm-up time, the sensor will read high and slowly decrease until the reading stabilizes.\u003c\/p\u003e\n\u003cp\u003eThe output of the sensing element is available as an analog output proportional to the level of alcohol being sensed.  This output is typically fed into an analog input on an MCU so that it can be measured.  That analog output is also run through an LM393 comparator which provides a digital output.  The trigger point for the digital output is adjustable using the potentiometer on the back of the module.  An LED labeled D0 is lit when the analog output exceeds the limit as set by the potentiometer and the digital output (D0) goes LOW.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a right-angle male header on the board for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eVCC\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Connect to 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Connect to ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Digital output of comparator circuit.  Active LOW when alcohol set point is reached\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e– Analog output of sensor. Voltage increases with alcohol detection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese devices work as expected, in that they detect the presence of alcohol and provide an analog output relative the amount of alcohol that is detected.  Somewhat surprisingly, even having a glass of wine within a couple of feet of the sensor is detected.  Don’t ask me how I know that…..  Taking it to the next level such as correlating the data it outputs to a specific Blood Alcohol Content (BAC) that will stand up in court is a whole different ball game.\u003c\/p\u003e\n\u003cp\u003ePart of the difficulty is that temperature and humidity have an effect on the readings.  This can be demonstrated by running the sample program below and breathing lightly on the sensor (with no alcohol involved).  The sensor reading will go up due to humidity and heat in the breath.  Then try blowing hard on the sensor and the reading will go down since the strong air blowing on the sensor cools it down which causes a lower reading.  The sensor has a built-in heater, so for best stability it should be given some time to heat up (warm to the touch) which will minimize the effect of temperature.\u003c\/p\u003e\n\u003cp\u003eThe other part of the difficulty in a BAC application is in coming up with a standard by which to calibrate the reading you are getting to a specific BAC.\u003c\/p\u003e\n\u003cp\u003eTo avoid getting too scientific, I went the route of trying to correlate the readings by drinking wine in known 5oz (1 serving) quantities over time  and comparing that to standardized BAC charts that you can find on the internet that estimate your BAC given your weight, the amount of alcohol consumed and the time span over which you drank it.    Here is an example\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/www.dmv.ca.gov\/portal\/dmv\/detail\/pubs\/hdbk\/actions_drink\" rel=\"noopener noreferrer\" target=\"_blank\"\u003echart\u003c\/a\u003e\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eNote that you take .01% off for every 40 minutes of time while drinking.  Below is a chart I filled out as part of my scientific quest.  The last entry was with an alcohol swab placed over the sensor to determine the upper limit of the measurement.\u003cbr\u003e\u003c\/p\u003e\n\u003ctable class=\"table table-bordered\" width=\"817\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003eDrink is 5 oz of wine\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e(1 serving)\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd width=\"66\"\u003ePer BAC Chart\u003c\/td\u003e\n\u003ctd width=\"66\"\u003eTime\u003c\/td\u003e\n\u003ctd width=\"96\"\u003ePer BAC Chart\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eAdj  w\/ Time\u003c\/p\u003e\n\u003c\/td\u003e\n\u003ctd width=\"120\"\u003eSensor Reading 5 mins after finishing drink\u003c\/td\u003e\n\u003ctd width=\"162\"\u003eDrunkedness\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003eStart\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e:00\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e90\u003c\/td\u003e\n\u003ctd width=\"162\"\u003eStone Cold Sober\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003e1 Drink\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e.03\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e:20\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e300\u003c\/td\u003e\n\u003ctd width=\"162\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003e2 Drinks\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e.06 – .07\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e:40\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e.05-.06\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e362\u003c\/td\u003e\n\u003ctd width=\"162\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003e3 Drinks\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e.1\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e1:07\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e.09\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e404\u003c\/td\u003e\n\u003ctd width=\"162\"\u003eShould be legally drunk\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003e4 Drinks\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e.13\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e1:30\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e.11\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e435\u003c\/td\u003e\n\u003ctd width=\"162\"\u003eEven Drunkerer\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"91\"\u003eAlcohol swab\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e\u003c\/td\u003e\n\u003ctd width=\"66\"\u003e\u003c\/td\u003e\n\u003ctd width=\"96\"\u003e\u003c\/td\u003e\n\u003ctd width=\"120\"\u003e811\u003c\/td\u003e\n\u003ctd width=\"162\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cspan\u003eThese values were used in the program below.  At the end of the ‘test session’, it was clear that it was easy to tell if someone had been drinking, but determining at which point a person was legally drunk would need more science\/engineering than has been presented here.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eTo hook up the module:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eConnect the A0 analog output pin to any analog input pin on the MCU.  We are using A0 in our example.\u003c\/li\u003e\n\u003cli\u003eIf using the digital output, connect the D0 pin to any digital input pin on the MCU.  We are  using D8 in our example.\u003c\/li\u003e\n\u003cli\u003eHook up Vcc to 5V and ground to ground.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eAlcohol Gas Sensor MQ-3 Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*  MOQ-3 Alcohol Sensor Module Test\u003c\/span\u003e\n\n\u003cspan\u003e   This type of sensor is commonly used for breath analyzer applications where\u003c\/span\u003e\n\u003cspan\u003e   the blood alcohol content is estimated by measuring the amount of alcohol being\u003c\/span\u003e\n\u003cspan\u003e   released when a person exhales onto the sensor.\u003c\/span\u003e\n\u003cspan\u003e   \u003c\/span\u003e\n\u003cspan\u003e   Monitor sensor analog output 'A0' on ADC input A0\u003c\/span\u003e\n\u003cspan\u003e   Monitor sensor digital output 'D0' on digital input pin 8\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003e\/\/ Define pins used below\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eADC_PIN\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e      \u003cspan\u003e\/\/ Use any available ADC Pin, connect to A0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e   \u003cspan\u003e\/\/ Use any available digital pin, connect to D0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eWARMUP_TIME\u003c\/span\u003e \u003cspan\u003e30\u003c\/span\u003e  \u003cspan\u003e\/\/ Warmup time in Seconds\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eSOBER\u003c\/span\u003e \u003cspan\u003e150\u003c\/span\u003e       \u003cspan\u003e\/\/ Max value considered to be sober\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eDRUNK\u003c\/span\u003e \u003cspan\u003e400\u003c\/span\u003e       \u003cspan\u003e\/\/ Min value considered to be drunk\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Set Serial Monitor window comm speed\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Warming up the sensor \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/Wait while we warm up the sensor\u003c\/span\u003e\n  \u003cspan\u003efor\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e=\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e\u0026lt;=\u003c\/span\u003e \u003cspan\u003eWARMUP_TIME\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\". \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" Warmup Complete\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eADC_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Read analog value from sensor\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_Digital\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Read  digital value from sensor\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Alcohol Analog Data = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Printout the raw data\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_ADC\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"  Digital Output = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_Digital\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \n                                             \u003cspan\u003e\/\/ Printout our estimate of drunkenness\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e\u0026lt;=\u003c\/span\u003e \u003cspan\u003eSOBER\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"  Conclusion:  Stone Cold Sober!\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e\u0026gt;\u003c\/span\u003e \u003cspan\u003eDRUNK\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"  Conclusion:  Yep, your DRUNK\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"  Drinking - but within legal limits\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Take a reading every second for test purposes.\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eTested for basic alcohol detection\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"854\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        I\u003csub\u003e(typ)\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e130mA (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e       V\u003csub\u003eout\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eAnalog Output\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 350mV to 4V (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e       Sensor Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMeasurement Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25~500 ppm alcohol\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e      Sensor Probe Board\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e32mm x 20mm (1.26 x 0.8″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDatasheet\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/datasheets\/Sensors\/Biometric\/MQ-3%20ver1.3%20-%20Manual.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMQ-3 Sensor\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683370098923,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MQ-3-Alcohol-Ethanol-Sensor-Module.jpg?v=1723005305"},{"product_id":"digital-thermistor-temperature-sensor-module","title":"Digital Thermistor Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003eNTC thermistor with analog output and adjustable digital output.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Digital Thermistor Temperature Sensor Module uses an NTC thermistor to measure temperature and provides both digital and analog outputs.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDigital Thermistor Temperature Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF DIGITAL THERMISTOR TEMPERATURE SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUses NTC thermistor\u003c\/li\u003e\n\u003cli\u003eMeasurement range of -55 to +125°C\u003c\/li\u003e\n\u003cli\u003eProvides analog output of reading\u003c\/li\u003e\n\u003cli\u003eProvides digital output with adjustable temperature set-point\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module uses an NTC thermistor to measure temperature and provides both analog and digital outputs.\u003c\/p\u003e\n\u003cp\u003eThermistors are essentially resistors whose resistance value changes with changes in temperature.  NTC stands for ‘Negative Temperature Coefficient which means that the sensor resistance will decrease as temperature increases.\u003c\/p\u003e\n\u003cp\u003eThe thermistor is in series with an 10K resistor which creates a voltage divider.  As the thermistor warms up, the resistance lowers and the analog output either increases towards Vcc or decreases toward ground depending on the module construction.\u003c\/p\u003e\n\u003cp\u003eThere is a red LED1 that is lit whenever power is applied to the module.\u003c\/p\u003e\n\u003ch3\u003eOutputs\u003c\/h3\u003e\n\u003cp\u003eThe analog (\u003cstrong\u003eA0\u003c\/strong\u003e) output is the raw analog voltage output from the thermistor.  This is normally input into an analog port on an MCU where it can be read and the temperature can be calculated.\u003c\/p\u003e\n\u003cp\u003eThe digital (\u003cstrong\u003eD0\u003c\/strong\u003e) output is normally LOW and goes HIGH when a temperature threshold has been reached.  When the output goes HIGH, LED2 lights.  The set-point for the temperature threshold can be adjusted using the potentiometer on the module.  Turning the adjustment CCW increases the temperature set-point.  This output is normally connected to a digital input on an MCU or could directly control a relay or similar device once the temperature threshold has been reached.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 4-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0 =\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eAnalog output, connects to analog input on MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND \/ G\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘+’\u003c\/strong\u003e = Vcc (3.3 or 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Digital output, connects to digital input on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese modules are interesting for experimenting with thermistors.\u003c\/p\u003e\n\u003cp\u003eThermistors do require post processing to convert their output to temperature and are not as easy to use as sensors that output directly in temperature such as the LM35 or DS18B20.  If your goal is simply to get accurate temperature readings, I would recommend sticking with one of those sensors, some of which are available below.\u003c\/p\u003e\n\u003cp\u003eThe simple program below monitors both the analog and digital outputs of the device and prints the results on the Serial Monitor window.  If you are looking for a program that converts the analog output to a temperature, you can find one\u003cspan\u003e \u003c\/span\u003e\u003c\/p\u003e\n\u003ch3\u003eDigital Thermistor Temperature Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eDigital Thermistor temp Sensor module test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for reading the outputs of the thermistor module. \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eanalogPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Any analog pin on Arduino\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003edigitalPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e3\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Any digital pin on Arduino\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eadcSample\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Variables to hold values\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003edigitalSample\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e  \n  \u003cspan\u003eadcSample\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eanalogPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e        \u003cspan\u003e\/\/ read analog value from pin and store\u003c\/span\u003e\n  \u003cspan\u003edigitalSample\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edigitalPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ read digital value from pin and store\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Analog Output: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eadcSample\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Digital Output: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edigitalSample\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic outputs verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eThis module is the same or similar to the KY-028\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"855\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Vcc\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 7mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Temperature Range\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e -55 to +125°C   (+\/- 0.5°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e36 x 15mm  (1.4 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683389923563,"sku":"","price":3.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Digital-Thermistor-Temp-Sensor-Module-1.jpg?v=1723005296"},{"product_id":"dht11-humidity-temperature-sensor-module","title":"DHT11 Humidity \/ Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003eSensor uses a 1-wire interface to report both humidity (20-90%) and temperature (0-50°C).\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe DHT11 Humidity \/ Temperature Sensor Module uses a 1-wire interface to report both humidity (20-90%) and temperature (0-50°C).\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDHT11 Humidity \/ Temperature Sensor Module\u003c\/li\u003e\n\u003cli\u003eFemale \/ Female 3 x 8″ jumper cable for connecting the module to a microcontroller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF DHT11 HUMIDITY \/ TEMPERATURE  MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eReports humidity over range of 20% to 90%\u003c\/li\u003e\n\u003cli\u003eReports temperature over range of 0°C to 50°C\u003c\/li\u003e\n\u003cli\u003eUses 1-Wire interface\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module utilizes the DHT-11 which is a combined humidity and temperature sensor assembly.   It includes a power LED that lights when power is applied as well as a 3-wire F\/F cable for hooking it up.\u003c\/p\u003e\n\u003cp\u003eThe DHT11 sensor is capable of reading humidity over the range of 20-90% with an accuracy of +\/- 5% and temperature over the range of 0 – 50°C with an accuracy of +\/- 2°C.\u003c\/p\u003e\n\u003cp\u003eThe sensor is written and read via a single digital pin and requires the use of a library for the communications as the communication protocol itself is quite complex.  With an Arduino, the DHTLib library can be downloaded from the Arduino site or GitHub.\u003c\/p\u003e\n\u003cp\u003eThe device does have a minimum sampling time of 1Sec so the sensor cannot be polled more often than once every second or bad data may be retrieved.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eVcc \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=      Connect to 3.3V to 5V.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDATA \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Digital sensor I\/O – Connects to a digital pin on a microcontroller\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=      Connect to system ground.  This ground needs to be in common with the microcontroller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic humidity and temperature measurement.  Once up and running with a microcontroller, it is easy to test basic functionality of the module by breathing on the sensor.  That will increase both humidity and temperature temporarily.\u003c\/p\u003e\n\u003cp\u003eThe DHT11 has a narrower measurement range and lower accuracy compared to the similar DHT22 sensor which is why it costs less. If you are looking for best accuracy, you may want to check out our DHT22 module below.\u003c\/p\u003e\n\u003cp\u003eThe sensor can not be polled faster than once every second, otherwise data errors may occur.  If you get occasional bad readings (such as -999.00) try increasing the delay between reads.  Our sample program below uses a 2 second delay just to be safe.\u003c\/p\u003e\n\u003cp\u003eOnce the DHT library is installed, using the device is fairly simple as shown in the code below.\u003c\/p\u003e\n\u003ch3\u003eDHT11 Humidity \/ Temperature Sensor Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e  DHT11 Temp \/ Humidity sensor module test\u003c\/span\u003e\n\n\u003cspan\u003e  Basic code for exercising the module.\u003c\/span\u003e\n\u003cspan\u003e  Requires DHT library to be installed\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003edht\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e          \u003cspan\u003e\/\/ Include the DHT library\u003c\/span\u003e\n\u003cspan\u003edht\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                  \u003cspan\u003e\/\/ Create instance of DHT object\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eDHT11_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Connects to sensor I\/O, use any digital pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensor\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e               \u003cspan\u003e\/\/ Dummy variable for sensor read\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Initialize serial comm\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003esensor\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eread11\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT11_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Read sensor\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Temperature = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Printout returned results\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003etemperature\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" C\\t\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Humidity = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ehumidity\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" %\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e2000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ 1 sec min read time, so using 2 to be safe\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eWire colors may vary from the pics\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003emax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 5mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          T\u003csub\u003emin\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Minimum Sampling Period\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1 second\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Humidity\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20% to 90%RH  (+\/- 5%RH)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Temperature\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 0 – 50°C   (+\/- 2°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e31mm x 14mm (1.2 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/osepp.com\/wp-content\/uploads\/2015\/04\/DHT11-Technical-Data-Sheet-Translated-Version.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eDHT11\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683392413931,"sku":"","price":4.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DHT11-Humidity-Temperature-Module-with-Cable.jpg?v=1723005291"},{"product_id":"dht22-humidity-temperature-sensor-module","title":"DHT22 Humidity \/ Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003e1-wire interface reports humidity (0 to 99.9%) and temp (-40 to 80°C).\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe DHT22 Humidity \/ Temperature Sensor Module uses a 1-wire interface to report both humidity (0 – 99.9%) and temperature (-40 – 80°C).\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDHT22 Humidity \/ Temperature Sensor Module\u003c\/li\u003e\n\u003cli\u003eFemale \/ Female 3 x 8″ jumper cable for connecting the module to a microcontroller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF DHT22 HUMIDITY \/ TEMPERATURE  MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eReports humidity over range of 0% to 99.9%\u003c\/li\u003e\n\u003cli\u003eReports temperature over range of -40°C to 80°C\u003c\/li\u003e\n\u003cli\u003eUses 1-Wire interface\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module utilizes the DHT22 which is a combined humidity and temperature sensor assembly.  Note that AM2302 is just another name sometimes used for the DHT22 and you may see this marking on the module.\u003c\/p\u003e\n\u003cp\u003eThe DHT22 sensor is capable of reading humidity over the full range of 0 to 99.9% with an accuracy of +\/- 2% and temperature over the range of -40 to 125°C with an accuracy of +\/- 0.5°C.   The humidity accuracy increases to +\/-5% at temperature extremes.\u003c\/p\u003e\n\u003cp\u003eThe device does have a minimum sampling time of 2 seconds so the sensor cannot be polled more often than every 2 seconds or bad data may be retrieved.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘+’\u003c\/strong\u003e  =       Connect to 3.3V to 5V.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOUT\u003c\/strong\u003e  =  Digital sensor I\/O – Connects to a digital pin on a microcontroller\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘- ‘\u003c\/strong\u003e  =       Connect to system ground.  This ground needs to be in common with the microcontroller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe sensor is written and read via a single digital pin and requires the use of a library for the communications.  With an Arduino, the DHTLib library can be downloaded from the Arduino site or GitHub.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic humidity and temperature measurement.  Once up and running with a microcontroller, it is easy to test basic functionality of the module by breathing on the sensor.  That will increase both humidity and temperature temporarily.\u003cimg decoding=\"async\" class=\"alignright wp-image-10211 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-300x225.jpg\" alt=\"DHT22 Humidity Temperature Module - In Use\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/04\/DHT22-Humidity-Temperature-Module-In-Use.jpg 800w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe DHT22 has a larger measurement range and higher accuracy compared to the similar DHT11 sensor which is why it costs more.  If you are looking for a less expensive option, check out our DHT11 Module below.\u003c\/p\u003e\n\u003cp\u003eThese sensors are often spec’d to read temps of up to 125C.  While the circuit will indeed measure temps that high, the plastic housing will start to deform, therefore I recommend not using it at temps higher than 80C which is higher than most applications will require anyway.\u003c\/p\u003e\n\u003cp\u003eThe sensor can not be polled faster than once every 2 seconds, otherwise data errors may occur.  If you get occasional bad readings (such as -999.00) try increasing the delay between reads.  Our sample program below uses a 3 second delay just to be safe.\u003c\/p\u003e\n\u003cp\u003eOnce the DHT library is installed, using the device is fairly simple as shown in the code below.  We are using pin 7 for the digital I\/O, but this can be changed to any digital pin.\u003c\/p\u003e\n\u003ch3\u003eDHT22 Humidity \/ Temperature Sensor Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e  DHT22 Temp \/ Humidity sensor module test\u003c\/span\u003e\n\n\u003cspan\u003e  Basic code for exercising the module.\u003c\/span\u003e\n\u003cspan\u003e  Requires DHT library to be installed\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003edht\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e          \u003cspan\u003e\/\/ Include the DHT library\u003c\/span\u003e\n\u003cspan\u003edht\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                  \u003cspan\u003e\/\/ Create instance of DHT object\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eDHT22_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Connects to sensor I\/O, use any digital pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensor\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e               \u003cspan\u003e\/\/ Dummy variable for sensor read\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Initialize serial comm\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003esensor\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eread22\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT22_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Read sensor\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Temperature = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Printout returned results\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003etemperature\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" C  \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Humidity = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ehumidity\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" %\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ 2 sec min read time, so using 3 to be safe\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested for correct operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eWire colors may vary from the pics\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003emax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt;500uA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          T\u003csub\u003emin\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Minimum Sampling Period\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2 seconds\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Humidity\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0% to 99.9%RH  (+\/- 2%RH)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Temperature\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e -40 to 80°C   (+\/- 0.5°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e37 x 16mm (1.5 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/akizukidenshi.com\/download\/ds\/aosong\/AM2302.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eDHT22\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683396903147,"sku":"","price":7.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DHT22-Humidity-Temperature-Module.jpg?v=1723005280"},{"product_id":"ds18b20-digital-temperature-sensor-module-1wire-arduino","title":"DS18B20 Digital Temperature Sensor Module 1-Wire 3.3V\/5V with LED Indicator | Arduino Compatible","description":"\u003ch2\u003eDS18B20 Digital Temperature Sensor Module — 1-Wire, 3.3V\/5V, Arduino Compatible\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eDS18B20 digital temperature sensor module\u003c\/strong\u003e is one of the most popular temperature sensing solutions in the maker and embedded systems community. Built around the Dallas\/Maxim DS18B20 IC, this compact 20×15mm PCB module communicates via the 1-Wire protocol — requiring only a single digital pin on your microcontroller to deliver accurate digital temperature readings from -55°C to +85°C. An onboard LED flashes during 1-Wire communication, providing instant visual confirmation that your sensor is active and talking to your MCU.\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSensor IC\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDS18B20 (Dallas\/Maxim)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCommunication\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1-Wire serial interface\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSupply Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3.0V – 5.5V (3.3V and 5V compatible)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eTemperature Range\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e-55°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eAccuracy\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e±0.5°C (-10°C to +85°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eResolution\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e9–12 bit (programmable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eLogic High\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u0026gt;2.2V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eLogic Low\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u0026lt;0.8V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePCB Dimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e20 × 15mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eConnector\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3-pin header (G\/−, VCC, S\/Data)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eIndicator\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eLED flashes during 1-Wire communication\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSS Encapsulated TO-92 on PCB\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003ePin Connections\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003cth\u003ePin Label\u003c\/th\u003e\n\u003cth\u003eFunction\u003c\/th\u003e\n\u003cth\u003eConnect To\u003c\/th\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003e− \/ G\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003ctd\u003eArduino GND\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCenter \/ R\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eVCC (3.3–5V)\u003c\/td\u003e\n\u003ctd\u003eArduino 3.3V or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eS \/ Y\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1-Wire Data Bus\u003c\/td\u003e\n\u003ctd\u003eAny Arduino digital pin\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eArduino Quick-Start\u003c\/h3\u003e\n\u003col\u003e\n  \u003cli\u003eConnect \u003cstrong\u003eG\u003c\/strong\u003e to Arduino GND, \u003cstrong\u003eR\u003c\/strong\u003e to 5V, \u003cstrong\u003eS\u003c\/strong\u003e to digital pin 4.\u003c\/li\u003e\n  \u003cli\u003eAdd a \u003cstrong\u003e4.7kΩ pull-up resistor\u003c\/strong\u003e between the S pin and VCC (required for 1-Wire bus).\u003c\/li\u003e\n  \u003cli\u003eInstall \u003cstrong\u003eOneWire\u003c\/strong\u003e and \u003cstrong\u003eDallasTemperature\u003c\/strong\u003e libraries via Arduino IDE Library Manager.\u003c\/li\u003e\n  \u003cli\u003eUpload the example sketch and open Serial Monitor at 9600 baud to read temperature.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003e\u003cem\u003eTip: If the sensor reads -127°C, the 4.7kΩ pull-up resistor is missing or not connected correctly.\u003c\/em\u003e\u003c\/p\u003e\n\n\u003ch3\u003eWhy Choose the DS18B20?\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eSingle-wire interface\u003c\/strong\u003e — only one MCU digital pin required, freeing up I\/O for other sensors\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eMultiple sensors on one bus\u003c\/strong\u003e — daisy-chain multiple DS18B20s on a single wire using unique 64-bit serial addresses\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eDigital output\u003c\/strong\u003e — immune to electrical noise, ideal for long cable runs unlike analog sensors\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eProgrammable resolution\u003c\/strong\u003e — 9 to 12-bit resolution for speed vs. accuracy trade-off\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e3.3V and 5V compatible\u003c\/strong\u003e — works with Arduino, ESP32, ESP8266, Raspberry Pi, and STM32\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eLED communication indicator\u003c\/strong\u003e — instant visual feedback during sensor polling\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eInspected and verified\u003c\/strong\u003e — basic operation tested before shipping\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCommon Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino temperature monitoring and data logging\u003c\/li\u003e\n  \u003cli\u003eThermostat and temperature controller projects\u003c\/li\u003e\n  \u003cli\u003e3D printer heated bed and hotend temperature sensing\u003c\/li\u003e\n  \u003cli\u003eAquarium and fish tank temperature monitoring\u003c\/li\u003e\n  \u003cli\u003eWeather station and environmental sensing\u003c\/li\u003e\n  \u003cli\u003eCooling fan control based on temperature threshold\u003c\/li\u003e\n  \u003cli\u003eHome automation temperature nodes (ESP8266\/ESP32 + MQTT)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1× DS18B20 Digital Temperature Sensor Module (20×15mm PCB)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683412500715,"sku":"","price":4.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DS18B20-Digital-Temp-Sensor-Module-1.jpg?v=1723005271"},{"product_id":"ds18b20-waterproof-digital-temperature-sensor-1m-cable-1wire-arduino","title":"DS18B20 Waterproof Digital Temperature Sensor 1m Cable 1-Wire -55°C to +85°C | Arduino Compatible","description":"\u003ch2\u003eDS18B20 Waterproof Digital Temperature Sensor — 1m Cable, Stainless Steel Probe\u003c\/h2\u003e\n\n\u003cp\u003eWhen you need to measure temperature in wet, submerged, or remote environments, the \u003cstrong\u003eDS18B20 waterproof temperature sensor\u003c\/strong\u003e is the definitive solution. The Dallas\/Maxim DS18B20 IC is sealed inside a stainless steel probe and connected via a 1-meter unterminated cable — ready to be immersed in liquids, buried in soil, or mounted on heatsinks far from your microcontroller. A 4.7kΩ pull-up resistor is included for immediate use.\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSensor IC\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDS18B20 (Dallas\/Maxim)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCommunication\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1-Wire serial interface\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSupply Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3.0V – 5.5V (3.3V and 5V compatible)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eTemperature Range\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e-55°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eAccuracy\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e±0.5°C (-10°C to +85°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eResolution\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e9–12 bit (programmable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCable Length\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1 meter (approx. 36 inches)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eProbe Housing\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eStainless steel waterproof can\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eCable Termination\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eUnterminated (bare wire ends)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eManufacturer\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDallas \/ Maxim\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eWire Color Code\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003cth\u003eWire Color\u003c\/th\u003e\n\u003cth\u003eFunction\u003c\/th\u003e\n\u003cth\u003eConnect To\u003c\/th\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eRed\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eVDD (Power)\u003c\/td\u003e\n\u003ctd\u003e3.3V or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eBlack\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGND (Ground)\u003c\/td\u003e\n\u003ctd\u003eArduino GND\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eYellow\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDQ (1-Wire Data)\u003c\/td\u003e\n\u003ctd\u003eAny Arduino digital pin\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eArduino Quick-Start\u003c\/h3\u003e\n\u003col\u003e\n  \u003cli\u003eConnect \u003cstrong\u003eRed\u003c\/strong\u003e to 5V, \u003cstrong\u003eBlack\u003c\/strong\u003e to GND, \u003cstrong\u003eYellow\u003c\/strong\u003e to digital pin 4.\u003c\/li\u003e\n  \u003cli\u003eConnect the included \u003cstrong\u003e4.7kΩ pull-up resistor\u003c\/strong\u003e between the Yellow (data) wire and Red (VCC).\u003c\/li\u003e\n  \u003cli\u003eInstall \u003cstrong\u003eOneWire\u003c\/strong\u003e and \u003cstrong\u003eDallasTemperature\u003c\/strong\u003e libraries via Arduino IDE Library Manager.\u003c\/li\u003e\n  \u003cli\u003eUpload the example sketch and open Serial Monitor at 9600 baud to read temperature.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003e\u003cem\u003eTip: If the sensor reads -127°C, check that the 4.7kΩ pull-up resistor is correctly installed between data and VCC.\u003c\/em\u003e\u003c\/p\u003e\n\n\u003ch3\u003eWhy Choose This Waterproof Sensor?\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eWaterproof stainless steel probe\u003c\/strong\u003e — safe for liquid immersion in water, aquariums, pools, and pipes\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e1-meter cable\u003c\/strong\u003e — remote sensing up to 1m from your MCU without signal degradation\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eDigital 1-Wire output\u003c\/strong\u003e — immune to electrical noise, unlike analog sensors on long cable runs\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eMultiple sensors on one bus\u003c\/strong\u003e — chain multiple DS18B20 probes on a single digital pin\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e3.3V and 5V compatible\u003c\/strong\u003e — works with Arduino, ESP8266, ESP32, Raspberry Pi, STM32\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003ePull-up resistor included\u003c\/strong\u003e — everything needed for immediate use\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eParasitic power mode\u003c\/strong\u003e — can operate on just 2 wires (GND + data) for simplified wiring\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCommon Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAquarium and fish tank water temperature monitoring\u003c\/li\u003e\n  \u003cli\u003eSwimming pool and hot tub temperature sensing\u003c\/li\u003e\n  \u003cli\u003eSoil temperature measurement for agriculture and gardening\u003c\/li\u003e\n  \u003cli\u003eWater heater and boiler temperature control\u003c\/li\u003e\n  \u003cli\u003eHeatsink and PCB thermal monitoring\u003c\/li\u003e\n  \u003cli\u003eOutdoor weather station temperature probes\u003c\/li\u003e\n  \u003cli\u003eSous vide cooking temperature control\u003c\/li\u003e\n  \u003cli\u003ePipe freeze detection systems\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Can I extend the cable beyond 1 meter?\u003c\/strong\u003e\u003cbr\u003eA: Yes. The 1-Wire bus supports cable runs of several meters. For longer runs (\u0026gt;5m), use a stronger pull-up resistor (2.2kΩ) and ensure good cable shielding to prevent noise pickup.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Can I connect multiple DS18B20 sensors to one Arduino pin?\u003c\/strong\u003e\u003cbr\u003eA: Yes. Each DS18B20 has a unique 64-bit address, allowing multiple sensors on a single 1-Wire bus. Use the DallasTemperature library to address each sensor individually.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Is this truly waterproof for permanent submersion?\u003c\/strong\u003e\u003cbr\u003eA: The stainless steel probe is water-resistant and suitable for most liquid applications. For long-term submersion in harsh chemicals or high-pressure environments, additional sealing may be required.\u003c\/p\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1× DS18B20 Waterproof Temperature Sensor (1m cable, stainless steel probe)\u003c\/li\u003e\n  \u003cli\u003e1× 4.7kΩ Pull-up Resistor\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683435831531,"sku":"","price":8.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DS18B20-Waterproof-Digital-Temp-Sensor-1.jpg?v=1723005262"},{"product_id":"gy-21-htu21d-humidity-temperature-sensor-module","title":"GY-21 HTU21D Humidity \/ Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003eMeasures 0 to100% humidity and -40 to 125°C temperature with I2C interface\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe GY-21 HTU21D Humidity \/ Temperature Sensor Module uses the I2C interface to report both humidity (0 – 100%) and temperature (-40 – 125°C).\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eGY-21 HTU21D Humidity \/ Temperature Sensor Module\u003c\/li\u003e\n\u003cli\u003e1×4 Male Header Strip\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF GY-21 HTU21D HUMIDITY \/ TEMPERATURE  MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eReports humidity over range of 0% to 100% RH\u003c\/li\u003e\n\u003cli\u003eHumidity reading accuracy is ±2% over 5 to 95% RH (typ)\u003c\/li\u003e\n\u003cli\u003eReports temperature over range of -40 to 125°C\u003c\/li\u003e\n\u003cli\u003eTemperature reading accuracy is ±0.6°C over range of -30°C to 90°C (typ)\u003c\/li\u003e\n\u003cli\u003eFast \u0026lt;50mS read time\u003c\/li\u003e\n\u003cli\u003eUses I2C interface\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis GY-21 module mounts the HTU21D which is a combined humidity and temperature sensor.  The HTU21D sensor itself operates at 3V.  The backside of the module mounts a 3.3V regulator and level shifting MOSFET transistors to make the module compatible with both 3.3V and 5V MCUs.\u003c\/p\u003e\n\u003cp\u003eThe small size of the module allows it to be mounted into just about anything for monitoring or controlling humidity and\/or temperature such as thermostats, humidistats, indoor weather stations and similar devices.\u003c\/p\u003e\n\u003cp\u003eThe HTU21D sensor is capable of reading humidity over the full range of 0 to 100% RH with a typical accuracy of ± 2% over the range of 5 to 95% with a maximum of ± 5% at the extremes of the range.  Humidity reading has 12-bit resolution by default.\u003c\/p\u003e\n\u003cp\u003eThe maximum temperature range of the device is -40 to 125°C.  The HTU21D temperature sensor has a typical accuracy of ±0.4°C over the range of 0 to 70°C with a maximum of ±1°C over -30 to 90°C and a maximum of ±1.6°C at the extreme ends of the -40 to 125°C range.  The temperature reading has a 14-bit resolution by default.\u003c\/p\u003e\n\u003cp\u003eThe sensor has a small window for air to contact the sensor.  Keep contaminates away from the window as that can affect the accuracy of the humidity reading.  The window must remain open to the air, but it can be protected from dust and similar contaminates with a PTFE membrane, gauze or other material that still allows air to flow through or by positioning it in an enclosure where air passes through but is protected from excess dust or moisture.\u003c\/p\u003e\n\u003cp\u003eIf soldering to the board, it is safest to forego cleaning any flux from the board, though it can be done if care is used to not allow the cleaning solution to enter the window of the sensor.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 4-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eVIN\u003c\/strong\u003e  =   Connect to 3.3V or 5V to match MCU.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e  = Connect to system ground.  This ground needs to be in common with the MCU.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSCL \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=   I2C Clock \/ SCL – Connects to SCL on MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSDA\u003c\/strong\u003e  =  I2C Data \/ SDA – Connects to SDA on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a nice very small module for humidity and temperature measurement with good accuracy and repeatability.\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use.jpg\"\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-10783 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-300x225.jpg\" alt=\"GY-21 HTU21D Humidity Temperature Sensor Module - in Use\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-in-Use.jpg 800w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eOnce up and running with a microcontroller, it is easy to test basic functionality of the module by breathing on the sensor.  That will increase both humidity and temperature temporarily.\u003c\/p\u003e\n\u003cp\u003eThe test program below uses the Adafruit_HTU21DF.h library that can be downloaded from the Arduino IDE Library Manager.  It is very minimalistic, but easy to use.\u003c\/p\u003e\n\u003cp\u003eSimply connect the VIN pin to either 3.3V or 5V to match your MCU and ground to ground.\u003c\/p\u003e\n\u003cp\u003eSCL and SDA pins connect to the same on the MCU.\u003c\/p\u003e\n\u003cp\u003eThe program outputs the measured temperature in °C and °F along with the humidity.  Once the program is downloaded, open the Serial Monitor window and set to 9600 baud to see the output.  This shows an example output.  It is snowing outside, so humidity is very low.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"aligncenter wp-image-10787 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output.jpg\" alt=\"GY-21 HTU21D Humidity Temperature Sensor Module - Program Output\" width=\"404\" height=\"129\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output.jpg 404w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-300x96.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-400x128.jpg 400w\" data-lazy-sizes=\"(max-width: 404px) 100vw, 404px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 404px) 100vw, 404px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output.jpg 404w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-300x96.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/02\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module-Program-Output-400x128.jpg 400w\"\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003eHTU21D Humidity \/ Temperature Sensor Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/***************************************************\u003c\/span\u003e\n\u003cspan\u003e  GY-21 HTU21D Test Program\u003c\/span\u003e\n\u003cspan\u003e  \u003c\/span\u003e\n\u003cspan\u003e  Connect Vin to 3-5VDC to match MCU\u003c\/span\u003e\n\u003cspan\u003e  Connect GND to ground\u003c\/span\u003e\n\u003cspan\u003e  Connect SCL to I2C SCL clock pin \u003c\/span\u003e\n\u003cspan\u003e  Connect SDA to I2C SDA data pin\u003c\/span\u003e\n\u003cspan\u003e ****************************************************\/\u003c\/span\u003e\n\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eWire\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\"Adafruit_HTU21DF.h\"\u003c\/span\u003e\n\n\u003cspan\u003eAdafruit_HTU21DF\u003c\/span\u003e \u003cspan\u003eHTU21\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eAdafruit_HTU21DF\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"HTU21D Test\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e!\u003c\/span\u003e\u003cspan\u003eHTU21\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Sensor not found!\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003ewhile\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003etempC\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eHTU21\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ereadTemperature\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003erelative_hum\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eHTU21\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ereadHumidity\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Temp: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etempC\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" C  :  \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003etempF\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etempC\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e1.8\u003c\/span\u003e \u003cspan\u003e+\u003c\/span\u003e \u003cspan\u003e32\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Convert C to F\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etempF\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" F     \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Relative Humidity: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erelative_hum\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" %\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003emax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt;200uA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          T\u003csub\u003emin\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Minimum Sampling Period\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e50mS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Humidity\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMax Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0% to 100%RH  (± 5%RH)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOptimum Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5% to 95%RH  (± 2%RH typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        Temperature\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMax Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e-40 to 125°C (±1.6°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOptimum Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e -30 to 90°C   (±0.6°C typ )\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e13.5 x 10.5mm (0.53 x 0.42″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTE\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/www.te.com\/commerce\/DocumentDelivery\/DDEController?Action=showdoc\u0026amp;DocId=Data+Sheet%7FHPC199_6%7FA6%7Fpdf%7FEnglish%7FENG_DS_HPC199_6_A6.pdf%7FCAT-HSC0004\" rel=\"noopener\" target=\"_blank\"\u003eHTU21D\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683443138795,"sku":"","price":6.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/GY-21-HTU21D-Humidity-Temperature-Sensor-Module.jpg?v=1723005250"},{"product_id":"flame-sensor-module","title":"Flame Sensor Module","description":"\u003cp\u003e\u003cspan\u003eDetects open flame by detecting light that is in the infrared spectrum.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Flame Sensor Module is used to detect an open flame by detecting light that is in the infrared spectrum as produced by an open flame.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eFlame Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF FLAME SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDetects infrared in the spectrum produced by an open flame\u003c\/li\u003e\n\u003cli\u003eProvides both an analog and digital output with a sensitivity adjustment\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis sensor module is primarily used to detect an open flame.  It does this by detecting light that is in the IR (infrared) spectrum which is emitted by a flame.  That spectrum is typically in the range of 700-1100nm.\u003c\/p\u003e\n\u003cp\u003eThis module is similar to a regular IR detector, but with a broader detection range.  It can be used as a general IR detector for other applications where a broad detection range is desired.\u003c\/p\u003e\n\u003ch3\u003eOutputs\u003c\/h3\u003e\n\u003cp\u003eThe module has both an analog output and a digital output with sensitivity adjustment on the module.\u003c\/p\u003e\n\u003cp\u003eThe Analog output on ‘\u003cstrong\u003eA0\u003c\/strong\u003e‘ is normally a voltage of approximately 1\/2 Vcc when no signal is detected.  The actual voltage level will depend on the setting of the sensitivity pot. If a flame is detected, that output voltage will drop towards ground depending on the strength of the IR detected.\u003c\/p\u003e\n\u003cp\u003eThe Digital output on ‘\u003cstrong\u003eD0\u003c\/strong\u003e‘ is normally LOW.  When IR is detected by the sensor, the output goes HIGH.  The sensitivity adjustment can be used to set the trip point.  LED2 will light when the output goes HIGH.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 4-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND \/ G\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘+’\u003c\/strong\u003e = Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0 =\u003c\/strong\u003e Analog output, connects to analog input on uC\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Digital output, connects to digital input on uC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese modules are interesting for experimenting with flame detection as part of a fire detector setup.  They can also be used to monitor a flame to determine if it has gone out, such as a pilot light.  Commercial fire detection systems often also include light flicker detection to help determine if a flame is present since most sources of IR including sunlight can trigger this module, not just a flame.\u003c\/p\u003e\n\u003cp\u003eThe module is straight forward to use.  Hook up ground and Vcc (3.3 or 5V).  A red LED lights when power is applied.  There is a red or green LED2 that lights when IR within the sensor range is being detected.  If that LED is always on, adjust the sensitivity adjustment potentiometer CCW until the LED goes off.  If a match or other flame is then lit and held in front of the sensor, the LED should come on showing that it is being detected.  An IR TV remote can also be used to test the operation of the device by pointing it at the sensor and pressing any button.\u003c\/p\u003e\n\u003cp\u003eThe simple program below can be used to monitor both the analog and digital outputs of the device to see how it reacts to the presence of a flame.\u003c\/p\u003e\n\u003ch3\u003eFlame Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eFlame Sensor Module Test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code to monitor the outputs of the flame sensor module \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eflameDigitalPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Random digital pin for monitoring the digital output\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eflameAnalogPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Random analog pin for monitoring the analog output\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003edigitalValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Variable to hold the returned digital value\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eanalogValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Variable to hold the returned analog value\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eflameDigitalPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set pin as Input\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eflameAnalogPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set pin as Input\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Set output window comm rate\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n \n    \u003cspan\u003edigitalValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eflameDigitalPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003eanalogValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eflameAnalogPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Digital: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edigitalValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Analog: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eanalogValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic outputs verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eThis module is the same or similar to the KY-026\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch4\u003e\u003cstrong\u003eTechnical Specifications\u003c\/strong\u003e\u003c\/h4\u003e\n\u003ctable class=\"table table-hover\" width=\"855\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Vcc\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt;  7mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Wavelength\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e700-1100nm (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e36 x 15mm  (1.4x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683446284523,"sku":"","price":3.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Flame-Detection-Module-1.jpg?v=1723005243"},{"product_id":"heartbeat-sensor-module","title":"Heartbeat Sensor Module","description":"\u003cp\u003e\u003cspan\u003eDetects changes in infrared light shining through a fingertip.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Heartbeat Sensor Module is used to experiment with detecting the heart rate of an individual by detecting changes in infrared light shining through a fingertip.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHeartbeat Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF HEARTBEAT SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInfrared (IR) transmitter\u003c\/li\u003e\n\u003cli\u003eInfrared receiver\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eOperational Theory\u003c\/h3\u003e\n\u003cp\u003eThese sensor modules can be used to try to detect the heart rate of an individual.   It accomplishes this by shining an IR emitting LED on one side of a finger tip and detecting small changes in the received IR on the other side of the finger using a phototransistor.  The fluctuations in the transmitted IR is caused by the blood being pumped through the finger.  Commercial devices as used in doctor offices work on this same basic principal but obviously have a lot better capability.\u003cimg decoding=\"async\" class=\"alignright wp-image-11376 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-300x225.jpg\" alt=\"Heartbeat Sensor Module Sensor Placement\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Sensor-Placement-1.jpg 800w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe module ships with the IR transmitter and receiver folded down to avoid damage.  These element should be carefully unfolded and placed in position so that the transmitter and receiver point at each other with a snug fit on a fingertip.\u003c\/p\u003e\n\u003cp\u003eThe module is straight forward to operate.  Hook up ground and Vcc (3.3 or 5V to match the MCU) and monitor the analog output using an analog input on an MCU.   A fingertip is then placed between the IR emitter and the detector and software running on the MCU filters out the electrical noise, parses the data and spits out the heart rate (at least that is the theory!).\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly.  Conveniently, the pins are marked on the back-side.  With the connector facing to the left, the top ‘S’ pin is the analog output, center pin is Vcc (3.3 or 5V) and the bottom ‘-‘ pin is ground.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eS \u003c\/b\u003e= Analog output, connects to analog input on uC\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e = Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘ =\u003c\/strong\u003e Ground\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese modules are interesting in concept, but can be very difficult to get meaningful information out of and so are recommended for more advanced hobbyists or those that just enjoy a good challenge.   Let’s just say that if you find yourself in an ER, you don’t want to look down and see one of these clamped to your finger.\u003c\/p\u003e\n\u003cp\u003eThe reason is that the analog output of the device tends to be swamped with 60Hz noise from the home electrical system and the amount of change due to the heartbeat can be difficult to detect with all the ambient noise.  Here are some things that can be done to improve your odds of getting a reasonable reading.\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e As-shipped, the emitter LED and receiver are usually folded down for safe shipping.  The emitter LED needs to point at the receiver, so carefully bend the LED up and the receiver out so that the two are facing each other more or less with enough room to place the tip of a finger between them.  When running the setup with no finger in place, a lower number is better when when aligning the emitter\/receiver pair.  One of the pics shows the basic alignment that you are looking for.\u003c\/li\u003e\n\u003cli\u003eShield the sensor assembly from stray light as much as possible while taking measurements.  Turning lights off help to reduce the 60Hz flicker noise that can couple into the sensor.\u003c\/li\u003e\n\u003cli\u003eIf there is a question as to whether the IR LED is working, a cell phone camera will typically pick up the blue glow form the IR LED if it is operating.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003eHere is a scope capture of the module output in our setup.  The peaks within the electrical noise are the result of the heart rate being detected.  In this case, it is a little less than 60 beats per minute.  The challenge is to average the analog data to filter out the noise while detecting the peaks.\u003c\/p\u003e\n\u003cp\u003eA good hardware project would be to add some noise filter and amplification to cleanup this signal and make it more usable.  If you are looking for a more complete solution, checkout the PulseSensor down below that includes this type of noise filter and amplification as part of the module.\u003c\/p\u003e\n\u003cdiv id=\"attachment_4099\" class=\"wp-caption aligncenter\"\u003e\n\u003cimg decoding=\"async\" aria-describedby=\"caption-attachment-4099\" class=\"wp-image-4099 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture.jpg\" alt=\"\" width=\"705\" height=\"222\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture.jpg 705w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-400x126.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-300x94.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-280x88.jpg 280w\" data-lazy-sizes=\"(max-width: 705px) 100vw, 705px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 705px) 100vw, 705px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture.jpg 705w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-400x126.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-300x94.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Heartbeat-Sensor-Module-Scope-Capture-280x88.jpg 280w\"\u003e\n\u003cp id=\"caption-attachment-4099\" class=\"wp-caption-text\"\u003eScope capture of module output showing a heart rate of about 60 Beats Per Minute superimposed over the electrical noise\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cp\u003eThe simple program below can be used to monitor the analog output of the device to see how it basically reacts when a finger is inserted and to verify the output is good, but it makes no attempt to calculate the heart rate from the data.  Samples are taken 10 times a second but this is arbitrary.\u003c\/p\u003e\n\u003cp\u003eTo test the module, simply connect the sensor output to any analog input on the uC (we use A0 in the example below) and apply 5V and ground to the module – then insert finger.\u003c\/p\u003e\n\u003ch3\u003eHeartbeat Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eHeatbeat Detection Sensor Module test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code reading the output of the module. \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e A\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Arbitrary analog pin to connect sensor output to\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eperiod\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e100\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Delay in milliseconds between readings \u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ the baud rate of the serial data\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003estatic\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eoldValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ used for averaging.\u003c\/span\u003e\n    \n    \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Value read from the analog pin.  Will be between 0-1024\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erawValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \n    \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eperiod\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eThis module is the same or similar to the KY-039\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"855\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Vcc\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          I\u003csub\u003eMax\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Current Draw\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 12mA (measured)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Wavelength\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e850-940nm (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20 x 15mm (0.75 x 0.60″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683465289963,"sku":"","price":2.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Heartbeat-Sensor-Module-1.jpg?v=1723005234"},{"product_id":"humidity-and-temperature-sensor-module","title":"Humidity And Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003eModule utilizes the DHT11 sensor assembly to report both humidity and temperature over a 1-wire interface.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Humidity and Temperature Sensor Module utilizes the DHT11 sensor assembly to report both humidity and temperature over a 1-wire interface.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHumidity and Temperature Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF HUMIDITY AND TEMPERATURE SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eReports humidity over range of 20% to 90%\u003c\/li\u003e\n\u003cli\u003eReports temperature over range of 0°C to 50°C\u003c\/li\u003e\n\u003cli\u003eUses 1-Wire interface\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe sensor is capable of reading humidity in the range of 20-90%RH with an accuracy of +\/- 5%.  Temperature can be read in the range of 0-50°C with an accuracy of +\/- 2°C.\u003c\/p\u003e\n\u003cp\u003eThe sensor is written and read via a single digital pin and requires the use of a library for the communications.  With an Arduino, the DHTLib library can be downloaded from the Arduino site or GitHub.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3-pin header on the assembly.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eS \u003c\/b\u003e= Signal pin connects to digital pin on uC\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e = Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eThird unmarked pin =\u003c\/strong\u003e Ground\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic humidity and temperature measurement.  Once up and running with a microcontroller, it is easy to test the module by breathing on the sensor.  That will increase both humidity and temperature temporarily.\u003c\/p\u003e\n\u003cp\u003eThe sensor can not be polled faster than once per second, otherwise data errors may occur.  If you get occasional bad readings (such as -999.00) try increasing the delay between reads.\u003c\/p\u003e\n\u003cp\u003eThere are other sensors in this line such as the DHT22.  In general, as the number gets higher, the measurement range or accuracy of the device increases (as does the price).  The DHT11 is a good sensor to get started with, but if you are looking for best performance, check out our DHT22 down below.  This is the lowest cost humidity sensor module that we sell.  We also have a similar DHT11 module that has a little nicer construction and comes with hookup wires that is available below as well.\u003c\/p\u003e\n\u003cp\u003eOnce the DHT library is installed, using the device is fairly simple as shown in the code snippet below.  In this case we are using pin 7, but any digital pin can be used.\u003c\/p\u003e\n\u003ch3\u003eHumidity And Temperature Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e  DHT11 Temp \/ Humidity sensor module test\u003c\/span\u003e\n\n\u003cspan\u003e  Basic code for exercising the module.\u003c\/span\u003e\n\u003cspan\u003e  Requires DHT library to be installed\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003edht\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e          \u003cspan\u003e\/\/ Include the DHT library\u003c\/span\u003e\n\u003cspan\u003edht\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                  \u003cspan\u003e\/\/ Create instance of DHT object\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eDHT11_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Connects to sensor I\/O, use any digital pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensor\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e               \u003cspan\u003e\/\/ Dummy variable for sensor read\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Initialize serial comm\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003esensor\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eread11\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT11_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Read sensor\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Temperature = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Printout returned results\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003etemperature\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" C\\t\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Humidity = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDHT\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ehumidity\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" %\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e2000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ 1 sec min read time, so using 2 to be safe\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic humidity and temperature output verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eThis module is similar to or the same as the KY-015.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"860\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.0 to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Humidity\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20% to 90%RH  (+\/- 5%RH)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Temperature\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 0-50°C   (+\/- 2°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e29mm x 14mm (1.14 x 0.55″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/osepp.com\/wp-content\/uploads\/2015\/04\/DHT11-Technical-Data-Sheet-Translated-Version.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eDHT11\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683467485419,"sku":"","price":4.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Humidity-and-Temp-Sensor-2.jpg?v=1723005228"},{"product_id":"knock-sensor-module","title":"Knock Sensor Module","description":"\u003cp\u003e\u003cspan\u003eDetects when the module is tapped, hit or otherwise knocked about.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Knock Sensor Module detects when the module is tapped, hit, bumped or otherwise knocked about.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eKnock Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF KNOCK SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOutputs a logic LOW when module is knocked\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module incorporates a mechanical knock sensor consisting of a coiled spring held fixed in position on one end and free floating on the other end.  It is encased in a clear plastic housing.\u003c\/p\u003e\n\u003cp\u003eThe output of the module is normally pulled HIGH via an integrated pull-up resistor.  When the sensor is knocked or tapped, the free end of the spring moves and makes contact with the ground terminal and the output transitions LOW for a short time and then returns back to HIGH.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e = Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eS =\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eSignal output, connects to digital input on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a simple module that can be used to experiment with a number of applications that take some type of action when a physical knock or tap on the module is detected.\u003c\/p\u003e\n\u003cp\u003eThe module is not very sensitive and the sensitivity can depend on the module orientation.  Also be aware that the spring tends to create a very noisy output, so some type of debouncing in software will usually be required to get an output that is clean enough to be usable.  Finding use in practical applications is very limited.\u003c\/p\u003e\n\u003cp\u003eIf you are looking for a more capable sensor, the 801S Vibration Sensor Module below would be a better choice.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"840\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V (match to MCU)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic high (normal operation)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled to Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low (knock detected)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled to Gnd\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDimensions\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20mm x 15mm  (0.79 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683473187051,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Knock-Sensor-Module-1.jpg?v=1723005223"},{"product_id":"photoresistor-light-sensor-module","title":"Photoresistor Light Sensor Module","description":"\u003cp\u003e\u003cspan\u003eLDR module can detect visible light.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Photoresistor Light Sensor Module can detect the presence or absence and the relative strength of visible light.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003ePhotosensor Light Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF PHOTORESISTOR LIGHT SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDetects visible light spectrum\u003c\/li\u003e\n\u003cli\u003eAnalog output\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module incorporates an photoresistor, also called an LDR (Light Dependent Resistor).  A photoresistor is a resistor whose resistance changes with the amount of light striking it.\u003c\/p\u003e\n\u003cp\u003eThe photoresistor is in series with a 10K resistor to create a voltage divider.  The output of the module is analog and is at a high voltage when no light is striking the sensor and the voltage lowers as the light intensity increases.  Under strong lighting, the output will approach ground.  When the light is completely blocked, the output will approach Vcc.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003e‘-‘ \u003c\/b\u003e= Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eCenter pin \u003c\/b\u003e= Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eS =\u003c\/strong\u003e Signal output connects to analog input pin on microcontroller\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNote:  The power and ground leads can be reversed if you want the output voltage to decrease with decreasing light rather increasing. \u003c\/em\u003e\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a basic module that can be used to experiment with a number of different types of applications which uses the presence or absence or relative strength of light to take an action.\u003c\/p\u003e\n\u003cp\u003eThe output of the sensor is fairly linear, but the accuracy is not sufficient to measure the absolute strength of light. It is best used to detect the presence or absence of light or to a get rough idea of how much light is striking the sensor.\u003c\/p\u003e\n\u003cp\u003eThe simple program below reads the output of the sensor and outputs the raw data to the Serial Monitor window.  Change lighting on the sensor to see the effect.\u003c\/p\u003e\n\u003cp\u003eThe sensor is connected to A0 in the program, but this can be any analog input pin.\u003c\/p\u003e\n\u003ch3\u003ePhotoresistor Light Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003ePhotoresistor Light Sensor Module Test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for reading the analog output of the light sensor module\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eANALOGPIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set to any analog input pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Returned ADC reading from sensor\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eANALOGPIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eANALOGPIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Read sensor input\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading Raw: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erawValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample inspected and tested per incoming shipment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"840\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eStrong Light\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026gt; 4.2V (with 5V Vcc)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eNo Light\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.25V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDimensions\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20 x 16mm  (0.75 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683490259179,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Photoresistor-Light-Sensor-Module.jpg?v=1723005192"},{"product_id":"methane-gas-sensor-mq-4-module","title":"Methane Gas Sensor MQ-4 Module","description":"\u003cp\u003e\u003cspan\u003eDetects the presence of of methane gas in the air as is found in natural gas (CNG).\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Methane Gas Sensor MQ-4 Module detects the presence of of methane gas in the air as is found in natural gas (CNG).\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMethane Gas Sensor MQ-4 Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF METHANE GAS SENSOR MQ-4 MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSensor type used to detect natural gas leak in home\u003c\/li\u003e\n\u003cli\u003eAnalog sensor output\u003c\/li\u003e\n\u003cli\u003eDigital sensor output with user adjustable sensitivity and LED indicator\u003c\/li\u003e\n\u003cli\u003e5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe module includes the MQ-4 sensor which provides a direct analog output. In addition, the module has an LM393 comparator IC and adjustment potentiometer to provide a digital output with an adjustable set-point, power LED, digital output active LED and a header for easy hookup.\u003c\/p\u003e\n\u003cp\u003eThese modules can be used to detect the presence and amount of methane \/ natural gas present in the air.  This can be used to create an alarm for monitoring the presence of a gas leak or any other source of methane such as flatulence if you should be so inclined.\u003c\/p\u003e\n\u003ch3\u003eHeating Element\u003c\/h3\u003e\n\u003cp\u003eThe sensor contains a small heater, so the power draw is about 150mA.  The sensor will get warm to the touch after it has been operating for awhile.  The module can be powered off a 5V power pin on the uC, but it draws too much power to try to power it off a digital pin.\u003c\/p\u003e\n\u003cp\u003eFor accurate measurement, the sensor needs to be fully warmed up.  The sample code below has a 1 minute warm-up, but for maximum accuracy the warm-up time before taking a reading can be extended.\u003c\/p\u003e\n\u003ch3\u003eSensing Element\u003c\/h3\u003e\n\u003cp\u003eThe sensor uses SnO2 (tin dioxide) for the sensing element which is heated and changes resistance when exposed to methane vapors in the air.  A voltage divider is used to provide an analog output voltage that correlates to the amount of natural gas in the air.   When the sensor is left in storage, the calibration of the device can drift.  When first being put into use, the mfr recommends operating it for 48 hours before relying upon the accuracy of its readings.  For experimenting, running for an hour seems to settle down the readings enough to start working with the device.\u003c\/p\u003e\n\u003ch3\u003eAdjusting Digital Output Trip-point\u003c\/h3\u003e\n\u003cp\u003eIf using the DO (Digital Output), a potentiometer on the module allows for the sensitivity of the trip-point to be adjusted.  When the level of gas exceeds the trip-point, the DO output will go LOW and the DO-LED will light.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a header on the module for making connections\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 4 Header\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eVCC\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Connect to 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Connect to ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Digital output of comparator circuit.  Active LOW when gas is detected\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Analog output of sensor. Voltage increases with the amount of gas detection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThese devices work very well to detect the presence of natural gas \/ methane gas (CH4) and provide an analog output relative to the amount of gas that is detected as well as a digital output once the gas level exceeds the set-point.\u003c\/p\u003e\n\u003cp\u003eBe aware that temperature and humidity have an effect on the readings.  This can be demonstrated by running the sample program below and blowing on the sensor.  The sensor reading will go up. The sensor has a built-in heater required for correct operation of the sensor, so for best stability it should be given some time to heat up (sensor warm to the touch) which will minimize the effect of temperature.\u003c\/p\u003e\n\u003cp\u003eIn our testing using the code below, the sensor analog reading runs at about 30 after it has had a couple of hours to break-in.  When initially used, it is good to let the module idle while running this program and keeping an eye on the reading.  You will see it drift down for a while and then start to stabilize at which point it is ready to use.\u003c\/p\u003e\n\u003cp\u003eTo test the basic sensor operation, a gas stove burner was turned on without starting a flame and some natural gas collected in a zip-lock bag that was held over the burner for a few moments (be sure to turn the burner off afterwards).  The sensor was then placed in the bag and a reading of 350 was obtained.  Based on the level of rotten egg smell in the bag after conducting the test a couple of times, an initial alert setting of 250 was deduced.  The digital output was also adjusted to trip at about that same point using the same zip-lock bag trick.  Not a very scientific calibration process by any means, but at least it gives a starting point.\u003c\/p\u003e\n\u003cp\u003eThe program below uses pin A0 for the analog input but this can be any analog pin.  The digital output is brought into pin 8 but these can be any digital pin.  The reading is taken every second and reported out to the Serial Monitor window.\u003c\/p\u003e\n\u003ch3\u003eMethane Gas Sensor MQ-4 Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*  MOQ-4 Natural Sensor Module Test\u003c\/span\u003e\n\n\u003cspan\u003e   This type of sensor is commonly used for detecting natural gas \/ methane leaks\u003c\/span\u003e\n\u003cspan\u003e   which might include flatulence.\u003c\/span\u003e\n\u003cspan\u003e   \u003c\/span\u003e\n\u003cspan\u003e   Monitor sensor analog output 'A0' on ADC input A0\u003c\/span\u003e\n\u003cspan\u003e   Monitor sensor digital output 'D0' on digital input pin 8\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003e\/\/ Define pins used below\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eADC_PIN\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e      \u003cspan\u003e\/\/ Use any available ADC Pin, connect to A0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e   \u003cspan\u003e\/\/ Use any available digital pin, connect to D0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eWARMUP_TIME\u003c\/span\u003e \u003cspan\u003e30\u003c\/span\u003e  \u003cspan\u003e\/\/ Warmup time in Seconds\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eGAS_ALERT\u003c\/span\u003e \u003cspan\u003e250\u003c\/span\u003e   \u003cspan\u003e\/\/ Level at which to raise alert\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Set Serial Monitor window comm speed\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Warming up the sensor \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/Wait while we warm up the sensor\u003c\/span\u003e\n  \u003cspan\u003efor\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e=\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e\u0026lt;=\u003c\/span\u003e \u003cspan\u003eWARMUP_TIME\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\". \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" Warmup Complete\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eADC_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Read analog value from sensor\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_Digital\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Read  digital value from sensor\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Natural Gas Analog Data = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Printout the raw data\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_ADC\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"tDigital Output = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_Digital\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \n                                             \u003cspan\u003e\/\/ Printout our alert level\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e\u0026gt;=\u003c\/span\u003e \u003cspan\u003eGAS_ALERT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"tGAS ALERT!\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"tReading below alert level\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Take a reading every second for test purposes.\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample tested per shipment\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"850\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        I\u003csub\u003e(typ)\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e150mA (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e       V\u003csub\u003eout\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 140mV to 4V (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e       Sensor Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Measurement Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 300 ～ 10000 ppm(CH4)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e      Sensor Probe Board\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e32 x 20mm (1.26 x 0.8″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Datasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/cdn.sparkfun.com\/datasheets\/Sensors\/Biometric\/MQ-4%20Ver1.3%20-%20Manual.pdf\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMQ-4\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683534987499,"sku":"","price":7.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MQ-4-Natural-Gas-Methane-Sensor-Module-1.jpg?v=1723005172"},{"product_id":"shock-sensor-module","title":"Shock Sensor Module","description":"\u003cp\u003e\u003cspan\u003eThe sensor detects when the module is hit or bumped.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Shock Sensor Module detects when the module is tapped or bumped.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eShock Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF SHOCK  SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eOutputs a logic LOW when module is hit or bumped\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module incorporates a mechanical sensor in a black housing.   The output of the module is normally HIGH.  When the sensor is tapped, the output momentarily transitions LOW.\u003c\/p\u003e\n\u003cp\u003eIf the module is tilted from vertical to horizontal the output may transition to LOW and stay there, but that varies with the sensor and so they are not well suited as for use as a tilt sensor.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThere is a 3-pin header on the assembly for making connections.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e = Vcc (3.3 – 5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eS =\u003c\/strong\u003e Signal output, connects to digital input on uC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a basic module that can be used to experiment with a number of applications which take some type of action when a physical tap or knock is detected.\u003c\/p\u003e\n\u003cp\u003eWhen tapped, the switch will transition from HIGH to LOW multiple times as shown in the scope capture below.  If monitoring the output of the sensor with an MCU input, it may need to be debounced in the software in the same fashion as a typical mechanical switch would be by ignoring transitions for a period of time after the first HIGH to LOW transition is detected.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-7511 size-full aligncenter entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output.jpg\" alt=\"Shock Sensor Waveform Output\" width=\"400\" height=\"200\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output-300x150.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output-280x140.jpg 280w\" data-lazy-sizes=\"(max-width: 400px) 100vw, 400px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 400px) 100vw, 400px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output-300x150.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/01\/Shock-Sensor-Waveform-Output-280x140.jpg 280w\"\u003e\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic operation verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eModule similar to or same as KY-002.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"840\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3 – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Logic high\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled to Vcc\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDimensions\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e19 x 16mm  (0.75 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (including Sensor)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e26 x 16mm  (1 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683626737899,"sku":"","price":1.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Shock-Tilt-Sensor-Module.jpg?v=1723005167"},{"product_id":"soil-moisture-sensor-module","title":"Soil Moisture Sensor Module","description":"\u003cp\u003e\u003cspan\u003eHelps determine amount of moisture in soil.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Soil Moisture Sensor Module determines the amount of soil moisture by measuring the resistance between two metallic probes that is inserted into the soil to be monitored.  This can be used in an automatic plant watering system or to signal an alert of some type when a plant needs watering.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSoil Moisture Sensor Module\u003c\/li\u003e\n\u003cli\u003eFork shaped soil probe\u003c\/li\u003e\n\u003cli\u003e5-wire F\/F interface cable, 8″ long\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF SOIL MOISTURE SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAnalog output of moisture content\u003c\/li\u003e\n\u003cli\u003eDigital output of moisture content with adjustable set-point\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation.  Low power so may be driven from digital pin on MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThese sensors work by measuring the resistance between the two probes of the fork that is inserted into the soil.  That resistance will depend mostly on the moisture content of the soil.  The resistance affects a voltage divider and so an analog voltage output is available which can be read by an analog input on a MCU that roughly corresponds to the moisture content of the soil.\u003c\/p\u003e\n\u003cp\u003eThe more moisture in the soil, the lower the resistance.  A low resistance gives a low analog voltage reading.  As the soil dries out, the resistance increases.   The higher the resistance (drier the soil), the higher the voltage will be.\u003c\/p\u003e\n\u003cp\u003eBesides the analog output, there is also a LM393 comparator IC that provides a HIGH output when that analog voltage goes above a certain level.  A potentiometer on the module allows the set-point of this digital output to be adjusted.  This output could be used to drive a relay to activate a small water pump to water the plant without necessarily having a MCU in the loop.  An LED lights when this output goes HIGH.\u003c\/p\u003e\n\u003cp\u003eBesides moisture, there are other factors that can affect the resistance including minerals that are dissolved in the water which can come from fertilizers and other sources.  The full length of the forks should be inserted into the soil, but the upper part with the electrical connections should remain dry to minimize corrosion.  The depth that the forks are inserted will affect the readings and therefore should be kept reasonably constant.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eOn the electronics module there are 2 header connectors.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1×4 Header Connector\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eVCC\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= 5V or 3.3V.  May be powered from a digital output pin on a MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Ground, must be common with the MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eD0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Digital output of comparator circuit.  May be connected to MCU or directly to a 5V relay or similar device\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eA0\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Analog output usually connected to an analog input on a MCU\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003e1×2 Header Connector\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eConnect both pins to the 2 pins on the fork shaped soil probe.  Polarity does not matter.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eIt is not possible to directly define an actual percentage of moisture in the soil from the measurements taken, but it is fairly straightforward to define basic ranges for what would be considered ‘too dry’, ‘too wet’ and ‘just right’.\u003c\/p\u003e\n\u003cp\u003eTo do that, measure the soil under 3 basic conditions:\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003eWhen dry enough so that the plant should be watered\u003c\/li\u003e\n\u003cli\u003eWhen watered so it has the desired amount of moisture that would be ideal for the plant\u003c\/li\u003e\n\u003cli\u003eWhen watered so the soil is too wet and not ideal for the plant.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003eFrom those 3 measurements, ranges for each of the 3 conditions can be initially determined and then honed in on once the setup goes into operation.\u003c\/p\u003e\n\u003cp\u003eOn most MCUs like Arduino, the ADC is 10-bit, so the measurement has a range of 0-1023. When the sensor is dry in open air, the ADC will read close to the upper limit of 1023.  In my own test, that reading was 985-1000.  When the sensor was inserted into a cup of clean water, the reading dropped to about 445.  Adding a little salt to increase conductivity as you might have from minerals dissolved in the water in the soil lowered the reading to about 300.\u003c\/p\u003e\n\u003cp\u003eWith our test plant, we got the following readings:\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003eDry enough that the plant should have already been watered was up around 850 – 950\u003c\/li\u003e\n\u003cli\u003eJust right was in the 600 – 700 range\u003c\/li\u003e\n\u003cli\u003eToo wet was down in the 200-400 range\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003eBased on that data, the program below defines the following ranges:\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u0026lt; 500 is too wet\u003c\/li\u003e\n\u003cli\u003e500-750 is the target range\u003c\/li\u003e\n\u003cli\u003e\u0026gt;  750 is dry enough that we should water the poor thing.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003eThe program reports the digital output status as well as the analog but doesn’t do anything with it.  The trip point can be set with the pot and it could be used to trip a buzzer alarm or LED if the soil gets too dry or something.  I found it convenient to wire a red and green LED on the MCU I was experimenting with.  Green meant everything was fine and Red indicated the plant was either too wet or too dry and needed attention.\u003c\/p\u003e\n\u003cp\u003eThe probes are made from a PCB board with plated copper traces and corrosion will take its toll on the sensor probes over time.\u003c\/p\u003e\n\u003cp\u003eHaving power applied to the probe electrodes speeds the rate of corrosion significantly, so to minimize that issue the device can be powered off of a pin on the MCU so that it can be turned on only when a measurement is being taken.  Total power draw with both LEDs lit is about 8mA so that is easily within the drive capability of a MCU  Since soil doesn’t dry out very quickly, readings can be spaced relatively far apart depending on your environment, perhaps just once or twice a day.\u003c\/p\u003e\n\u003cp\u003eThe program below powers the device off a digital pin on the microcontroller and takes a measurement every second for test purposes.  It takes the analog and digital measurement separately mainly for illustrative purposes.  These could be combined and only power the device up once for both readings if both are required.\u003c\/p\u003e\n\u003cp\u003eThe program is using pin A0 for the analog reading but this can be any analog pin.  Similarly pin 8 is doing the digital reading and pin 9 is being used to power the module, but these can be changed to any 2 digital pins as needed.\u003c\/p\u003e\n\u003ch3\u003eSoil Moisture Sensor Module Test Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*  Soil Moisture Sensor Module Test\u003c\/span\u003e\n\n\u003cspan\u003e   Monitor soil moisture analog output 'A0' on ADC input A0\u003c\/span\u003e\n\u003cspan\u003e   Monitor soil moisture digital output 'D0' on digital input pin 8\u003c\/span\u003e\n\u003cspan\u003e   Power the module off of digital output pin 9 only when taking a measurement\u003c\/span\u003e\n\u003cspan\u003e   to reduce corrosion rate of the sensor probe.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003e\/\/ Define pins used below\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eADC_PIN\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e     \u003cspan\u003e\/\/ Use any available ADC Pin, connect to A0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e  \u003cspan\u003e\/\/ Use any available digital pin, connect to D0 sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003ePWR_PIN\u003c\/span\u003e \u003cspan\u003e9\u003c\/span\u003e      \u003cspan\u003e\/\/ Use any available digital pin, connect to VCC sensor pin\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eSOIL_WET\u003c\/span\u003e \u003cspan\u003e500\u003c\/span\u003e   \u003cspan\u003e\/\/ Define max value we consider soil 'wet'\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eSOIL_DRY\u003c\/span\u003e \u003cspan\u003e750\u003c\/span\u003e   \u003cspan\u003e\/\/ Define min value we consider soil 'dry'\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e          \u003cspan\u003e\/\/ Set Serial Monitor window comm speed\u003c\/span\u003e\n\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Set pin used to power sensor as output\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set to LOW to turn sensor off at start\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ereturnedADCData\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003ereadSoilADC\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e        \u003cspan\u003e\/\/ Read sensor analog output\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereturnedADCData\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Print raw ADC data\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"\\tDigital Output = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereadSoilDigital\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e           \u003cspan\u003e\/\/ Read sensor digital output and print directly\u003c\/span\u003e\n\n \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereturnedADCData\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e \u003cspan\u003eSOIL_WET\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e           \u003cspan\u003e\/\/ Determine status of our soil moisture situation\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"\\tConclusion:  Soil is too wet\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cspan\u003e}\u003c\/span\u003e\n \u003cspan\u003eelse\u003c\/span\u003e \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereturnedADCData\u003c\/span\u003e \u003cspan\u003e\u0026gt;=\u003c\/span\u003e \u003cspan\u003eSOIL_WET\u003c\/span\u003e \u003cspan\u003e\u0026amp;\u0026amp;\u003c\/span\u003e \u003cspan\u003ereturnedADCData\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e \u003cspan\u003eSOIL_DRY\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"\\tConclusion:  Soil moisture is perfect\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003eelse\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"\\tConclusion: Soil is too dry - time to water!\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Take a reading every second for test purposes.\u003c\/span\u003e\n                    \u003cspan\u003e\/\/ Normally we would take reading perhaps every 12 hours\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Function readSoilADC returns the analog soil moisture measurement\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ereadSoilADC\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Turn sensor power on\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e25\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                         \u003cspan\u003e\/\/ Allow power to settle\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_ADC\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eADC_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Read analog value from sensor\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e        \u003cspan\u003e\/\/ Turn sensor power off\u003c\/span\u003e\n  \u003cspan\u003ereturn\u003c\/span\u003e \u003cspan\u003eval_ADC\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                    \u003cspan\u003e\/\/ Return analog moisture value\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Function readSoilDigital returns the digital soil moisture value\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ereadSoilDigital\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Turn sensor power on\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e25\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                              \u003cspan\u003e\/\/ Allow power to settle\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eval_Digital\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eDIGITAL_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/Read the digital value from sensor\u003c\/span\u003e\n  \u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e             \u003cspan\u003e\/\/ Turn sensor power off\u003c\/span\u003e\n  \u003cspan\u003ereturn\u003c\/span\u003e \u003cspan\u003eval_Digital\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                     \u003cspan\u003e\/\/ Return digital moisture value\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE MODULES ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample tested per incoming shipment\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"854\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 3.3 to 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e        I\u003csub\u003e(typ)\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eWith both LEDs lit\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 8mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e       V\u003csub\u003eout\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Analog Output\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 2V to 5V (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e Sensor Probe Board\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e60 x 20mm (2.4 x 0.8″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e Sensor Electronics Board\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e30 x 15mm (1.2 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e Cable\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLength\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e20cm (8″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683632505067,"sku":"","price":3.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Soil-Moisture-Sensor-Module-1.jpg?v=1723005160"},{"product_id":"thermistor-temperature-sensor-module","title":"Thermistor Temperature Sensor Module","description":"\u003cp\u003e\u003cspan\u003eModule uses an NTC thermistor to measure temperature and provide an analog output.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDescription\u003c\/h2\u003e\n\u003cp\u003eThe Thermistor Temperature Sensor Module uses and NTC thermistor to measure temperature and provides and analog output.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThermistor Temperature Sensor Module\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF THERMISTOR TEMPERATURE SENSOR MODULE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUses NTC thermistor\u003c\/li\u003e\n\u003cli\u003eMeasurement range of -55 to +125°C\u003c\/li\u003e\n\u003cli\u003eProvides analog output of the reading\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThis module utilizes an NTC thermistor for measuring temperature.  The output is normally input into an analog port on a uC where it can be read and the temperature calculated.\u003c\/p\u003e\n\u003cp\u003eThermistors are essentially resistors whose resistance value changes with changes in temperature.  NTC stands for ‘Negative Temperature Coefficient which means that the sensor resistance will decrease as temperature increases.\u003c\/p\u003e\n\u003cp\u003eThe thermistor is in series with an 10K resistor which creates a voltage divider.  As the thermistor warms up, the resistance lowers and the analog output increases towards Vcc.\u003c\/p\u003e\n\u003cp\u003eThe sensor is capable of reading temperature in the range of -55 to +125°C with an accuracy of +\/- 0.5°C.\u003c\/p\u003e\n\u003ch3\u003eModule Connections\u003c\/h3\u003e\n\u003cp\u003eThe module has a 3-pin header on the assembly for connections.  The ‘-‘ pin is connected to GND, the center pin is connected to Vcc and the ‘S’ pin is connected to an analog input pin on the uC.  If the output goes in the wrong direction i.e. resistance goes up as temperature goes up, reverse the power and ground pins.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e1 x 3 Header \u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e‘-‘\u003c\/strong\u003e  = Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCenter pin\u003c\/strong\u003e = 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eS =\u003c\/strong\u003e Signal Output.  Connects to analog input pin on uC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eThis is a commonly used module for basic temperature measurement.  Once up and running with a uC, it is easy to test the module by using the fingers to warm the sensor and monitor the output.\u003c\/p\u003e\n\u003cp\u003eUsing the device requires some math to convert from the voltage output to the temperature.  In our own test code, we use the Beta method for temperature calculation, but there are several different formulas that can be used.  The nice thing about the Beta method is that you can measure your component values and enter them into the fields if your sensor is constructed a little different.\u003c\/p\u003e\n\u003cp\u003eThe most difficult part is calculating the Beta value which is in the datasheet if you are using a fully spec’d part.  If the part is unknown, as is the case with most of these types of modules, you can calculate it.  This link is for a handy\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/www.ametherm.com\/blog\/thermistors\/thermistor-beta-calculations\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eBeta Calculator\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003ewhere you measure the resistance of the thermistor at 2 different temperatures and it will give you the Beta value.\u003c\/p\u003e\n\u003cp\u003eTo use this program, you will need several values or measurements to plug into the program:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eBalance Resistor\u003c\/strong\u003e:  Measure the actual value of the balance resistor that is on the module.  It is nominally a 10K resistor, so use 10000.0 if you can’t measure it more accurately.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMax ADC:\u003c\/strong\u003e  Typically 1023.0 if using a standard 10-bit analog input.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBeta\u003c\/strong\u003e:  From the  \u003ca href=\"https:\/\/www.ametherm.com\/blog\/thermistors\/thermistor-beta-calculations\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eBeta Calculator\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e as noted above.  You will need to take a couple of temperature measurements to get this value.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRoom Temp\u003c\/strong\u003e:  The current room temperature measured as accurately as you can.  You will then need to use an on-line conversion tool to get the value in Kelvin.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eResistor Room Temp:\u003c\/strong\u003e  This is the resistance value of the NTC thermistor on the module measured at the room temperature you measure above.  Be sure not to accidentally heat the thermistor with your fingers while taking the measurement.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWe are bringing the sensor output into the A0 analog input pin, but this can be changed to any convenient analog input.\u003c\/p\u003e\n\u003ch3\u003eThermistor Temperature Sensor Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eNTC Thermistor module test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for reading the output of the thermistor module. It uses the Beta method of calculating\u003c\/span\u003e\n\u003cspan\u003ethe temperature.  Beta # determined using on-line calculator and measuring 2 thermistor resistances\u003c\/span\u003e\n\u003cspan\u003eover different temps.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eBALANCE_RESISTOR\u003c\/span\u003e   \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e10010.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Measured value of on-board divider resistor\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eMAX_ADC\u003c\/span\u003e            \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e1023.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Max number of ADC steps (10-bit in this case)\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eBETA\u003c\/span\u003e               \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e4242.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Beta value (from datasheet or calculated)\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eROOM_TEMP\u003c\/span\u003e          \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e292.75\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ room ambient temperature in Kelvin\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003eRESISTOR_ROOM_TEMP\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e125000.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Measured value of thermistor at room temp\u003c\/span\u003e\n\n\u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003ecurrentTemperature\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Variable to hold measured temperature\u003c\/span\u003e\n\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ethermistorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ ADC pin on Arduino (Mega2560 in this case)\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003ecurrentTemperature\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003ereadThermistor\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n \n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Current Temp is \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ecurrentTemperature\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"C  \/  \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ecurrentTemperature\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e9\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003e5\u003c\/span\u003e \u003cspan\u003e+\u003c\/span\u003e\u003cspan\u003e32\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"F\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n   \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Functions\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\n\u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003ereadThermistor\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003e\/\/ Local Variables\u003c\/span\u003e\n  \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003erThermistor\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Thermistor resistance value\u003c\/span\u003e\n  \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003etKelvin\u003c\/span\u003e     \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Calculated temperature in Kelvin\u003c\/span\u003e\n  \u003cspan\u003edouble\u003c\/span\u003e \u003cspan\u003etCelsius\u003c\/span\u003e    \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Calculated temperature in celsius\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e    \u003cspan\u003eadcSample\u003c\/span\u003e   \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ ADC measurement\u003c\/span\u003e\n\n  \u003cspan\u003eadcSample\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ethermistorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ read from pin and store\u003c\/span\u003e\n \n  \u003cspan\u003erThermistor\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eBALANCE_RESISTOR\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eMAX_ADC\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003eadcSample\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e \u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003etKelvin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eBETA\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eROOM_TEMP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \n            \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eBETA\u003c\/span\u003e \u003cspan\u003e+\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eROOM_TEMP\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003elog\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erThermistor\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003eRESISTOR_ROOM_TEMP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003etCelsius\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003etKelvin\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e \u003cspan\u003e273.15\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ convert kelvin to celsius \u003c\/span\u003e\n\n  \u003cspan\u003ereturn\u003c\/span\u003e \u003cspan\u003etCelsius\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Return the temperature in Celsius\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cstrong\u003eBefore they are shipped, these modules are:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eInspected\u003c\/li\u003e\n\u003cli\u003eBasic analog temperature output verified\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eIf your readings are wonky, try reversing the 5V and ground connections.\u003c\/i\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ci\u003eThis module is similar to or the same as the KY-013.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"728\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          V\u003csub\u003ecc\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Temperature\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e -55 to +125°C   (+\/- 0.5°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eL x W (PCB)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e19 x 16mm  (0.75 x 0.6″)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45683677200619,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Thermistor-Temp-Sensor-Module.jpg?v=1723005137"},{"product_id":"hx711-24-bit-adc-module-with-tl431-reference-dual-channel-weighing-sensor-for-arduino-and-diy-projects","title":"HX711 24-Bit ADC Module with TL431 Reference ¨C Dual-Channel Weighing Sensor for Arduino and DIY Projects","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eMaterial\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMetal\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOutput\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eAnalog Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eTheory\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eInductance Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eBiosensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eUse\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003ePressure Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eHx71124-bit high-precision ADC module, with TL431 external voltage regulator, uses external voltage (2.5V) as the excitation source of external pressure sensor, voltage is more stable.\u003cbr\u003e\u003cbr\u003eThis module adopts 24-bit high-precision A\/D converter chip HX711, which is specially designed for high-precision electronic weighing. It has two analog channel inputs and is integrated with 128-times gain programmable amplifier. The input circuit can be configured to provide bridge voltage (such as pressure, weight) sensor mode, is an ideal high precision, low cost sampling front end module\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S5e06a06a93484af19ef7a5a147a6d42fl.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf300e4f332674863b1b70076eb39d77fF.png\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFeedback \u0026amp; Reviews\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eWe Appreciate Your Timely Confirmation Upon Receiving Your Order.\u003cbr\u003eYour Feedback Is Vital To Us; If You Are Satisfied With Our Product And Service, Please Leave Positive Feedback. This Will Greatly Help Us.\u003cbr\u003ePlease Contact Us Before Leaving Any Negative Or Neutral Feedback.\u003cbr\u003eWe Will Work Hard To Resolve Any Issues You May Have. Thank You For Your Understanding!\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cbr\u003e","brand":"Keszoox","offers":[{"title":"1 PCS \/ CHINA","offer_id":46978922119403,"sku":"14:10#1 PCS;200007763:201336100","price":8.48,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/hx711-24bit-adc-dual-channel-weighing-sensor.webp?v=1761029741"},{"product_id":"electronics-sensor-modules-starter-kit-arduino-and-raspberry-pi-diy-learning-set-with-retail-box","title":"Electronics Sensor Modules Starter Kit ¨C Arduino and Raspberry Pi DIY Learning Set with Retail Box","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSensors Module\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDissipation Power\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e-40¡ã-+85¡ã\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSMD\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eQuantity\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSize\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e27.5*18*4cm\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e3-5V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eVoltage Regulator\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003esemi_Choice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e45 IN 1\/37 IN 1 Sensor Module Starter Kit Set For Raspberry Pi Education\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e----37 IN 1 Sensor Module Starter Kit----\u003cbr\u003eColor: As the pictures shown\u003cbr\u003ePackage Included:\u003cbr\u003e1 x Small Passive Buzzer Module KY-006\u003cbr\u003e1 x 2-color LED Module KY-011\u003cbr\u003e1 x Hit Sensor Module KY-031\u003cbr\u003e1 x Vibration Switch Module KY-002\u003cbr\u003e1 x Photo Resistor Module KY-018\u003cbr\u003e1 x Key Switch Module KY-004\u003cbr\u003e1 x Tilt Switch Module KY-020\u003cbr\u003e1 x 3-color Full-color LED SMD Modules KY-009\u003cbr\u003e1 x Infrared Emission Sensor Module KY-005\u003cbr\u003e1 x 3-color LED Module KY-016\u003cbr\u003e1 x Open Optical Module KY-017\u003cbr\u003e1 x Yin Yi 2-color LED Module 3MM KY-029\u003cbr\u003e1 x Active Buzzer Module KY-012\u003cbr\u003e1 x Temperature Sensor Module KY-013\u003cbr\u003e1 x Automatic Flashing Colorful LED Module KY-034\u003cbr\u003e1 x Mini Magnetic Reed Modules KY-021\u003cbr\u003e1 x Hall Magnetic Sensor Module KY-003\u003cbr\u003e1 x Infrared Sensor Receiver Module KY-022\u003cbr\u003e1 x Class Bihor Magnetic Sensor KY-035\u003cbr\u003e1 x Magic Light Cup Module KY-027\u003cbr\u003e1 x Rotary Encoder Module KY-040\u003cbr\u003e1 x Optical Broken Module KY-010\u003cbr\u003e1 x Detect The Heartbeat Module KY-039\u003cbr\u003e1 x Reed Module KY-025\u003cbr\u003e1 x Obstacle Avoidance Sensor Module KY-032\u003cbr\u003e1 x Hunt Sensor Module KY-033\u003cbr\u003e1 x Microphone Sound Sensor Module KY-038\u003cbr\u003e1 x Laser Sensor Module KY-008\u003cbr\u003e1 x 5V Relay Module KY-019\u003cbr\u003e1 x Temperature Sensor Module KY-001\u003cbr\u003e1 x Temperature Sensor Module KY-028\u003cbr\u003e1 x Linear Magnetic Hall Sensors KY-024\u003cbr\u003e1 x Flame Sensor Module KY-026\u003cbr\u003e1 x Sensitive Microphone Sensor Module KY-037\u003cbr\u003e1 x Temperature \u0026amp; Humidity Sensor Module KY-015\u003cbr\u003e1 x XY-axis Joystick Module KY-023\u003cbr\u003e1 x Metal Touch Sensor Module KY-036\u003cbr\u003e 1 x plastic containers\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e------45 IN 1 Sensor Module Starter Kit-------\u003cbr\u003eColor: As the pictures shown\u003cbr\u003eOn the basic of 37 in 1 kit, adds more practical modules to achieve more experimental requirements.\u003cbr\u003ePackage Included:\u003cbr\u003e1 x Soil Module\u003cbr\u003e1 x Infrared Sensor Receiver Module\u003cbr\u003e1 x Laser Head Sensor Module\u003cbr\u003e1 x Temperature \u0026amp; Humidity Sensor Module\u003cbr\u003e1 x Infrared Emission Sensor Module\u003cbr\u003e1 x 5V Relay Module\u003cbr\u003e1 x Gyro Module\u003cbr\u003e1 x For Finger Detect Heartbeat Module\u003cbr\u003e1 x Microphone Sensitivity Sensor Module\u003cbr\u003e1 * Metal Touch Sensor Module\u003cbr\u003e1 x Flame Sensor Module\u003cbr\u003e1 x 3-color LED Module\u003cbr\u003e1 x Hunt Sensor Module\u003cbr\u003e1 x Linear Magnetic Hall Sensors\u003cbr\u003e1 x Rotary Encoder Modules\u003cbr\u003e1 x Active Buzzer Module\u003cbr\u003e1 x Magic Light Cup Modules\u003cbr\u003e1 x Small Passive Buzzer Module\u003cbr\u003e1 x Digital Temperature Sensor Module\u003cbr\u003e1 x Tilt Switch Module\u003cbr\u003e1 x Analogy Holzer Magnetic Sensor\u003cbr\u003e1 x Ultrasonic Module\u003cbr\u003e1 x Opening Module\u003cbr\u003e1 x Hall Magnetic Sensor Module\u003cbr\u003e1 x RGB LED SMD Module\u003cbr\u003e1 x For Mini Reed Module\u003cbr\u003e1 x Bicolor LED Common Cathode Module 3MM\u003cbr\u003e1 x Smart Car Avoid Obstacle Sensor Infrared Sensor photoelectric switch\u003cbr\u003e1 x Key Switch Module\u003cbr\u003e1 x Photoresistor Module\u003cbr\u003e1 x Breadboard Power Module\u003cbr\u003e1 x For Hit Sensor Module\u003cbr\u003e1 x Temperature Sensor Module\u003cbr\u003e1 x Vibration Switch Module\u003cbr\u003e1 x Microphone Sound Sensor Module\u003cbr\u003e1 x Large Reed Module\u003cbr\u003e1 x Two-color LED Module\u003cbr\u003e1 x Optical Breaking Module\u003cbr\u003e1 x Temperature Sensor Module\u003cbr\u003e1 x MP1584EN Buck Module\u003cbr\u003e1 x SD Reader Module\u003cbr\u003e1 x PS2 Joystick Game Controller Module\u003cbr\u003e1 x flashing LED Module\u003cbr\u003e1 x DS1302 Clock Module(Without Battery)\u003cbr\u003e1 x Water Level Module\u003cbr\u003e 1 x plastic containers\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S8a905ced24ef46fe97f10e07259ab33ck.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S151d6f8c5ea34c038efcdc7a8a1688b5S.png\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eComprehensive Kit:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eIncludes 45 sensors and modules, perfect for Arduino \u0026amp; Raspberry Pi projects. Ideal for beginners and advanced users to create exciting DIY electronics experiments.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eWide Compatibility:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eSupports Arduino UNO, MEGA2560, and Raspberry Pi, offering versatility for various projects. Great for learning electronics, robotics, and automation.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eUpgraded Version:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eComes with an upgraded module set, ensuring high-quality components for reliable performance in all your DIY projects. Features improved sensors for more precise experiments.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eAll-in-One Learning Kit:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003ePerfect for electronic enthusiasts, this kit includes a detailed user guide to help you build 45 unique projects, from basic circuits to complex systems, enhancing your learning experience.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eStorage \u0026amp; Organization:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eThe kit is packaged in a sturdy storage box, making it easy to organize and carry your sensors and modules for convenient access during your projects. Keeps everything in place!\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"45 kit with case \/ CHINA","offer_id":46978922381547,"sku":"200007763:201336100;3:1981284404#45 kit with case","price":48.0,"currency_code":"USD","in_stock":true},{"title":"37 kit with case \/ CHINA","offer_id":46978922414315,"sku":"200007763:201336100;3:201010228#37 kit with case","price":26.38,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/electronics-sensor-modules-starter-kit.webp?v=1761029585"},{"product_id":"soil-moisture-sensor-module-humidity-detection-for-arduino-diy-robots-garden-and-irrigation-projects","title":"Soil Moisture Sensor Module ¨C Humidity Detection for Arduino, DIY Robots, Garden and Irrigation Projects","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSwitch And Sensor For Arduino STM\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDissipation Power\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSMD\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eQuantity\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eVoltage Regulator\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eWeight\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e10G\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003esemi_Choice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e1. Product Description\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e1 This is a simple moisture sensor that can be used to detect soil moisture. When the soil is lacking water, the module outputs a high level, otherwise it outputs a low level. Use this sensor to make an automatic watering device so that the plants in your garden do not need to be managed by humans.\u003cbr\u003e2 Adjustable sensitivity (adjusted by the blue digital potentiometer in the picture)\u003cbr\u003e4 Working voltage 3.3V-5V\u003cbr\u003e5 Module dual output mode, digital output is simple, analog output is more accurate.\u003cbr\u003e6 There are fixing bolt holes for easy installation\u003cbr\u003e7 Small board PCB size: 3cm * 1.6cm\u003cbr\u003e8 Power indicator light (red) and digital switch output indicator light (green)\u003cbr\u003e9 The comparator uses LM393 chip, which works stably\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eInterface description(4-wire system)\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e1 VCC external 3.3V-5V\u003cbr\u003e2 GND External GND\u003cbr\u003e3 D0 small board digital output interface(0 and 1)4 A0 small board analog output interface\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eInstructions\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e1 The soil humidity module is sensitive to environmental humidity and is generally used to detect soil humidity.\u003cbr\u003e\u003cbr\u003e2 When the soil humidity does not reach the set threshold, the module DO port outputs a high level. When the soil humidity exceeds the set threshold, the module D0 outputs a low level;\u003cbr\u003e\u003cbr\u003e3 The small board digital output D0 can be directly connected to the microcontroller, and the microcontroller is used to detect high and low levels to detect soil humidity;\u003cbr\u003e\u003cbr\u003e4 The small board digital output DO can directly drive the store's relay module, buzzer module, etc., thereby forming a soil humidity alarm device;\u003cbr\u003e\u003cbr\u003e5 The small board analog output AO can be connected to the AD module, and through AD conversion, a more accurate value of soil humidity can be obtained;\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eIV. Shipping List\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e1. A set of finished soil moisture detection module boards as shown in the figure (including detection board and soil moisture probe)\u003cbr\u003e2. 20cm DuPont wire for easy wiring\u003c\/p\u003e\n\u003cdiv\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S01adb32f044a4be78bb54240931a06dfP.png\" slate-data-type=\"image\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S686b24fe2e1a480fa9934d0cc52af2ecZ.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"CHINA","offer_id":46978922774763,"sku":"200007763:201336100","price":1.6,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/soil-moisture-sensor-module-arduino.webp?v=1761029429"},{"product_id":"rain-water-level-sensor-module-3v-5v-analog-arduino-uno-mega-2560","title":"Rain \/ Water Level Sensor Module 3V–5V | Analog Output | 62×20mm | Arduino UNO MEGA 2560 | 1PCS \/ 5PCS","description":"\u003ch2\u003eRain \/ Water Level Sensor Module — 3V–5V | Analog Output | Arduino UNO \/ MEGA 2560\u003c\/h2\u003e\n\n\u003cp\u003eA compact, low-cost \u003cstrong\u003erain and water level sensor module\u003c\/strong\u003e that detects the presence and depth of water on its sensing surface, outputting an analog voltage proportional to the water coverage area. As water bridges the exposed copper traces on the sensing pad, the resistance between the traces decreases — the module converts this resistance change to an analog voltage (0–5V) readable by any Arduino analog input. Widely used for rain detection, water overflow alerts, plant watering automation, and liquid level monitoring in tanks and containers. Supplied in 1PCS and 5PCS packs.\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDC 3V – 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Current\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e\u0026lt;20mA\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eAnalog (voltage proportional to water coverage)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSensing Area\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e40 × 16mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eModule Dimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e62 × 20 × 8mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eWeight\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3.5g\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePCB\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eFR4 double-sided tin-plating\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Temperature\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e10°C – 30°C\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Humidity\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e10% – 90% (non-condensing)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eQuantity Options\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1PCS \/ 5PCS\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOrigin\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eMainland China\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eHow the Sensor Works\u003c\/h3\u003e\n\u003cp\u003eThe sensing pad consists of a series of interleaved copper traces on the PCB surface. When dry, the resistance between the traces is very high (effectively open circuit) and the analog output is near 0V. As water covers the sensing area:\u003c\/p\u003e\n\u003cul\u003e\n  \u003cli\u003eWater bridges the copper traces, creating a conductive path\u003c\/li\u003e\n  \u003cli\u003eMore water coverage = lower resistance = higher analog output voltage\u003c\/li\u003e\n  \u003cli\u003eThe Arduino ADC reads this voltage (0–1023 on a 10-bit ADC) to determine water level\u003c\/li\u003e\n  \u003cli\u003eA threshold value in your code triggers an alert or action when water is detected\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePin Description\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eFunction\u003c\/th\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eVCC\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003ePower supply (3V–5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eA0 \/ SIG\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eAnalog output (0–5V proportional to water level)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eAnalog output\u003c\/strong\u003e — proportional voltage output allows measurement of water level depth, not just presence\/absence\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e3V–5V supply\u003c\/strong\u003e — compatible with Arduino (5V), ESP32 (3.3V), and Raspberry Pi (3.3V)\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e\u0026lt;20mA current draw\u003c\/strong\u003e — powered directly from Arduino 5V pin without external supply\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e40×16mm sensing area\u003c\/strong\u003e — adequate for rain detection and small container level monitoring\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eFR4 double-sided tin-plating\u003c\/strong\u003e — corrosion-resistant PCB surface for water contact applications\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003eCompact 62×20×8mm\u003c\/strong\u003e — fits in small enclosures and project boxes\u003c\/li\u003e\n  \u003cli\u003e✅ \u003cstrong\u003e1PCS \/ 5PCS options\u003c\/strong\u003e — single unit or multi-pack for multiple sensor deployments\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCommon Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRain detection and automatic window\/roof closing systems\u003c\/li\u003e\n  \u003cli\u003ePlant soil moisture and watering automation (surface water detection)\u003c\/li\u003e\n  \u003cli\u003eWater tank overflow alert\u003c\/li\u003e\n  \u003cli\u003eAquarium water level monitoring\u003c\/li\u003e\n  \u003cli\u003eFlood detection and early warning system\u003c\/li\u003e\n  \u003cli\u003eWashing machine water level sensing\u003c\/li\u003e\n  \u003cli\u003eWeather station rain gauge\u003c\/li\u003e\n  \u003cli\u003eLeak detection under sinks and appliances\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring \u0026amp; Code\u003c\/h3\u003e\n\u003col\u003e\n  \u003cli\u003eConnect VCC to Arduino 5V, GND to GND, A0\/SIG to Arduino analog pin A0.\u003c\/li\u003e\n  \u003cli\u003eRead the sensor: \u003ccode\u003eint waterLevel = analogRead(A0);\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003eMap to percentage: \u003ccode\u003eint percent = map(waterLevel, 0, 1023, 0, 100);\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003eSet a threshold: \u003ccode\u003eif (waterLevel \u0026gt; 500) { \/\/ water detected }\u003c\/code\u003e\n\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003cp\u003e\u003cem\u003eTip: Power the sensor only when taking a reading (connect VCC to a digital output pin, set HIGH before reading, LOW after) to prevent electrolytic corrosion of the sensing traces during continuous operation.\u003c\/em\u003e\u003c\/p\u003e\n\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Can this sensor measure water depth in a tank?\u003c\/strong\u003e\u003cbr\u003eA: The sensor measures water coverage on its sensing surface, not depth in a tank. For tank depth measurement, submerge the sensor vertically — more of the sensing area submerged = higher reading. For accurate depth measurement, use an ultrasonic distance sensor instead.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Will the sensor corrode from continuous water contact?\u003c\/strong\u003e\u003cbr\u003eA: The tin-plated FR4 PCB resists corrosion, but continuous immersion will eventually degrade the sensing traces. For long-term applications, power the sensor only during measurement cycles to minimise electrolytic corrosion.\u003c\/p\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 or 5× Rain \/ Water Level Sensor Module (quantity as selected)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"1 PCS","offer_id":46978922905835,"sku":"14:10#1 PCS","price":1.64,"currency_code":"USD","in_stock":true},{"title":"5 PCS","offer_id":46978922938603,"sku":"14:173#5 PCS","price":7.28,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/rain-water-level-sensor-module-arduino.webp?v=1761029390"},{"product_id":"mt6826s-high-precision-high-speed-magnetic-encoder-angle-sensor-module-for-arduino","title":"MT6826S High-Precision High-Speed Magnetic Encoder Angle Sensor Module for Arduino","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eMaterial\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMetal\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOutput\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eDigital Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eTheory\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOptical Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMagnetic Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eUse\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSpeed Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFeatures and Advances\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e-Based on AMR technology, provides absolute angle measurement from 0¡ã to 360¡ã\u003cbr\u003e-Operating voltage 3.3V to 5.0V\u003cbr\u003e-Operating temperature -40¡ãC to 125¡ãC\u003cbr\u003e-System latency as low as 2¦Ìs, supporting speeds up to 120,000 rpm\u003cbr\u003e-Incremental ABZ output supports arbitrary resolutions from 1 to 1024 lines\u003cbr\u003e-Incremental UVW output supports arbitrary pole pairs from 1 to 16\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S8be69ac33ed54dd8997b4466dd2625aaa.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sdebd21b73f0443b3b3354bde5c66884aT.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S126ad36bab70488fb08f027df8c95414p.png\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFeedback \u0026amp; Reviews\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eWe Appreciate Your Timely Confirmation Upon Receiving Your Order.\u003cbr\u003eYour Feedback Is Vital To Us; If You Are Satisfied With Our Product And Service, Please Leave Positive Feedback. This Will Greatly Help Us.\u003cbr\u003ePlease Contact Us Before Leaving Any Negative Or Neutral Feedback.\u003cbr\u003eWe Will Work Hard To Resolve Any Issues You May Have. Thank You For Your Understanding!\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cbr\u003e","brand":"Keszoox","offers":[{"title":"1 PCS","offer_id":46978926543083,"sku":"14:29#1 PCS","price":17.24,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/mt6826s-magnetic-encoder-sensor.webp?v=1761027176"},{"product_id":"sgp30-sgp41-gas-sensor-module-i2c-tvoc-eco2-formaldehyde-detection-for-air-quality-smart-home-diy","title":"SGP30 SGP41 Gas Sensor Module I2C TVOC eCO2 Formaldehyde Detection for Air Quality \u0026 Smart Home DIY","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eComputer\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDOUBLE HOLE SIZE\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e18.8MM*10.3MM\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDissipation Power\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e40\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eMeasuring range\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e0-1000ppm\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eNORMAL SIZE\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e12MM*12MM\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eQuantity\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1.62-1.98V\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eVoltage Regulator\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eWEIGHT\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1G\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e£¡! Note:\u003c\/p\u003e\n\u003cp style=\"color:rgb(255, 0, 0)\"\u003eThe products are all un-soldered. If welding is required, please contact customer service for a reply before placing an order!£¨SGP30 Black Plate+SGP30 Blue Plate are welded as shown in the picture£©\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eProduct Information\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eWorking power supply voltage: 1.62V-1.98V\u003cbr\u003ePower consumption: 40MA\u003cbr\u003eInterface type: I2C\u003cbr\u003e\u003cbr\u003eThere is corresponding information to share. Customers who need it, please contact the customer after placing an order\u003c\/p\u003e\n\u003cdiv\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S34ea462e9e254d789be825b1ddd47ae4c.png\" slate-data-type=\"image\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡¤  Multi-Gas Detection for Enhanced Air Quality Monitoring\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eDetects TVOC, eCO2, and Formaldehyde with high precision. Ideal for air quality control in homes, offices, and industrial environments.\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S8413cf99921543a9a6b6550bdf61090a5.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Se8b5646884984bff98d35ba7c3e35b47F.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sd10bb68e90f44943988d44f3ba29ca1fz.png\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡¤  High Sensitivity \u0026amp; Accuracy for Real-Time Measurements\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eUses advanced multi-pixel sensor technology to provide accurate, real-time air quality data. Perfect for DIY projects and smart home integrations.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡¤  Compatible with Arduino \u0026amp; Raspberry Pi for Easy Integration\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eFeatures I2C interface, making it easy to connect with Arduino, Raspberry Pi, and other development boards. Great for building custom air quality monitoring systems.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡¤  Compact and Modular Design for Versatile Applications\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eCompact size and modular structure allow for easy integration into various applications like environmental monitoring, smart home devices, and air purifiers.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡¤  Reliable \u0026amp; Long-Lasting Performance for Consistent Results\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eDurable design ensures stable performance even in varying environmental conditions. Ideal for long-term air quality monitoring and analysis projects.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eContact Us\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eIf You Have Any Questions, Please Feel Free To Contact Us. Our Office Hours Are Monday To Friday (Except Holidays).\u003cbr\u003eIf You Send An Email Outside Business Hours And Don¡¯t Receive A Reply, Rest Assured We Will Respond On The Next Business Day.\u003c\/p\u003e\n\u003cdiv\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFrequently Asked Questions (FAQ)\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eQ1: What Should I Do If I Receive A Damaged Item?\u003cbr\u003eA1: Please Contact Us Within 7 Days Of Receiving The Package, And We Will Provide A Solution.\u003cbr\u003eQ2: How Can I Contact Customer Service?\u003cbr\u003eA2: You Can Reach Us Through The AliExpress Messaging System, And Our Customer Service Team Will Respond During Business Days.\u003cbr\u003eQ3: How Important Is Feedback To You?\u003cbr\u003eA3: Your Feedback Is Crucial To Our Development, And We Sincerely Invite Satisfied Customers To Leave Positive Reviews.\u003c\/p\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"SGP30 Blue Plate \/ CHINA","offer_id":46978927263979,"sku":"14:193#SGP30 Blue Plate;200007763:201336100","price":19.76,"currency_code":"USD","in_stock":true},{"title":"SGP41 Purple Plate \/ CHINA","offer_id":46978927296747,"sku":"14:771#SGP41 Purple Plate;200007763:201336100","price":20.88,"currency_code":"USD","in_stock":true},{"title":"SGP30 Black Plate \/ CHINA","offer_id":46978927329515,"sku":"14:366#SGP30 Black Plate;200007763:201336100","price":19.76,"currency_code":"USD","in_stock":true},{"title":"SGP30 Double Hole \/ CHINA","offer_id":46978927362283,"sku":"14:365458#SGP30 Double Hole;200007763:201336100","price":19.76,"currency_code":"USD","in_stock":true},{"title":"SGP41 Black Plate \/ CHINA","offer_id":46978927395051,"sku":"14:1052#SGP41 Black Plate;200007763:201336100","price":20.88,"currency_code":"USD","in_stock":true},{"title":"SGP41 Double Hole \/ CHINA","offer_id":46978927427819,"sku":"14:1254#SGP41 Double Hole;200007763:201336100","price":20.88,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/sgp30-sgp41-gas-sensor-module.webp?v=1761026645"},{"product_id":"as3935-lightning-sensor-module-for-storm-detection-and-distance-measurement-in-electronics-projects","title":"AS3935 Lightning Sensor Module for Storm Detection and Distance Measurement in Electronics Projects","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eMaterial\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMetal\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOutput\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eAnalog Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eTheory\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eInductance Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOptical-Electronics Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eUse\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSpeed Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eAS3935 Lightning Sensor - Lightning Detection and Storm Distance Measurement\u003c\/p\u003e\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eProduct Description:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eBased on the AMS reference design, this is a breakout board for the AS3935 digital lightning sensor. This innovative sensor features a specially tuned antenna, SPI or I2C interface, and a wide operating voltage range of 2.4V to 5.5V, designed to connect with most current development systems and boards. The breakout board includes an inductor (antenna) specifically designed for this application, ensuring you can support low-level IC calibration without extensive backend programming.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFeatures:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eDetects cloud-to-ground and cloud-to-cloud lightning\u003cbr\u003eEstimates lightning distance between 1km and 40km in 14 steps\u003cbr\u003eEmbedded \"man-made\" interference suppression algorithm\u003cbr\u003eProgrammable lightning detection threshold (e.g., outdoor vs. indoor)\u003cbr\u003eWide power supply voltage range: 2.4V - 5.5V\u003cbr\u003eDefault support for SPI and I2C operation, I2C address 0x03\u003cbr\u003eFully calibrated breakout board\u003cbr\u003eApplications: Weather stations, sports electronics, mobile phones, smartwatches, golf equipment\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eProduct Specifications:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eModel: AS3935\u003cbr\u003eVoltage: 2.4V - 5.5V\u003cbr\u003eDimensions: 4.08 x 3.8 x 2.2mm \/ 1.6 x 1.49 x 0.86 inches\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S74fb59140777435dafeb1e2fa6fab305E.png\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S4ba773c3ef454983a39182ef50f71f24S.png\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eFeedback \u0026amp; Reviews\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eWe Appreciate Your Timely Confirmation Upon Receiving Your Order.\u003cbr\u003eYour Feedback Is Vital To Us; If You Are Satisfied With Our Product And Service, Please Leave Positive Feedback. This Will Greatly Help Us.\u003cbr\u003ePlease Contact Us Before Leaving Any Negative Or Neutral Feedback.\u003cbr\u003eWe Will Work Hard To Resolve Any Issues You May Have. Thank You For Your Understanding!\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003cbr\u003e","brand":"Keszoox","offers":[{"title":"1 PCS","offer_id":46978927886571,"sku":"14:10#1 PCS","price":68.88,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/as3935-lightning-sensor-module-storm-detection-distance-measurement.webp?v=1761026043"},{"product_id":"ds18b20-waterproof-temperature-sensor-probe-1wire-stainless-arduino","title":"DS18B20 Waterproof Digital Temperature Sensor Probe — 1-Wire, Stainless Steel, Arduino","description":"\u003ch2\u003eDS18B20 Waterproof Digital Temperature Sensor Probe — 1-Wire, Stainless Steel\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eDS18B20 waterproof temperature probe\u003c\/strong\u003e uses the Dallas 1-Wire protocol to deliver accurate digital temperature readings from -55°C to 125°C with ±0.5°C accuracy. The stainless steel probe housing makes it suitable for liquid immersion, soil burial, and outdoor use where a bare sensor would be damaged. Multiple DS18B20 sensors can share a single data wire — each sensor has a unique 64-bit address, allowing up to 127 sensors on one Arduino pin.\u003c\/p\u003e\n\n\u003ch3\u003eSensor Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSensor IC:\u003c\/strong\u003e Dallas DS18B20\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProtocol:\u003c\/strong\u003e 1-Wire (single data wire + power + ground)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTemperature Range:\u003c\/strong\u003e -55°C to +125°C\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAccuracy:\u003c\/strong\u003e ±0.5°C (from -10°C to +85°C)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResolution:\u003c\/strong\u003e 9–12-bit (configurable, 0.0625°C at 12-bit)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 3.0V – 5.5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProbe Housing:\u003c\/strong\u003e Stainless steel — waterproof and corrosion-resistant\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCable Length:\u003c\/strong\u003e ~1m (3-wire: red=VCC, black=GND, yellow=Data)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUnique ID:\u003c\/strong\u003e 64-bit ROM code — multiple sensors on one wire\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRed → 5V | Black → GND | Yellow → Arduino digital pin (e.g., D2)\u003c\/li\u003e\n  \u003cli\u003eAdd 4.7kΩ pull-up resistor between Data and VCC\u003c\/li\u003e\n  \u003cli\u003eUse OneWire + DallasTemperature libraries from Arduino Library Manager\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eMultiple Sensors on One Wire\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eConnect multiple probes to the same data pin (all share one 4.7kΩ pull-up)\u003c\/li\u003e\n  \u003cli\u003eEach sensor has a unique 64-bit address — read individually in software\u003c\/li\u003e\n  \u003cli\u003eUp to 127 sensors on a single Arduino digital pin\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eAquarium temperature monitoring\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cstrong\u003ePool and spa temperature control\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cstrong\u003eSoil temperature for greenhouse automation\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cstrong\u003ePipe and liquid temperature monitoring\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cstrong\u003eOutdoor weather station temperature probe\u003c\/strong\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003cstrong\u003eSous vide and fermentation temperature control\u003c\/strong\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eDS18B20 stainless steel waterproof probe — 1-Wire, ±0.5°C accuracy, -55°C to 125°C, multiple sensors on one wire for Arduino liquid and soil temperature monitoring.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"1 SET 1M Cable \/ CHINA","offer_id":46978929033451,"sku":"14:200004889#1 SET 1M Cable;200007763:201336100","price":7.8,"currency_code":"USD","in_stock":true},{"title":"1M DS18B20 cable \/ CHINA","offer_id":46978929066219,"sku":"14:1254#1M DS18B20 cable;200007763:201336100","price":5.24,"currency_code":"USD","in_stock":true},{"title":"5M DS18B20 cable \/ CHINA","offer_id":46978929098987,"sku":"14:200004890#5M DS18B20 cable;200007763:201336100","price":9.36,"currency_code":"USD","in_stock":true},{"title":"DS18B20 Chip \/ CHINA","offer_id":46978929131755,"sku":"14:1052#DS18B20 Chip;200007763:201336100","price":3.68,"currency_code":"USD","in_stock":true},{"title":"2M DS18B20 cable \/ CHINA","offer_id":46978929164523,"sku":"14:771#2M DS18B20 cable;200007763:201336100","price":7.52,"currency_code":"USD","in_stock":true},{"title":"3M DS18B20 cable \/ CHINA","offer_id":46978929197291,"sku":"14:350850#3M DS18B20 cable;200007763:201336100","price":8.64,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/ds18b20-waterproof-digital-temperature-sensor-probe-1-wire-stainless-steel-arduino-raspberry-pi.webp?v=1761024038"},{"product_id":"sgp30-sgp41-gas-sensor-module-tvoc-eco2-formaldehyde-detection-i2c-for-air-quality-and-smart-home-diy-projects","title":"SGP30 SGP41 Gas Sensor Module TVOC eCO2 Formaldehyde Detection I2C for Air Quality and Smart Home DIY Projects","description":"\u003ch2\u003eSGP30 \/ SGP41 Gas Sensor Module — TVOC, eCO2 \u0026amp; Formaldehyde Detection, I2C, Arduino\u003c\/h2\u003e\n\u003cp\u003eA multi-gas sensor module based on the Sensirion SGP30 or SGP41 metal oxide semiconductor (MOX) gas sensor IC, providing indoor air quality (IAQ) measurement of Total Volatile Organic Compounds (TVOC) and equivalent CO2 (eCO2) via I2C interface. The SGP41 variant additionally provides a NOx index for nitrogen oxide detection. Suitable for Arduino, ESP32, and Raspberry Pi air quality monitoring, smart home ventilation control, and industrial IAQ applications.\u003c\/p\u003e\n\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\n\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eSGP30\u003c\/th\u003e\n\u003cth\u003eSGP41\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eMeasurements\u003c\/td\u003e\n\u003ctd\u003eTVOC, eCO2\u003c\/td\u003e\n\u003ctd\u003eTVOC, eCO2, NOx index\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTVOC Range\u003c\/td\u003e\n\u003ctd\u003e0–60,000 ppb\u003c\/td\u003e\n\u003ctd\u003e0–60,000 ppb\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eeCO2 Range\u003c\/td\u003e\n\u003ctd\u003e400–60,000 ppm\u003c\/td\u003e\n\u003ctd\u003e400–60,000 ppm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C (address 0x58)\u003c\/td\u003e\n\u003ctd\u003eI2C (address 0x59)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V – 5V DC\u003c\/td\u003e\n\u003ctd\u003e3.3V – 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWarm-up Time\u003c\/td\u003e\n\u003ctd\u003e15 seconds\u003c\/td\u003e\n\u003ctd\u003e10 seconds\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBaseline Calibration\u003c\/td\u003e\n\u003ctd\u003eAutomatic (12-hour cycle)\u003c\/td\u003e\n\u003ctd\u003eAutomatic (12-hour cycle)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOperating Temperature\u003c\/td\u003e\n\u003ctd\u003e−40°C to +85°C\u003c\/td\u003e\n\u003ctd\u003e−40°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCertification\u003c\/td\u003e\n\u003ctd colspan=\"2\"\u003eRoHS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eIndoor Air Quality Monitor:\u003c\/strong\u003e Measure TVOC and eCO2 levels in homes, offices, and classrooms to detect poor ventilation, off-gassing from furniture, and VOC sources\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSmart Home Ventilation:\u003c\/strong\u003e Trigger HVAC fan, air purifier, or window actuator when TVOC or eCO2 exceeds threshold levels in a Home Assistant or Arduino automation system\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFormaldehyde Detection:\u003c\/strong\u003e Detect formaldehyde off-gassing from new furniture, flooring, and building materials in newly constructed or renovated spaces\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eIndustrial IAQ:\u003c\/strong\u003e Monitor VOC levels in industrial workplaces, laboratories, and cleanrooms for occupational health and safety compliance\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCO2 Proxy Monitoring:\u003c\/strong\u003e Use eCO2 as a proxy for CO2 concentration in classroom and office ventilation monitoring systems (note: eCO2 is estimated, not direct CO2 measurement)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAir Purifier Control:\u003c\/strong\u003e Provide IAQ feedback signal to control air purifier fan speed based on real-time TVOC levels\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eArduino Wiring\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eVCC → 3.3V or 5V | GND → GND\u003c\/li\u003e\n\u003cli\u003eSDA → Arduino A4 (Uno) or D21 (Mega) | SCL → A5 (Uno) or D20 (Mega)\u003c\/li\u003e\n\u003cli\u003eInstall \u003ccode\u003eAdafruit SGP30\u003c\/code\u003e library via Arduino Library Manager\u003c\/li\u003e\n\u003cli\u003eCall \u003ccode\u003esgp.IAQmeasure();\u003c\/code\u003e to read TVOC and eCO2 values\u003c\/li\u003e\n\u003cli\u003eAllow 15 seconds warm-up before first valid reading\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eFAQ\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003eQ: Does the SGP30 measure actual CO2 concentration?\u003c\/strong\u003e\u003cbr\u003eA: No. The SGP30 measures eCO2 (equivalent CO2), which is an estimated CO2 value derived from TVOC measurements using a proprietary algorithm. For accurate CO2 measurement, use a dedicated NDIR CO2 sensor (SCD30, SCD40, MH-Z19).\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eQ: How long does the SGP30 take to calibrate?\u003c\/strong\u003e\u003cbr\u003eA: The SGP30 performs automatic baseline calibration over a 12-hour cycle. For the first 12 hours of operation, readings may be less accurate. Store the baseline values in EEPROM and restore them on power-up to maintain calibration across power cycles.\u003c\/p\u003e\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\u003cli\u003e1 × SGP30 or SGP41 gas sensor module (variant as selected)\u003c\/li\u003e\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"SGP30 Black Plate \/ CHINA","offer_id":46978929819883,"sku":"14:1254#SGP30 Black Plate;200007763:201336100","price":19.2,"currency_code":"USD","in_stock":true},{"title":"SGP30 Double Hole \/ CHINA","offer_id":46978929852651,"sku":"14:200004889#SGP30 Double Hole;200007763:201336100","price":19.2,"currency_code":"USD","in_stock":true},{"title":"SGP30 Blue Plate \/ CHINA","offer_id":46978929885419,"sku":"14:691#SGP30 Blue Plate;200007763:201336100","price":19.2,"currency_code":"USD","in_stock":true},{"title":"SGP41 Purple Plate \/ CHINA","offer_id":46978929918187,"sku":"14:771#SGP41 Purple Plate;200007763:201336100","price":20.32,"currency_code":"USD","in_stock":true},{"title":"SGP41 Black Plate \/ CHINA","offer_id":46978929950955,"sku":"14:200002130#SGP41 Black Plate;200007763:201336100","price":20.32,"currency_code":"USD","in_stock":true},{"title":"SGP41 Double Hole \/ CHINA","offer_id":46978929983723,"sku":"14:365458#SGP41 Double Hole;200007763:201336100","price":20.32,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/sgp30-sgp41-gas-sensor-module-tvoc-eco2-formaldehyde-i2c-air-quality-smart-home-diy.webp?v=1761023721"},{"product_id":"sgp41-sgp40-sgp30-air-quality-sensor-module-for-arduino-raspberry-pi-tvoc-eco2-formaldehyde-gas-detector-with-demo-board","title":"SGP41 SGP40 SGP30 Air Quality Sensor Module for Arduino Raspberry Pi, TVOC eCO2 Formaldehyde Gas Detector with Demo Board","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eComputer\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eDissipation Power\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSMD\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eQuantity\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSize\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e13*10.5mm,25.5mm*18mm\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eSupply Voltage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e1\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eVoltage Regulator\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eWeight\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e2G\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003esemi_Choice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/S41a1b6f6a07e4d9c9ce76b556ca0ae0aA.png\" slate-data-type=\"image\"\u003e\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e¡¤  Accurate Air Quality Monitoring: The SGP30, SGP40, and SGP41 sensors detect TVOC and eCO2 levels, providing real-time air quality measurements for smart home, Arduino, and Raspberry Pi projects.\u003cbr\u003e¡¤  Wide Compatibility: Compatible with Arduino and Raspberry Pi, this air quality sensor module is perfect for DIY electronics, enabling easy integration into air quality monitoring systems and environmental projects.\u003cbr\u003e¡¤  Versatile Gas Detection: Detect formaldehyde, carbon dioxide, TVOC, and eCO2 with this advanced sensor module. Ideal for home automation, environmental monitoring, and air quality detection applications.\u003c\/p\u003e\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003eIntroduction:\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003e¡ñSGP30\u003cbr\u003eThe SGP30 is a digital multi-pixel gas sensor designed for easy integration into air purifier, demand-controlled ventilation, and IoT applications.Sensirion¡¯s CMOSens? technology offers a complete sensor system on a single chip featuring a digital I2C interface, a temperature controlled micro hotplate, and two preprocessed indoor air quality signals. As the first metal-oxide gas sensor featuring multiple sensing elements on one chip, the SGP30 provides more detailed information about the air quality.\u003cbr\u003e¡ñSGP40\u003cbr\u003eThe SGP40 is a digital gas sensor designed for easy integration into air purifiers or demand-controlled ventilation systems. Sensirion¡¯s CMOSens? technology offers a complete, easy-to-use sensor system on a single chip featuring a digital I2C interface and a temperature-controlled micro hotplate, providing a humiditycompensated VOC based indoor air quality signal.\u003cbr\u003eThe output signal can be directly processed by Sensirion¡¯s powerful VOC Algorithm to translate the raw signal into a VOC Index as a robust measure for indoor air quality.\u003cbr\u003eThe VOC Algorithm automatically adapts to the environment the sensor is exposed to. Both sensing element and VOC Algorithm feature an unmatched robustness against contaminating gases present in real-world applications enabling a unique long-term stability as well as low drift and device-to-device variation.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cp style=\"font-family:OpenSans;font-size:20px;font-weight:900;line-height:28px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-title\"\u003e¡ñSGP41\u003c\/p\u003e\n\u003cp style=\"font-family:OpenSans;font-size:14px;font-weight:300;line-height:20px;white-space:pre-wrap;color:rgb(0, 0, 0);margin-bottom:12px\" class=\"detail-desc-decorate-content\"\u003eThe SGP41 is Sensirion¡¯s new VOC and NOx sensor designed as digital smart switch and regulation unit for air treatment devices such as air purifiers.\u003cbr\u003e\u003cbr\u003eThe two sensor signals processed by Sensirion¡¯s powerful Gas Index Algorithm can be directly used to automatically trigger the removal of indoor air gas pollutants by air treatment devices without the need for user¨Cdevice interaction. This sensor solution is thus well-suited for constantly monitoring the VOC and NOx situation including potentially harmful events which are not perceived by humans. Furthermore, an automatic control of air treatment devices based on the SGP41 signals helps to save energy by turning them off once the VOC and\/or NOx events have been taken care off.\u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv class=\"detailmodule_text-image\"\u003e\n\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sfbc518e390764cb0bbf08f06f648df31g.jpg\" slate-data-type=\"image\"\u003e\u003cimg class=\"detail-desc-decorate-image\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sf889fadec4e24cddaaa2021028afeab86.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"GY-SGP40 interface \/ CHINA","offer_id":46978930311403,"sku":"14:496#GY-SGP40 interface;200007763:201336100","price":20.88,"currency_code":"USD","in_stock":true},{"title":"GY-SGP40 \/ CHINA","offer_id":46978930344171,"sku":"14:366#GY-SGP40;200007763:201336100","price":20.32,"currency_code":"USD","in_stock":true},{"title":"GY-SGP41 interface \/ CHINA","offer_id":46978930376939,"sku":"14:1254#GY-SGP41 interface;200007763:201336100","price":22.6,"currency_code":"USD","in_stock":true},{"title":"GY-SGP30 \/ CHINA","offer_id":46978930409707,"sku":"14:771#GY-SGP30;200007763:201336100","price":19.76,"currency_code":"USD","in_stock":true},{"title":"GY-SGP41 \/ CHINA","offer_id":46978930442475,"sku":"14:365458#GY-SGP41;200007763:201336100","price":24.28,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/sgp41-sgp40-sgp30-air-quality-sensor-module-tvoc-eco2-formaldehyde-gas-detector-arduino-raspberry-pi1.webp?v=1761023599"},{"product_id":"sgp41-sgp40-sgp30-air-quality-sensor-tvoc-eco2-formaldehyde-arduino-raspberry-pi","title":"SGP41 \/ SGP40 \/ SGP30 Air Quality Sensor Module — TVOC, eCO2 \u0026 Formaldehyde Detector for Arduino \u0026 Raspberry Pi","description":"\u003ch2\u003eSGP41 \/ SGP40 \/ SGP30 Air Quality Sensor Module — TVOC, eCO2 \u0026amp; Formaldehyde\u003c\/h2\u003e\n\u003cp\u003eThis breakout module brings Sensirion’s industry-leading \u003cstrong\u003eSGP-series metal oxide semiconductor (MOX) gas sensors\u003c\/strong\u003e to your Arduino, Raspberry Pi, or ESP32 project. Depending on the variant selected, the module uses the \u003cstrong\u003eSGP30\u003c\/strong\u003e (TVOC + eCO2), \u003cstrong\u003eSGP40\u003c\/strong\u003e (VOC index), or \u003cstrong\u003eSGP41\u003c\/strong\u003e (VOC index + NOx index) sensor IC, all communicating via I2C for simple integration. Ideal for indoor air quality monitoring, HVAC control, smart home automation, and environmental research.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eSensor Options\u003c\/td\u003e\n\u003ctd\u003eSGP30 \/ SGP40 \/ SGP41 (select variant)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eMeasured Parameters\u003c\/td\u003e\n\u003ctd\u003eSGP30: TVOC (ppb) + eCO2 (ppm) | SGP40: VOC Index | SGP41: VOC Index + NOx Index\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C (address 0x58)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V \/ 5V compatible\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eModule Size\u003c\/td\u003e\n\u003ctd\u003eSGP30: 13×10.5mm | SGP40\/41: 25.5×18mm (approx.)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eCompatible Platforms\u003c\/td\u003e\n\u003ctd\u003eArduino, Raspberry Pi, ESP32, ESP8266, STM32\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eOrigin\u003c\/td\u003e\n\u003ctd\u003eCN\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eSGP30 vs SGP40 vs SGP41 — Which to Choose?\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n\u003cth\u003eModel\u003c\/th\u003e\n\u003cth\u003eOutputs\u003c\/th\u003e\n\u003cth\u003eBest For\u003c\/th\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eSGP30\u003c\/td\u003e\n\u003ctd\u003eTVOC (ppb) + eCO2 (ppm)\u003c\/td\u003e\n\u003ctd\u003eBasic indoor air quality monitoring with absolute concentration values\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eSGP40\u003c\/td\u003e\n\u003ctd\u003eVOC Index (1–500)\u003c\/td\u003e\n\u003ctd\u003eRelative air quality trending; lower power, simpler integration\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003ctr\u003e\n\u003ctd\u003eSGP41\u003c\/td\u003e\n\u003ctd\u003eVOC Index + NOx Index\u003c\/td\u003e\n\u003ctd\u003eAdvanced IAQ with both VOC and NOx monitoring for HVAC and research\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eIndoor air quality (IAQ) monitors for homes, offices, and classrooms\u003c\/li\u003e\n  \u003cli\u003eHVAC demand-controlled ventilation systems\u003c\/li\u003e\n  \u003cli\u003eSmart home air quality dashboards (Home Assistant, ESPHome)\u003c\/li\u003e\n  \u003cli\u003eFormaldehyde and VOC detection in newly furnished rooms\u003c\/li\u003e\n  \u003cli\u003eEnvironmental research and data logging projects\u003c\/li\u003e\n  \u003cli\u003eCO2 proxy monitoring for occupancy detection\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003ch3\u003eQ: Does the SGP30 measure actual CO2?\u003c\/h3\u003e\n\u003cp\u003eNo. The SGP30 outputs \u003cstrong\u003eeCO2\u003c\/strong\u003e (equivalent CO2), which is an estimated value derived from TVOC measurements using an algorithm. It is not a direct NDIR CO2 measurement. For accurate CO2 readings, use an SCD40 or MH-Z19 NDIR sensor.\u003c\/p\u003e\n\n\u003ch3\u003eQ: Does the module require a humidity sensor for compensation?\u003c\/h3\u003e\n\u003cp\u003eThe SGP40 and SGP41 support humidity compensation via I2C input from an external sensor (e.g., SHT40). Compensation improves VOC index accuracy but is optional — the module operates without it using default compensation values.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e1× SGP30 \/ SGP40 \/ SGP41 Air Quality Sensor Breakout Module (variant per selection)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"GY-SGP40 \/ CHINA","offer_id":46978930671851,"sku":"14:366#GY-SGP40;200007763:201336100","price":20.32,"currency_code":"USD","in_stock":true},{"title":"GY-SGP40 interface \/ CHINA","offer_id":46978930704619,"sku":"14:496#GY-SGP40 interface;200007763:201336100","price":20.88,"currency_code":"USD","in_stock":true},{"title":"GY-SGP30 \/ CHINA","offer_id":46978930737387,"sku":"14:771#GY-SGP30;200007763:201336100","price":19.76,"currency_code":"USD","in_stock":true},{"title":"GY-SGP41 interface \/ CHINA","offer_id":46978930770155,"sku":"14:1254#GY-SGP41 interface;200007763:201336100","price":22.6,"currency_code":"USD","in_stock":true},{"title":"GY-SGP41 \/ CHINA","offer_id":46978930802923,"sku":"14:365458#GY-SGP41;200007763:201336100","price":24.28,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/sgp41-sgp40-sgp30-air-quality-sensor-module-tvoc-eco2-formaldehyde-gas-detector-arduino-raspberry-pi.webp?v=1761023327"},{"product_id":"universal-ir-infrared-receiver-sensor-module-tl1838-vs1838b-38khz-for-arduino-raspberry-pi","title":"Universal IR Infrared Receiver Sensor Module TL1838 VS1838B 38kHz for Arduino \u0026 Raspberry Pi","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eApplication\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eComputer\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eModel Number\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eTL1838 VS1838B\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOperating Temperature\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003e-40-+85\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003ePackage\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSMD\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eModule\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_html\"\u003e\u003cdiv class=\"detail-desc-decorate-richtext\"\u003e\n\u003cspan style=\"font-size:20px;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cstrong\u003e10-100PCS Universal IR Infrared Receiver Sensor Module TL1838 VS1838B 38Khz for Arduino Raspberry LED Infrared Receiver Tube\u003c\/strong\u003e\u003c\/span\u003e\u003c\/span\u003e\u003cbr\u003e\n \n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e1. 100% new, never used\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e2. Includes high-speed high-sensitivity PIN photodiode and a low -power, high-gain preamplifier IC, plus the use of epoxy resin dry outer shield anti- scratch design, the product has been part of environmentally friendly products through REACH and SGS certification, infrared remote control system used as a receiver .\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e3. Low power consumption; wide-angle and long distance reception\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e4. Strong anti-interference ability, able to withstand environmental disturbances\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e5. Outside interference shielding design\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e6. Ultra- compact design package with outer shield anti-jamming capability, built-in CMOSlC\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e7. Voltage: 2.7V-5.5 V\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-node=\"element\" style=\"position: relative;\"\u003e\u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cspan style=\"font-size:16px;\"\u003e\u003cspan data-slate-node=\"text\"\u003e\u003cspan data-sent-id=\"KY5L3gmjAr\" data-slate-leaf=\"true\"\u003e\u003cspan data-slate-string=\"true\"\u003e8. Receiving distance: 13-15M\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/span\u003e\u003c\/div\u003e\n\n\u003cdiv data-slate-fragment=\"JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJLWTVMM2dtakFyJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjIlRTYlOTQlQjYlRTQlQkIlQjYlRTQlQkElQkElMjIlMkMlMjJkc3QlMjIlM0ElMjJhZGRyZXNzZWUlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMjEwMCUyNSUyMG5ldyUyQyUyMG5ldmVyJTIwdXNlZCUyMiU3RCU1RCU3RCUyQyU3QiUyMnR5cGUlMjIlM0ElMjJwYXJhZ3JhcGglMjIlMkMlMjJjaGlsZHJlbiUyMiUzQSU1QiU3QiUyMmlkJTIyJTNBJTIyS1k1TDNnbWpBciUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIyJUU2JTk0JUI2JUU0JUJCJUI2JUU0JUJBJUJBJTIyJTJDJTIyZHN0JTIyJTNBJTIyYWRkcmVzc2VlJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJJbmNsdWRlcyUyMGhpZ2gtc3BlZWQlMjBoaWdoLXNlbnNpdGl2aXR5JTIwUElOJTIwcGhvdG9kaW9kZSUyMGFuZCUyMGElMjBsb3clMjAtcG93ZXIlMkMlMjBoaWdoLWdhaW4lMjBwcmVhbXBsaWZpZXIlMjBJQyUyQyUyMHBsdXMlMjB0aGUlMjB1c2UlMjBvZiUyMGVwb3h5JTIwcmVzaW4lMjBkcnklMjBvdXRlciUyMHNoaWVsZCUyMGFudGktJTIwc2NyYXRjaCUyMGRlc2lnbiUyMCUyQyUyMHRoZSUyMHByb2R1Y3QlMjBoYXMlMjBiZWVuJTIwcGFydCUyMG9mJTIwZW52aXJvbm1lbnRhbGx5JTIwZnJpZW5kbHklMjBwcm9kdWN0cyUyMHRocm91Z2glMjBSRUFDSCUyMGFuZCUyMFNHUyUyMGNlcnRpZmljYXRpb24lMkMlMjBpbmZyYXJlZCUyMHJlbW90ZSUyMGNvbnRyb2wlMjBzeXN0ZW0lMjB1c2VkJTIwYXMlMjBhJTIwcmVjZWl2ZXIlMjAuJTIyJTdEJTVEJTdEJTJDJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJLWTVMM2dtakFyJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjIlRTYlOTQlQjYlRTQlQkIlQjYlRTQlQkElQkElMjIlMkMlMjJkc3QlMjIlM0ElMjJhZGRyZXNzZWUlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMkxvdyUyMHBvd2VyJTIwY29uc3VtcHRpb24lMjAlM0IlMjB3aWRlLWFuZ2xlJTIwYW5kJTIwbG9uZyUyMGRpc3RhbmNlJTIwcmVjZXB0aW9uJTIyJTdEJTVEJTdEJTJDJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJLWTVMM2dtakFyJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjIlRTYlOTQlQjYlRTQlQkIlQjYlRTQlQkElQkElMjIlMkMlMjJkc3QlMjIlM0ElMjJhZGRyZXNzZWUlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMlN0cm9uZyUyMGFudGktaW50ZXJmZXJlbmNlJTIwYWJpbGl0eSUyMCUyQyUyMGFibGUlMjB0byUyMHdpdGhzdGFuZCUyMGVudmlyb25tZW50YWwlMjBkaXN0dXJiYW5jZXMlMjIlN0QlNUQlN0QlMkMlN0IlMjJ0eXBlJTIyJTNBJTIycGFyYWdyYXBoJTIyJTJDJTIyY2hpbGRyZW4lMjIlM0ElNUIlN0IlMjJpZCUyMiUzQSUyMktZNUwzZ21qQXIlMjIlMkMlMjJwYXJhSWR4JTIyJTNBMCUyQyUyMnNyYyUyMiUzQSUyMiVFNiU5NCVCNiVFNCVCQiVCNiVFNCVCQSVCQSUyMiUyQyUyMmRzdCUyMiUzQSUyMmFkZHJlc3NlZSUyMiUyQyUyMm1ldGFkYXRhJTIyJTNBJTIyJTIyJTJDJTIybWV0YURhdGElMjIlM0ElNUIlNUQlMkMlMjJ0ZXh0JTIyJTNBJTIyT3V0c2lkZSUyMGludGVyZmVyZW5jZSUyMHNoaWVsZGluZyUyMGRlc2lnbiUyMiU3RCU1RCU3RCUyQyU3QiUyMnR5cGUlMjIlM0ElMjJwYXJhZ3JhcGglMjIlMkMlMjJjaGlsZHJlbiUyMiUzQSU1QiU3QiUyMmlkJTIyJTNBJTIyS1k1TDNnbWpBciUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIyJUU2JTk0JUI2JUU0JUJCJUI2JUU0JUJBJUJBJTIyJTJDJTIyZHN0JTIyJTNBJTIyYWRkcmVzc2VlJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJVbHRyYS0lMjBjb21wYWN0JTIwZGVzaWduJTIwcGFja2FnZSUyMHdpdGglMjBvdXRlciUyMHNoaWVsZCUyMGFudGktamFtbWluZyUyMGNhcGFiaWxpdHklMjAlMkMlMjBidWlsdC1pbiUyMENNT1NsQyUyMiU3RCU1RCU3RCUyQyU3QiUyMnR5cGUlMjIlM0ElMjJwYXJhZ3JhcGglMjIlMkMlMjJjaGlsZHJlbiUyMiUzQSU1QiU3QiUyMmlkJTIyJTNBJTIyS1k1TDNnbWpBciUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIyJUU2JTk0JUI2JUU0JUJCJUI2JUU0JUJBJUJBJTIyJTJDJTIyZHN0JTIyJTNBJTIyYWRkcmVzc2VlJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJ2b2x0YWdlJTIwJTNBMi43LTUlMjAuNSUyMFYlMjIlN0QlNUQlN0QlMkMlN0IlMjJ0eXBlJTIyJTNBJTIycGFyYWdyYXBoJTIyJTJDJTIyY2hpbGRyZW4lMjIlM0ElNUIlN0IlMjJpZCUyMiUzQSUyMktZNUwzZ21qQXIlMjIlMkMlMjJwYXJhSWR4JTIyJTNBMCUyQyUyMnNyYyUyMiUzQSUyMiVFNiU5NCVCNiVFNCVCQiVCNiVFNCVCQSVCQSUyMiUyQyUyMmRzdCUyMiUzQSUyMmFkZHJlc3NlZSUyMiUyQyUyMm1ldGFkYXRhJTIyJTNBJTIyJTIyJTJDJTIybWV0YURhdGElMjIlM0ElNUIlNUQlMkMlMjJ0ZXh0JTIyJTNBJTIyUmVjZWl2aW5nJTIwZGlzdGFuY2UlMjAlM0ExMy0xNU0lMjIlN0QlNUQlN0QlMkMlN0IlMjJ0eXBlJTIyJTNBJTIycGFyYWdyYXBoJTIyJTJDJTIyY2hpbGRyZW4lMjIlM0ElNUIlN0IlMjJpZCUyMiUzQSUyMktZNUwzZ21qQXIlMjIlMkMlMjJwYXJhSWR4JTIyJTNBMCUyQyUyMnNyYyUyMiUzQSUyMiVFNiU5NCVCNiVFNCVCQiVCNiVFNCVCQSVCQSUyMiUyQyUyMmRzdCUyMiUzQSUyMmFkZHJlc3NlZSUyMiUyQyUyMm1ldGFkYXRhJTIyJTNBJTIyJTIyJTJDJTIybWV0YURhdGElMjIlM0ElNUIlNUQlMkMlMjJ0ZXh0JTIyJTNBJTIyU2l6ZSUzQSUyMHBpbiUyMGxlbmdodCUzQTIxbW0lMjIlN0QlNUQlN0QlNUQ=\" data-slate-node=\"element\" style=\"position: relative;\"\u003e \u003c\/div\u003e\n\u003cspan style=\"font-size:20px;\"\u003e \u003cspan style=\"font-family:Arial,Helvetica,sans-serif;\"\u003e\u003cstrong\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/span\u003e \u003cspan style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 16px;'\u003e\u003cstrong style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\u003cspan style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; font-family: Arial, Helvetica, sans-serif;\"\u003eCharacteristics\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003cspan style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 16px;'\u003e\u003cspan style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; font-family: Arial, Helvetica, sans-serif;\"\u003e\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- Small design\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- Built-in dedicated IC\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- Wide Angle and long distance reception\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- Strong anti-interference ability\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- It can withstand the influence of ambient light\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n- Low voltage operation\u003c\/span\u003e\u003c\/span\u003e\u003cbr style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'\u003e\n\u003cbr style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;'\u003e\n\u003cspan style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 16px;'\u003e\u003cspan style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; font-family: Arial, Helvetica, sans-serif;\"\u003e\u003cstrong style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003eApplication\u003c\/strong\u003e\u003c\/span\u003e\u003c\/span\u003e\u003cspan style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 16px;'\u003e\u003cspan style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; font-family: Arial, Helvetica, sans-serif;\"\u003e\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n1. Audio-visual equipment (stereo, TV, VCR, DVD player, set-top box, DVB)\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n2. Home appliances (air conditioners, electric fans, lights)\u003cbr style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px;\"\u003e\n3. Other wireless remote control products\u003c\/span\u003e\u003c\/span\u003e\n\n\u003cp style=\"margin:0;display: block;width: 100%;\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/S8ecd2f5a68cc4739bc9768398c03c3d1C.jpg\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sa3ab1b6d4522433d93b998393d92e8f73.jpg\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sbbfc4465a966433190c75088a28ff0ads.jpg\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sb3a50b23fd37442baf965f3a0173b2a3S.jpg\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/S21cb080720f64640a6f66c25f40ff89d6.jpg\"\u003e\u003cimg referrerpolicy=\"no-referrer\" src=\"https:\/\/ae01.alicdn.com\/kf\/S2044559073534de99c2928be8399331aS.jpg\"\u003e\u003c\/p\u003e\n\u003cspan style='box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; color: rgb(34, 34, 34); font-family: \"TT Norms Pro\", \"Open Sans\", Roboto, Arial, Helvetica, sans-serif, SimSun; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-size: 16px;'\u003e\u003cspan style=\"box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: 0px; margin: 0px; padding: 0px; max-width: 100%; word-break: break-word; font-family: Arial, Helvetica, sans-serif;\"\u003e\u003c\/span\u003e\u003c\/span\u003e\n\u003c\/div\u003e\u003c\/div\u003e\r\n","brand":"Keszoox","offers":[{"title":"100 PCS","offer_id":46981888934123,"sku":"14:200000195#100 PCS","price":39.12,"currency_code":"USD","in_stock":true},{"title":"10 PCS","offer_id":46981888966891,"sku":"14:350852#10 PCS","price":3.64,"currency_code":"USD","in_stock":true},{"title":"50 PCS","offer_id":46981888999659,"sku":"14:350853#50 PCS","price":20.36,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/ir-infrared-receiver-sensor-tl1838-vs1838b.webp?v=1761115967"},{"product_id":"hc-sr501-pir-motion-detector-sensor-module-with-case-for-arduino-raspberry-pi","title":"HC-SR501 PIR Motion Detector Sensor Module with Case for Arduino \u0026 Raspberry Pi","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eKeszoox\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eMaterial\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003ePolymer\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eModel Number\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eHC-SR501\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOutput\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eSwitching Transducer\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eTheory\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOptical Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eOptical-Electronics Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eUse\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003ePosition Sensor\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eis_customized\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eYes\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_dynamic\"\u003e\u003ckse:widget data-widget-type=\"relatedProduct\" id=\"1005000012608011\" title=\"\" type=\"relation\"\u003e\u003c\/kse:widget\u003e\u003c\/div\u003e\r\n\u003cdiv class=\"detailmodule_html\"\u003e\u003cdiv class=\"detail-desc-decorate-richtext\"\u003e\n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e\u003cspan style=\"font-size:18px\"\u003e\u003cstrong\u003eHC-SR501 Adjust IR Pyroelectric Infrared PIR Human Infrared Motion Detector Sensor Module for Arduino for Raspberry Pi + Case\u003c\/strong\u003e\u003c\/span\u003e\u003c\/span\u003e \n \u003cspan style=\"font-size:12pt\"\u003e\u003cbr\u003e\u003cbr\u003e1. Automatic induction: When someone enters its induction range, enter the high level, people leave the sensor range is automatically delayed off high. Output low.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e2. Photosensitive control (optional): the module reserved for location, can be set to photosensitive control, strong light during the day or not induction. Photosensitive control is optional, the factory did not install photosensitive resistor. If necessary, please buy a separate photosensitive resistor to install.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e3. Two trigger modes: L is not repeatable, H is repeatable. Can be jumper selected, the default is H.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003eA. non-repeatable trigger mode: the induction output high, the delay time is over, the output will automatically change from high to low.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003eB. Repeated trigger mode: that is, after sensing the output high, in the delay time period, if the human body in its sensing range of activities, its output will remain high until the delay after the person will leave the high The level changes to low level (the sensing module automatically delays a delay time after every activity of the human body, and takes the time of the last activity as the starting point of the delay time).\u003c\/span\u003e\u003c\/p\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e4. Induction blocking time (default setting: 3-4 seconds): After each sensing output (high level goes low), the sensing module can be followed by a blocking time, during which it is sensed The device does not receive any sense signals. This function can be used to achieve the interval between the sensing output time and the blocking time. It can be applied to the interval detection products. At the same time, this function can effectively suppress all kinds of interference in the process of load switching.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e5. Wide operating voltage range: the default operating voltage DC5V to 20V\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e6. Micro-power: Quiescent current 65 microamps, especially for dry battery-powered electrical products.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e7. Output high-level signal: can be easily with various types of circuits to achieve docking.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cbr\u003e \n\u003c\/div\u003e \n\u003ch2\u003e\u003cspan style=\"color:rgb(211, 49, 21);font-size:15pt\"\u003e\u003cstrong\u003eInstructions for use:\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e1. Induction module power about one minute after the initialization time, at this time the module will output 0-3 times a minute, a minute into the standby state.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cdiv\u003e \n \u003cspan style=\"font-size:12pt\"\u003e2. Light and other interference should be avoided Directly close the surface of the lens module, so as not to introduce interference with the signal to produce malfunction; use of the environment as far as possible to avoid Free flow of wind, the wind will cause interference to the sensor.\u003c\/span\u003e \n\u003c\/div\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e3. Sensor module with dual element probe, the probe window is rectangular, dual element (A yuan B yuan) in the longer direction at both ends, when the body from left to right Or from right to left through the infrared spectrum to reach the dual time, distance difference, the greater the difference, the more sensitive induction, when the body from the front to the probe Head or from top to bottom or from bottom to top direction, the dual element can not detect infrared spectral distance changes, no difference, so the sensor insensitive or does not work; so the sensor should be installed so that the direction of the probe dual And the direction of human activity as much as possible parallel to ensure that the body has been through Probe dual element induction. In order to increase the sensing angle range, this module uses a circular lens, also makes the probe four sides are sensitive, but the left and right sides are still\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003eHowever, compared with the upper and lower direction of the two induction range, sensitivity, installation must still try to according to the above requirements.\u003c\/span\u003e\u003c\/p\u003e \n\u003cdiv\u003e \n \u003cbr\u003e \n\u003c\/div\u003e \n\u003ch2\u003e\u003cspan style=\"color:rgb(211, 49, 21);font-size:15pt\"\u003e\u003cstrong\u003eUse should pay attention to the following points:\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e1. The DC voltage must meet our requirements, too high and too low will affect the performance of the module, but also requires the power supply must be a good regulator filter, such as computer USB power, mobile phone charger power supply, the old 9V stacked battery Are unable to meet the module work requirements, it is recommended that customers use the power transformer and the regulator through the three-terminal voltage regulator and then through the 220UF and 0.1UF capacitor filter power supply.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e2. Although the human body is not in front of the module, but the human body from the module is too close to the module can also be caused by the sensor output, as well as debugging the human body do not touch the circuit part will also affect the module work , A more scientific approach is to output a LED or a multimeter, the module covered with a newspaper, people leave the room, so 2 minutes to see whether the module has been or have output?\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e3. The module does not take the load to work properly, connected to the load after the work of chaos, one reason is because the power capacity is very small load power consumption, load caused by voltage fluctuations caused by the module malfunction, the other reason is the load The power will have interference in the work, such as relays or electromagnets and other inductive load will produce a reverse electromotive force, 315M emission plate will have electromagnetic radiation and other work will affect the module. The solution is as follows: A, the power part of the inductor filter. B, using the load and the module using different voltage methods, such as: load using 24V operating voltage, the module uses 12V operating voltage, during which the use of three-terminal regulator isolation. C: Use a larger capacity power supply.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e4. The human body sensor module can only work indoors and the work environment should avoid the sun, a strong direct light exposure, if the work environment has a strong RF interference, you can use shielding measures. In case of strong air interference, close the doors and windows or prevent convection. The induction area to avoid facing the heating appliances and objects as well as easy to wind debris and clothing.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e5. The human body sensor module is recommended to install in a sealed box, otherwise there may have been the output signal.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e6. If the body sensor module detection angle is less than 90 degrees, you can use opaque adhesive tape to cut off the lens or cut lens to achieve.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e7. The human body sensor module with dual element probe, the body's hands and feet and head movement direction and the sensitivity of the sensor is closely linked, and the infrared module determines the characteristics of the sensor can not accurately control the distance.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cspan style=\"font-size:12pt\"\u003e8. The module of the probe (PIR) can be mounted on the other side of the circuit board. The probe can also be extended with a two-core shielded cable, the length should be less than 20 cm as well.\u003c\/span\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e \n\u003cp\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S769043976d8b4bf5b3abf36f0c3610c1n.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Sdd37bc897d6644ea9fc3580265045dc81.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S37c310aabe074956ac07dc644b9772586.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Sdc886484272a46a79fe13e85d4ea0b02C.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S4f3d3d780ca14571bf8c371d9335e19eC.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/Sef2b398087c6458c82b5b0bb31e38b59t.jpg\" slate-data-type=\"image\"\u003e\u003cimg src=\"https:\/\/ae01.alicdn.com\/kf\/S683242f52c434f17933983ac06cdc6c2D.jpg\" slate-data-type=\"image\"\u003e\u003c\/p\u003e\n\u003c\/div\u003e\u003c\/div\u003e\r\n","brand":"Keszoox","offers":[{"title":"HC-SR501 Set","offer_id":46981889261803,"sku":"14:173#HC-SR501 Set","price":3.84,"currency_code":"USD","in_stock":true},{"title":"HC-SR501","offer_id":46981889294571,"sku":"14:10#HC-SR501","price":3.04,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/hc-sr501-pir-motion-sensor-module-case.webp?v=1761115821"}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/collections\/image_0ca511d5-fb20-4729-9807-f0a2603641a0.png?v=1776149414","url":"https:\/\/keszoox.com\/collections\/sensors-sensor-modules.oembed?page=6","provider":"Keszoox","version":"1.0","type":"link"}