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
J

july

@july
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Beginner question about mysensor and usage for raspberry pi and arduino project
    J july

    Ahhhh, thanks @alowhum , what you said makes so much more sense. I also see some people have attempted to stream audio with Domoticz. Ok now I have a better sense of direction on what to research next. Thank you

    General Discussion

  • Beginner question about mysensor and usage for raspberry pi and arduino project
    J july

    I am really new to the world of IoT, and I'm trying my first RPi and Arduino project. Someone suggested the tools offered by MySensor might help me, but it wasn't clear to me how. So some of my questions are going to be extremely novice.

    My objective is to have my Raspberry Pi 3 B+ act as a gateway to receive audio data from several arduinos. The RPi and arduinos are each equipped with an nrf24l01.

    I want to know specifically how MySensor tools fits into my overall project. For example, I successfully followed each of the steps in this guide here https://www.mysensors.org/build/raspberry . Although I see that running my mysgw command produces the same output shown in the guide, it's not clear to me how I determine values like Receiving Address, Receiving Channel, Receiving Data Rate etc... I'd imagine these are values that I would need to write into my Sketch file which would then be uploaded to my Arduino? Specifically, how do I determine the values needed to be written into the brackets in the sketch code below?

    #include <SPI.h>
    #include <RF24.h>
    
    RF24 radio(7,8);
    
    void setup(){
      Serial.begin(115200);
      Serial.println(0);      //start
    
      radio.begin();
      radio.setPALevel(RF24_PA_MIN);
      radio.setDataRate(<data rate must be same as rpi>);
      radio.setChannel(<channel must be same as rpi>);
      radio.openWritingPipe(<pipe must be same as rpi>);
      radio.enableDynamicPayloads();
      radio.powerUp();
    
    }
    
    void loop() {
      const char text[] = "Hello";
    
      radio.write(&text,sizeof(text))
    }
    

    And subsequently, where does my RPi save the data it receives?

    Maybe I've completely misunderstood the purpose of mysensor. So any clarification would be great, thanks!

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular