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. Troubleshooting
  3. Serial Gateway constantly restarting (=Startup complete with FHEM)

Serial Gateway constantly restarting (=Startup complete with FHEM)

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 3 Posters 732 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.
  • S Offline
    S Offline
    snudi
    wrote on last edited by
    #1

    Hello everybody,
    I am setting up a serial Gateway at an Ardunino Nano. Controller FHEM@RPi3.
    It seems that my gateway is constantly restarting, the state in FHEM changes from connected to startup complete after about a second. Both the Nano and the nRF24L01+ are powered by independent laboratory power supplies (5 and 3.3V) which can provide up to 1.5 AMPS. The NRF has an additionally a 47uF capacitor at its power supply pins. Sketch is the original Sketch from the homepage with no modifications. Mysensor Version 2.2, although I had the same issue with 2.1. The Nano has a FT232 USB-Chip, but everything is Chinese ;-)
    It seems to be transmitter related. When I disconnect the power supply from the controller it stays connected in FHEM. When I leave the power connected but when I disconnect any data pin from the transmitter (like MISO, CSN etc) it stays also connected. I changed the transmitter -> no effect.
    Downgrade to Board definitions 1.6.11 ->no effect.
    I then installed the same sketch using to same antenna on an Arduino mini, using additionally an external FT232 USB Adapter, connecting the six Data pins to the Arduino: Same errors as described above. However, when I disconnect the DTR pin between Mini and Adapter, everything seems to work fine. With the very same transmitters, everything works as it should and stays connected.
    Any idea what this can be?
    THX in advance,
    Regards, snudi

    mfalkviddM 1 Reply Last reply
    0
    • S snudi

      Hello everybody,
      I am setting up a serial Gateway at an Ardunino Nano. Controller FHEM@RPi3.
      It seems that my gateway is constantly restarting, the state in FHEM changes from connected to startup complete after about a second. Both the Nano and the nRF24L01+ are powered by independent laboratory power supplies (5 and 3.3V) which can provide up to 1.5 AMPS. The NRF has an additionally a 47uF capacitor at its power supply pins. Sketch is the original Sketch from the homepage with no modifications. Mysensor Version 2.2, although I had the same issue with 2.1. The Nano has a FT232 USB-Chip, but everything is Chinese ;-)
      It seems to be transmitter related. When I disconnect the power supply from the controller it stays connected in FHEM. When I leave the power connected but when I disconnect any data pin from the transmitter (like MISO, CSN etc) it stays also connected. I changed the transmitter -> no effect.
      Downgrade to Board definitions 1.6.11 ->no effect.
      I then installed the same sketch using to same antenna on an Arduino mini, using additionally an external FT232 USB Adapter, connecting the six Data pins to the Arduino: Same errors as described above. However, when I disconnect the DTR pin between Mini and Adapter, everything seems to work fine. With the very same transmitters, everything works as it should and stays connected.
      Any idea what this can be?
      THX in advance,
      Regards, snudi

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      @snudi could you post a debug log from the gateway when the restarts happen, and photos of the wiring? Maybe we can help spot the source of the problem.

      1 Reply Last reply
      0
      • rejoe2R Offline
        rejoe2R Offline
        rejoe2
        wrote on last edited by
        #3

        Two remarks:
        Both of my serial 2.2-GW's stay at "startup complete" and are working as expected (seems to have changed somewhen in the development of 2.0). Trying to set them to "connect" causes a reboot ending again in "startup complete".
        So this is not really a fault, just let them state "startup complete" and don't worry too much about that.

        If the Arduino really is spontaneously rebooting, this could also be due to a fault in the Arduino design (Test PION floating). But as you described the "problem" shows up also with the adapter/pro mini version, this seems not to be the case here.

        Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

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


        11

        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