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. General Discussion
  3. Reboot Node

Reboot Node

Scheduled Pinned Locked Moved General Discussion
rebootnode idwatchdog
2 Posts 2 Posters 1.6k Views 3 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.
  • D Offline
    D Offline
    dzairo
    wrote on last edited by
    #1

    Hi.
    If good understand then Watchdog is used for low powre timer , when use .sleep function then use this timer for max 8s .
    But I need reboot Node . Then how can I do that ?
    I use BCD encoder for manuany set Node ID . If want chagne ID then powr Off battery and change position on BCD encoder .. and Powr On and Node set new ID .
    But I want do it in my loop function .. if change BCD encoder then in loop I compare BCD ID with Node ID if not equal then
    I want reboot node .

    but how to do it if watch dog is used for timer not reset ??

    how use funtion gw.reboot(); ???

    regards ..

    AWIA 1 Reply Last reply
    0
    • D dzairo

      Hi.
      If good understand then Watchdog is used for low powre timer , when use .sleep function then use this timer for max 8s .
      But I need reboot Node . Then how can I do that ?
      I use BCD encoder for manuany set Node ID . If want chagne ID then powr Off battery and change position on BCD encoder .. and Powr On and Node set new ID .
      But I want do it in my loop function .. if change BCD encoder then in loop I compare BCD ID with Node ID if not equal then
      I want reboot node .

      but how to do it if watch dog is used for timer not reset ??

      how use funtion gw.reboot(); ???

      regards ..

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

      @dzairo search the Web for rebooting arduino from code. There are many ways each with its own (dis) advantages.

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


      10

      Online

      11.7k

      Users

      11.2k

      Topics

      113.0k

      Posts


      Copyright 2019 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