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. Sensebender Gateway GatewayW5100 Sketch Compile Issue - No sam.h file

Sensebender Gateway GatewayW5100 Sketch Compile Issue - No sam.h file

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.2k 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.
  • M Offline
    M Offline
    moonlight0551
    wrote on last edited by
    #1

    Hi, just fired up my newly purchased Sensebender GW and connected to my PC running Windows 10. Shows up as a USB Serial Device.

    Installed in Arduino IDE 1.6.7 the following
    Arduino SAMD Boards 32-bits ARM Cortex-M0+ vers 1.6.14
    MySensors SAMD Boards vers 1.0.5

    When I try to compile the stock standard GatewayW5100 sketch I get

    C:\Users\David\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.14\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory.

    I have noticed that in the Sensebender GW webpage I read that
    "be aware that Mysensors board files 1.0.4, is only compatible up to Arduino SAMD 1.6.11." I have tried downgrading to 1.04 and 1.6.11 but this did not help.

    Can someone point me in the right direction please?

    TIA Dave

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      Have you tried a newer Ide version? And look in board manager if new definitions are there

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moonlight0551
        wrote on last edited by
        #3

        Thanks gohan, Reloaded Arduino IDE 1.8.2 and it now compiles without any problems and have it reporting temp and humidity to Domoticz. The reason I downgraded the Arduino IDE version was I had an Arduino Uno setup as a gateway but it would constantly disconnect and the solution I found on the forum was to use an earlier IDE version.

        Cheers.

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          Other times it is just enough to downgrade avr boards leaving IDE to newest version.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          66

          Online

          11.9k

          Users

          11.2k

          Topics

          113.4k

          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