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. Help needed

Help needed

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 841 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.
  • carmine.dauriaC Offline
    carmine.dauriaC Offline
    carmine.dauria
    wrote on last edited by carmine.dauria
    #1

    Hi guys , I'm really newby for my sensors community. I'm trying to do a little network with one distance sensor and a serial gateway,follow my configuration:
    Distance node: Arduino Pro Mini Clone + NRF24L01+(There's write on the chip) + HC-SR04.
    Serial gateway: Arduino Uno + NRF24L01+.

    So with a simple sketch implemented with only RF24 library I managed to establish a communication between the node and gateway.
    But using the mysensors library v1.5 I read "radio init fail"
    Following this thread
    http://forum.mysensors.org/topic/1728/uno-ethernet-shield-radio-init-fail-solved/22
    I seems on the serial monitor that the gateway is OK (Gateway StartupComplete) also the distance node but I can't read anything on the gateway.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #2

      Are you getting the same error on both gateway and sensor node?

      Edit. ok.. didn't read the last sentence...

      You should probably start checking the wiring on the radio.

      1 Reply Last reply
      0
      • carmine.dauriaC Offline
        carmine.dauriaC Offline
        carmine.dauria
        wrote on last edited by
        #3

        Ok.
        I try to explain all steps done.

        On the serial Gateway:
        Arduino UNO, NRF24L01+, 3,3 V supplied by Arduino UNO board

        1. Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h
          2)Uncomment #define SOFTSPI in Myconfig.h

        Result:

        0;0;3;0;9;gateway started, id=0, parent=0, distance=0
        0;0;3;0;14;Gateway startup complete.
        

        On the Distance Sensor :
        Configuration: Arduino Pro Mini Clone, NRF24L01+, 3,3 V supplied by Arduino UNO board

        1. Need set DATA_RATE on 1MPS (without I have "radio init fail") in Myconfig.h
          2)Comment #define SOFTSPI in Myconfig.h
        2. Comment isPVariant() check in MyTransportNRF24() (without I have "radio init fail")

        Result on the node:

        find parent
        send: 201-201-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
        Ping: 3 cm
        

        I'm using the same transceiver for both boards.

        This is the transceiver :
        0_1460760631157_IMAG0589_1.jpg image url)

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


        18

        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