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. Announcements
  3. πŸ’¬ Using Arduino

πŸ’¬ Using Arduino

Scheduled Pinned Locked Moved Announcements
27 Posts 15 Posters 7.8k Views 15 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.
  • dougD Offline
    dougD Offline
    doug
    wrote on last edited by
    #2

    Hi, just to let you know MySensors libraries don't seem to be found in Arduino IDE build 1.6.12

    mfalkviddM 1 Reply Last reply
    0
    • dougD doug

      Hi, just to let you know MySensors libraries don't seem to be found in Arduino IDE build 1.6.12

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

      @doug could you clarify what you mean?
      Are you unable to install the MySensors library? if so, what did you do and what message did you get?

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

        I think that Doug means that if you go to Sketch -> Include Library -> Manage Libraries... and enter MySens into the search box there is NO MySensor library to be included.
        Just found that out myself. Downloaded the 1.6.12 IDE and installed it on a "clean" mac OS X system.

        1 Reply Last reply
        0
        • Marc2014M Offline
          Marc2014M Offline
          Marc2014
          wrote on last edited by
          #5

          I test it now and have the same Problem. The Arduino IDE shows no MySens or MySensors Library to add. And so i can't use this. Can anybody help?

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

            As a work around I downloaded the zip file from: https://www.mysensors.org/download and added it with Sketch -> Add Library -> Add .ZIP Library. select the downloaded zip file.
            If you are done you can find the MySensors Library in the Sketch -> Add Library drop down list under Contributed Libraries.

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #7

              It seems that mysensors library is missing in arduino library manager..

              I have filed an issue with arduino on github, so hopefully we will get it solved

              1 Reply Last reply
              2
              • mahesh2000M Offline
                mahesh2000M Offline
                mahesh2000
                wrote on last edited by
                #8

                Using Arduino IDE 1.6.2, no problem compiling MySensors/AltSoftwareSerial/Test/test.ino. Had to make two changes: add some #defines and include an extra library. I'm using a Nordic nRF24L01+ on a Chinese board. I had to add:

                #define MY_RADIO_NRF24
                #define MY_RF24_PA_LEVEL RF24_PA_LOW
                #define MY_GATEWAY_SERIAL

                before

                #include <MySensors.h>

                Also, had to add the AltSofwareSerial library, otherwise I received the error "AltSoftSerial.h: No such file or directory".

                If I don't follow up with a new comment it means that this config worked. I'm on Windows 10, using a fakeduino Uno, hoping to connect to an nRF24LE1 over 250Kbps.

                and MySensors libraries. A

                1 Reply Last reply
                0
                • mahesh2000M Offline
                  mahesh2000M Offline
                  mahesh2000
                  wrote on last edited by
                  #9

                  couldn't get nRF24L01+ to work. Making do with two nRF24LE1s communicating with each other.

                  1 Reply Last reply
                  0
                  • mppM Offline
                    mppM Offline
                    mpp
                    wrote on last edited by
                    #10

                    Would be nice to have a link to the example sketches (the ones using external libraries) here: https://github.com/mysensors/MySensorsArduinoExamples

                    MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

                    mfalkviddM 1 Reply Last reply
                    0
                    • mppM mpp

                      Would be nice to have a link to the example sketches (the ones using external libraries) here: https://github.com/mysensors/MySensorsArduinoExamples

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

                      Thanks for the suggestion @mpp. I have added a section for the external examples.

                      1 Reply Last reply
                      0
                      • Matt BriggsM Offline
                        Matt BriggsM Offline
                        Matt Briggs
                        wrote on last edited by
                        #12

                        So this is going to cause an argument in the sketch?:
                        void loop()
                        {
                        // This will be called contentiously after setup.
                        }

                        Maybe should be "continuously"

                        1 Reply Last reply
                        1
                        • N Offline
                          N Offline
                          Newzwaver
                          wrote on last edited by
                          #13

                          Why do i get this error? Any idea how to fix it?
                          Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Uno"

                          In file included from C:\Users\Audrey\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.cpp:23:0,
                          from C:\Users\Audrey\Documents\Arduino\libraries\MySensors/MySensors.h:290,
                          from GatewayW5100.ino:116:
                          C:\Users\Audrey\Documents\Arduino\libraries\MySensors/drivers/RF24/RF24.h:37:17: fatal error: SPI.h: No such file or directory
                          #include <SPI.h>
                          ^
                          compilation terminated.
                          Error compiling.

                          This report would have more information with
                          "Show verbose output during compilation"
                          enabled in File > Preferences.

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            Newzwaver
                            wrote on last edited by
                            #14

                            Messing around with it and got this message, still not idea how to fix it

                            Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Uno"

                            Using library MySensors in folder: C:\Users\Audrey\Documents\Arduino\libraries\MySensors

                            Using library Ethernet in folder: C:\Program Files (x86)\Arduino\libraries\Ethernet

                            C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\Audrey\Documents\Arduino\libraries\MySensors -IC:\Program Files (x86)\Arduino\libraries\Ethernet\src C:\Users\Audrey\AppData\Local\Temp\build1062139905146989693.tmp\GatewayW5100.cpp -o C:\Users\Audrey\AppData\Local\Temp\build1062139905146989693.tmp\GatewayW5100.cpp.o

                            In file included from GatewayW5100.ino:2:0:
                            C:\Users\Audrey\Documents\Arduino\libraries\MySensors/MySensors.h:328:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                            #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                            ^
                            Error compiling.

                            mfalkviddM 1 Reply Last reply
                            0
                            • N Newzwaver

                              Messing around with it and got this message, still not idea how to fix it

                              Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Uno"

                              Using library MySensors in folder: C:\Users\Audrey\Documents\Arduino\libraries\MySensors

                              Using library Ethernet in folder: C:\Program Files (x86)\Arduino\libraries\Ethernet

                              C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\Audrey\Documents\Arduino\libraries\MySensors -IC:\Program Files (x86)\Arduino\libraries\Ethernet\src C:\Users\Audrey\AppData\Local\Temp\build1062139905146989693.tmp\GatewayW5100.cpp -o C:\Users\Audrey\AppData\Local\Temp\build1062139905146989693.tmp\GatewayW5100.cpp.o

                              In file included from GatewayW5100.ino:2:0:
                              C:\Users\Audrey\Documents\Arduino\libraries\MySensors/MySensors.h:328:2: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                              #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
                              ^
                              Error compiling.

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

                              @Newzwaver could you post the sketch?

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                Newzwaver
                                wrote on last edited by
                                #16

                                Thank you for your help, the thing is working. It has something to do with the way I have the Arduino software setup, for some reason I can't just copy a sketch and paste it in for a new sketch.

                                1 Reply Last reply
                                0
                                • B Offline
                                  B Offline
                                  benji_lb
                                  wrote on last edited by
                                  #17

                                  The MySensors library is missing from the arduino library manager again. Should I just log a new issue and reference the previous one?

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • B benji_lb

                                    The MySensors library is missing from the arduino library manager again. Should I just log a new issue and reference the previous one?

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

                                    @benji_lb yes please do. Could you post the link to the issue here when it has been created so we can follow it?

                                    B 1 Reply Last reply
                                    0
                                    • mfalkviddM mfalkvidd

                                      @benji_lb yes please do. Could you post the link to the issue here when it has been created so we can follow it?

                                      B Offline
                                      B Offline
                                      benji_lb
                                      wrote on last edited by
                                      #19

                                      @mfalkvidd https://github.com/arduino/Arduino/issues/6690

                                      Done.

                                      B 1 Reply Last reply
                                      1
                                      • B benji_lb

                                        @mfalkvidd https://github.com/arduino/Arduino/issues/6690

                                        Done.

                                        B Offline
                                        B Offline
                                        benji_lb
                                        wrote on last edited by
                                        #20

                                        @benji_lb
                                        Fixed. I noticed I was running an older version of the software. Uninstalled completely and reinstalled, worked fine.

                                        Where would be the best place for an Arduino newbie to post to get some assistance? I'm looking at Gateways and i'm unsure which direction to take, and where would be best to post. Would this be OK? https://forum.mysensors.org/category/13/development

                                        mfalkviddM 1 Reply Last reply
                                        0
                                        • B benji_lb

                                          @benji_lb
                                          Fixed. I noticed I was running an older version of the software. Uninstalled completely and reinstalled, worked fine.

                                          Where would be the best place for an Arduino newbie to post to get some assistance? I'm looking at Gateways and i'm unsure which direction to take, and where would be best to post. Would this be OK? https://forum.mysensors.org/category/13/development

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

                                          @benji_lb great, thanks for reporting back.

                                          The development category will be good. Big welcome to the MySensors community :)

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


                                          14

                                          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