Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Hardware watchdog

Hardware watchdog

Scheduled Pinned Locked Moved Development
3 Posts 3 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KoreshK Offline
    KoreshK Offline
    Koresh
    Contest Winner
    wrote on last edited by Koresh
    #1

    Hello everyone :)
    I want to try to implement hardware watchdog in one of my boards (wall socket insertable nodes). I've received 10pcs of TPS3813K33 chips. I chose this IC as relatively inexpensive solution with large programmable window range. I need to generate heartbeat pulses on dedicated WDI pin. Pulses must be not so frequently but frequently enough to prevent watchdog reset (approximately 1 - 25sec). I use mysensors 2.0 library now but I don't know very well structure of library. May be library has some functionality I can use? So I don't want to invent my bike from scratch :) Now I want to chose one of three (?) variants:

    1. Write separete library
    2. Add functionality to mysensors library
    3. Use existing functionality.

    Thanks for any help!

    AWIA 1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by
      #2

      @Koresh : you can find some stuff about wdt, hardware, and 328p at MyHwATMega328 files. mysensorscore files too. There is also an heartbeat function but not done in this way i think.
      I'm not sure, i let others answer, if for something like this (a bit specific to an external chip) it wouldn't be better outside mysensors, in a specific lib for the application for instance. or use timers etc...
      it depends what you want to do, i'm not sure.

      1 Reply Last reply
      0
      • KoreshK Koresh

        Hello everyone :)
        I want to try to implement hardware watchdog in one of my boards (wall socket insertable nodes). I've received 10pcs of TPS3813K33 chips. I chose this IC as relatively inexpensive solution with large programmable window range. I need to generate heartbeat pulses on dedicated WDI pin. Pulses must be not so frequently but frequently enough to prevent watchdog reset (approximately 1 - 25sec). I use mysensors 2.0 library now but I don't know very well structure of library. May be library has some functionality I can use? So I don't want to invent my bike from scratch :) Now I want to chose one of three (?) variants:

        1. Write separete library
        2. Add functionality to mysensors library
        3. Use existing functionality.

        Thanks for any help!

        AWIA Offline
        AWIA Offline
        AWI
        Hero Member
        wrote on last edited by
        #3

        @Koresh Intresting option: to generate a full reset if no sign of life for ... time limit. I would implement this without special library/ MySensors functionality. Just use gw.sleep( xx ms) ; and generate a pulse every xx ms in the main loop.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        12

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular