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. Horrible Gateway reboot

Horrible Gateway reboot

Scheduled Pinned Locked Moved Development
4 Posts 4 Posters 737 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.
  • P Offline
    P Offline
    Proyectos Integrasoft
    wrote on last edited by
    #1

    Hello everyone!
    I am currently experiencing a very strange problem. I will put them in context.
    I have developed a device to sense the pulses of an energy meter. I use an Arduino ProMini from 5v to 16Mhz and I communicate with a serial Gateway using a pair of radios NRF24L01. Additionally, I designed a board to power my Arduino through the residential AC voltage network.
    My problem is the following:
    When I connect the device to the FTDI and later to the PC, communication with the Gateway works perfectly. But as soon as I connect the device to the power board for the home electrical network, the device does NOT communicate with the gateway because it causes it to restart. I do not understand why the device, completely isolated to the PC, manages to restart my gateway. When looking at the gateway log, it simply shows that it begins to restart continuously. Can anyone help me? I have checked the Arduino input voltage and it is 5.1V, enough to power it and the radio. Any idea what the problem maybe? Thank you very much in advance for your help. : D

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

      Just in case the Arduino you use for the GW is also equiped with an FTDI USB-serial chip:
      Check wheter the test pin is correctly set to GND. The TEST-Pin is # 26 on the FTDI-IC and can be soldered together with neighbouring AGND (PIN 25).
      Some background info: your controller resets the GW when connection to serial. If your board is suffering from this issue, TESTPIN bay be floating, and this finally leads to an endless reboot.

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

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

        Hi,
        I assume your arduino pro mini doesn't have ftdi onboard as you're connecting one and it works with your pc (and mini in theory doesn't have ftdi).
        Can you give us more infos please ?

        • arduino ide version
        • arduino board version
        • which board do you use in arduino ide
        • which mysensors version
        • sketch
        • logs if you have some, it may be hard if it autoreset :)
        • what is your external powering board, hw etc. (photos, sch ??)
        • which bootloader, never changed it?
        • how do you measure your 5v input? multimeter only ? (in some case, you may not see micro drop voltage with multimeter only)
        • have you tried changing power supply wire. if you use dupont cable, sometimes there are bad ones for example.

        I may miss a few points. But these are needed, else we can't help you just by speculating.

        1 Reply Last reply
        2
        • P Proyectos Integrasoft

          Hello everyone!
          I am currently experiencing a very strange problem. I will put them in context.
          I have developed a device to sense the pulses of an energy meter. I use an Arduino ProMini from 5v to 16Mhz and I communicate with a serial Gateway using a pair of radios NRF24L01. Additionally, I designed a board to power my Arduino through the residential AC voltage network.
          My problem is the following:
          When I connect the device to the FTDI and later to the PC, communication with the Gateway works perfectly. But as soon as I connect the device to the power board for the home electrical network, the device does NOT communicate with the gateway because it causes it to restart. I do not understand why the device, completely isolated to the PC, manages to restart my gateway. When looking at the gateway log, it simply shows that it begins to restart continuously. Can anyone help me? I have checked the Arduino input voltage and it is 5.1V, enough to power it and the radio. Any idea what the problem maybe? Thank you very much in advance for your help. : D

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          @proyectos-integrasoft as said above i think we need more information, but just out of my head it feels like when the radio is engaged with a incoming message it will begin to draw some power. This sounds like the power source isnt good enough. Can you try to power it from a USB adapter for example and try?

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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


          20

          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