Skip to content
  • 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. General Discussion
  3. Humidity and Temp examples. Where are they?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Humidity and Temp examples. Where are they?

Scheduled Pinned Locked Moved General Discussion
11 Posts 6 Posters 3.1k Views 6 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.
  • edsteveE edsteve

    Hi,

    in the Arduino IDE i am missing the Dallas Temperature examples and the humidity examples. I think everybody using it. Why is it not there?
    So confusing with all different libraries and versions for beginners.... Would be good if at least the examples are complete with the most used sketches.

    Or am i missing something?
    Cheeers
    ED

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

    @edsteve some of the examples require external libraries. The Arduino IDE can't handle one library (MySensors in our case) needing something from another library (the Dht library for example). So if the temperature example was included in MySensors, it would not work unless the user manually installed the Dht library. In some cases, such as with the Dht library, some versions are not compatible with the MySensors code. So in addition to knowing to install the Dht library manually, the user would also need to know the correct version of the library and how to install that exact version.

    The example sketch for the temperature sensor is available on the same page as the wiring guide for that sensor, https://www.mysensors.org/build/temp

    On that page are also instructions on how to get the correct version of the Dht library.

    1 Reply Last reply
    2
    • edsteveE edsteve

      Hi,

      in the Arduino IDE i am missing the Dallas Temperature examples and the humidity examples. I think everybody using it. Why is it not there?
      So confusing with all different libraries and versions for beginners.... Would be good if at least the examples are complete with the most used sketches.

      Or am i missing something?
      Cheeers
      ED

      Boots33B Offline
      Boots33B Offline
      Boots33
      Hero Member
      wrote on last edited by Boots33
      #3

      @edsteve most of the examples that need other libraries are no longer included when you install Mysensors.
      If you have a look Here in the examples folder you will find what you need.

      Edit: oops you beat me to it @mfalkvidd :)

      1 Reply Last reply
      1
      • edsteveE Offline
        edsteveE Offline
        edsteve
        wrote on last edited by
        #4

        Okay. So that means all the MySensor examples in the Arduino IDE only use Mysensors.h and no external library.

        Thx for the info. That explains it.

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

          Always look at the includes in the beginning of the sketch, if you don't have that file in the library folder, you need to download the appropriate library and library manager will help you find it most of the time

          1 Reply Last reply
          0
          • L Offline
            L Offline
            ludoarchi
            wrote on last edited by
            #6

            where do we have to copy/paste the folder MysensorArduinoExemplesMaster ?
            thinks

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

              Just install mysensors library from library manager and the examples will be also showing in the arduino ide

              mfalkviddM 1 Reply Last reply
              0
              • gohanG gohan

                Just install mysensors library from library manager and the examples will be also showing in the arduino ide

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

                @gohan not for the MySensorsArduinoExamples.

                But I am not sure where to paste it.

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

                  my best guess would be in Arduino\libraries\MySensors\examples if you want to see them in the Arduino Ide as examples under the MySensors section

                  1 Reply Last reply
                  0
                  • mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by
                    #10

                    I think so too. To be clear, this is my guess:
                    MySensorsArduinoExamples/libraries/* goes into Arduino/libraries/
                    MySensorsArduinoExamples/examples/* goes into Arduino/libraries/MySensors/examples/

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      kimot
                      wrote on last edited by
                      #11

                      Again:
                      Look at "MockMySensors" sketch in MySensors example library.
                      All type of sensors has got presentation and sending or receiving function examples for them there.

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


                      16

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 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
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular