Ktl-icon-tai-lieu

Lâp trình led 7 đoạn

Được đăng lên bởi trungchanh107
Số trang: 14 trang   |   Lượt xem: 725 lần   |   Lượt tải: 0 lần
PIC HOW-TO GUIDE

Interfacing 7SEG with
PIC16F877A

Contents at a Glance
PIC16F/18F Primer Board .................................................3
Seven Segment Display ....................................................3
Interfacing Seven Segment Display ..................................4
Interfacing Seven Segment with PIC16F877A....................5
Pin Assignment with PIC16F877A .....................................5
Circuit Diagram to Interface 7 segment with PIC16F877A .6
Source Code ....................................................................6
C Program to 7 Segment Display using PIC16F877A ..........7
Testing the I2C – Seven segment with PIC16F ................. 10
General Information ...................................................... 11

Join the Technical Community Today!


PIC16F/18F Primer Board
The PIC16F/18F Primer board is specifically designed to
help students to master the required skills in the area of
embedded systems. The kit is designed in such way that all
the possible features of the microcontroller will be easily
used by the students. The kit supports in system
programming (ISP) which is done through USB port.
Microchip’s PIC (PIC16F877A), PIC16F/18F Primer Kit is
proposed to smooth the progress of developing and
debugging of various designs encompassing of High speed
8-bit Microcontrollers.
Seven Segment Display
A seven segment display is the most basic electronic
display device that can display digits from 0-9. The most
common configuration has an array of eight LEDs arranged
in a special pattern to display these digits. They are laid out
as a squared-off figure ‘8’.
Join the Technical Community Today!


Interfacing Seven Segment Display
Fig. 1 shows how to interface the seven segments with
microcontroller. A seven segment is generally available in
ten pin package. While eight pins correspond to the eight
LEDs, the remaining two pins (at middle) are common and
internally

shorted.

These

segments

come

in

two

configurations, namely, Common cathode (CC)

and

Common anode (CA).

Fig. 1 Interfacing 7segment to Microcontroller

Join the Technical Community Today!


Interfacing Seven Segment with PIC16F877A
We now want to display a four digit number in
PIC16F/18F Primer Board by using seven segment displays.
The seven segment display is connected with PIC16F877A
microcontroller.
In PIC16f/18F Primer Kit, 4 nos. of common ...
PIC HOW-TO GUIDE
Interfacing 7SEG with
PIC16F877A
Lâp trình led 7 đoạn - Trang 2
Để xem tài liệu đầy đủ. Xin vui lòng
Lâp trình led 7 đoạn - Người đăng: trungchanh107
5 Tài liệu rất hay! Được đăng lên bởi - 1 giờ trước Đúng là cái mình đang tìm. Rất hay và bổ ích. Cảm ơn bạn!
14 Vietnamese
Lâp trình led 7 đoạn 9 10 211