Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Yannoo
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Yannoo

    • Dragino LoRA gateway serial console access

      Hi,

      I have begin to play with the LoRA wireless network and can already handle the communication between a Dragino LoRa gateway and two LoRa nodes (Arduino Uno + LoRa shield)

      I don't have any problems for to handle the communication between Arduinos and the gateway but, if I can really easily read value given by Nodes (using only a cat /dev/ttyUSBx where they are connected on USB on my computer), I can't do the same thing with my Dragino gateway because it is to far from my computer 😞

      I actually display nodes acquisitions values on the Arduino 1.9.0-beta software via the serial console if my linux box is connected to the Dragino gateway via the network port eui-a8404... at 192.168.0.39

      Who can I direcly have the equivalent serial output with a simple ssh access for example ?
      (I handle already easily a ssh connection on the LoRa gateway but this is a shell access, not the serial console that I have on the Arduino software)

      posted in My Project
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      This is certainly a repository problem because "sudo apt-get install arduino" give a bad version of it on my Linux Mint 18.2 Cinnamon 64 bits fresh install ...

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      This is the version 1.8.5 and this work well

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      Resolved, I have the Croquis/Inclure Une BibliothĂšque/GĂ©rer les bibliothĂšques ,now 🙂

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      I test the version given at https://www.arduino.cc/en/main/software ...

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      And reinstall the Arduino IDE using "'sud apt-get install arduino"

      yannoo@ThinkStation ~ $ sudo apt-get install arduino
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      The following additional packages will be installed:
      arduino-core avr-libc avrdude binutils-avr gcc-avr libftdi1 libjna-java
      libjna-jni librxtx-java
      Paquets suggérés :
      arduino-mk avrdude-doc task-c-devel gcc-doc libjna-java-doc
      Paquets recommandés :
      extra-xdg-menus
      Les NOUVEAUX paquets suivants seront installés :
      arduino arduino-core avr-libc avrdude binutils-avr gcc-avr libftdi1
      libjna-java libjna-jni librxtx-java
      0 mis à jour, 10 nouvellement installés, 0 à enlever et 11 non mis à jour.
      Il est nécessaire de prendre 0 o/20,9 Mo dans les archives.
      AprÚs cette opération, 123 Mo d'espace disque supplémentaires seront utilisés.
      Souhaitez-vous continuer ? [O/n] O
      Sélection du paquet libjna-jni précédemment désélectionné.
      (Lecture de la base de données... 369017 fichiers et répertoires déjà installés.)
      Préparation du dépaquetage de .../libjna-jni_4.2.2-1_amd64.deb ...
      Dépaquetage de libjna-jni (4.2.2-1) ...
      Sélection du paquet libjna-java précédemment désélectionné.
      Préparation du dépaquetage de .../libjna-java_4.2.2-1_all.deb ...
      Dépaquetage de libjna-java (4.2.2-1) ...
      Sélection du paquet librxtx-java précédemment désélectionné.
      Préparation du dépaquetage de .../librxtx-java_2.2pre2-13_amd64.deb ...
      Dépaquetage de librxtx-java (2.2pre2-13) ...
      Sélection du paquet binutils-avr précédemment désélectionné.
      Préparation du dépaquetage de .../binutils-avr_2.25+Atmel3.5.0-2_amd64.deb ...
      Dépaquetage de binutils-avr (2.25+Atmel3.5.0-2) ...
      Sélection du paquet gcc-avr précédemment désélectionné.
      Préparation du dépaquetage de .../gcc-avr_1%3a4.9.2+Atmel3.5.0-1_amd64.deb ...
      Dépaquetage de gcc-avr (1:4.9.2+Atmel3.5.0-1) ...
      Sélection du paquet libftdi1:amd64 précédemment désélectionné.
      Préparation du dépaquetage de .../libftdi1_0.20-4build1_amd64.deb ...
      Dépaquetage de libftdi1:amd64 (0.20-4build1) ...
      Sélection du paquet avrdude précédemment désélectionné.
      Préparation du dépaquetage de .../avrdude_6.2-5_amd64.deb ...
      Dépaquetage de avrdude (6.2-5) ...
      Sélection du paquet avr-libc précédemment désélectionné.
      Préparation du dépaquetage de .../avr-libc_1%3a1.8.0+Atmel3.5.0-1_all.deb ...
      Dépaquetage de avr-libc (1:1.8.0+Atmel3.5.0-1) ...
      Sélection du paquet arduino-core précédemment désélectionné.
      Préparation du dépaquetage de .../arduino-core_2%3a1.0.5+dfsg2-4_all.deb ...
      Dépaquetage de arduino-core (2:1.0.5+dfsg2-4) ...
      Sélection du paquet arduino précédemment désélectionné.
      Préparation du dépaquetage de .../arduino_2%3a1.0.5+dfsg2-4_all.deb ...
      Dépaquetage de arduino (2:1.0.5+dfsg2-4) ...
      Traitement des actions différées (« triggers ») pour doc-base (0.10.7) ...
      Processing 2 added doc-base files...
      Registering documents with scrollkeeper...
      Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
      Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu9) ...
      Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-6ubuntu3.1) ...
      Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22+linuxmint1) ...
      Traitement des actions différées (« triggers ») pour mime-support (3.59ubuntu1) ...
      Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.15-0ubuntu1) ...
      Traitement des actions différées (« triggers ») pour shared-mime-info (1.5-2ubuntu0.1) ...
      Paramétrage de libjna-jni (4.2.2-1) ...
      Paramétrage de libjna-java (4.2.2-1) ...
      Paramétrage de librxtx-java (2.2pre2-13) ...
      Paramétrage de binutils-avr (2.25+Atmel3.5.0-2) ...
      Paramétrage de gcc-avr (1:4.9.2+Atmel3.5.0-1) ...
      Paramétrage de libftdi1:amd64 (0.20-4build1) ...
      Paramétrage de avrdude (6.2-5) ...
      Paramétrage de avr-libc (1:1.8.0+Atmel3.5.0-1) ...
      Paramétrage de arduino-core (2:1.0.5+dfsg2-4) ...
      Paramétrage de arduino (2:1.0.5+dfsg2-4) ...
      Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu9) ...

      => exactely the same problem, version 2.1.0.5+dfsg2-4 😞

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      @Yannoo said in MySensors library install on Linux Mint (Arduino 2.1.0):

      2:1.0.5+dfsg2-4

      So this was the 2:1.0.5+dfsg2-4 version

      I just make an "sudo apt-get autoremove" 👍
      yannoo@ThinkStation ~ $ sudo apt-get autoremove
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      Les paquets suivants seront ENLEVÉS :
      arduino-core avr-libc avrdude binutils-avr cabextract gcc-avr
      gstreamer0.10-ffmpeg ibm-java80-jdk lib32ncurses5 lib32tinfo5 lib32z1-dev
      libc6-dev-i386 libftdi1 libhal1-flash libjna-java libjna-jni libmspack0
      librxtx-java libunshield0 unshield
      0 mis à jour, 0 nouvellement installés, 20 à enlever et 11 non mis à jour.
      AprÚs cette opération, 185 Mo d'espace disque seront libérés.
      Souhaitez-vous continuer ? [O/n] O
      (Lecture de la base de données... 375327 fichiers et répertoires déjà installés.)
      Suppression de arduino-core (2:1.0.5+dfsg2-4) ...
      Suppression de avr-libc (1:1.8.0+Atmel3.5.0-1) ...
      Suppression de avrdude (6.2-5) ...
      Suppression de gcc-avr (1:4.9.2+Atmel3.5.0-1) ...
      Suppression de binutils-avr (2.25+Atmel3.5.0-2) ...
      Suppression de cabextract (1.6-1) ...
      Suppression de gstreamer0.10-ffmpeg:amd64 (0.10.13-5ubuntu1~trusty2) ...
      Suppression de ibm-java80-jdk:amd64 (8.0.4.1-0ubuntu1) ...
      Suppression de lib32ncurses5 (6.0+20160213-1ubuntu1) ...
      Suppression de lib32tinfo5 (6.0+20160213-1ubuntu1) ...
      Suppression de lib32z1-dev (1:1.2.8.dfsg-2ubuntu4.1) ...
      Suppression de libc6-dev-i386 (2.23-0ubuntu9) ...
      Suppression de libftdi1:amd64 (0.20-4build1) ...
      Suppression de libhal1-flash (0.3.1) ...
      Suppression de libjna-java (4.2.2-1) ...
      Suppression de libjna-jni (4.2.2-1) ...
      Suppression de libmspack0:amd64 (0.5-1ubuntu0.16.04.1) ...
      Suppression de librxtx-java (2.2pre2-13) ...
      Suppression de unshield (1.0-1) ...
      Suppression de libunshield0:amd64 (1.0-1) ...
      Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
      Traitement des actions différées (« triggers ») pour libc-bin (2.23-0ubuntu9) ...
      Traitement des actions différées (« triggers ») pour doc-base (0.10.7) ...
      Processing 2 removed doc-base files...
      Registering documents with scrollkeeper...

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      i have make a "sudo ap-get uninstall arduino" and it say this :

      yannoo@ThinkStation ~ $ sudo apt-get remove arduino
      [sudo] password for yannoo:
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
      arduino-core avr-libc avrdude binutils-avr cabextract gcc-avr
      gstreamer0.10-ffmpeg ibm-java80-jdk lib32ncurses5 lib32tinfo5 lib32z1-dev
      libc6-dev-i386 libftdi1 libhal1-flash libjna-java libjna-jni libmspack0
      librxtx-java libunshield0 unshield
      Veuillez utiliser « sudo apt autoremove » pour les supprimer.
      Les paquets suivants seront ENLEVÉS :
      arduino
      0 mis à jour, 0 nouvellement installés, 1 à enlever et 11 non mis à jour.
      AprÚs cette opération, 1 727 ko d'espace disque seront libérés.
      Souhaitez-vous continuer ? [O/n]
      (Lecture de la base de données... 375367 fichiers et répertoires déjà installés.)
      Suppression de arduino (2:1.0.5+dfsg2-4) ...
      Traitement des actions différées (« triggers ») pour man-db (2.7.5-1) ...
      Traitement des actions différées (« triggers ») pour shared-mime-info (1.5-2ubuntu0.1) ...
      Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.15-0ubuntu1) ...
      Traitement des actions différées (« triggers ») pour gnome-menus (3.13.3-6ubuntu3.1) ...
      Traitement des actions différées (« triggers ») pour desktop-file-utils (0.22+linuxmint1) ...
      Traitement des actions différées (« triggers ») pour mime-support (3.59ubuntu1) ...

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      sudo apt-get install arduino 🙂

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      I don't have the "Manage Library" menu on my Linux version, I only found tutorials for to manage librairies on Macs and Windows plateforms, but not for Linux 😞

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: MySensors library install on Linux Mint (Arduino 2.1.0)

      I don't find the library manager on this version, only "Add library ..." and the list of alls already installed libraries on the "Importer Bibliothùque ..." submenu of the "Croquis" menu 😞

      posted in General Discussion
      Yannoo
      Yannoo
    • MySensors library install on Linux Mint (Arduino 2.1.0)

      Hi,

      I just make a fresh install of the Arduino environment on a Linux Mint box and discover that I have to rename the MySensor-master.zip archive to MySensors.zip for to can load this library, cf. delete the -master part of the archive name for to can load it.

      Why have I to make this ?
      (the version of the Arduino environment is 2.1.0.5)

      posted in General Discussion
      Yannoo
      Yannoo
    • RE: Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

      Thank, Gohan

      Where can I find one example about the DHT11 or DHT22 for example ?

      @+
      Yannoo

      posted in Development
      Yannoo
      Yannoo
    • RE: Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

      Lot of thanks, Gohan and Mfalkvidd

      This API seem very cool 🙂

      => a test a little this API and think to come back the next week with my first impression about the use of this API
      (this API seem already to handle PIRs, so I have already at last one very simple electronic component for to begin with this API 🙂 )

      @+
      Yannoo

      posted in Development
      Yannoo
      Yannoo
    • RE: Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

      I think to have find the response at http://mysensors.readthedocs.io/en/latest/protocol.html 🙂

      My problem was to can directly communicate with MySensors objets without the need to pass via external controller such as Domotiz , for to use the less possible ressources on Raspberry Pi nodes and to have a maximal liberty about the handling of MySensors objets

      posted in Development
      Yannoo
      Yannoo
    • Lightweight RF433/nRF24L01 interface for Arduino(s) <-> Raspberry Pi(s) communications

      Hi, everybody

      I want to can receive informations such as the temperature, humidity, movement and sound detection, etc ... from multiples Arduinos to a local Raspberry Pi that can analyse/store/make somes locals actions and send the result of his computation/states to a central server.

      This is for to can handle multiples storey in an entire building, with one Arduino into each room and one distinct Raspberry Pi for to handle a portion of each storey and only one "big" server for to handle the entire building

      Each Arduino has to communicate with it local Raspberry Pi using RF433 (or nRF24L01) wireless modules and we have one or more locals Raspberry Pi per storey that communicate their locals information to a "big" central server using the building Internet and/or WiFi network)

      Each Raspberry Pi has to independantly handle a portion of a storey and have to regulary communicate to a central server where we have a global view of the temperature/humidity/movement/... of alls rooms.

      So, each local Rasperry Pi has to make operations/décisions in fonctions of his currents states and thus cannot only to be a gateway, because it has really to act as a local server BUT it has too to transmit some informations to a global server where we can have a global view of alls rooms in the building.

      This seem like a multi-stars network where each Raspberry Pi have to handle a local RF433/nRF24L01 network with multiples Arduinos and where alls Raspberry Pis has to communicate with a central server using the already existant building Internet and/or Wifi network

      I don't have any problem about the handling of sensors on the Arduino platform or the handling of the Internet/WiFi communication between Rapsberry Pis and the central server.

      My problem is "only" a the level of the RF433/nRF24L01 wireless communication between locals Arduinos and the local Raspberry Pi that I want to be as lightweight as possible but where I want to can analyse/handle independandly each message for to can make locals decisions, cf. not always transmit alls informations to the global server, only the aggregation of somes of them, and for to can make a maximum of locally computations/actions

      For example, switch on/off lights where a person enter in a room don't need to make the big circuit local Arduino -> local Pi -> global server -> local Pi -> local Arduino when only the local circuit Arduino <-> local Rapsberry Pi is more than enough BUT the Raspberry Pi has to send to the server the information about the presence (or absence) of one person in the room and the on/off state of each local light and only them for that the server know all the time where lights are on/off and where rooms contain persons or not (for to can down the eating/light of one entire storey or building when any person is present into this storey or building the week-end for example)

      How can I handle this ?

      @+
      Yannoo

      posted in Development
      Yannoo
      Yannoo