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. Change RF24 transport channel

Change RF24 transport channel

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 2.3k 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.
  • S Offline
    S Offline
    Serge Jey
    wrote on last edited by
    #1

    Hi guys!

    I've got an idea to use mysensors devices for education in the class but I'm thinking how to run multiple networks in the same area. I'm thinking about using different RF channels for different set of "sensors+gateway" packs. So my question -- is it possible to switch the channel in runtime? Basically, I'm thinking about starting sensors on some "public" channel, switch given gateway to the same "public" channel to send its "private" channel number so all nodes running on "public" channel will receive it, switch to that channel and store it to EEPROM for the next start. After that gateway will switch back to its "private" channel to talk to new sensors.

    Or maybe you could suggest some other way for given task..

    Thanks!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Serge Jey
      wrote on last edited by
      #2

      I suppose it is not possible to do... Maybe any alternative ideas? Is there any way I can have, for example, two networks running with no need to re-compile and re-upload their code?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freeck
        wrote on last edited by freeck
        #3

        It should be possible. Why not use the SetChannel() function of the RF24 library to set a different channel for each network? And use few jumpers connected to free inputs of the cpu for channelselection, and/or Sensor-ID selection. So no need for recompilation....or automatic configuration....which method is also possible, but needs more code changes..

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


        8

        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