A Wireless Wood Stove Monitor on Hackaday


Closed Thread
Results 1 to 7 of 7

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: A Wireless Wood Stove Monitor on Hackaday

    Michel,
    your projects are awesome!

    I am working on interfacing an esp8266 to a PIC to control a nixie clock.
    I have it working now and am just fine tuning and adding features.
    as an example of the brilliant simplicity of using the esp8266basic...

    here is the code I have running on the esp module to get ntp time and provide it to the PIC...

    Code:
    memclear
    cls
    timesetup(-7,0)
    baudrate 9600
    serialtimeout 2000
    delay 1000
    button "Exit " [Exit]
    [Main]
    timer 100 [PicSer]
    wait
    '
    [PicSer]
    serialflush
    input picIN
    picIN = mid(picIN,1,5)
    if picIN == "Time?" then gosub [gettime]
    wait
    '
    [gettime]
    bla = time()
    hh = mid(bla,12,2) 'hour
    mm = mid(bla,15,2) 'min
    ss = mid(bla,18,2) 'sec
    '
    picOUT = hh & mm
    picOUT = picOUT & ss
    serialprint picOUT
    '
    return
    '
    [Exit] 
    end
    that is it!

    Now it is no where near as complete and capable as our beloved PICbasicpro but it really dosen't need to be. That is what the PIC is good for.
    You can run the complex code with complete reliably and have the esp module do the wifi stuff.

    And the real beauty and power of the espBASIC is that there is no complex tool chain to get it up and running. The development environment IDE is all hosted within the module itself. Once you flash the espbasic OS to the module then that is it! All the rest of code development happens in the self-hosted web page from the module.
    Last edited by Heckler; - 10th February 2016 at 05:04.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

Similar Threads

  1. More wood chuck lighting questions
    By AvionicsMaster1 in forum General
    Replies: 17
    Last Post: - 22nd January 2012, 04:45
  2. How many LEDs could a wood chuck light
    By AvionicsMaster1 in forum Schematics
    Replies: 5
    Last Post: - 18th December 2010, 06:35
  3. AC main monitor
    By tallen in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 25th August 2009, 16:23
  4. Baby Monitor
    By inoonan in forum Serial
    Replies: 2
    Last Post: - 14th September 2006, 22:54
  5. Car monitor
    By Christopher4187 in forum General
    Replies: 2
    Last Post: - 27th March 2006, 18:13

Members who have read this thread : 1

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