Navigation

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

    maxdor

    @maxdor

    1
    Reputation
    6
    Posts
    282
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    maxdor Follow

    Best posts made by maxdor

    • RE: Mega 2560 as Serial Gateway

      Hi,

      I found the failure. I haven't seen the Pin changeing to :

      #define MY_RF24_CE_PIN 49
      #define MY_RF24_CS_PIN 53
      

      Now, the debug looks good.
      Thank U!

      posted in Troubleshooting
      maxdor
      maxdor

    Latest posts made by maxdor

    • RE: RPI Gateway - !TSM:INIT:TSP FAIL

      Thanks for the help.

      I have made a new install with developement branch, but after the "make", I get this error:

      gcc -MT build/drivers/BCM/bcm2835.o -MMD -MP -march=armv6zk -mtune=arm1176jzf-s                        -mfpu=vfp -mfloat-abi=hard -DMY_RADIO_NRF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINU                       X_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -DMY_PORT=5003  -Ofast -g -Wall -Wextra  -I.                        -I./core -I./drivers/Linux -I./drivers/BCM -c drivers/BCM/bcm2835.c -o build/dri                       vers/BCM/bcm2835.o
      drivers/BCM/bcm2835.c: In function ‘bcm2835_delayMicroseconds’:
      drivers/BCM/bcm2835.c:441:40: error: expected ‘)’ before ‘PRIu64’
         printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);
                                              ^~~~~~
      drivers/BCM/bcm2835.c:441:37: warning: spurious trailing ‘%’ in format [-Wformat                       =]
         printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);
                                           ^
      Makefile:102: recipe for target 'build/drivers/BCM/bcm2835.o' failed
      make: *** [build/drivers/BCM/bcm2835.o] Error 1
      pi@raspberrypi:~/MySensors $ sudo ./bin/mysgw -d
      sudo: ./bin/mysgw: command not found
      
      

      SPI is activated.

      posted in Troubleshooting
      maxdor
      maxdor
    • RE: RPI Gateway - !TSM:INIT:TSP FAIL

      Thanks for the answer.

      Sorry, I'm new to Mysensors and I don't understand what is meaning with "development branch".

      posted in Troubleshooting
      maxdor
      maxdor
    • RPI Gateway - !TSM:INIT:TSP FAIL

      Hello everybody,

      I try to make a Rapberry Pi Ethernet Gateway with an NRF24 card. The NRF has a 220uf capacitor, soldering direct on the board.

      The problem is, the RPI does not detect the NRF24. On an arduino, the NRF24 is working fine as a serial Gateway. I have tested it with two different NRF and on a RPi 1 and a RPI 2 and different cable.

      All is made like in this Tutorial.

      Exactly what I have done:

      sudo su
      
      git clone https://github.com/mysensors/MySensors.git --branch master
      
      cd MySensors
      
      ./configure --my-transport=nrf24
      
      ./configure --my-gateway=ethernet --my-port=5003
      
      raspi-config 
      

      SPI activated and reboot......

      make
      
      sudo ./bin/mysgw -d
      

      Now I get everytime:

      
      root@raspberrypi:/home/pi/MySensors# sudo ./bin/mysgw -d
      mysgw: Starting gateway...
      mysgw: Protocol version - 2.1.1
      mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
      mysgw: TSM:INIT
      mysgw: TSF:WUR:MS=0
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=1
      mysgw: TSM:FAIL:PDT
      mysgw: TSM:FAIL:RE-INIT
      mysgw: TSM:INIT
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=2
      mysgw: TSM:FAIL:PDT
      mysgw: TSM:FAIL:RE-INIT
      mysgw: TSM:INIT
      mysgw: !TSM:INIT:TSP FAIL
      mysgw: TSM:FAIL:CNT=3
      mysgw: TSM:FAIL:PDT
      

      Does someone know, what else could wrong? 😞

      Kind regards

      posted in Troubleshooting
      maxdor
      maxdor
    • RE: Mega 2560 as Serial Gateway

      Hi,

      I found the failure. I haven't seen the Pin changeing to :

      #define MY_RF24_CE_PIN 49
      #define MY_RF24_CS_PIN 53
      

      Now, the debug looks good.
      Thank U!

      posted in Troubleshooting
      maxdor
      maxdor
    • RE: Mega 2560 as Serial Gateway

      Hi,

      thanks for the answer.

      Yes, I have see the different assignment and checked the cable many many times. It is correct.

      posted in Troubleshooting
      maxdor
      maxdor
    • Mega 2560 as Serial Gateway

      Hello,

      I've tried to use a Mega 2560 and a NRF24 as a Serial Gateway. I took the sketch from this page and connected the Gateway to a raspberry PI with ioBroker on it. Therere no errors in ioBroker and the adapter say, that the Gateway is connected succesfully.

      But I get no connection to a Sensor. I have noticed the pin assignment for a Mega instead to a Nano. Is there something I have to change?

      I made this with a Arduino Nano a hole time ago. This worked perfect, but I can't find the Nano right now. Or can I took a Pro Mini like a Nano without changes?

      Thanks 4 help!

      posted in Troubleshooting
      maxdor
      maxdor