Scrolling thermo


Closed Thread
Results 1 to 40 of 56

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    I DID IT !
    Full working () version of scroll-thermo-clock, using PIC16F877A. With buttons for setting hours/minutes !
    Enjoy !

    LE : The answer on my previous question:
    Code:
        portb=0
        portd=0
        pause 1
        FOR counter = 0 TO 4
            READ oraa*5+counter,leddata [counter]    
        NEXT 
            PORTB=%11111111
            PORTD = 1
            FOR counter = 0 TO 4
               PORTB = leddata [counter]       
               PORTD = PORTD * 2
            leddata [counter] = leddata [counter+1]
            NEXT
    Attached Files Attached Files
    Last edited by fratello; - 21st October 2011 at 14:35.

  2. #2
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Awesome!!!!!!!!
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Bug of setting hours (23-->0) solved :
    Code:
                    '    Decrement Units Hours
                    '    ---------------
            If CounterC=1 then
                if setdechour=2 then
                  IF SetHour=0 THEN
                     SetHour= 3
                     else    
                     SetHour=SetHour-1
                  Endif
                else
                  if sethour=0 then
                    sethour=9
                    else
                    sethour=sethour-1
                  endif            
                endif
            endif
    and
    Code:
                    '    Increment Units Hours
                    '    ---------------
            If CounterC=1 then
                if SetDecHour=2  then
                    if SetHour=3 then
                        SetHour=0
                    else
                        SetHour=SetHour+1
                    endif
                 else
                    if SetHour=9 then
                       SetHour=0
                    else
                       SetHour=SetHour+1
                    endif         
                Endif    
           endif
    This is it ! Best regards !
    Last edited by fratello; - 21st October 2011 at 19:57.

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Just connect RD7 to matrix and having 8 columns instead 7 . No software update required.Name:  update (Custom).jpg
Views: 2045
Size:  65.4 KB

  5. #5
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Soft update : if hour < 10 then not show first 0.
    Code:
    if oraa = 0 then
        FOR counter = 0 TO 4
        leddata [counter+41] = %11111111
        next
        else    
        FOR counter = 0 TO 4
            READ oraa*5+counter,leddata [counter+41]      'stores tens hours digit in leddata locations
        NEXT
    endif

  6. #6
    Join Date
    Apr 2010
    Posts
    11


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    Quote Originally Posted by fratello View Post
    Just connect RD7 to matrix and having 8 columns instead 7 . No software update required.Attachment 6076
    what are the values of X1 and X2,?

  7. #7
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    X1=32768 KHz (see app note for DS1307) ; X2=4MHz (see second line of program file).

  8. #8
    Join Date
    Apr 2010
    Posts
    11


    Did you find this post helpful? Yes | No

    Default Re: Scrolling thermo

    thanks lot for the fast reply n giving all instructions to build this without hiding..
    by the way ur final video shows 0.0 c because missing of thermo saensor??
    can u upload a new video with full functionality..?
    reg
    krish69

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts