Iot & Sensor Set Kits

16 products

  • Sale -40% Relay Module 5V 1/2/4 Channal for Arduino and Raspberry pi

    Global Pi Shop Relay Module 5V 1/2/4 Channal for Arduino and Raspberry pi

    Relay is Relay is an electrical switch that is controlled by an electrical signal. It is used for: Control high voltage electrical devices (e.g. fans, 220V bulbs) with electrical signals from Arduino (5V). This allows the Arduino to safely control high-current devices (since the Arduino cannot directly supply high current). Relay Module is available in various types such as 1 Channel, 2 Channel, 4 Channel depending on the number of devices to be controlled. Specifications of Relay 5V Module list details Control pressure (Input) 5V DC (from Arduino) Load voltage (Output) Up to ~250V AC or 30V DC Maximum load current 10A Number of channels (Channel) 1, 2, 4 (select according to the number of devices to be controlled) Logic Control Active LOW (some models) There is an optocoupler. Some models have a circuit breaker to isolate the electrical circuit (safer). Output legs (3 legs) NO (Normally Open), NC (Normally Closed), COM (Common) Using Relay with Arduino Wiring (Example 1 Channel): Relay Pin Arduino Pin VCC 5V GND GND IN1 D7 (or as required) The IN1 leg is used to turn the relay on/off. If it is 2/4 Channel, there will be IN2, IN3, IN4 added. Example of connecting electrical equipment to a house: Warning: You should have knowledge of 220V electricity and be very careful. Use an extension cord or an electrician if you are not sure. Connection: COM → Connect to AC power (input line) NO → Connect to the device you want to turn on/off (light, fan). When Arduino sends a signal → Relay closes the circuit → Power goes to the device. Code example: int relayPin = 7; void setup() { pinMode(relayPin, OUTPUT); } void loop() { digitalWrite(relayPin, LOW); // Open relay (some models LOW means open) delay(3000); // leave open for 3 seconds digitalWrite(relayPin, HIGH); // close relay delay(3000); // wait another 3 seconds } If your relay is Active HIGH, switch LOW and HIGH. What can it be used with? Turn on/off 220V light bulbs Water pump control Order to turn on the fan/electrical appliance Make a Smart Home System

    15.00 ฿ - 90.00 ฿

  • Sale -32% DC water pump 3.3 V และ 5V module ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop DC water pump 3.3 V และ 5V module ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    DC Water Pump คืออะไร DC Water Pump คือ ปั๊มน้ำขนาดเล็ก ที่ทำงานด้วยไฟฟ้ากระแสตรง (DC) เหมาะสำหรับดูดน้ำจากภาชนะหนึ่งไปอีกที่หนึ่ง เช่น: ระบบรดน้ำต้นไม้อัตโนมัติ ถังน้ำไหลเวียน เครื่องให้อาหารปลา สามารถต่อกับ Arduino ได้ผ่าน โมดูลควบคุม (Relay / Transistor Module) 📊 สเปคของ DC Water Pump (3.3V / 5V) รายการ รายละเอียด แรงดันไฟฟ้าใช้งาน 3.3V – 5V (เหมาะกับ Arduino, ESP8266, ESP32) กระแสใช้งาน ~100 – 300 mA (ขึ้นกับรุ่น) อัตราการไหล (Flow rate) ประมาณ 80 – 120 ลิตร/ชั่วโมง ระยะส่งน้ำ (Head height) ประมาณ 0.5 – 1 เมตร วัสดุ พลาสติก ABS กันน้ำ สายไฟ 2 เส้น (แดง = VCC, ดำ = GND) ทำงานต่อเนื่องได้ไหม? ได้ แต่ควรพักเป็นระยะหากไม่มีน้ำ (ป้องกันความร้อน) ⚠️ ควรใช้งานร่วมกับ ทรานซิสเตอร์หรือ Relay Module เพราะปั๊มกินกระแสมากเกินขา Arduino จะจ่ายไหว ⚙️ การใช้งานกับ Arduino ✅ การต่อใช้งานแบบใช้ ทรานซิสเตอร์โมดูล (เช่น IRF520, TIP120 ฯลฯ) อุปกรณ์ ต่อกับ Arduino โมดูลทรานซิสเตอร์ IN ขาดิจิทัล (เช่น D8) VCC 5V จากแหล่งจ่าย (อาจใช้แยกจาก Arduino) GND GND Arduino (ต้องแชร์กัน) Pump + ต่อกับ V+ ของโมดูล Pump - ต่อกับ OUT- หรือ GND ของโมดูล   ✅ ตัวอย่างโค้ดเปิด-ปิดปั๊มน้ำ: int pumpPin = 8;   void setup() { pinMode(pumpPin, OUTPUT); }   void loop() { digitalWrite(pumpPin, HIGH); // เปิดปั๊ม delay(5000); // ทำงาน 5 วินาที digitalWrite(pumpPin, LOW); // ปิดปั๊ม delay(10000); // หยุดพัก 10 วินาที }   💡 การประยุกต์ใช้งาน: โปรเจกต์ รายละเอียด รดน้ำต้นไม้อัตโนมัติ ใช้ร่วมกับ Soil Moisture Sensor ระบบกรองน้ำ/ปลาตู้เล็ก ไหลเวียนน้ำ เครื่องให้น้ำสัตว์เลี้ยง ควบคุมผ่าน NodeMCU/ESP32 ระบบน้ำหยด สำหรับปลูกพืชอัจฉริยะ   ✅ ข้อดี: ราคาถูก น้ำหนักเบา ใช้งานง่ายกับ Arduino ขนาดเล็ก เหมาะกับงาน DIY ใช้แรงดันไฟน้อย (3.3V / 5V) ⚠️ ข้อควรระวัง: ห้ามเดินปั๊มแบบไม่มีน้ำ → จะร้อนและพังเร็ว ระวังการจ่ายกระแสให้พอเพียง โดยเฉพาะถ้าใช้กับแบตเตอรี่

    25.00 ฿ 17.00 ฿

  • Sale -29% DS3231 RTC Real time clock module (ไม่มีถ่าน) ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop DS3231 RTC Real time clock module (ไม่มีถ่าน) ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    20 in stock

    DS3231 RTC คืออะไร DS3231 คือ โมดูลนาฬิกาเรียลไทม์ (RTC - Real Time Clock) ใช้สำหรับเก็บข้อมูล วันที่และเวลา อย่างแม่นยำ แม้ปิดเครื่องหรือ断ไฟ (เพราะมีแบตเตอรี่สำรองในตัว) เหมาะสำหรับโปรเจกต์ที่ต้องการ บันทึกเวลา เช่น บันทึกข้อมูล, ปลุก, ตั้งเวลา, เปิดปิดอุปกรณ์ 📊 สเปคของ DS3231 RTC รายการ รายละเอียด แรงดันไฟฟ้าใช้งาน 3.3V – 5.5V (ใช้ได้ทั้ง Arduino และ Raspberry Pi) การสื่อสาร I2C (SCL, SDA) ความแม่นยำ ±2 นาทีต่อปี (สูงกว่า DS1307 มาก) แบตเตอรี่สำรอง CR2032 (รักษาเวลาแม้ไม่มีไฟเลี้ยง) ช่วงปีที่รองรับ 2000 – 2099 ขนาดโมดูล ประมาณ 38 × 22 × 14 มม. อื่น ๆ มีวงจรชดเชยอุณหภูมิในตัว (Temp-compensated)   ⚙️ การใช้งาน ✅ 3.1 การต่อกับ Arduino ขา DS3231 ต่อกับ Arduino UNO VCC 5V GND GND SDA A4 SCL A5 Arduino รุ่นอื่นอาจใช้ขา I2C ต่างกัน เช่น Nano, Mega, ESP8266, ESP32 ตัวอย่างโค้ด Arduino: #include <Wire.h> #include <RTClib.h>   RTC_DS3231 rtc;   void setup() { Serial.begin(9600); Wire.begin(); rtc.begin();   // ตั้งเวลาเริ่มต้น (รันครั้งเดียวแล้วคอมเมนต์บรรทัดนี้ทิ้ง) // rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));   if (rtc.lostPower()) { Serial.println("RTC lost power, setting default time!"); rtc.adjust(DateTime(2025, 4, 30, 15, 30, 0)); } }   void loop() { DateTime now = rtc.now(); Serial.print(now.year(), DEC); Serial.print('/'); Serial.print(now.month(), DEC); Serial.print('/'); Serial.print(now.day(), DEC); Serial.print(" "); Serial.print(now.hour(), DEC); Serial.print(':'); Serial.print(now.minute(), DEC); Serial.print(':'); Serial.println(now.second(), DEC);   delay(1000); } ✅ 3.2 การใช้งานกับ Raspberry Pi ติดตั้งไลบรารี: sudo apt-get update sudo apt-get install i2c-tools python3-smbus   เช็คว่าเจอโมดูล: sudo i2cdetect -y 1   จะเห็นเลข 0x68 แสดงว่าเจอ DS3231 แล้ว ใช้ไลบรารี Python (เช่น rtc หรือ adafruit-circuitpython-ds3231) เพื่ออ่าน/เขียนเวลา 💡 การประยุกต์ใช้งาน: โปรเจกต์ การใช้งาน RTC Data Logger บันทึกค่าจากเซนเซอร์ พร้อมเวลา ระบบปลุก/เตือน ตั้งเวลาให้ Buzzer ดัง เปิด-ปิดไฟอัตโนมัติ เปิดไฟตอน 18:00 น. ปิด 06:00 น. นาฬิกา DIY แสดงเวลาบน OLED/LCD ระบบรดน้ำอัตโนมัติ รดน้ำเวลา 07:00 และ 17:00 ทุกวัน   ✅ ข้อดี: แม่นยำสูงกว่ารุ่นเก่า (เช่น DS1307) มีแบตเตอรี่เก็บเวลาแม้ปิดเครื่อง ใช้กับได้ทั้ง Arduino และ Raspberry Pi ใช้สาย I2C ง่ายในการต่อหลายอุปกรณ์

    20 in stock

    70.00 ฿ 50.00 ฿

  • Sale -52% Active Buzzer module sensor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop Active Buzzer module sensor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    20 in stock

    Active Buzzer คืออะไร A322 Active Buzzer คือ อุปกรณ์สร้างเสียง (Buzzer แบบแอคทีฟ) ที่มีวงจรสร้างความถี่ในตัวเอง เพียงแค่จ่ายไฟ (5V) หรือสัญญาณดิจิทัล → ก็จะ ส่งเสียง "ปี๊บ" ได้ทันที ต่างจาก Passive Buzzer ที่ต้องส่งสัญญาณความถี่ (PWM) ไปเองจาก Arduino สเปคของ Active Buzzer รายการ รายละเอียด แรงดันใช้งาน 3.3V – 5V (เหมาะกับ Arduino โดยตรง) กระแสใช้งาน ประมาณ 20 mA ประเภท Active Buzzer (มีวงจรสร้างเสียงในตัว) ความถี่เสียง ~2 – 3 kHz (เสียงแหลมทั่วไป) ระดับเสียง ประมาณ 85 dB @ 10 ซม. รูปแบบขา แบบโมดูล (3 ขา: VCC, GND, I/O) สถานะเสียง ส่งเสียงเมื่อขาอินพุตเป็น HIGH (หรือ LOW ขึ้นกับรุ่น) ⚙️ การใช้งานกับ Arduino ✅ การต่อสาย ขา Buzzer (โมดูล A322) ต่อกับ Arduino VCC 5V GND GND I/O (Signal) ขา D8 หรือขาดิจิทัลอื่น ๆ   ✅ ตัวอย่างโค้ดใช้งานง่าย: int buzzerPin = 2;   void setup() { pinMode(buzzerPin, OUTPUT); }   void loop() { digitalWrite(buzzerPin, HIGH); // เปิดเสียง delay(1000); digitalWrite(buzzerPin, LOW); // ปิดเสียง delay(1000); } 💡 การประยุกต์ใช้งาน: โปรเจกต์ รายละเอียด ระบบแจ้งเตือนควัน/แก๊ส ดังเสียงเตือนเมื่อพบอันตราย เครื่องจับความเคลื่อนไหว ดังเมื่อมีคนผ่าน ระบบเตือนน้ำท่วม ดังเมื่อเซนเซอร์ตรวจจับน้ำสูง นาฬิกาปลุก ใช้ปลุกด้วยเสียง แจ้งสถานะสำเร็จ/ล้มเหลว ดัง "ปี๊บ" หลังเช็คเงื่อนไขจากโค้ด   ✅ ข้อดี: ใช้งานง่าย แค่จ่ายไฟหรือส่ง HIGH ก็มีเสียง ไม่ต้องใช้โค้ด PWM หรือความถี่ ราคาถูก เหมาะกับงานเตือนภัยหรือแจ้งสถานะทุกแบบ

    20 in stock

    25.00 ฿ 12.00 ฿

  • Sale -32% IR infrared sensor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop IR infrared sensor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    20 in stock

    IR Infrared Sensor คืออะไร IR Sensor คือเซนเซอร์อินฟราเรดที่ใช้ในการ ตรวจจับวัตถุที่อยู่ใกล้ หรือการสะท้อนแสงอินฟราเรด ทำงานโดย: ปล่อยแสงอินฟราเรด ออกไป (จากหลอด IR LED) เมื่อแสงสะท้อนกลับจากวัตถุ → ตัวรับ IR (Photodiode/Phototransistor) จะตรวจจับและส่งสัญญาณให้ Arduino ทราบว่า "มีวัตถุอยู่" เหมาะกับการตรวจจับวัตถุใกล้ ๆ เช่น หุ่นยนต์เดินตามเส้น, หยุดเมื่อเจอของขวาง, นับจำนวนสิ่งของ ฯลฯ สเปคของ IR Sensor (ทั่วไปที่ใช้กับ Arduino) รายการ รายละเอียด แรงดันใช้งาน 3.3V – 5V (ใช้กับ Arduino ได้เลย) ระยะตรวจจับ ประมาณ 2 – 30 ซม. (ขึ้นอยู่กับผิววัตถุ) เอาต์พุต ดิจิทัล (0 หรือ 1) ปรับความไว ได้ (ด้วย VR บนบอร์ด) ไฟแสดงสถานะ LED สีแดง/เขียวแสดงเมื่อมีวัตถุอยู่ ชนิดเซนเซอร์ ใช้คู่ IR LED + Photodiode/Transistor อินเตอร์เฟส ขา VCC, GND, OUT (บางรุ่นมี AO/DO) การใช้งานกับ Arduino ✅ การต่อสาย ขา IR Sensor ต่อกับ Arduino VCC 5V GND GND OUT D2 หรือ D3 (ขาดิจิทัล)   ✅ ตัวอย่างโค้ดใช้งานง่าย: int irPin = 2; // ขาที่รับสัญญาณจากเซนเซอร์ int ledPin = 13; // LED บนบอร์ด   void setup() { pinMode(irPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); }   void loop() { int val = digitalRead(irPin); if (val == LOW) { // บางรุ่นให้ LOW เมื่อพบวัตถุ digitalWrite(ledPin, HIGH); Serial.println("พบวัตถุ!"); } else { digitalWrite(ledPin, LOW); Serial.println("ไม่พบวัตถุ"); } delay(200); }   หมายเหตุ: บางรุ่นเอาต์พุต "LOW" เมื่อเจอวัตถุ (ให้ทดลองดู) 💡 การประยุกต์ใช้งาน: โปรเจกต์ รายละเอียด หุ่นยนต์เดินตามเส้น (Line following) ใช้ IR ติดใต้หุ่นยนต์เพื่อแยกสีขาว/ดำ หุ่นยนต์หลบสิ่งกีดขวาง ตรวจจับวัตถุด้านหน้า ระบบเปิดประตูอัตโนมัติ ตรวจจับคนหรือวัตถุเข้าใกล้ เครื่องนับจำนวนสินค้า ตรวจจับเวลาสินค้าผ่าน ระบบตรวจจับมือ ใช้แทนปุ่มกดแบบสัมผัสหรือไร้สาย   ✅ ข้อดี: ราคาถูก ใช้งานง่ายมาก ตอบสนองไว ใช้ได้กับ Arduino, ESP8266, ESP32 ฯลฯ

    20 in stock

    25.00 ฿ 17.00 ฿

  • Sale -27% SG90 Servo motor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop SG90 Servo motor ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    20 in stock

    SG90 Servo Motor คืออะไร SG90 คือ เซอร์โวมอเตอร์ขนาดเล็ก (Micro Servo Motor) ที่สามารถหมุนไปยังตำแหน่งมุมที่กำหนดได้อย่างแม่นยำ ใช้สำหรับควบคุมการเคลื่อนไหวในองศา เช่น: หันกล้อง ขยับแขนหุ่นยนต์ เปิด-ปิดประตูเล็ก ๆ ควบคุมพวงมาลัยรถเล็ก ต่างจากมอเตอร์ธรรมดาที่หมุนต่อเนื่อง → Servo หมุนเป็นมุม เช่น 0°–180° เท่านั้น สเปคของ SG90 รายการ รายละเอียด แรงดันไฟฟ้าใช้งาน 4.8V – 6.0V (5V ใช้กับ Arduino ได้เลย) องศาการหมุน ประมาณ 0° – 180° แรงบิด (Torque) ~1.8 kg/cm ที่ 4.8V ความเร็วในการหมุน ~0.1 วินาที/60 องศา น้ำหนัก ~9 กรัม ขนาด ประมาณ 23 × 12 × 29 มม. สายไฟ 3 เส้น: น้ำตาล (GND), แดง (VCC), ส้ม (สัญญาณ PWM) การใช้งานกับ Arduino ✅ การต่อสาย สีสาย SG90 เชื่อมต่อกับ Arduino น้ำตาล (GND) GND แดง (VCC) 5V ส้ม (Signal) ขา PWM เช่น D9   ✅ ตัวอย่างโค้ด Arduino (หมุน 0°, 90°, 180°) #include <Servo.h>   Servo myServo;   void setup() { myServo.attach(9); // ต่อกับขา D9 }   void loop() { myServo.write(0); // หมุนไปที่ 0 องศา delay(1000); myServo.write(90); // หมุนไปที่ 90 องศา delay(1000); myServo.write(180); // หมุนไปที่ 180 องศา delay(1000); } 💡 การประยุกต์ใช้งาน: โปรเจกต์ รายละเอียด แขนกลหุ่นยนต์ หมุนข้อศอก/ข้อมือแม่นยำ ระบบเปิด-ปิดประตู Servo เปิด/ปิดประตูอัตโนมัติ หุ่นยนต์เลี้ยว ควบคุมทิศทางล้อหน้า กล้องติดตามใบหน้า หันกล้องตามทิศทางการตรวจจับ เครื่องหยอดเหรียญอัตโนมัติ ปล่อยเหรียญตามคำสั่ง   ✅ ข้อดี: ราคาถูก เบา กินไฟน้อย ใช้คำสั่งง่ายผ่านไลบรารี Servo.h ควบคุมตำแหน่งได้แม่นยำ เหมาะกับโปรเจกต์หุ่นยนต์และ IoT

    20 in stock

    55.00 ฿ 40.00 ฿

  • Sale -38% L298N Motor Driver Module for arduino

    Global Pi Shop L298N Motor Driver Module for arduino

    20 in stock

    L298N Motor Driver Module คืออะไร L298N คือ โมดูลไดรเวอร์มอเตอร์ (Motor Driver) ที่ใช้ควบคุมการทำงานของมอเตอร์กระแสตรง (DC Motor) หรือ Stepper Motor ได้พร้อมกัน 2 ตัว โดยรับคำสั่งจากบอร์ด Arduino หรือไมโครคอนโทรลเลอร์อื่น ๆ ใช้หลักการของ H-Bridge ในการควบคุมทิศทางการหมุนของมอเตอร์ (เดินหน้า/ถอยหลัง) สเปคของ L298N รายการ รายละเอียด ชิปควบคุมหลัก L298N Dual H-Bridge แรงดันใช้งาน 5V – 35V DC (แยกระหว่างแรงดันมอเตอร์กับวงจรควบคุม) แรงดันลอจิกควบคุม 5V (เหมาะกับ Arduino โดยตรง) กระแสที่รองรับต่อมอเตอร์ สูงสุด 2A ต่อช่อง (ต่อเนื่องแนะนำไม่เกิน 1.5A) จำนวนมอเตอร์ควบคุมได้ มอเตอร์ DC 2 ตัว หรือ Stepper Motor 1 ตัว มี Regulator 5V ใช้จ่ายไฟให้ Arduino ได้ (เปิดใช้ด้วยจัมเปอร์ 5V-EN) ช่องต่อเอาต์พุต OUT1-OUT4 สำหรับมอเตอร์ 2 ตัว ช่องอินพุตควบคุม IN1-IN4 (ต่อกับ Arduino) และ ENA/ENB (สำหรับ PWM) การใช้งานกับ Arduino ✅ การต่อสายควบคุมมอเตอร์ DC 2 ตัว   ขา L298N ต่อกับอะไร IN1, IN2 ควบคุมมอเตอร์ A (D8, D9 บน Arduino) IN3, IN4 ควบคุมมอเตอร์ B (D10, D11 บน Arduino) ENA, ENB ควบคุมความเร็ว (ต่อกับขา PWM เช่น D5, D6) OUT1, OUT2 มอเตอร์ A OUT3, OUT4 มอเตอร์ B VCC ต่อแบตเตอรี่/แหล่งจ่าย 7V–12V (สำหรับมอเตอร์) 5V ต่อไฟให้ Arduino (ถ้าใช้จัมเปอร์ 5V_EN) GND ต่อ GND ร่วมกับ Arduino ✅ ตัวอย่างโค้ดควบคุมมอเตอร์ A int in1 = 8; int in2 = 9; int ena = 5;   void setup() { pinMode(in1, OUTPUT); pinMode(in2, OUTPUT); pinMode(ena, OUTPUT); }   void loop() { // เดินหน้า digitalWrite(in1, HIGH); digitalWrite(in2, LOW); analogWrite(ena, 200); // ความเร็ว (0–255) delay(2000);   // ถอยหลัง digitalWrite(in1, LOW); digitalWrite(in2, HIGH); analogWrite(ena, 150); delay(2000);   // หยุด digitalWrite(in1, LOW); digitalWrite(in2, LOW); analogWrite(ena, 0); delay(2000); } 🛠️ การประยุกต์ใช้งาน: ✅ หุ่นยนต์หลบหลีกสิ่งกีดขวาง ✅ รถบังคับอัตโนมัติ (Line following / Bluetooth / Wi-Fi) ✅ ระบบเปิด-ปิดมอเตอร์พัดลม ✅ แขนกลควบคุมด้วย Stepper Motor ✅ ระบบประตูอัตโนมัติ ⭐ ข้อดี: รองรับแรงดันสูงและกระแสมากพอสำหรับมอเตอร์หลายชนิด ใช้งานง่ายกับ Arduino หรือ ESP32 มีวงจร Regulator 5V ในตัว ราคาถูกและหาซื้อง่าย

    20 in stock

    65.00 ฿ 40.00 ฿

  • Sale -38% PIR HC-SR501 motion sensor for arduino

    Global Pi Shop PIR HC-SR501 motion sensor for arduino

    20 in stock

    PIR HC-SR501 คืออะไร HC-SR501 คือเซนเซอร์ตรวจจับการเคลื่อนไหวของวัตถุที่มีความร้อน เช่น ร่างกายมนุษย์ หรือสัตว์ โดยใช้หลักการ PIR (Passive Infrared) PIR = เซนเซอร์อินฟราเรดแบบรับแสงอย่างเดียว (ไม่ปล่อยแสงเอง) เมื่อมีคนเดินผ่านบริเวณเซนเซอร์ → จะตรวจจับการเปลี่ยนแปลงของพลังงานอินฟราเรด → ส่งสัญญาณออกมา สเปคของ HC-SR501 รายการ รายละเอียด แรงดันใช้งาน 4.5V – 20V DC (ใช้กับ 5V ของ Arduino ได้เลย) แรงดันลอจิกเอาต์พุต 3.3V (สามารถอ่านได้ด้วยขา digital ของ Arduino) กระแสที่ใช้ ประมาณ 50 μA (ประหยัดพลังงานมาก) ระยะตรวจจับ ปรับได้ ~3 ถึง 7 เมตร มุมตรวจจับ ประมาณ 120 องศา เวลาตอบสนอง (Delay Time) ปรับได้ ~0.3 วินาที ถึง 5 นาที (ปรับด้วย VR) โหมดการทำงาน ปรับได้ 2 แบบ: Repeatable (H): ส่งสัญญาณซ้ำเมื่อยังมีคนอยู่ Non-Repeatable (L): ส่งสัญญาณครั้งเดียวแม้ยังมีคนอยู่ การใช้งานกับ Arduino ✅ การต่อสายกับ Arduino: HC-SR501 Pin Arduino Pin VCC 5V GND GND OUT ขา Digital เช่น D2 ✅ ตัวอย่างโค้ด Arduino (ตรวจจับการเคลื่อนไหว) int pirPin = 2; // ขาที่รับจากเซนเซอร์ int ledPin = 13; // ขาที่ใช้เปิดไฟ (LED บนบอร์ด)   void setup() { pinMode(pirPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600); }   void loop() { int motion = digitalRead(pirPin);   if (motion == HIGH) { digitalWrite(ledPin, HIGH); Serial.println("มีการเคลื่อนไหว!"); } else { digitalWrite(ledPin, LOW); Serial.println("ไม่มีการเคลื่อนไหว"); }   delay(500); } 💡 การประยุกต์ใช้งาน: โปรเจกต์ รายละเอียด ระบบเตือนภัย แจ้งเตือนเมื่อมีคนเดินผ่าน ไฟอัตโนมัติ เปิดไฟเมื่อมีคนอยู่ / เดินผ่าน Smart Home ทำระบบบ้านอัจฉริยะร่วมกับ Relay ระบบกล้องวงจรปิด เริ่มบันทึกภาพเมื่อมีคนเดินผ่าน ประหยัดพลังงาน ใช้ร่วมกับ ESP32/ESP8266 ปลุกระบบจาก Sleep Mode ⭐ ข้อดี: ใช้งานง่าย ประหยัดพลังงานมาก เหมาะกับ Arduino และบอร์ด IoT ทุกชนิด ปรับระยะ-เวลาได้ตามต้องการ  

    20 in stock

    65.00 ฿ 40.00 ฿

  • Sale -23% ESP32 WI-fI USB Type C board

    Global Pi Shop ESP32 WI-fI USB Type C board

    20 in stock

    ESP32 Wi-Fi USB Type-C is The ESP32 is a microcontroller board developed by Espressif Systems, which is an enhanced version of the ESP8266, with more capabilities such as: Built-in Wi-Fi and Bluetooth (BLE) More speed and RAM Better support for multi-threading and complex tasks. You can use it to program through Arduino IDE, MicroPython, or ESP-IDF. Nowadays, newer ESP32 boards come with USB Type-C ports for easy plugging in, easier to use than Micro USB and more durable. ESP32 Specifications (General) list details Main chip ESP32 (various models such as ESP32-WROOM-32, S2, C3, S3) CPU Dual-core Xtensa LX6 @ 240MHz Wi-Fi 802.11 b/g/n 2.4GHz Bluetooth Bluetooth 4.2 + BLE (some models support BT 5.0) Flash memory 4MB or more SRAM ~520KB Working pressure 3.3V (but can receive power via USB 5V, has a built-in regulator) GPIO (digital pin) Up to ~30 legs (depending on model) Analog Input (ADC) Up to 18 channels (12-bit) Analog Output (DAC) 2 channels (8-bit) Communication UART, I2C, SPI, PWM, CAN, IR, etc. USB Type-C Used for uploading programs and supplying power. Support Li-ion battery Some models have built-in charging circuitry (e.g. ESP32-C3 DevKit). Using ESP32 ✅ Suitable for work: IoT (Internet of Things) such as controlling devices via Wi-Fi Smart Home (turn on/off lights, measure temperature, control via mobile phone) Bluetooth communication, such as sending and receiving data with mobile phones ESP-NOW / MQTT / HTTP / WebSocket all work. Connect to Cloud such as Firebase, LINE Notify, Blynk, Telegram, etc. ✅ Popular usage examples: Measure temperature and humidity with DHT11/DHT22 and send it to the web. Control lights/relays via mobile app or web server Connect OLED/LED display wirelessly Use as a Wi-Fi Hotspot or Web Server Make an AI training system (some models have Camera + TensorFlow Lite) Example code to open Wi-Fi Web Server on ESP32: #include <WiFi.h> const char* ssid = "WiFi name"; const char* password = "password"; WiFiServer server(80); void setup() { Serial.begin(115200); WiFi.begin(ssid, password); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println("\nConnected successfully: "); Serial.println(WiFi.localIP()); server.begin(); } void loop() { WiFiClient client = server.available(); if (client) { client.println("HTTP/1.1 200 OK"); client.println("Content-Type: text/html"); client.println(); client.println("<h2>Hello from ESP32!</h2>"); delay(1000); } } 📌 Advantages of the USB Type-C model: Easy to insert, no need to worry about turning it inside out. Good current support The cable can be used with new mobile phones.

    20 in stock

    200.00 ฿ 155.00 ฿

  • Sale -27% Magnetic Door Switch MC-38 Magnetic door switch

    Global Pi Shop Magnetic Door Switch MC-38 Magnetic door switch

    20 in stock

    MC-38 Normally Closed <Normally Closed principle is together, the signal is on, with the wired host use can not be used alone> MC-38 is normally closed: the magnet is close to the conduction, the magnet is away from the circuit breaker. MC-38A is normally open: the magnet is close to the closed (disconnected), the magnet is away from the open circuit Action distance: 18mm ± 6mm Lifetime: 1,000,000 times Switching output: often closed (together with the conductive) Open type, suitable for non-ferrous doors or windows Surface mountin

    20 in stock

    30.00 ฿ 22.00 ฿

  • Sale -52% PS2 XY joystick module ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    Global Pi Shop PS2 XY joystick module ใช้งานกับ Arduino raspberry pi esp32 esp8266 nodemcu

    20 in stock

    It is used for directional control, similar to that used in video games, by providing an analog output using two potentiometers to read the position of the joystick.

    20 in stock

    25.00 ฿ 12.00 ฿

  • Sale -38% HC-SR04 Ultrasonic Sensor

    Global Pi Shop HC-SR04 Ultrasonic Sensor

    20 in stock

    Working voltage : DC 5 V Static current : 3 mA Working temperature : 0 ~ + 70 Output way : GPIO Induction Angle : Less than 15 Detection range : 2 cm to 4 m Detecting precision : 0.3 cm + 1% Sensor size : Approx. 45.1 x 20 x 14.5mm

    20 in stock

    40.00 ฿ 25.00 ฿

  • Sale -57% Soil Moisture Sensor Module Soil Moisture Sensor For Arduino

    Global Pi Shop Soil Moisture Sensor Module Soil Moisture Sensor For Arduino

    20 in stock

    Soil Moisture Sensor is a popular device in Smart Farm projects or automatic watering systems. It works with Arduino easily, is cheap, and is suitable for learning and experimenting. Soil Moisture Sensor Soil moisture sensor is a sensor that detects the moisture level in the soil by measuring the conductivity between the probe legs (similar to measuring the resistance of soil). Dry soil → low conductivity → low value obtained Moist soil → High conductivity → High obtained value Sensors often come with a conversion module that provides both analog and digital pins. Soil Moisture Sensor Specifications list details Supply voltage 3.3V – 5V Current used About 10mA Output signal Analog (A0) and Digital (D0) Detection range General soil moisture levels structure 2 probe legs (ground plug), signal converter board has a threshold adjustment potentiometer The Digital Output will give a HIGH or LOW value according to the threshold we set. Using with Arduino Wiring: Soil Sensor Pin Arduino Pin VCC 5V GND GND A0 (Analog) A0 D0 (Digital) D2 (if used) Analog code example: ------------------------------------------------------------------------------ int sensorPin = A0; void setup() { Serial.begin(9600); } void loop() { int value = analogRead(sensorPin); Serial.print("Soil moisture : "); Serial.println(value); delay(1000); } ---------------------------------------------------------------------------------------------- The value returned by analogRead() will be between 0–1023. High value = dry soil Low value = moist soil Digital code example: ---------------------------------------------------------------------- int sensorDigital = 2; void setup() { pinMode(sensorDigital, INPUT); Serial.begin(9600); } void loop() { int value = digitalRead(sensorDigital); if (value == LOW) { Serial.println("Moist soil"); } else { Serial.println("Dry soil"); } delay(1000); } Additional tips: Do not leave the sensor plugged into the ground for a long time (rust may occur). Use the relay together with a water pump or electric valve to automatically water plants. If you want more accuracy, try using a capacitive soil moisture sensor instead of the regular one (it is more durable and does not rust).

    20 in stock

    35.00 ฿ 15.00 ฿

  • Sale -75% MQ-2 Smoke Gas Sensor For Arduino

    Global Pi Shop MQ-2 Smoke Gas Sensor For Arduino

    20 in stock

    The MQ-2 sensor is a very popular gas sensor for use with Arduino and other microcontroller boards, and is ideal for home gas or smoke detection projects, such as gas leak alarms. MQ-2 is The MQ-2 is a gas sensor that can detect many types of gases such as: LPG (cooking gas) Butane gas Propane gas Methane gas (CH₄) Hydrogen gas (H₂) Smoke alcohol Inside the sensor is a heating coil and a SnO₂ (tin dioxide) gas detector, whose resistance changes in the presence of gas in the air, allowing it to be converted to an electrical signal. MQ-2 specifications list details Supply voltage 5V DC Electrical power About 800mW Signal type Analog and digital (depending on module) Warm-up time About 20 seconds to 2 minutes Detectable gases LPG, Methane, Alcohol, Propane, Hydrogen, Smoke Detection range Approximately 300 - 10,000 ppm Number of legs 4 legs (VCC, GND, AOUT, DOUT) AOUT (Analog Out) – Analog signal indicating gas level. DOUT (Digital Out) – Digital signal (1 or 0) when gas level exceeds set point. Using MQ-2 with Arduino Wiring: MQ-2 Pin Arduino Pin VCC 5V GND GND AOUT A0 (Analog) DOUT D2 (Digital) (if used) Some MQ-2 modules have a potentiometer (adjuster) to set the threshold level on DOUT. Example code for use in Analog: int mq2Pin = A0; void setup() { Serial.begin(9600); } void loop() { int gasLevel = analogRead(mq2Pin); Serial.print("gasLevel: "); Serial.println(gasLevel); delay(1000); } Example of code for Digital usage: int mq2Digital = 2; void setup() { pinMode(mq2Digital, INPUT); Serial.begin(9600); } void loop() { int gasDetected = digitalRead(mq2Digital); if (gasDetected == LOW) { Serial.println("gas detect!"); } else { Serial.println("Safe"); } delay(1000); }

    20 in stock

    100.00 ฿ 25.00 ฿

  • Sale -38% DHT11 Humidity and Temperature sensor For Arduino Nodemcu ESP32

    Global Pi Shop DHT11 Humidity and Temperature sensor For Arduino Nodemcu ESP32

    20 in stock

    The DHT11 sensor is one of the most popular sensors for measuring temperature and humidity, especially in Arduino projects because it is easy to use, cheap, and readily available. What is DHT11? DHT11 is a sensor that measures temperature and relative humidity in the air. This sensor has a capacitive humidity sensor and a thermistor temperature sensor inside, which outputs digital data, making it very easy to connect to Arduino. DHT11 specifications list details Humidity measurement range 20–90% RH (±5% RH) Temperature measurement range 0–50°C (±2°C) Supply voltage 3.3V – 5.5V Output signal Single-wire digital Read Rate 1 time/second (1Hz) Number of legs 3 legs (VCC, GND, Data) or 4 legs (if it is a module but actually uses 3 legs) Using DHT11 with Arduino Wiring: DHT11 Arduino VCC 5V GND GND DATA Digital Pin (eg. D2) Some models have a pull-up resistor (about 10KΩ) already attached to the module. If it is a bare sensor, you may need to connect your own resistance. Arduino code example: Requires DHT library, which can be installed via Library Manager. define DHTPIN 2 // The pin connected to the DHT11's Data #define DHTTYPE DHT11 // The type of sensor DHT dht(DHTPIN, DHTTYPE); void setup() { Serial.begin(9600); dht.begin(); } void loop() { float h = dht.readHumidity(); float t = dht.readTemperature(); if (isnan(h) || isnan(t)) { Serial.println("Read failed!"); return; } Serial.print("Humidity: "); Serial.print(h); Serial.print(" %\t"); Serial.print("Temperature: "); Serial.print(t); Serial.println(" *C"); delay(2000); // wait 2 seconds }

    20 in stock

    40.00 ฿ 25.00 ฿

  • Last stock! 3-Axis Digital Compass Breakout Board

    Global Pi Shop 3-Axis Digital Compass Breakout Board

    2 in stock

    Specification Simple I2C interface 3.3V - 5.0VDC supply 3.3VDC logic level Low current draw 5 milli-gauss resolution Dimension: 15mm x 13mm

    2 in stock

    100.00 ฿

© 2025 บริษัท โกลบอลโทรนิค อินเตอร์เทรด จํากัด, Powered by Shopify

  • PayPal

Login

Forgot your password?

Don't have an account yet?
Create account