Navigation

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

    Marco Realacci

    @Marco Realacci

    0
    Reputation
    3
    Posts
    238
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Marco Realacci Follow

    Best posts made by Marco Realacci

    This user hasn't posted anything yet.

    Latest posts made by Marco Realacci

    • RE: Sensor not booting up...

      @mfalkvidd It's probable that the module is broken, because I've built it on a veroboard in the past and it was working until a short circuit has broken the Arduino NANO I was using.
      I was using this node to drive an RGBWW (RGB + warm white + cold white) LED strip using the Arduino PWM and some MOSFETs and for a mistake I shorted the DRAIN of the MOSFET with the VCC (this broke the Arduino).
      I've checked all the MOSFETs and they're still working, so I've replaced the Arduino NANO with a new one, but as I can see the short circuit apparently broke also the radio.

      Anyway I used the following components:

      • Unofficial Arduino NANO Rev3 (Kuman Mini Nano V3.0 ATmega328P);
      • 5 power MOSFETs (IRLB8721);
      • The NRF24L01+ radio module;
      • A 47uF capacitor (between VCC and GND of the radio module, to stabilize the voltage);
      • A 12V power supply.

      Arduino is powered with 12V (I know this isn't the best idea but other nodes are still working) and the radio is powered by the 3V3 (3.3V) pin on the Arduino.

      I've changed CE and CSN pins because I need 5 PWM pins.

      The gateway is a Raspberry Pi 3 setted up as an MQTT gateway (with the radio connected to the GPIO).

      posted in Troubleshooting
      Marco Realacci
      Marco Realacci
    • Sensor not booting up...

      Hi, I've built a new mysensors node and personalized it with soft signing and encryption.

      When I boot up the sensor (with MY_DEBUG and MY_DEBUG_VERBOSE_RF24) it shows the following error:

       
       __  __       ____
      |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
      | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
      | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
      |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
              |___/                      2.2.0
      
      16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
      25 MCO:BGN:BFR
      27 TSM:INIT
      28 TSF:WUR:MS=0
      29 RF24:INIT
      30 RF24:INIT:PIN,CE=4,CS=7
      33 RF24:WBR:REG=0,VAL=14
      40 RF24:WBR:REG=3,VAL=3
      43 RF24:WBR:REG=4,VAL=95
      45 RF24:WBR:REG=5,VAL=76
      47 RF24:WBR:REG=6,VAL=37
      49 RF24:WBR:REG=16,VAL=115
      52 RF24:WBR:REG=29,VAL=4
      54 RF24:RBR:REG=6,VAL=0
      56 !RF24:INIT:SANCHK FAIL
      58 !TSM:INIT:TSP FAIL
      60 TSM:FAIL:CNT=1
      62 TSM:FAIL:DIS
      63 TSF:TDI:TSL
      65 RF24:SLP
      66 RF24:WBR:REG=0,VAL=12
      

      Is it related to the radio module?
      P.S. keep in mind that I've changed CE and CS pins by declearing:
      #define MY_RF24_CE_PIN 4
      #define MY_RF24_CS_PIN 7

      Thanks in advice, have a nice day!

      posted in Troubleshooting
      Marco Realacci
      Marco Realacci
    • Signing with Raspberry Pi Gateway

      Hi, I tried to set up a mysensors network (I don't plan to use any existing controller because I want to create it by myself to use it with my own home automation software)

      I'm using the MQTT Gateway with the radio RF24 connected to my Raspberry Pi's GPIO and a relay node. I was able to make it working without signing, whitelisting, ecnryption etc.

      The problem is that when I tried to enable signing it stopped working

      #define MY_SIGNING_SOFT
      #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
      #define MY_SIGNING_REQUEST_SIGNATURES
      #define MY_RF24_ENABLE_ENCRYPTION
      #define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x0F,0xAF,0xB3,0x3E,0x86,0x45,0xB1,0x94,0xBE}}}
      

      In the node's logs it fails with !TSM:FPAR:NO REPLYm while commenting MY_RF24_ENABLE_ENCRYPTION, it connects but when I try to change the relay's status it logs !TSF:MSG:SIGN VERIFY FAIL

      Of course I've setted up the gateway with:
      sudo mysgw --gen-soft-serial-key
      then sudo mysgw --set-soft-serial-key to set the generated key. Same thing for soft-hmac-key and aes-key.

      Then I've done the personalization by flashing this sketch

      It didn't work

      posted in Troubleshooting
      Marco Realacci
      Marco Realacci