Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1

    Default Making a timer using Pic16F887. How?


    Mga Master nakabuhat na ba mo ani? Pede maka hangyo if naa mo code and schematic mangayo ta ko or pa tutor ky mag himo ko hardware ani. project man gud ni namo. Nangita ko sa thread similar to this pero wa man ko kita.

  2. #2

    Default Re: Making a timer using Pic16F887. How?

    Walay master dha?

  3. #3

    Default Re: Making a timer using Pic16F887. How?

    Study usa sa assembly codes sa imong PIC bro naa na sa datasheet nila aron naa nka basic daan sa mga codes..

  4. #4
    C.I.A. Platinum Member carmicael's Avatar
    Join Date
    Jul 2007
    Gender
    Male
    Posts
    2,142

    Default Re: Making a timer using Pic16F887. How?

    it would be better if you paste your code here, and maybe we can tell you what's wrong, and go from there. also, though i might be wrong, i think this is the wrong section.

  5. #5

    Default Re: Making a timer using Pic16F887. How?

    yah...right..^

  6. #6

    Default Re: Making a timer using Pic16F887. How?

    1st download eagle software naa didto daghan ready made pic programer..print lang to tapos layout dayun pcb...then download pics programer software naa daghan sa net...then you ready your source code..good luck.

  7. #7

    Default Re: Making a timer using Pic16F887. How?

    Quote Originally Posted by gleenjaan17 View Post
    Mga Master nakabuhat na ba mo ani? Pede maka hangyo if naa mo code and schematic mangayo ta ko or pa tutor ky mag himo ko hardware ani. project man gud ni namo. Nangita ko sa thread similar to this pero wa man ko kita.
    unsa man imu nahibaw.an sa pag himo og circuit? Please show us a schematic diagram, i-sketch lang sa papel, i-scan and post it here..

    mo-tabang ko ninyu, pero hinay-hinayun ta mo og tabang...

    unsa man inyu gamitun nga hardware components?
    unsa man flow sa inyung timer? hatag pud og algorithm..

  8. #8

    Default Re: Making a timer using Pic16F887. How?

    post nya ko sa akong nabuhat so far mga master. pero wrong section daw ni. asa d i ta pede maka post ani nga thread? Sorry. hehe

  9. #9

    Default Re: Making a timer using Pic16F887. How?

    sulod diri sis... elab.ph naa diri daghan tutorial

  10. #10

    Default Re: Making a timer using Pic16F887. How?

    Bro mao ni ako code sa TIMER, 1 second ang interval ani.. via interrupt.. and im using PIC16F877A for the MCU... and MikroC for the coding!


    void interrupt() {

    TMR0 = 1;

    //timer
    timeCnt++;
    if(timeCnt==30) { timeCnt=0;
    seconds++; }

    INTCON = 0xA0; //set T0IE, cler T0IF
    }

    void main() {

    ADCON1=0x06;
    TRISA=0x00;
    TRISB=0x00;
    TRISD=0x00;
    TRISE=0x00; PORTE=0x00;

    OPTION_REG = 0b10000111; // Assign prescaler to TMR0 and set to 1/256
    INTCON = 0x00; // disable (GIE + T0IE)

    TMR0 = 1;

    //INTCON = 0xA0; // to enable the timer interrupt
    //INTCON = 0x00; // to disable the timer interrupt

    while(1) {

    // put your codes here whatever you want to apply
    }

    }


    // post here kung unsa gusto nimo mahitabo sa imo circuit.. then we'll see what we can do... the codes above are showing how to enable the interrupt...

    been using this code to my electronic scoreboard..
    Wireless Electronic Scoreboard - YouTube

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Making beautiful photos using filters
    By PhoorDhoi in forum Photography
    Replies: 688
    Last Post: 10-16-2013, 11:44 PM
  2. Replies: 2
    Last Post: 05-21-2013, 09:52 PM
  3. For Sale: PC coin operated with timer using software
    By nogiebear_04 in forum Computers & Accessories
    Replies: 19
    Last Post: 08-25-2010, 05:10 PM
  4. Make my own credit card, How to?
    By genelleestremos in forum General Discussions
    Replies: 6
    Last Post: 06-05-2009, 01:34 PM
  5. How to make a free call using fring
    By baboy in forum Gizmos & Gadgets (Old)
    Replies: 2
    Last Post: 07-12-2007, 12:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top