Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. TheGreatDoc
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    TheGreatDoc

    @TheGreatDoc

    1
    Reputation
    3
    Posts
    124
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    TheGreatDoc Follow

    Best posts made by TheGreatDoc

    • RE: Uno R3 + W5100 Shield + NRF24L01+

      I dont really know if the problem is the sensor node (Nano) or in the GW (UNO).

      The node seems to try to connect to the GW, but the GW recieves nothing.

      I will try this week with external power supplies instead the internal ones for the radios and will tell you something.

      posted in Troubleshooting
      TheGreatDoc
      TheGreatDoc

    Latest posts made by TheGreatDoc

    • RE: Uno R3 + W5100 Shield + NRF24L01+

      I dont really know if the problem is the sensor node (Nano) or in the GW (UNO).

      The node seems to try to connect to the GW, but the GW recieves nothing.

      I will try this week with external power supplies instead the internal ones for the radios and will tell you something.

      posted in Troubleshooting
      TheGreatDoc
      TheGreatDoc
    • RE: Uno R3 + W5100 Shield + NRF24L01+

      By the way, more info:

      SO: Win 7
      IDE: 1.6.13
      Power: USB Cable to PC. I've tested the output and is 3.31v constant in the 3.3v of Uno R3 and in the radio input.

      Curiously, if instead of connecting the radio power directly to Uno I use a breadboard, with or without 10uF, the radio never power up (but I tested the radio power input also here and there is 3.31v)

      posted in Troubleshooting
      TheGreatDoc
      TheGreatDoc
    • Uno R3 + W5100 Shield + NRF24L01+

      Hi All,

      Im really new to Arduino and this is my first complex project.

      Im doing this: https://www.openhardware.io/view/55/Home-Automation with this starting hardware:

      GW:

      • Arduino Uno R3 https://www.amazon.es/gp/product/B018SC114U
      • Ethernet W5100 Shield https://www.amazon.es/gp/product/B00HG82V1A
      • NRF24L01+ https://www.amazon.es/gp/product/B01C2NOKDU
      • DHT11 + 1 Relay

      Node:

      • Arduino Nano https://www.amazon.es/gp/product/B019SXNBQY
      • DS18B20

      Controller:
      Ubuntu 16 with Home-Assistant

      Im following the wiring/code of the openhardware proyect, checking it with the mysensors wiring guides and updated coded. I cant put the 10uF. If I put it the radio fails to init and show a check wiring message.

      Comms through ethernet works well, the problem is the NRF24L01+, I cant make it work with the shield.

      This is the gw log:

      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;RF24:write register, reg=0, value=14
      0;255;3;0;9;RF24:write register, reg=3, value=3
      0;255;3;0;9;RF24:write register, reg=4, value=95
      0;255;3;0;9;RF24:write register, reg=5, value=76
      0;255;3;0;9;RF24:write register, reg=6, value=39
      0;255;3;0;9;RF24:read register, reg=6, value=39
      0;255;3;0;9;RF24:read register, reg=5, value=76
      0;255;3;0;9;RF24:write register, reg=16, value=115
      0;255;3;0;9;RF24:write register, reg=29, value=6
      0;255;3;0;9;RF24:write register, reg=2, value=2
      0;255;3;0;9;RF24:write register, reg=1, value=0
      0;255;3;0;9;RF24:write register, reg=28, value=3
      0;255;3;0;9;RF24:flushRX
      0;255;3;0;9;RF24:flushTX
      0;255;3;0;9;RF24:write register, reg=7, value=112
      0;255;3;0;9;TSM:RADIO:OK
      0;255;3;0;9;TSM:GW MODE
      0;255;3;0;9;RF24:write register, reg=2, value=3
      0;255;3;0;9;RF24:write register, reg=1, value=1
      0;255;3;0;9;RF24:start listening
      0;255;3;0;9;RF24:write register, reg=0, value=15
      0;255;3;0;9;RF24:write register, reg=10, value=0
      0;255;3;0;9;TSM:READY
      IP: 192.168.100.8
      0;255;3;0;9;No registration required
      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
      IP: 192.168.100.8
      0;255;3;0;9;Attempting MQTT connection...
      0;255;3;0;9;MQTT connected
      0;255;3;0;9;RF24:read register, reg=6, value=39
      0;255;3;0;9;RF24:read register, reg=5, value=76
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;Sending message on topic: P/0/132/1/0/0
      0;255;3;0;9;Sending message on topic: P/0/131/1/0/1
      0;255;3;0;9;RF24:read register, reg=6, value=39
      0;255;3;0;9;RF24:read register, reg=5, value=76
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;Sending message on topic: P/0/132/1/0/0
      0;255;3;0;9;Sending message on topic: P/0/131/1/0/1```
      
      Node log:
      
      ```Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      RF24:write register, reg=0, value=14
      RF24:write register, reg=3, value=3
      RF24:write register, reg=4, value=95
      RF24:write register, reg=5, value=76
      RF24:write register, reg=6, value=39
      RF24:read register, reg=6, value=39
      RF24:read register, reg=5, value=76
      RF24:write register, reg=16, value=115
      RF24:write register, reg=29, value=6
      RF24:write register, reg=2, value=2
      RF24:write register, reg=1, value=0
      RF24:write register, reg=28, value=3
      RF24:flushRX
      RF24:flushTX
      RF24:write register, reg=7, value=112
      TSM:RADIO:OK
      RF24:write register, reg=2, value=3
      RF24:write register, reg=1, value=1
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=12
      TSP:ASSIGNID:OK (ID=12)
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=12
      TSP:MSG:SEND 12-12-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=12
      TSP:MSG:SEND 12-12-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=12
      TSP:MSG:SEND 12-12-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      RF24:stop listening
      RF24:write register, reg=0, value=14
      RF24:open writing pipe, recipient=255
      RF24:write register, reg=10, value=255
      RF24:write register, reg=16, value=255
      RF24:send message to 255, len=7
      RF24:flushTX
      RF24:write register, reg=7, value=48
      RF24:MAX_RT
      RF24:flushTX
      RF24:start listening
      RF24:write register, reg=0, value=15
      RF24:write register, reg=10, value=12
      TSP:MSG:SEND 12-12-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      RF24:write register, reg=0, value=12
      RF24:power down
      

      What can be the problem?

      FYI. I tried the almost all the possible solutions I found on google (enable spi_en, set to output and high ping 10, 10 and 4, etc...)

      Thanks in advance!

      EDIT: sketchs are now attached, forgot it, sorry.0_1482253986954_MyS-Cocina200.ino 0_1482253999734_MyS-Gateway-Test1.ino

      posted in Troubleshooting
      TheGreatDoc
      TheGreatDoc