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. Problem with mysensor library on Arduino IDE Running on Raspi

Problem with mysensor library on Arduino IDE Running on Raspi

Scheduled Pinned Locked Moved Troubleshooting
raspberry pilibraryarduino nano
11 Posts 4 Posters 4.0k Views 3 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.
  • hekH Offline
    hekH Offline
    hek
    Admin
    wrote on last edited by
    #2

    How far did you come on the raspberry guide?

    https://www.mysensors.org/build/raspberry

    bobbybobbybobbyB 1 Reply Last reply
    0
    • hekH hek

      How far did you come on the raspberry guide?

      https://www.mysensors.org/build/raspberry

      bobbybobbybobbyB Offline
      bobbybobbybobbyB Offline
      bobbybobbybobby
      wrote on last edited by
      #3

      @hek

      Hi Hek! I don't want to make an PiGateway only a arduino ide programmer with MySensors library.

      So that I can program sensors with my RasPi!

      I followed the how to on the following URL:
      http://razzpisampler.oreilly.com/ch10.html

      The only part where I got an error was with the following lines:
      cd alamode-setup
      sudo ./setup

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

        @bobbybobbybobby

        That guide will install arduino 1.0.1 on your RPI, which isn't compatible with the latest mysensors core library.

        head over to arduino.cc under their download section and grab the linux arm version.

        after you have downloaded it to your raspberry pi, you need to unpack the archive with:

        tar xf <filename-of-archive>

        This will create a new directory with the name of the file from before, enter this with cd <name-of-directory>, and issue the command ./arduino

        (This was a super extreme quick guide to get arduino up on an arm platform..)

        bobbybobbybobbyB 1 Reply Last reply
        1
        • tbowmoT tbowmo

          @bobbybobbybobby

          That guide will install arduino 1.0.1 on your RPI, which isn't compatible with the latest mysensors core library.

          head over to arduino.cc under their download section and grab the linux arm version.

          after you have downloaded it to your raspberry pi, you need to unpack the archive with:

          tar xf <filename-of-archive>

          This will create a new directory with the name of the file from before, enter this with cd <name-of-directory>, and issue the command ./arduino

          (This was a super extreme quick guide to get arduino up on an arm platform..)

          bobbybobbybobbyB Offline
          bobbybobbybobbyB Offline
          bobbybobbybobby
          wrote on last edited by
          #5

          @tbowmo

          Thanks for your reply

          i needed a little more info on how to instal ide on linux/arm on a RPI

          so i found the how to on the folowing url:
          http://duinorasp.hansotten.com/arduino-1-6-x-for-raspberry-pi-jessie/

          but i now get an error..

          root@raspberrypi:/home/pi# dpkg -i arduino-core_1.6.5_all.deb arduino_1.6.5_all.deb
          dpkg: fout bij verwerken van archief arduino-core_1.6.5_all.deb (--install):
          krijg geen toegang tot archief: Bestand of map bestaat niet
          dpkg: fout bij verwerken van archief arduino_1.6.5_all.deb (--install):
          krijg geen toegang tot archief: Bestand of map bestaat niet
          Fouten gevonden tijdens verwerken van:
          arduino-core_1.6.5_all.deb
          arduino_1.6.5_all.deb
          root@raspberrypi:/home/pi#

          what do i do wrong?

          1 Reply Last reply
          0
          • pansenP Offline
            pansenP Offline
            pansen
            wrote on last edited by pansen
            #6

            Hi,

            please translate anything into English. not everyone understands Dutch.

            Why don't you try what @tbowmo suggested? His steps are quite clear... Besides, you are trying to install a version which is 2 major versions behind the newest one.

            Orange Pi Plus 2e connected to nrf24 PA via SPI running git-development MySensors gateway, OpenHAB2, mosquitto and MySQL persistence.

            bobbybobbybobbyB 1 Reply Last reply
            0
            • pansenP pansen

              Hi,

              please translate anything into English. not everyone understands Dutch.

              Why don't you try what @tbowmo suggested? His steps are quite clear... Besides, you are trying to install a version which is 2 major versions behind the newest one.

              bobbybobbybobbyB Offline
              bobbybobbybobbyB Offline
              bobbybobbybobby
              wrote on last edited by
              #7

              @pansen
              And
              @tbowmo

              Thanks for helping me! I really appreciate it! Sorry for not being clear in what I wrote.

              @tbowmo i don't know mutch about command line so that's why I was looking further with the info about arm version and all.

              bobbybobbybobbyB 1 Reply Last reply
              0
              • bobbybobbybobbyB bobbybobbybobby

                @pansen
                And
                @tbowmo

                Thanks for helping me! I really appreciate it! Sorry for not being clear in what I wrote.

                @tbowmo i don't know mutch about command line so that's why I was looking further with the info about arm version and all.

                bobbybobbybobbyB Offline
                bobbybobbybobbyB Offline
                bobbybobbybobby
                wrote on last edited by
                #8

                @bobbybobbybobby said in Problem with mysensor library on Arduino IDE Running on Raspi:

                @pansen
                And
                @tbowmo

                i think i got a little bit further.. but get an error..
                pi@raspberrypi:~ $ cd arduino-1.8.1
                pi@raspberrypi:~/arduino-1.8.1 $ ./arduino
                /home/pi/arduino-1.8.1/java/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

                this time without dutch ;-)

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

                  @bobbybobbybobby

                  have you tried to search google for that missing file?

                  I get a couple of hist on raspberrypi.org's forum

                  https://www.raspberrypi.org/forums/viewtopic.php?f=27&t=12403
                  https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=11671

                  They seem to contain some info..

                  ps. I had @Yveaux help me translate your dutch error messages :) But was trying to reproduce the installation steps you found on one of my test rpi's before posting any updates in this thread..

                  1 Reply Last reply
                  0
                  • bobbybobbybobbyB bobbybobbybobby

                    @bobbybobbybobby said in Problem with mysensor library on Arduino IDE Running on Raspi:

                    @pansen
                    And
                    @tbowmo

                    i think i got a little bit further.. but get an error..
                    pi@raspberrypi:~ $ cd arduino-1.8.1
                    pi@raspberrypi:~/arduino-1.8.1 $ ./arduino
                    /home/pi/arduino-1.8.1/java/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

                    this time without dutch ;-)

                    bobbybobbybobbyB Offline
                    bobbybobbybobbyB Offline
                    bobbybobbybobby
                    wrote on last edited by
                    #10

                    @bobbybobbybobby

                    @pansen and @tbowmo fimaly i got arduino ide running on my rpi!!! i was trying this for about a weeks now.

                    thanks for the support.

                    bobbybobbybobbyB 1 Reply Last reply
                    3
                    • bobbybobbybobbyB bobbybobbybobby

                      @bobbybobbybobby

                      @pansen and @tbowmo fimaly i got arduino ide running on my rpi!!! i was trying this for about a weeks now.

                      thanks for the support.

                      bobbybobbybobbyB Offline
                      bobbybobbybobbyB Offline
                      bobbybobbybobby
                      wrote on last edited by
                      #11
                      This post is deleted!
                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      9

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