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. Connection ESP32 and NRF24

Connection ESP32 and NRF24

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 849 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.
  • T Offline
    T Offline
    tonbor
    wrote on last edited by
    #1

    Have bought a ESP32 Dev with 38 pins. Try to connect my NRF24, got a problem with CSN and CE, there is no standard pin. GPIO 5 for CSN is ok CE on GPIO17 is blocking u2TXD I need. Try with #define MY_RF24_CE_PIN 12 to get CE to GPIO 12 no luck. Somebody did the job before, and did succeed, how?

    1 Reply Last reply
    0
    • electrikE Offline
      electrikE Offline
      electrik
      wrote on last edited by
      #2

      This should work:
      https://github.com/mysensors/MySensors/blob/d88506fbc62dac72d6b8b08c1fa3e179143c4542/hal/architecture/ESP32/MyHwESP32.h#L26

      T 1 Reply Last reply
      0
      • electrikE electrik

        This should work:
        https://github.com/mysensors/MySensors/blob/d88506fbc62dac72d6b8b08c1fa3e179143c4542/hal/architecture/ESP32/MyHwESP32.h#L26

        T Offline
        T Offline
        tonbor
        wrote on last edited by tonbor
        #3

        @electrik no it does not, CE to 17 is just my problem, with the ESP32 wroom-32u pin 17 is the serial2 txpin I need for Nextion output. And #define MY_RF24_CE_PIN 12 does not Work.

        1 Reply Last reply
        0
        • electrikE Offline
          electrikE Offline
          electrik
          wrote on last edited by
          #4

          And you are using the gpio numbers I guess? Can you post your sketch?

          T 1 Reply Last reply
          0
          • electrikE electrik

            And you are using the gpio numbers I guess? Can you post your sketch?

            T Offline
            T Offline
            tonbor
            wrote on last edited by
            #5

            @electrik, yes I use gpio numbers. Sketch is very very long, I am porting it from esp8266 to esp32 wroom. Fixed different timers, from os_timer_t to hw_timer_t, less relevant, now the nrf24 switch. CE attached to gpio 17 the nrf24 Works fine, want to move to gpio 12, with the #define i mentioned, CE just stays at gpio 17

            mfalkviddM 1 Reply Last reply
            0
            • T tonbor

              @electrik, yes I use gpio numbers. Sketch is very very long, I am porting it from esp8266 to esp32 wroom. Fixed different timers, from os_timer_t to hw_timer_t, less relevant, now the nrf24 switch. CE attached to gpio 17 the nrf24 Works fine, want to move to gpio 12, with the #define i mentioned, CE just stays at gpio 17

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

              Is the define placed before including MySensors.h?

              T 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                Is the define placed before including MySensors.h?

                T Offline
                T Offline
                tonbor
                wrote on last edited by
                #7

                @mfalkvidd That did it, thanks

                1 Reply Last reply
                1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                17

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                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