Data Sheet
วงจรตรวจจับชุดนี้ เป็นวงจรตรวจจับที่ใช้ตัวตรวจจับความเคลื่อนไหวแบบ PIR ทำให้สามารถนำไปใช้
งานได้หลากหลาย เช่น วงจรกันขโมย, ตัวเปิดปิดไฟอัตโนมัติ เมื่อเดินผ่าน เป็นต้น
¢éÍÁÙÅ·Ò§´éҹ෤¹Ô¤
- 㪈áËҧ¨‡ÒÂä¿¢¹Ò´ 12 âÇÅ·ì´Õ«Õ
- ¡Ô¹¡ÃÐáÊÊÙ§ÊØ´ ขณะสแตนด์บาย »ÃÐÁÒ³ 13 ÁÔÅÅÔáÍÁ»ì
- ¡Ô¹¡ÃÐáÊÊÙ§ÊØ´ ขณะทำงาน »ÃÐÁÒ³ 85 ÁÔÅÅÔáÍÁ»ì
- ระยะห่างในการตรวจจับ : สูงสุด 4 เมตร
- สามารถตั้งเวลาการหน่วงการทำงานตอนจ่ายไฟครั้งแรก ได้สูงสุด 99.59 นาที
- สามารถตั้งเวลาการหน่วงเข้า ได้สูงสุด 99.59 นาที
- สามารถตั้งเวลาการทำงานของรีเลย์ ได้สูงสุด 99.59 นาที
- สามารถตั้งเวลาการรอการตรวจจับ ได้สูงสุด 99.59 นาที
- ÊÒÁÒöµèÍâËÅ´ä´éÊÙ§ÊØ´ 1 áÍÁ»ì
- ¢¹Ò´á¼è¹Ç§¨Ã¾ÔÁ¾ì ของบอร์ดเซ็นเซอร์ PIR : 1.22 นิ้ว x 1.02 ¹ÔéÇ
- ¢¹Ò´á¼è¹Ç§¨Ã¾ÔÁ¾ì ของบอร์ดคอนโทรล : 1.72 นิ้ว x 4.45 ¹ÔéÇ
¡Ò÷ӧҹ¢Í§Ç§¨Ã
วงจรนี้สามารถแบ
่
งการทำงานได้ออกเป็น 2 ส่วนใหญ่ๆ ด้วยกัน คือ ส่วนแรก ส่วนเซ็นเซอร์ PIR และ
ส่วนที่สอง ส่วนคอนโทรล
ส่วนเซ็นเซอร์ PIR การทำงานจะเริ่มจาก เมื่อคนหรือสัตว์เดินผ่านหน้า PIR จะทำให้ที่ขา S ของ PIR จะ
มีแรงดันส่งออกมาประมาณ 1 วินาที แล้วส่งไปเข้าจุด IN ของจุดต่อ PIR บนบอร์ดคอนโทรล
ส่วนคอนโทรล หัวใจของวงจรนี้จะอยู่ที่ IC2 โดย IC2 จะเป็นไอซีไมโครคอนโทรลเลอร์ ซึ่งได้รับการ
โปรแกรมการทำงานจากทางโรงงานเรียบร้อยแล้ว ที่ขา P00-P03, PD4, P05, PB06, PB07 จะทำหน้าที่à»ç¹µÑÇ
¢ÑºµÑÇàÅ¢ãËé ¡ÑºµÑÇà«àÇè¹à«ç¡àÁ¹µì
ÊÇÔµ«ì SW1-SW3 ãªéÊÓËÃѺµÑ駤èÒเวลาµèÒ§æ, ¨Ø´ SENSOR ãªéÊÓËÃѺµèÍบอร์ดà«ç¹à«ÍÃì PIR และ¨Ø´ JP1
เป็นตัวเลือกรูปแบบการทำงาน (Trigger mode) ¶éÒ¨ÑêÁ เมื่อเซ็นเซอร์ PIR ตรวจจับได้ รีเลย์จะเริ่มทำงาน แต่ถ้า
ตรวจจับได้อีกครั้ง เวลาก็จะเริ่มนับใหม่ แต่ถ้าไม่จั๊ม บอร์ดคอนโทรลจะทำงานเพียงครั้งเดียว หลังจากที่
เซ็นเซอร์ PIR ตรวจจับได้ ในขณะที่เวลากำลังนับอยู่ และรีเลย์ทำงานอยู่ ถ้ามี การตรวจจับได้อีกครั้ง บอร์ด
คอนโทรลก็ยังคงนับเวลาต่อไป โดยที่ไม่สนใจเซ็นเซอร์ PIR
¡ÒûÃСͺǧ¨Ã
ÃÙ»¡ÒÃÅ§ÍØ»¡Ã³‹áÊ´§äÇéã¹ÃÙ»·Õè 2 㹡ÒûÃСͺǧ¨Ã ¤ÇèÐàÃÔèÁ¨Ò¡ÍØ»¡Ã³ì·ÕèÁÕ¤ÇÒÁÊÙ§·Õè¹éÍ·ÕèÊØ´
¡è͹ à¾×èͤÇÒÁÊǧÒÁáÅСÒûÃСͺ·Õè§èÒ â´ÂãËéàÃÔèÁäÅè¤ÇÒÁÊÙ§ä»àÃ×èÍÂæ ÊÓËÃÑºÍØ»¡Ã³ì·ÕèÁÕ¢ÑéǵèÒ§æ
¤ÇÃãªé¤ÇÒÁÃÐÁÑ´ÃÐÇѧ㹡ÒûÃСͺǧ¨Ã ¡è͹¡ÒÃãÊèÍØ»¡Ã³ìàËÅèÒ¹Õé ¨ÐµéͧãËé¢ÑéÇ·Õèá¼è¹Ç§¨Ã¾ÔÁ¾ì¡ÑºµÑÇ
ÍØ»¡Ã³ìãËéµÃ§¡Ñ¹ à¾ÃÒжéÒËÒ¡ãÊè¡ÅѺ¢ÑéÇáÅéÇ ÍÒ¨¨Ð·ÓãËéÍØ»¡Ã³ìËÃ×Íǧ¨ÃàÊÕÂËÒÂä´é 㹡ÒúѴ¡ÃÕãËéãªé
ËÑÇáÃé§¢¹Ò´äÁèà¡Ô¹ 40 Çѵµì áÅÐãªéµÐ¡ÑèǺѴ¡ÃÕ·ÕèÁÕÍѵÃÒÊèǹ¢Í§´ÕºØ¡áÅеСÑèÇÍÂÙèÃÐËÇèÒ§ 60/40 ÃÇÁ·Ñ駨Ð
µéͧÁÕ¹ÓéÂÒ»ÃÐÊÒ¹ÍÂÙèÀÒÂ㹵СÑèÇ´éÇ ËÅѧ¨Ò¡·Õèä´éãÊèÍØ»¡Ã³ìáÅкѴ¡ÃÕàÃÕºÃéÍÂáÅéÇ ãËé·Ó¡ÒõÃǨÊͺ
¤ÇÒÁ¶Ù¡µéͧÍÕ¡¤ÃÑé§Ë¹Öè§ áµè¶éÒà¡Ô´ãÊèÍØ»¡Ã³ì¼Ô´µÓáË¹è§ ¤ÇÃãªé·Õè´Ù´µÐ¡ÑèÇËÃ×ÍÅÇ´«ÑºµÐ¡ÑèÇ à¾×èÍ»éͧ¡Ñ¹
¤ÇÒÁàÊÕÂËÒ·ÕèÍÒ¨¨Ðà¡Ô´¡ÑºÅÒÂǧ¨Ã¾ÔÁ¾ì
¡ÒõÑ駤èÒเวลาต่างๆ
ในสภาวะสแตนด
์
บาย (หน้าจอแสดง --) การตั้งค่า จะเริ่มจาก
1.¡´ÊÇÔµ«‹ SW1 ˹ˆÒ¨Í¨ÐáÊ´§ A1 เพื่อตั้งค่าหน่วงเวลาตอนจ่ายไฟครั้งแรก กดสวิตซ์ SW3 เพื่อตั้งค่า
นาที และกดสวิตซ์ SW2 เพื่อตั้งค่าวินาที (ถ้ากดสวิตซ์ SW2 หรือ SW3 ค้างเอาไว้ เวลาจะเปลี่ยนค่าเร็วขึ้น,
สามารถตั้งเวลาได้สูงสุด 99.59 นาที)
2.¡´ÊÇÔµ«‹ SW1 ˹ˆÒ¨Í¨ÐáÊ´§ A2 เพื่อตั้งค่าหน่วงเวลาหน่วงเข้า กดสวิตซ์ SW3 เพื่อตั้งค่านาที และ
กดสวิตซ์ SW2 เพื่อตั้งค่าวินาที (ถ้ากดสวิตซ์ SW2 หรือ SW3 ค้างเอาไว้ เวลาจะเปลี่ยนค่าเร็วขึ้น, สามารถตั้ง
เวลาได้สูงสุด 99.59 นาที)
3.¡´ÊÇÔµ«‹ SW1 ˹ˆÒ¨Í¨ÐáÊ´§ A3 เพื่อตั้งเวลาการทำงานของรีเลย์ กดสวิตซ์ SW3 เพื่อตั้งค่านาที และ
กดสวิตซ์ SW2 เพื่อตั้งค่าวินาที (ถ้ากดสวิตซ์ SW2 หรือ SW3 ค้างเอาไว้ เวลาจะเปลี่ยนค่าเร็วขึ้น, สามารถตั้ง
เวลาได้สูงสุด 99.59 นาที)
4.¡´ÊÇÔµ«‹ SW1 ˹ˆÒ¨Í¨ÐáÊ´§ A4 เพื่อตั้งเวลารอการตรวจจับอีกครั้ง กดสวิตซ์ SW3 เพื่อตั้งค่านาที
และกดสวิตซ์ SW2 เพื่อตั้งค่าวินาที (ถ้ากดสวิตซ์ SW2 หรือ SW3 ค้างเอาไว้ เวลาจะเปลี่ยนค่าเร็วขึ้น, สามารถ
ตั้งเวลาได้สูงสุด 99.59 นาที)
5.¡´ÊÇÔµ«‹ SW1 ˹ˆÒ¨Í¨ÐáÊ´§ 5E เพื่อบันทึกค่าและออกจากการตั้งค่า หน้าจอจะแสดง --
¡ÒõÑ駤èÒเวลาà»ç¹¤èÒâç§Ò¹
¶Í´áËҧ¨‡ÒÂä¿ÍÍ¡ ¨Ò¡¹Ñ鹡´ÊÇÔµ«‹ SW3 ¤ˆÒ§àÍÒäÇé áÅéǨèÒÂä¿à¢éÒǧ¨Ã ˹éҨͨÐáÊ´§ F1 ¨Ò¡¹Ñé¹
¨Ö§»ÅèÍÂÊÇÔµ«ì SW3 (¤èÒการหน่วงเวลาตอนจ่ายไฟครั้งแรก = 00.00 นาที, ¤èÒการหน่วงเวลาเข้า = 00.00 นาที,
¤èÒเวลาการทำงานของรีเลย์ = 00.10 นาที และ¤èÒเวลาการรอการตรวจจับอีกครั้ง = 00.00 นาที)
¡ÒÃทำงานของแต่ละฟังก์ชั่น
การทำงานของ A1 ค
่
าการหน
่
วงเวลาตอนจ่ายไฟครั้งแรก จะทำงานตอนจ่ายไฟครั้งแรกเท่านั้น เมื่อจ่าย
ไฟเข้า หน้าจอจะแสดงและนับเวลาถอยหลัง ในขณะนี้บอร์ดคอนโทรลจะไม่รับสัญญาณจากตัวเซ็นเซอร์ PIR
เมื่อเวลาเป็น 00 หน้าจอจะแสดง -- เพื่อรอรับการตรวจจับต่อไป
การทำงานของ A2 ค่าการหน่วงเวลาเข้า จะทำงานหลังจากหน้าจอแสดง -- เมื่อเซ็นเซอร์ PIR ตรวจจับได้
หน้าจอจะแสดงเวลาและทำการนับเวลาถอยหลัง เมื่อเวลาเป็น 00 จะเข้าสู่การทำงานของ A3
การทำงานของ A3 ค่าเวลาการทำงานของรีเลย์ จะทำงานหลังจากการทำงานของ A2 รีเลย์จะทำงานและ
หน้าจอจะแสดงค่าเวลาการทำงานของรีเลย์และทำการนับเวลาถอยหลัง เมื่อเวลาเป็น 00 รีเลย์จะหยุดทำงาน
การทำงานของ A4 ค่าเวลาการรอการตรวจจับอีกครั้ง จะทำงานหลังรีเลย์หยุดทำงาน หน้าจอจะแสดงค่า
เวลาและทำการนับเวลาถอยหลัง ในขณะนี้บอร์ดคอนโทรลจะไม่รับสัญญาณจาดตัวเซ็นเซอร์ PIR เมื่อเวลา
เป็น 00 หน้าจอจะแสดง -- เพื่อรอรับการตรวจจับต่อไป
¡ÒÃทำงานโดยรวม
การทำงานจะเริ่มจาก A1 จะทำงานเมื่อจ่ายไฟเข้าครั้งแรก หลังจากนั้นหน้าจอจะแสดง -- เพื่อรอรับ
สัญญาณจากเซ็นเซอร์ PIR หากตรวจจับได้ วงจรจะทำการหน่วงเวลาเข้า (A2) หลังจากนั้นรีลย์จะทำงาน
ตามเวลาที่ตั้งไว้ (A3) เมื่อรีเลย์หยุดทำงาน วงจรจะหน่วงเวลาการตรวจจับ (A4) เมื่อวงจรนับจนถึง 00 หน้า
จอจะแสดง -- เพื่อรอการตรวจจับต่อไป ค่าของ A1 หรือ A2 หรือ A3 หรือ A4 ถ้าตั้งเวลาเป็น 00.00 นาที
ทั้งหมด วงจร จะข้ามขั้นตอนการหน่วงเวลานั้นๆ ไป
This detector circuit uses the PIR sensor to detect human and animal movements. It is used to study
learning work. Can also be applied to a variety of practical applications such as alarm systems and
automatic power off and lighting systems.
Technical data
- Power supply : 12VDC.
- Electric current consumption (standby) : 13mA (max.)
- Electric current consumption (working) : 85mA (max.)
- Detection range : 4-meter.
- Can set the delay time, when first supplying the power : 99.59 minutes (max.)
- Can set the delay time of detection : 99.59 minutes (max.)
- Can set the time of the relay : 99.59 minutes (max.)
- Can be set to wait for detection : 99.59 minutes (max.)
- Control output : contact capacity 1A/250VAC.
- PCB board dimension (PIR sensor board) : 1.22 in x 1.02 in.
- PCB board dimension (control board) : 1.72 in x 4.45 in.
How does it work
This circuit can be divided 2 sections : PIR sensor section and Control section.
PIR sensor section : When have human or animal body pass to PIR sensor, the signal occurred at pin S
will be sent to IN point of Control board.
Control section : The most important part of this circuit is IC2. It is a microprocessor fully programmed
from the factory. Port P00-P03, PD4, P05, PB06, PB07 are the driving number given to the 7’segment.
SW1-SW3 switches are used for setting the time. Sensor point is used to connect the PIR sensor board.
Point JP1 is used to select the operating pattern. If JP1 is connected, when the PIR sensor detects, the relay
starts counting down. And now, if it is detected again. Time will be counted. If JP1 is not connected, the
first countdown will continue. Ignore the new catch signal.
PCB assembly
Shown in Figure 2 is the assembled PCB. Starting with the lowest height components first, taking care
not to short any tracks or touch the edge connector with solder. Some tracks run under components, and care
should be taken not to short out these tracks. If the pins will not enter the holes with ease, use a small drill to
slightly enlarge the opening. All components with axial leads should be carefully bent to fit the position on
the PCB and then soldered into place. Make sure that the electrolytic capacitors are inserted the correct way
around. Some components are particularly sensitive to heat ( ie: Transistors, IC's, diodes etc.) extra care
must be taken to only apply the iron for as little time as possible, using a pair of pliers to grip the leads will
help conduct heat away. Trim components leads with wire cutters to prevent excess lengths causing a short
circuit. Now check that you really did mount them all the right way round!
Setting the delay timer
Normally, the display will be show “--”. The setting will start from
1.Push the switch SW1, the dispaly will be show “A1” for setting the delay timer of the first supply the
power supply. Push the switch SW3 for setting the minute and push the switch SW2 for setting the second.
(If the user push and hold the switch SW2 or SW3, the time value will change very fast. It can adjust the
maximum timer 99.59 minutes.).
2.Push the switch SW1, the dispaly will be show “A2” for setting the delay timer of detection. Push the
switch SW3 for setting the minute and push the switch SW2 for setting the second. (If the user push and
hold the switch SW2 or SW3, the time value will change very fast. It can adjust the maximum timer 99.59
minutes.).
3.Push the switch SW1, the dispaly will be show “A3” for setting the operation timer of the relay. Push
the switch SW3 for setting the minute and push the switch SW2 for setting the second. (If the user push and
hold the switch SW2 or SW3, the time value will change very fast. It can adjust the maximum timer 99.59
minutes.).
4.Push the switch SW1, the dispaly will be show “A4” for setting the waiting timer of the operation.
Push the switch SW3 for setting the minute and push the switch SW2 for setting the second. (If the user
push and hold the switch SW2 or SW3, the time value will change very fast. It can adjust the maximum
timer 99.59 minutes.).
5.Push the switch SW1, the dispaly will be show “5E” for record the value and exit the setting. The
display will be show “--”.
Reset the delay timer value to the factory value
Remove the power supply from the circuit. Push and hold the switch SW3 and connect the power
supply, the display will be show "F1". Release the switch SW3 (the delay timer of the first supply the power
supply : 00.00 minute, the delay timer of detection : 00.00 minute, the operation timer of the relay : 00.00
minute and the waiting timer of the operation : 00.00 minute).
The operation of each function
The operation of A1 is the delay timer of the first supply the power supply. It is working in the first
time when supply the power supply only. The timer delay will start and the display will show the timer. In
this time, Control board will not receive the signal from PIR sensor. When the timer is the end, the display
will show “--” and Control board is ready to use.
The operation of A2 is the delay timer of detection. It is working after the display will show “--”. When
PIR sensor is detecting, the display is counting the timer. If the end of timer, the circuit is fed to the
operation of A3.
The operation of A3 is the operation timer of the relay. It is working after the operation of A2. The
relay is working and the display is counting the timer. If the end of timer, the relay is stop working.
The operation of A4 is the waiting timer of the operation. It is working after the relay is stop working.
The display will show the delay timer and counting. In this time, Control board will not receive the signal
from PIR sensor. When the end of timer, the display will show “--” for ready to receive the signal from PIR
sensor.
The operation of all function
When supply the power supply in the first time, the circuit will start the operation of A1. The display
will show “--” for ready to receive the signal of PIR sensor. If PIR sensor is detect, the circuit will start the
delay timer of detection (A2) and then the relay is working following the operation timer value (A3). When
the relay is stop working, the circuit is starting the operation timer of the relay (A4). When the end of timer,
the display will show “--” for standby. If the value of A1 or A2 or A3 or A4 are setting 00.00 minute, the
circuit is skip that step.
http://www.futurekit.com
FUTURE KIT
FUTURE KIT
R
NO.1
Figure 2. Circuit Assembling
PIR MOTION SENSOR WITH TIMER
PIR ตรวจจับการเคลื่อนไหวพร้อมหน่วงเวลา
CODE 519
Figure 1. The PIR Motion Sensor With Timer Circuit
NOTE: FUTURE BOX FB18 is suitable for this kit.
MB95
This point is connecting
to FUJISU programmer.
JP1
2
1
MB95F
BC557 x 2
SW1
SW2
SW3
PIR
IN
G
+
4
3
12V
+ G OUT IN
RELAY
12V
4148
0.1
3K
4001
+
220
LED1
K
A
FK519
10
m
F
3K
HT7533
G
IN
OUT
PIR MODULE
Watch the polarity
!
+
K A
K
A
K
A
Figure 3.
Installing the Components
B
E
C
KA
A
B
C
E
G
INOUT
PIR SENSOR
CONTROL
AC IN
LAMP
SELECT
JUMPER JP1
(Trigger Mode)
Non-repeatable
Repeatable
Remove
the jumper.
jumping