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. PI 3 and Arduino uno: no communcation

PI 3 and Arduino uno: no communcation

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 1.3k Views 2 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.
  • Stef CoeneS Offline
    Stef CoeneS Offline
    Stef Coene
    wrote on last edited by
    #1

    Hi,

    I attached a nrf24l01 with 5 -> 3,3 V convertor to a PI3 and a Arduino uno.
    Running mysgw on the PI shows no error.
    The Arduino uno is also starting fine, but it cant' find the PI.

    I measured the 3.3V voltage and that's find. I don't see any drops.
    I soldered a capacitor on the VCC of both nrf24l01.
    Placing the PI and the Arduino closer togeher is also not helping.

    What else can I try?

    PI logs:
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.1.1
    mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: TSM:INIT:TSP OK
    mysgw: TSM:INIT:GW MODE
    mysgw: TSM:READY:ID=0,PAR=0,DIS=0
    mysgw: MCO:REG:NOT NEEDED
    mysgw: Listening for connections on 0.0.0.0:5003
    mysgw: MCO:BGN:STP
    mysgw: MCO:BGN:INIT OK,TSP=1

    Arduino log:
    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    3 TSM:INIT
    4 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSM:FPAR
    15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2022 !TSM:FPAR:NO REPLY
    2024 TSM:FPAR
    2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4034 !TSM:FPAR:NO REPLY
    4036 TSM:FPAR
    4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6046 !TSM:FPAR:NO REPLY
    6048 TSM:FPAR
    6050 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      First you need to define a node ID on Arduino. Second, did you put a capacitor near the radio module?

      1 Reply Last reply
      0
      • Stef CoeneS Offline
        Stef CoeneS Offline
        Stef Coene
        wrote on last edited by
        #3

        Capacitor is soldered on both modules.

        And I thought the Arduino is broadcasting to the GW to request a node ID?

        Stef

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          but it needs a controller to assign the ID, gateway is pretty much dumb

          1 Reply Last reply
          0
          • Stef CoeneS Offline
            Stef CoeneS Offline
            Stef Coene
            wrote on last edited by
            #5

            I have Openhab running as controller.

            But still, shouldn't I see any communication between the PI and Arduino?

            Stef

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              you should, anyway just add the node id and try with mysensors library from development branch.

              You may also try to make a USB gateway with another arduino and see if you see any change. If you have more radio modules try them too. Sometimes it is just a faulty radio module and you loose all that time for nothing :D

              1 Reply Last reply
              0
              • Stef CoeneS Offline
                Stef CoeneS Offline
                Stef Coene
                wrote on last edited by
                #7

                I finally had some time to do some further testing.
                Switching to the development branch of MySensors solved my problem.
                I have the feeling that the link is not really stable, but at least I can see data coming in.

                Stef

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


                13

                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