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. General Discussion
  3. NRF serial to usb for gateway?

NRF serial to usb for gateway?

Scheduled Pinned Locked Moved General Discussion
14 Posts 5 Posters 171 Views 5 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.
  • mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #2

    With enough coding almost anything is possible. But wouldn't it be easier to build a serial gateway?

    Nca78N M 2 Replies Last reply
    1
    • mfalkviddM mfalkvidd

      With enough coding almost anything is possible. But wouldn't it be easier to build a serial gateway?

      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #3

      @mfalkvidd said in NRF serial to usb for gateway?:

      With enough coding almost anything is possible. But wouldn't it be easier to build a serial gateway?

      I agree with that. A nano is 1/3 of the price of this adapter and will do the job with 0 effort.

      1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        With enough coding almost anything is possible. But wouldn't it be easier to build a serial gateway?

        M Offline
        M Offline
        mvader
        wrote on last edited by
        #4

        @mfalkvidd @Nca78 I already have the Rpi 3 as a gateway, I also have a serial gateway (arduino) not in use.
        my goal is/was to combine tasks. i have several intel nuc type PC's that have free resources. so i wanted to eliminate the uni-tasker and move it onto an existing pc.
        at $9 cost is not a factor.
        is the gateway code ARM only? or would it compile on x86?
        if it's going to be a huge under taking, i won't mess with it. i have to many other projects at the moment.
        i just didn't know if it would be an easy conversion.

        mfalkviddM 1 Reply Last reply
        0
        • D Offline
          D Offline
          Dreded
          wrote on last edited by
          #5

          why not just put it on a Nano? if I was starting from scratch I would just buy some RF Nano's https://www.amazon.com/Keywish-Integrate-ATmega328P-Micro-Controller-Compatible/dp/B07RDJYTZC/ref=sr_1_3?keywords=rf%2Bnano&qid=1582004486&sr=8-3&th=1

          no soldering or anything for the gateway you just need to plug it into PC upload the example serial gateway code and then plug it into the NUC or whatever and you are done.. serial to USB gateway completed in 5min

          M 1 Reply Last reply
          0
          • M mvader

            @mfalkvidd @Nca78 I already have the Rpi 3 as a gateway, I also have a serial gateway (arduino) not in use.
            my goal is/was to combine tasks. i have several intel nuc type PC's that have free resources. so i wanted to eliminate the uni-tasker and move it onto an existing pc.
            at $9 cost is not a factor.
            is the gateway code ARM only? or would it compile on x86?
            if it's going to be a huge under taking, i won't mess with it. i have to many other projects at the moment.
            i just didn't know if it would be an easy conversion.

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

            @mvader I don't think the gateway is arm only, but that's not the big difference. The gateway code is written for direct access to the radio over SPI so the entire communication would have to be rewritten to match whatever commands the thing you linked to supports.

            1 Reply Last reply
            0
            • Pascal JEANPIERREP Offline
              Pascal JEANPIERREP Offline
              Pascal JEANPIERRE
              wrote on last edited by
              #7

              Hello
              I looked at the wiring of the map : https://www.amazon.fr/gp/product/B07N1K16PP/ref=ppx_yo_dt_b_asin_image_o02_s00
              It is accessible on : https://github.com/emakefun/emakefun-nano-plus/blob/master/RF-Nano/Schematic/RF-Nano-Schematic.pdf
              Connections 9 and 10 are reversed from the recommended connection : https://www.mysensors.org/build/connect_radio
              How do I change the library to exchange both legs ?
              Thank you very much for your work.

              mfalkviddM 1 Reply Last reply
              0
              • Pascal JEANPIERREP Pascal JEANPIERRE

                Hello
                I looked at the wiring of the map : https://www.amazon.fr/gp/product/B07N1K16PP/ref=ppx_yo_dt_b_asin_image_o02_s00
                It is accessible on : https://github.com/emakefun/emakefun-nano-plus/blob/master/RF-Nano/Schematic/RF-Nano-Schematic.pdf
                Connections 9 and 10 are reversed from the recommended connection : https://www.mysensors.org/build/connect_radio
                How do I change the library to exchange both legs ?
                Thank you very much for your work.

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

                Welcome to the MySensors community @Pascal-JEANPIERRE !

                This should be sufficient to reverse the pins:

                #define MY_RF24_CE_PIN 10
                #define MY_RF24_CS_PIN 9
                

                (add it in your sketch, before including MySensors.h)

                1 Reply Last reply
                0
                • Pascal JEANPIERREP Offline
                  Pascal JEANPIERREP Offline
                  Pascal JEANPIERRE
                  wrote on last edited by
                  #9

                  Thank you for the welcome.
                  I think your work is wonderful.
                  I actually place the two proposed lines and it works perfectly...
                  I am an electronics teacher and I work with 14- and 15-year-old students to set up a connected greenhouse. We're going to use Domoticz on a Rasberry Pi with your work "MySensors".
                  I would place on the site a small tuto for the set-up. I'd link it to you.
                  Thank you again.

                  mfalkviddM D 2 Replies Last reply
                  1
                  • Pascal JEANPIERREP Pascal JEANPIERRE

                    Thank you for the welcome.
                    I think your work is wonderful.
                    I actually place the two proposed lines and it works perfectly...
                    I am an electronics teacher and I work with 14- and 15-year-old students to set up a connected greenhouse. We're going to use Domoticz on a Rasberry Pi with your work "MySensors".
                    I would place on the site a small tuto for the set-up. I'd link it to you.
                    Thank you again.

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

                    Great work @Pascal-JEANPIERRE, thanks for reporting back.

                    1 Reply Last reply
                    0
                    • D Dreded

                      why not just put it on a Nano? if I was starting from scratch I would just buy some RF Nano's https://www.amazon.com/Keywish-Integrate-ATmega328P-Micro-Controller-Compatible/dp/B07RDJYTZC/ref=sr_1_3?keywords=rf%2Bnano&qid=1582004486&sr=8-3&th=1

                      no soldering or anything for the gateway you just need to plug it into PC upload the example serial gateway code and then plug it into the NUC or whatever and you are done.. serial to USB gateway completed in 5min

                      M Offline
                      M Offline
                      mvader
                      wrote on last edited by
                      #11

                      @Dreded thanks for the link. i wish it had a spot for an external antenna but i suppose it would be good enough to get it out of the way.

                      D 1 Reply Last reply
                      0
                      • Pascal JEANPIERREP Pascal JEANPIERRE

                        Thank you for the welcome.
                        I think your work is wonderful.
                        I actually place the two proposed lines and it works perfectly...
                        I am an electronics teacher and I work with 14- and 15-year-old students to set up a connected greenhouse. We're going to use Domoticz on a Rasberry Pi with your work "MySensors".
                        I would place on the site a small tuto for the set-up. I'd link it to you.
                        Thank you again.

                        D Offline
                        D Offline
                        Dreded
                        wrote on last edited by
                        #12

                        @Pascal-JEANPIERRE It is awesome you are trying to teach your students about automation, but PLEASE if you are going to teach it using arduino etc and cant even change a #define statement(that is located at the top of a file written in plain english) take a simple arduino course of some sort or a C programming course.

                        this stuff is super simple to learn and a few evening of effort on your end will go very far to teach properly.

                        Pascal JEANPIERREP 1 Reply Last reply
                        0
                        • M mvader

                          @Dreded thanks for the link. i wish it had a spot for an external antenna but i suppose it would be good enough to get it out of the way.

                          D Offline
                          D Offline
                          Dreded
                          wrote on last edited by Dreded
                          #13
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • D Dreded

                            @Pascal-JEANPIERRE It is awesome you are trying to teach your students about automation, but PLEASE if you are going to teach it using arduino etc and cant even change a #define statement(that is located at the top of a file written in plain english) take a simple arduino course of some sort or a C programming course.

                            this stuff is super simple to learn and a few evening of effort on your end will go very far to teach properly.

                            Pascal JEANPIERREP Offline
                            Pascal JEANPIERREP Offline
                            Pascal JEANPIERRE
                            wrote on last edited by
                            #14

                            @Dreded Thank you for your encouragement, I would not fail to contact you for any explanations as simple as you described it.

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


                            21

                            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