MQTT - NRF24 gateway communication issues


  • Mod

    Hi
    I am trying to setup a little project (my first actually) with a RPI3 (MQTT server + openhab), an arduinio UNO (MQTT client + NRF24 module) and a arduino Mega2560 (wireless sensor node with multiple sensors or actutators). I used the guide in this page http://www.makeuseof.com/tag/diy-smart-home-sensors-arduino-mysensors-openhab/ and read through other topics here in the forum (like the one about the Mega that needs to connect NRF24 module to pins 50 to 53) but I can't get the Mega to initialize as it seems not even getting to the "setup" or "loop" functions. While on the UNO I don't see any error during startup (and nothing more after that), on the Mega I get the following

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
    3 TSM:INIT
    4 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSM:INIT:STATID=2
    14 TSF:SID:OK,ID=2
    16 TSM:FPAR
    1615 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    3623 !TSM:FPAR:NO REPLY
    3625 TSM:FPAR
    5225 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    7232 !TSM:FPAR:NO REPLY
    7234 TSM:FPAR
    

    Just to add more info, I am using these voltage regulators http://www.gearbest.com/transmitters-receivers-module/pp_453011.html
    because they looked to me as a good starting point for prototyping instead of start soldering caps and stuff. I also ran ClearEepromConfig on both boards just in case.



  • From my short experience, I suspect there is something with the radio as long as you see "proper" messages in your openhab logs (if not, try hard coding the node id in the sketch)..


  • Mod

    @Efflon
    Hi, in fact radio modules with blob where the problems as I got them replaced with IC ones.


Log in to reply
 

Suggested Topics

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts