πŸ’¬ Using Arduino


  • Admin

    This thread contains comments for the article "Using Arduino" posted on MySensors.org.



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


  • Mod

    @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?



  • 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.



  • 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?



  • 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.


  • Admin

    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



  • 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



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



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


  • Mod

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


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.