PIC Nixie Clock project


Closed Thread
Results 1 to 32 of 32

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: PIC Nixie Clock project

    Dwight, I took your DST segment from the PIC code and incorporated it into the ESP8266-01. I am running the version 3.0 ESPBASIC on the ESP8266 and it works flawlessly. I have incorporated it into my version of the Nixie Clock build. I made a few and gave the kits to 2 of my kids for Xmas. Attached are the pics and ESP code.
    Attached Images Attached Images     
    Attached Files Attached Files
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: PIC Nixie Clock project

    That's awesome Dave!!

    I am glad you could use the code. It was fun (mental challenge) to figure out how to determine DST.
    Although I did notice that this past Nov my clock did not change to Std Time until the day after it should have (as I recall) I was busy at the time and did not (have not) investigated why. I still need to look into the code and see if I missed something by a day. It did get it right the next day so I did not get too concerned.

    I chose to do all the DST calcs in my PIC code as I am much more familiar with PIC BASIC. But the espBASIC has come a long way since then. I am still running version 1.65 on my esp module so I'll have to update the code to be compatible with the newer 3.xx versions.

    It is amazing how powerful the little esp-01 modules are!!

    73
    dwight
    N7KBC
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: PIC Nixie Clock project

    Hi, Nice idea to get rid of the chip that you don’t want and replace with your own board
    If the ESP module getting the time, then the DT elapsed timer is really just cycling through the tubes?

    On EEVblog, a YouTube channel if you watch it, Dave is in the middle of a nixie project now I’ve been watching.

  4. #4
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: PIC Nixie Clock project

    Hi Dave,

    go check out the thread over on espbasic... http://www.esp8266.com/viewtopic.php?f=41&t=11518

    and check out his code... he does a better job (simpler code) of determining DST yes/no for the ESP8266
    Note: the following bit of code is not PICBASIC it's espBASIC

    Code:
    [calculate_DST]
    dow = time("dow")
    day = time("day")
    month = time("month")
    hour = time("hour")
    
    if ((DST = 1) and (dow = "Sun") and (month = "Nov") and (day >= 1) and (day < 8)) then
     DST = 0
     write(DaylightSavings,str(DST))
    endif
    
    if ((DST = 0) and (dow = "Sun") and (month = "Mar") and (day >=8) and (day < 15)) then
     DST = 1
     write(DaylightSavings,str(DST))
    endif
    
    return
    and to others... if you haven't checked out and played with mike's awesome espBASIC you are missing out

    esp8266basic.com


    regards
    dwight
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  5. #5
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: PIC Nixie Clock project

    Here is the webpage that his code creates for the analog meter clock...
    Name:  clock.jpg
Views: 9723
Size:  86.6 KB

    cheers
    dwight
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

Similar Threads

  1. Color GLCD Project, Analog clock
    By DaveC3 in forum Code Examples
    Replies: 5
    Last Post: - 14th May 2011, 03:24
  2. pic16f887 clock project, need help
    By lockjawz in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th April 2011, 11:45
  3. Digital clock project
    By astouffer in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th February 2009, 03:00
  4. Help with PIC project
    By davekav in forum General
    Replies: 3
    Last Post: - 17th April 2008, 23:15
  5. pic project help
    By dizzy1 in forum General
    Replies: 2
    Last Post: - 5th February 2006, 18:30

Members who have read this thread : 5

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