Display LED programmable using PIC16F876

Sdílet
Vložit
  • čas přidán 31. 05. 2011
  • -- Read description for schematic and software
    Is a display formed by 7 rows and 24 columns of LEDs. I'm using a PIC16F876 programmed by me in assembly. With 3 buttons you can set the word to show selecting letters and numbers. | È un display formato da 7 righe e 24 colonne di LED. Ho usato un PIC16F876 programmato da me in assembly. Con 3 pulsanti è possibile impostare la parola da mostrare selezionando lettere e numeri.
    ----Update----
    I've also made a C library for this display (this is not the code running on the video, library will just interface with the display)
    www.dropbox.com/s/h6mozijjw6e...
    www.dropbox.com/s/dgo6wsvltgd...
    Simple example that will print "Hello":
    void main(void) {
    LD_Init();
    LD_PrintMode(0);
    LD_Clear();
    LD_Print("Hello"); }
    You will also need to setup an interrupt that constantly refreshes the display: (in this case i'm using a 16mhz osc)
    void interrupt refresh(void) {
    LD_Refresh();
    TMR0 = 100;
    T0IF = 0; }
    If you want to scroll the text you will also need to setup your text length with the LD_SetTextLenght function so that text will scroll only until your limit and not until the maximum text size.
    ----Update----
    -Pressing the right button during the scrolling, now you can set the scrolling speed.
    Circuit schematic: www.dropbox.com/s/srn4plpx1bi...
    Program code: www.dropbox.com/s/nlfvbn1g6cq...
    Components used:
    - 1x PIC16F876 (20Mhz)
    - 1x 16Mhz Crystal
    - 2x 22pF capacitors.
    - 32x Transistors BC547c
    - 168x red LED (3mm)
    - 24x 100Ω resistors
    - 32x 1KΩ resistors
    - 3x 10KΩ resistors
    - 3x buttons
    The program is commented in italian so if you have any question you can ask me.
    Unfortunatly there are still some troubles when you write something because some times it skip 2 letters instead of 1, you can go 1 block back pressing fast 2 times the central button.
  • Jak na to + styl

Komentáře • 106

  • @coolrusskiy
    @coolrusskiy Před 9 lety

    I don't understand. You have 168 LED and only 28 pin on mikrocontroller. How you control 168 with 28? And I/O Ports 22?

  • @condronugroho9388
    @condronugroho9388 Před 5 lety

    Nice project brother. Thanks for sharing on the video.

  • @SameerMohammadAbdullah
    @SameerMohammadAbdullah Před 12 lety

    @Mrsameero
    Thank you so much !!
    I Couldn't Thank you enough really thank you
    and what a great work you did there :)

  • @mrlucesled
    @mrlucesled Před 10 lety

    felicitaciones muy bueno

  • @Bianchi77
    @Bianchi77 Před 5 měsíci

    Nice video, thanks :)

  • @coolrusskiy
    @coolrusskiy Před 9 lety

    What is the difference between PIC16F876 and PIC16F876A?

  • @gazaziho
    @gazaziho Před 6 lety

    Nice show ...youtubers need schematic man !!

  • @user-zl4xf8go3b
    @user-zl4xf8go3b Před 6 lety

    thank you master

  • @abdellahlagab9663
    @abdellahlagab9663 Před 6 lety

    thank you

  • @Ax866
    @Ax866  Před 12 lety

    Well actually yes, I've used it for a little bit of debugging too. I had some issues with timing, you can't simulate it in real time (I mean setting the pic with a 16Mhz clock) because of the fast display refreshing. The program become really buggy, gives you some error and it don't work as well. So it's better to set the pic frequency to some hz or as much as you can before you get errors. That's the only problem, for the rest it works good.

  • @ilieiancu2607
    @ilieiancu2607 Před 8 lety

    Hello. What is the program with whom you have scheduled the PIC16F876?
    Sure you have used PIC16f876 ?

  • @garanal
    @garanal Před 6 lety

    Great!

  • @elceibo846
    @elceibo846 Před 3 lety

    thousand applause!!!!!

  • @sksahil4374
    @sksahil4374 Před 6 lety

    Best project

  • @engineerkohat
    @engineerkohat Před 6 lety

    Excellent video but no voice. Great work.

  • @Ax866
    @Ax866  Před 12 lety

    @Mrsameero Here you are =D. Added into the description the last code version + the circuit schematic

  • @UMMERNAFIH
    @UMMERNAFIH Před 8 lety +2

    how to connect microcontroller to led boards
    sir

  • @Hugo63JM
    @Hugo63JM Před 12 lety

    Good evening, thank you for your answer, but it is not on your circuit operates with a 16F876A, in principle, the program must be slightly modified, well I think, but I'm an amateur, thank you for your help. Cordially. JM

  • @rizwanjan5405
    @rizwanjan5405 Před 9 lety

    Can anyone plz confirm if that project also works with 876A? From the below comments i only see that it should but nothing confirmed.

  • @Ax866
    @Ax866  Před 12 lety

    Thanks, I've uploaded the last version again. Link is in the description.

  • @khandelwalakhilesh0
    @khandelwalakhilesh0 Před 5 lety

    I m intrested to make this one but can't understood how it's made ,I have all materials but don't know how to build this

  • @Hugo63JM
    @Hugo63JM Před 12 lety

    Hello, thank you, PERFECT, I will make your edit again BRAVO to you for your achievement, SUPER, see you soon. JM

  • @utibeabasiokonnah4223
    @utibeabasiokonnah4223 Před 6 lety

    this is exactly what what I've been searching net long ago for. please sir can you help me on the circuit diagram. nice one.

  • @ilieiancu2607
    @ilieiancu2607 Před 8 lety

    I have did this project... but he don't work... i have problems with the scheduling....

  • @patwegartousif7478
    @patwegartousif7478 Před 7 lety

    which compiler u r using for pic16f876

  • @Hugo63JM
    @Hugo63JM Před 12 lety

    I forgot, last question please, the PIC 16F876a is the model. Thank you very much. JM

  • @elisilva3013
    @elisilva3013 Před 4 lety

    Great! project Congratulations! great Hug Eli PY2EGS from Brazil. 73 TFA.

  • @Ax866
    @Ax866  Před 12 lety

    It's a 16F876 but i think that it works also with 876A

  • @cidric1332
    @cidric1332 Před 4 lety

    Hi how can add effect in display up down fading flashing left right

  • @khandelwalakhilesh0
    @khandelwalakhilesh0 Před 5 lety

    Main connections you hav hidDedn how can it's made

  • @andreikyshnir7644
    @andreikyshnir7644 Před 6 lety

    please, as the transistors are called

  • @electronica496
    @electronica496 Před 12 lety

    is possible to simulate in Proteus???

  • @Hugo63JM
    @Hugo63JM Před 12 lety

    Hello, could you please just confirm for me if it's a PIC 16F876 or 16F876A x, because I only have the 16F876A, thank you for your response and good weekend. JM

  • @swapnamoyhazra6036
    @swapnamoyhazra6036 Před 6 lety

    how i upload this code to the ic microcontrollar

  • @somnathroy8803
    @somnathroy8803 Před 6 lety

    Sir how can program install in Microprocessor please tell me this kits

  • @lalbabuchaurasiya1227
    @lalbabuchaurasiya1227 Před 5 lety +1

    Nice video plz make it again with diagram n instrument name plz sir.

  • @belaidounihafid6949
    @belaidounihafid6949 Před 7 lety

    Possible pour nous de mettre un programme complet par isis protese et mickro c sur fichies winrar plz

  • @hritik6975
    @hritik6975 Před 6 lety

    I can't understand the programming plz can you explain this

  • @shem8668
    @shem8668 Před 5 lety

    pls help me to build one by demonstrating the method step by step thanks

  • @mauricioreyescruz1917
    @mauricioreyescruz1917 Před 6 lety

    Porq no muestra como se hace

  • @elphassumba8879
    @elphassumba8879 Před 4 lety +1

    I like your projects
    Can u show me how tomake some

  • @shakurpranto4503
    @shakurpranto4503 Před 6 lety

    oowoooo

  • @ivoirmanov4487
    @ivoirmanov4487 Před 9 lety

    how many letters can remember

  • @mostafaebrabimimohtasham3972

    Please explain how to make it please send a film of it

  • @KoushikDas-iw5fp
    @KoushikDas-iw5fp Před 5 lety

    How I make it..
    I need the diagram

  • @ogbuzuruokwudili.b3292

    Please sir I need just the schematic diagram of this one in understandable way. thanks

    • @arulrai5256
      @arulrai5256 Před 5 lety

      Please give me it's circuit diagram thank you

  • @gauravvaishnav17
    @gauravvaishnav17 Před 6 lety

    approx cost of project ??

  • @RaoSanjay3839
    @RaoSanjay3839 Před 6 lety

    Osm

  • @kasunsadaruwan1293
    @kasunsadaruwan1293 Před 8 měsíci

    Sir how to push button set the pin

  • @vsdigitalvsdigitalveyiloor9165

    I want circuit please

  • @hadjerjiijafans1952
    @hadjerjiijafans1952 Před 5 lety

    Can you help me to do this project please please

  • @Fenixin555
    @Fenixin555 Před 5 lety

    y como lo hago con arduino?

  • @TinuJangra
    @TinuJangra Před 8 lety

    i have atmega 8515l plz u hex file this ic and digram this ic my bro and i have need 8 mitar long led ligh scroling

  • @AkashSoni944
    @AkashSoni944 Před 6 lety

    Circuit diagram is not here

  • @mohd.alimansari7812
    @mohd.alimansari7812 Před 7 lety

    bhai circuit diagram btado pl plz plz....

  • @ericmbir7324
    @ericmbir7324 Před 3 lety

    Please How can I get this circuit

  • @rajeditz2
    @rajeditz2 Před 6 lety

    Plz send Circuit diagram

  • @bysaicharan5420
    @bysaicharan5420 Před 6 lety

    Sir i need circuit diagram plzz

  • @AmitKumar-jy8cg
    @AmitKumar-jy8cg Před 6 lety

    Good work
    Tell about source

  • @belaidounihafid6949
    @belaidounihafid6949 Před 6 lety

    plz diagram

  • @zamdroid7569
    @zamdroid7569 Před 4 lety

    Where is the ic pins connecting the 3 buttons?

  • @ajaychauhan5782
    @ajaychauhan5782 Před 6 lety

    digram aur banane ka tarika aur meterial bhi bataiye sir plz

  • @SachinKumar-lm6gp
    @SachinKumar-lm6gp Před 5 lety

    Sir please give me circuit diagram

  • @vanlalhriatakhiangte2704

    plz send circuit diagram bro

  • @mohitanand002
    @mohitanand002 Před 12 lety

    hav seen ur code.. u cud use the de command for letters definitions....anf uur code cud get very very easy.. hav worked on it to make it compact..vl upload later.
    thanx for the method

  • @mastengqodratillahi3852

    Schematic plz

  • @panjalasatish2219
    @panjalasatish2219 Před 5 lety

    Please give circuit diagram...

  • @rkpveerawasongrkpveerawaso1140

    हम भी ऐसा प्रोजेक्ट बनाना सीखना चाहते हैं

  • @iulianinventii6406
    @iulianinventii6406 Před 6 lety

    Ok

  • @SameerMohammadAbdullah
    @SameerMohammadAbdullah Před 12 lety

    can you please provide the circuit and the code?

    • @guevraluvumbu6798
      @guevraluvumbu6798 Před 6 lety

      bonjour donnez moi s'il vous plait le schema del'ensemble

  • @djjrbrasil
    @djjrbrasil Před 9 lety

    Hi ax866, this pic's project is new for me, i do work on electronics repairs for long time but, nothing like ic burn,
    i'm trying work on you project but i do have so many problems like:
    1-i do not have i ic burnner and i use the jdm on the serial port
    2- i have a pic16f876a
    3- i got some error when i try progamming a device ( unknow device, verify error 118 read 3ffff and some
    other thing is, when i put the assembler to run the file, this keep stock on this line
    delay_sicurezza_0
    decfsz d1, f
    goto $+2
    decfsz d2, f
    goto delay_sicurezza_0
    ;3 cycles
    goto $+1
    i'am not sure if this is problem or not, but i realy need your help
    your project looks like amazing and so easy to do, i'am wait for this and thank you for now !!!

    • @djjrbrasil
      @djjrbrasil Před 9 lety

      hi again x866, thanks for reply me and sorry for the late, ok?
      whell, did i stop to work in this project for month, because i'am busy and did orther the right parts but,
      i get the original pic16f876-20/sp and pickit2 so, i'am still get the problems with this code,
      before i try to progamming this by a serial port, everything say progammed without erros,
      when i put the ic on the circuit nothing work, ok i get the pickit and this guiveme to many errors,
      could you please help me on this, because i do not understand what i have to do with mplab and the code,
      i did see videos tutorials a lot from youtube about mplab, some videos tell to use source files,lkr,inc and more.
      i try all and not able to fix, can you send the hex file for me try work or maybe you say what i have to do,
      i need finish this, thanks for now !!!

  • @Hugo63JM
    @Hugo63JM Před 12 lety

    Good evening, first of all thank you for your achievement, SUPERB, thank you. Could you possibly give me the program code for the link would no longer works nice, thank you very much for your help. Cordially. Jean Michel

  • @allbanglatipsvideochannel3371

    Ai lite tar diagram ta dile and ic no ta dile khub valo hoto

  • @farzanalviking5055
    @farzanalviking5055 Před 5 lety

    name bord make

  • @paulohenrique9126
    @paulohenrique9126 Před 5 lety

    envia o esquema e o hex por email

  • @ashikuddinkhan6026
    @ashikuddinkhan6026 Před 6 lety

    Please diagram sir

  • @pradeepmishra9862
    @pradeepmishra9862 Před 5 lety

    Sir diagram bhej dijiye sir photo diagram please please please

  • @nirmalkishore2879
    @nirmalkishore2879 Před 5 lety

    Diagram

  • @kasunsadaruwan1293
    @kasunsadaruwan1293 Před 9 měsíci

    sir..give me a hex file & diagram 🙏🙏🙏🙏🙏🙏🙏

  • @cavadcafarov3151
    @cavadcafarov3151 Před 6 lety

    привет всем мастера буду любезно такой схема и печатный платы схема есть отправыте мне если вам не трудно мой електроный почта /cavad79@mail.ru/ cпасибо всем мастера Display LED programmable using PIC16F876 display formed by 7 rows and 24 columns of LEDs. I'm using a PIC16F876 programmed

  • @rkpveerawasongrkpveerawaso1140

    थोड़ा हमें भी समझ में आए

  • @patty1991
    @patty1991 Před rokem

    My ic4017 sucks🤣

  • @RaoSanjay3839
    @RaoSanjay3839 Před 6 lety

    Bhai apna mob no Dana

  • @saleemansari4856
    @saleemansari4856 Před 6 lety

    Bhai plz coding bhi bta do 9910425974

  • @rkpveerawasongrkpveerawaso1140

    इसका सही वीडियो बना के दिखाओ एक एक पाठ समझाओ