ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า
รายละเอียดสินค้า

ใช้วัดความเร็วรอบรถ Smart car โดยใช้ลำแสงยิงไปยังตัวรับ ใช้คู่กับเฟือง Encoder ที่แถมมากับรถ Smart car หรือจะทำฟันเฟืองเองก็ได้เช่นกัน

Datasheet trigger
Datasheet reader

ตัวอย่าง Code

สามารถเขียนโปรแกรมได้ทั้งแบบอ่านตรงๆด้วย digitalRead หรือ Interrupt (แนะนำ) โดยตัวอย่างนี้จะเสนอวิธีการเขียนแบบ Interrupt ครับ

CODE arduino interrupt encoder

  int U_Pin = 2;
  float Val = 0;
  float time;
  float Speed;
   
  void setup(){
   
  Serial.begin(9600);
  attachInterrupt(0,count,CHANGE);
  }
   
  void loop(){
   
  time = millis();
  Speed = (Val/40)/(time/60000) ;
  Serial.println(Speed);
  }
   
  void count(){
  Val += 1;
  }

รายละเอียดเพิ่มเติม

Features:
 
The slot type photoelectric sensor is composed of an infrared light emitting diode and an NPN phototransistor with a groove width of 5.9 mm. As long as the non-transparent object passes through the slot type, it can be triggered (used with our car code wheel) to output TTL low level. The Schmitt trigger is used to shake the pulse, which is very stable and can be used for measuring the speed of the car, measuring the distance and the like! M3 screw mounting holes at both ends.
 
Specifications:
 
Working voltage: 3.3V-5V
Output form: digital switch OUT output (0 and 1)
 
Instructions for Use:
 
1. Connect VCC and GND, the module signal indicator will light up.
2. When there is no occlusion in the module slot, the receiving tube is turned on, and the module OUT outputs a high level; when occluding, the OUT output is low, and the signal indicator is off.
3. The module OUT can be connected to the relay to form a limit switch and other functions. It can also be connected to the active buzzer module to form an alarm.
4. The OUT output interface can be directly connected to the IO port of the MCU. Generally, it is connected to an external interrupt to detect whether the sensor has a occlusion. If the motor code plate is used, the motor speed can be detected.
 
Note:
 
1. Correct wiring! Never reverse the positive and negative, causing the board electronics to burn out. 
2. Arduino players should set the MCU's I/O port to input mode/receive mode, otherwise they will not be available. Other MCUs, or more advanced control boards such as ARM, must be set to input mode/receive mode if the I/O port needs to be set to input/output mode, otherwise it cannot be used. 
3.The 51 series MCU can be used directly without setting the input/output mode.
เงื่อนไขอื่นๆ
Tags

นโยบายการเปลี่ยนหรือคืนสินค้า


สินค้าทุกชิ้นมีการรับประกัน 30 วันครับ

โดยมีเงื่อนไขต่างๆดังนี้

1. ลูกค้าไม่ได้เป็นผู้ทำเสียหายเอง อาธิเช่น การต่อไฟเลี้ยงไม่ถูกต้อง (เซนเซอร์รับ 3.3v เราใส่ 5v อันนี้ไม่ได้เนอะ)
2. สินค้าต้องอยู่ในสภาพสมบูรณ์ ไม่แตกหักหรือเสียหายจากไฟ (เช่นไฟฟ้าลัดวงจรจนไฟไหม้)
3. ทางร้านไม่รับเปลี่ยนสินค้าจากความเข้าใจผิดของลูกค้าเอง เช่น ขนาดไม่ตรงกับงานที่ใช้, หรือซื้อไว้แต่ไม่ได้ใช้งาน เป็นต้น ลูกค้าสามารถสอบถามข้อมูลสินค้าหากมีความคลุมเครือก่อนสั่งซื้อได้ในไลน์ร้าน @modulemore ตลอดวันทำการ ยกเว้นเวลา 12.00-14.00 ที่อาจมีการตอบช้าในช่วงนี้ 

การส่งคืนสินค้า
การส่งคืนสินค้าจำเป็น ต้องมีใบเสร็จหรือสำเนา เพื่อความรวดเร็วในการตรวจสอบครับ
สามารถส่งคืนได้ผ่านที่อยู่ของร้าน คลิ๊ก โดยเขียนเป็นลายลักษณ์อักษรกำกับดังนี้
1. รายละเอียดรายการเสียหาย
2. ลูกค้าได้ทดสอบอะไรไปบ้าง

ทางร้านขอสงวนสิทธิ์ในการตัดสินใจเปลี่ยนสินค้าหรือคืนเงินครับ

 
ไทย

สินค้าของเรา

เซนเซอร์/ โมดูล [323]

MEMBER ZONE

TRACK & TRACE

*ใส่ เบอร์มือถือ หรือ email ที่ใช้ในการสั่งซื้อ

OVERVIEW

หน้าที่เข้าชม2,072,905 ครั้ง
ผู้ชมทั้งหมด1,333,631 ครั้ง
ร้านค้าอัพเดท7 ก.ย. 2568

JOIN US

ร้านโมดูลมอร์
ร้านโมดูลมอร์
/www.modulemore.com/
Join เป็นสมาชิกร้าน
600
สมัครสมาชิกร้านนี้ เพื่อรับสิทธิพิเศษ
Choose your language
Language
Currency
Change
เปลี่ยนภาษา
รายการสั่งซื้อของฉัน
รายการสั่งซื้อของฉัน
ข้อมูลร้านค้านี้
ร้านโมดูลมอร์
โมดูลมอร์
ขาย arduino, diy, เรียน arduino, ทำหุ่นยนต์, ฝึกเขียนโปรแกรม, ตั้งแต่ระดับเริ่มต้นจนชำนาญ
เบอร์โทร : 0831710868
อีเมล : modulemore@gmail.com
ส่งข้อความติดต่อร้าน
เกี่ยวกับร้านค้านี้
สินค้าที่ดูล่าสุด
ดูสินค้าทั้งหมดในร้าน
สินค้าที่ดูล่าสุด
บันทึกเป็นร้านโปรด
Join เป็นสมาชิกร้าน
แชร์หน้านี้
แชร์หน้านี้

TOP เลื่อนขึ้นบนสุด
พูดคุย-สอบถาม