Cov txheej txheem:

16x64 P10 Scrolling LED Zaub Siv PIC16F877 Microcontroller: 5 Kauj Ruam (nrog Duab)
16x64 P10 Scrolling LED Zaub Siv PIC16F877 Microcontroller: 5 Kauj Ruam (nrog Duab)

Video: 16x64 P10 Scrolling LED Zaub Siv PIC16F877 Microcontroller: 5 Kauj Ruam (nrog Duab)

Video: 16x64 P10 Scrolling LED Zaub Siv PIC16F877 Microcontroller: 5 Kauj Ruam (nrog Duab)
Video: 16x64 (p10) LED Scrolling Display Interface with PIC16F877a Microcontroller 2024, Hlis ntuj nqeg
Anonim
Image
Image

Hauv cov lus qhia no, piav qhia yuav ua li cas cuam tshuam 16 x 64 (p10) LED matrix Display nrog PICI6F877A microcontroller.

Cov ntaub ntawv xa mus rau lub microcontroller ntawm UART uas tau khaws cia hauv EEPROM thiab cov ntaub ntawv yuav tau tshwm ntawm LED zaub matrix. Nws yuav txuas ntxiv cov ntaub ntawv qub thaum twg cov ntaub ntawv tshiab tuaj txog.

Qhov kev zov me nyuam sau hauv C ua nrog MPLAB.

Kauj Ruam 1: 16x64 (p10) LED Matrix Control

16x64 (p10) LED Matrix Tswj
16x64 (p10) LED Matrix Tswj
16x64 (p10) LED Matrix Tswj
16x64 (p10) LED Matrix Tswj

Hauv cov kab ke no, 16x64 matrix zaub tuaj yeem qhia cov ntaub ntawv uas yuav xav tau qhov zoo tshaj 1024 LEDs. Cov zaub no suav nrog cov qauv me me ua ke los ntawm lub vijtsam loj dua, txhua tus qauv feem ntau suav nrog 4x8 matrix ntawm LEDs raws li qhia hauv daim duab.

Pin tawm ntawm p10 vaj huam sib luag raws li qhia muaj 6 kab tswj.

Kauj ruam 2: Teeb Kho Vajtse

Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb
Kho vajtse teeb

Txhawm rau tsim txoj haujlwm no, peb xav tau cov ntaub ntawv raws li hauv qab no,

  • p10 (16x32) LED Zaub x 2
  • PICI6F877A microcontroller
  • PIC Microcontroller Development Borad
  • 16 x 32 (p10) LED matrix - 2 nos
  • USB 2 Serial Adapter
  • 5V 5A SMPS

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Daim duab Circuit Court tau qhia hauv daim duab.

MCLR tus pin raug rub tawm siv 10K Resistor.

USB 2 Serial Converter txuas hauv RC6 thiab RC7 raws li nws txhawb UART Kev Sib Txuas Lus thiab baudrate yog 9600 bps.

Nov yog siv 20 MHz siv lead ua oscillator.

Pins rau (p10) LED Scrolling Display tuaj yeem siv txhua tus Pin. Hauv qhov haujlwm no peb tau siv,

  • TSO - RB4
  • A - RB5
  • IB - RB6
  • CLK -RC1
  • SCLK -RD3
  • Cov Ntaub Ntawv - RD2

Kauj ruam 4: Code

Ntawm no txuas cov lej tiav tsim hauv C.

UART baudrate: 9600 bps

Cov ntawv xov xwm: * <message> $ (xws li: * cuam tshuam $)

Kauj Ruam 5: Tso Tawm

Ntawm no txuas cov vis dis aus txuas uas peb tau ua.

YouTube:

facebook:

www.facebook.com/impacttechnolabz

Pom zoo: