1 / 13

VUMETRU DIGITAL -uitilizand pic 16f876a-

VUMETRU DIGITAL -uitilizand pic 16f876a-. ICD2. ICD – in-circuit-debuger – circuit ce permite depanarea si testarea programelor in schema finala a aplicatiei (in sistemul tinta). ICD2 – PROIECTARE CABLAJ. MP-LAB. Mediul de dezvoltare MPLAB IDE

dixon
Download Presentation

VUMETRU DIGITAL -uitilizand pic 16f876a-

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VUMETRU DIGITAL-uitilizand pic 16f876a-

  2. ICD2 • ICD – in-circuit-debuger – circuit ce permite depanarea si testarea programelor • in schema finala a aplicatiei (in sistemul tinta)

  3. ICD2 – PROIECTARE CABLAJ

  4. MP-LAB Mediul de dezvoltare MPLAB IDE MPLAB IDE este un mediu integrat de dezvoltare (IDE – Integrated Development Environment) oferit de firma Microchip pentru familiile de microcontroloare PIC12, PIC 16, PIC18, etc. Include: 1.manager de proiecte 2.editor de program sursa 3.asamblor 4.editor de legaturi 5.depanator (debuger) 6.motor de executie + E GRATIS :D

  5. Fişiere sursă Bibliotecă de funcţii predefinite (fişisre obiect) Asamblor Compilator C Editor de legături Fişier de depanare Fişier executabil Figura 1. Administrarea unui proiect in MPLAB Figura de mai jos indica schema de administrare a unui proiect prin MPLAB:

  6. 2.Placa de dezvolatare

  7. 3.Matrice de leduri

  8. 4.COD • void initializare(void) • { • TRISA=0xFF; • TRISB=0x00; • TRISC=0x00; • ADCON0=0b10000001; • ADCON1=0b00001110; • PORTC=0xFF; • }

  9. void main () { initializare(); ADCON0=0x85; while(1) { for(m=1;m<100;m++) { ADGO=1; while(ADGO==1); rezultat=ADRESH; PORTB=rezultat; for(n=0;n<5000;n++); } } }

  10. PIC 16F876A

  11. 5.Implementare filtre : -functia de trasfer pt un filtru de tip FIR cu 3 esantioane; -frecventa de esantionare este de 315k; -frecventa de taiere este de 1k;

  12. Va multimesc pentru timpul acordat: Iacob Ciprian Moga Andreea Luchian Mihai

More Related