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. Development
  3. New to this and frustrated with the arduino IDE

New to this and frustrated with the arduino IDE

Scheduled Pinned Locked Moved Development
15 Posts 4 Posters 3.8k Views 4 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.
  • ewaldsreefE Offline
    ewaldsreefE Offline
    ewaldsreef
    wrote on last edited by
    #1

    Hoping to get some help please. I am not a programmer but I am trying to learn. I am excited to get started with my sensors but can not get to the point of even loading the code.
    I first had problems with the Arduino IDE not finding the .h files. I spent the morning moving all the .h files into the main folder. Now I am getting more errors compiling the mqtt sketch. My question is, is another compiler program that would make my life easier?

    1 Reply Last reply
    0
    • TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #2

      It's really hard to help without more details. What Os are you running which versio of the IDE etc. Which .h files did you move?

      As far as the Arduino IDE. I never had any problem with it. I just used default install on my Mac and it works perfect, at least for me

      ewaldsreefE 1 Reply Last reply
      0
      • TheoLT TheoL

        It's really hard to help without more details. What Os are you running which versio of the IDE etc. Which .h files did you move?

        As far as the Arduino IDE. I never had any problem with it. I just used default install on my Mac and it works perfect, at least for me

        ewaldsreefE Offline
        ewaldsreefE Offline
        ewaldsreef
        wrote on last edited by
        #3

        @TheoL I apologize for the lack of details. I will get more info when I get home but I can tell the first issue was it did not like where the .h files where located. I did some research and moved them all to the home folder. After doing that it did not like the format of some of the .h files located deeper in the code.
        For example some of the files where
        Include"this foler/thefile.h"
        So I went in and edited with note pad ++
        "Thefile.h"
        Now I have a list of errors a mile long. It seems that the whole file structure is not working with the arduino software.
        Did I download the wrong thing from Github? I have tried on 2 different computers, clean install of the arduino software and a few different versions of the arduino master file.
        I am sure this is something on my end. Thank you so much for your valuable time.

        TheoLT 1 Reply Last reply
        0
        • ewaldsreefE ewaldsreef

          @TheoL I apologize for the lack of details. I will get more info when I get home but I can tell the first issue was it did not like where the .h files where located. I did some research and moved them all to the home folder. After doing that it did not like the format of some of the .h files located deeper in the code.
          For example some of the files where
          Include"this foler/thefile.h"
          So I went in and edited with note pad ++
          "Thefile.h"
          Now I have a list of errors a mile long. It seems that the whole file structure is not working with the arduino software.
          Did I download the wrong thing from Github? I have tried on 2 different computers, clean install of the arduino software and a few different versions of the arduino master file.
          I am sure this is something on my end. Thank you so much for your valuable time.

          TheoLT Offline
          TheoLT Offline
          TheoL
          Contest Winner
          wrote on last edited by
          #4

          @ewaldsreef I'm not sure what you changed in the .h files. But if it were statements like #define etc. Than you either should change them back or reinstall everything. Because the libraries will no longer work.

          I'd suggest the following steps. Just to be sure where it goes wrong.

          1. Uninstall the ide
          2. Install the ide again and tyr if you can upload the blink sketch to an arduino. This shouldn't cause any problems.
          3. then follow the guidelines for installing the mysensors library into the arduino ide.
          4. Hook up an antenna and an LED (with 220 Ohm resistor)
          5. Upload the simple light example to the arduino
          6. Watch the errors.
          1 Reply Last reply
          1
          • ewaldsreefE Offline
            ewaldsreefE Offline
            ewaldsreef
            wrote on last edited by
            #5

            Thank you. I did what you said and now it appears to be working. I am not sure where I went wrong the first time.

            TheoLT 1 Reply Last reply
            2
            • ewaldsreefE ewaldsreef

              Thank you. I did what you said and now it appears to be working. I am not sure where I went wrong the first time.

              TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote on last edited by
              #6

              @ewaldsreef Glad I could help.

              1 Reply Last reply
              0
              • jeylitesJ Offline
                jeylitesJ Offline
                jeylites
                wrote on last edited by
                #7

                Where do you have to install MY Sensor library? I have downloaded Arduino-Master and copied all the files into Arduino Library but its not working.

                mfalkviddM ewaldsreefE 2 Replies Last reply
                0
                • jeylitesJ jeylites

                  Where do you have to install MY Sensor library? I have downloaded Arduino-Master and copied all the files into Arduino Library but its not working.

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

                  @jeylites instructions are available at http://www.mysensors.org/about/arduino#installing-the-sensor-libraries

                  1 Reply Last reply
                  0
                  • jeylitesJ jeylites

                    Where do you have to install MY Sensor library? I have downloaded Arduino-Master and copied all the files into Arduino Library but its not working.

                    ewaldsreefE Offline
                    ewaldsreefE Offline
                    ewaldsreef
                    wrote on last edited by
                    #9

                    @jeylites perhaps I can help by telling you what I belive I did wrong. After I unzipped the Arduino master file I put the whole thing into the library file. I think this caused some confusion. When I went back and did a clean install as was suggested I only moved over the my sensors file folder into the arduino library folder. Worked perfectly after that.

                    jeylitesJ 1 Reply Last reply
                    0
                    • ewaldsreefE ewaldsreef

                      @jeylites perhaps I can help by telling you what I belive I did wrong. After I unzipped the Arduino master file I put the whole thing into the library file. I think this caused some confusion. When I went back and did a clean install as was suggested I only moved over the my sensors file folder into the arduino library folder. Worked perfectly after that.

                      jeylitesJ Offline
                      jeylitesJ Offline
                      jeylites
                      wrote on last edited by
                      #10

                      @ewaldsreef
                      @mfalkvidd

                      Thanks guys, I'm going to give a third try.

                      jeylitesJ 1 Reply Last reply
                      0
                      • jeylitesJ jeylites

                        @ewaldsreef
                        @mfalkvidd

                        Thanks guys, I'm going to give a third try.

                        jeylitesJ Offline
                        jeylitesJ Offline
                        jeylites
                        wrote on last edited by jeylites
                        #11

                        @ewaldsreef
                        @mfalkvidd

                        After checking, I notice there are two library folder. There is one in My Documents and another in Program Files - Arduino - library. Which MY Sensor files need to go into which folder?

                        mfalkviddM ewaldsreefE 2 Replies Last reply
                        0
                        • jeylitesJ jeylites

                          @ewaldsreef
                          @mfalkvidd

                          After checking, I notice there are two library folder. There is one in My Documents and another in Program Files - Arduino - library. Which MY Sensor files need to go into which folder?

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

                          @jeylites from the instructions:
                          *To find the the location where you should put the bundled libraries, start up the Arduino IDE and open Preferences under the "File" menu on Windows or "Arduino" menu on Mac OS X.

                          Note the "Sketchbook location" on your computer drive.

                          Now extract the content of the library zip archive to the sketchbook location on your hard drive.. You can drop everything you find in the zip (including libraries folder) to your sketchbook location.*

                          jeylitesJ 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @jeylites from the instructions:
                            *To find the the location where you should put the bundled libraries, start up the Arduino IDE and open Preferences under the "File" menu on Windows or "Arduino" menu on Mac OS X.

                            Note the "Sketchbook location" on your computer drive.

                            Now extract the content of the library zip archive to the sketchbook location on your hard drive.. You can drop everything you find in the zip (including libraries folder) to your sketchbook location.*

                            jeylitesJ Offline
                            jeylitesJ Offline
                            jeylites
                            wrote on last edited by
                            #13

                            @mfalkvidd

                            Out of curiosity, what version Arduino are you running? I ran version 1.0.6 without any problems. I only have an issue on 1.6.7. It looks like 1.6.7 manages library differently.

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

                              I think I have 1.6.5.

                              These threads might be helpful:
                              http://forum.mysensors.org/topic/2321/compiling-problems/
                              http://forum.mysensors.org/topic/2434/dallas-temperature-sensor-compiling-error/
                              http://forum.mysensors.org/topic/2576/installing-mysensors-and-arduino-ide-on-osx/

                              1 Reply Last reply
                              0
                              • jeylitesJ jeylites

                                @ewaldsreef
                                @mfalkvidd

                                After checking, I notice there are two library folder. There is one in My Documents and another in Program Files - Arduino - library. Which MY Sensor files need to go into which folder?

                                ewaldsreefE Offline
                                ewaldsreefE Offline
                                ewaldsreef
                                wrote on last edited by
                                #15

                                @jeylites I just put mine into My Documents/Arduino/Libraries

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


                                22

                                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