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. Help with the Serial Gateway sketch

Help with the Serial Gateway sketch

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 2.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    First time on this site. I downloaded the library ver 1.5. I am trying to run it on a Nano using Arduino IDE 1.6.5. When I try to compile the SerialGateway sketch, I get the following error message:
    <
    Arduino: 1.6.5 (Windows 7), Board: "Arduino Nano, ATmega328"

    In file included from C:\Program Files (x86)\Arduino\libraries\MySensors/MyTransportNRF24.h:26:0,
    from SerialGateway.ino:44:
    C:\Program Files (x86)\Arduino\libraries\MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
    #include <DigitalIO.h>
    ^
    compilation terminated.
    Error compiling.
    />
    The wiring is good as I can connect to another small network I created. If I add the DigitalIO.h library the sketch compiles ok. When I open the Serial Monitor, I get the message - 0;0;3;0;9;radio init fail

    I watched the Demo video on Building Serial Gateway, double checked the wiring and verified the board is working as mention above and the video never really said what was supposed to happen when the code compiled. I have tried the same code on an Uno r3 and get the same results.

    Any hints as to what I should be seeing and if this is incorrect what do I need to check to make it work. If it is correct, what is the next step.

    Thanks for any information

    John

    SparkmanS 1 Reply Last reply
    0
    • ? A Former User

      First time on this site. I downloaded the library ver 1.5. I am trying to run it on a Nano using Arduino IDE 1.6.5. When I try to compile the SerialGateway sketch, I get the following error message:
      <
      Arduino: 1.6.5 (Windows 7), Board: "Arduino Nano, ATmega328"

      In file included from C:\Program Files (x86)\Arduino\libraries\MySensors/MyTransportNRF24.h:26:0,
      from SerialGateway.ino:44:
      C:\Program Files (x86)\Arduino\libraries\MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
      #include <DigitalIO.h>
      ^
      compilation terminated.
      Error compiling.
      />
      The wiring is good as I can connect to another small network I created. If I add the DigitalIO.h library the sketch compiles ok. When I open the Serial Monitor, I get the message - 0;0;3;0;9;radio init fail

      I watched the Demo video on Building Serial Gateway, double checked the wiring and verified the board is working as mention above and the video never really said what was supposed to happen when the code compiled. I have tried the same code on an Uno r3 and get the same results.

      Any hints as to what I should be seeing and if this is incorrect what do I need to check to make it work. If it is correct, what is the next step.

      Thanks for any information

      John

      SparkmanS Offline
      SparkmanS Offline
      Sparkman
      Hero Member
      wrote on last edited by Sparkman
      #2

      @johntech Hi John, I would reinstall the 1.5 libraries as something must have gotten missed. The digitalio.h library is included by default so if you had to manually add it, other libraries are likely missing as well. Once the libraries are reinstalled and you've restarted the IDE, and you still get that message then it would indicate a power or wiring issue. If it works you would get a message indicating the gateway successfully started.

      Cheers
      Al

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #3

        Hi Al
        I want back a 3rd time and cleaned all the MySensor library entry's out and reinstalled everything overwriting and now it works!!

        SparkmanS 1 Reply Last reply
        0
        • ? A Former User

          Hi Al
          I want back a 3rd time and cleaned all the MySensor library entry's out and reinstalled everything overwriting and now it works!!

          SparkmanS Offline
          SparkmanS Offline
          Sparkman
          Hero Member
          wrote on last edited by
          #4

          @johntech Glad to hear.

          Cheers
          Al

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


          21

          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