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. This is driving me nuts :-)

This is driving me nuts :-)

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 2.4k 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.
  • stofakillerS Offline
    stofakillerS Offline
    stofakiller
    wrote on last edited by
    #1

    Hi,

    I have a problem, hope you can help...

    I have been playing with arduino for a long time and got a Vera Light last year... And this weekend i decided to play with them both :-)

    I have tried both the serial and ethernet gateway (with Mega, Uno and Nano, only the Uno on serial), im sure that the NRF24L01 are working and are wired correctly (SPI on 5,6 also tried 9,10), but with the RF24, gettingstarted i get fine ping/pong results. And everything seemes fine on the Vera (i had some trouble getting it to update what Lib version i was using).

    But when i set the Vera's MySensor plugin to start inclusion, nothing, and i have triede many thing... So what to try next? One thing i dont understand is when i use sketches that are doing serial.printf, noting is showing in the serial monitor???

    Hope to get some help :-)

    Regards,
    Jan

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

      Use
      "Serial.println" in your sketch and remember to set the correct baud rate in the Serial Monitor.

      http://www.mysensors.org/build/debug#monitoring-the-debug-logs

      1 Reply Last reply
      0
      • blaceyB Offline
        blaceyB Offline
        blacey
        Admin
        wrote on last edited by
        #3

        Jan, which version are you using?

        1 Reply Last reply
        0
        • stofakillerS Offline
          stofakillerS Offline
          stofakiller
          wrote on last edited by
          #4

          Hi,

          Eg in the humiditysensor sketch there is already Serial.println("Failed reading temperature from DHT");
          But nothing at all is showing in the serial monitor (also tried different baudrates)... I'm using Plugin version 1.3 and Arduinolib is 1.3b3 (7afb55c)

          1 Reply Last reply
          0
          • stofakillerS Offline
            stofakillerS Offline
            stofakiller
            wrote on last edited by
            #5

            Hi,

            Just got me a new nrf24l01 with external antenna, and now it works :-) I have triede about 5-6 "normal" nrf24l01, but this one did it all :-)
            So with debug enabled on the sensors, i finally get logs like this...

            Started sensor.
            Relay=0, distance=1
            Radio id stored in EEPROM was: 1
            Relaying message back to gateway.
            Tx: fr=1,to=0,la=1,ne=0,ci=255,mt=0,ty=17,cr=198: 1.3b3 (7afb55c)
            Ack: received OK
            Relaying message back to gateway.
            Tx: fr=1,to=0,la=1,ne=0,ci=255,mt=4,ty=7,cr=137: 0
            Ack: received OK
            Relaying message back to gateway.
            Tx: fr=1,to=0,la=1,ne=0,ci=255,mt=4,ty=14,cr=152: Temperature Sensor
            Ack: received OK
            Relaying message back to gateway.
            Tx: fr=1,to=0,la=1,ne=0,ci=255,mt=4,ty=15,cr=2: 1.0
            Ack: received OK
            Relaying message back to gateway.
            Tx: fr=1,to=0,la=1,ne=0,ci=255,mt=4,ty=13,cr=73:
            Ack: received OK
            Message available on pipe 1
            Sent ack msg to 0
            Rx: fr=0,to=1,la=0,ci=255,mt=4,t=13,cr=152(ok): M
            Message addressed for this node.

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

              Did you put a capacitor on radio?

              1 Reply Last reply
              0
              • stofakillerS Offline
                stofakillerS Offline
                stofakiller
                wrote on last edited by
                #7

                Yep tried with decoupling capacitor, i didn't had 4,7 at home but tried with 2,2 and 10, nothing, Triede with 2 uno, one mega and one diecimila and 2 nano's and 11 nrf24l01 (one with external antenna). And no matter what i try, i can only get 3 boards/antenna's to work... So i have ordered some new antenna's and will buy 4,7 decoupling capacitor's soon...

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