Beruflich Dokumente
Kultur Dokumente
PIC
DEVELOPMENT BOARDS
(upload/vi_dieu_khien_pic/dem_sp.png)
This is a circuit that uses infrared light to detect obstructions and to signal that the PIC16F877A microcontroller performs counting. Each time an obstacle
passes, an infrared circuit generates a level 1 signal to the microcontroller.
Circuits are designed simply, people can refer and manually make a similar one.
1/5
Block diagram of the circuit:
(upload/vi_dieu_khien_pic/so_do_khoi.PNG)
The sensor block identi es the obstruction block (product) and transmits the control signal to the microcontroller block, where an infrared receiver is used
to do this work.
https://at-sky.com/nghien-cuu/kit-phat-trien/19-mach-dem-san-pham-tu-000-den-999.html 1/3
29/4/2019 The circuit counts from 000 to 999
(upload/vi_dieu_khien_pic/hong_ngoai.PNG)
Infrared is emitted by an infrared LED and collected in the LED receiver, LED receiver when the infrared beam is in, the two ends of the LED are turned o ,
exactly in the sensor block when the LED is infrared. light blocking, the B pin of the C1815 transistor is considered to be triggered so we will have the signal
to the LM358. LM358 is an opamp wired to a comparator circuit to generate a 0V or 5V signal.
The control unit is responsible for detecting the signal from the sensor circuit and displaying the number on the 7 segment LED.
(upload/vi_dieu_khien_pic/vdk.PNG)
The display block consists of three 7-segment LEDs that display counts. LED 7 segment Anode common. Use transistor A1015 to scan 7 segments.
(upload/vi_dieu_khien_pic/led_7_doan.PNG)
Video demo
https://at-sky.com/nghien-cuu/kit-phat-trien/19-mach-dem-san-pham-tu-000-den-999.html 2/3
29/4/2019 The circuit counts from 000 to 999
About us
About us (ve-chung-toi/99-ve-chung-toi.html)
Contact Us (contact.html?contact=1)
Technical assistance
Contact Sales Support (contact.html?contact-sales-support=1)
Products
Easy Boards (./danh-muc/190-easy-boards.html)
Company
AT-COM Telecommunications Automation Co., Ltd
Building 3C, No. 3C Pho Quang Street, Ward 2, Tan Binh District, Ho Chi Minh City, Vietnam
Social
(https://www.facebook.com/congty.atcom) (https://plus.google.com/103116119680097253754)
(http://www.youtube.com/user/Hiti.info.vn)
https://at-sky.com/nghien-cuu/kit-phat-trien/19-mach-dem-san-pham-tu-000-den-999.html 3/3