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
kebibgK

kebibg

@kebibg
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [SOLVED] Raspberry Pi serial gateway NRF24 - !TSM:INIT:TSP FAIL
    kebibgK kebibg

    Ok man, where is connection to NFR24l01????
    From picture i see you are use SPI but never see where is configure it ?
    1st. check are you have a spidev0.0 or another. then config need to be like this:
    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=rf24 --my-rf24-ce-pin=XX --my-rf24-cs-pin=YY
    need to change XX and YY with your connection to the Pi.
    You use SPI for connection but configure gateway as a serial input.
    With this configuration never work. If you make external plate (arduino with NRF24l02) and connect it to serial port of
    Pi will work but serial need to be one of real TTys.

    Regards

    Troubleshooting

  • BananaPi M1 gateway wont work
    kebibgK kebibg

    Hi,
    I am newbie in My sensors and have problem with BananaPi M1 Soc=A20.
    When i try to configure MySensors Gateway always after compilation i receive that:

    root@bananapi:/home/pi/install/MySensors# ./bin/mysgw -d
    mysgw: Starting gateway...
    mysgw: Protocol version - 2.2.0-rc.2
    mysgw: MCO:BGN:INIT GW,CP=RNNGL---,VER=2.2.0-rc.2
    mysgw: TSF:LRT:OK
    mysgw: TSM:INIT
    mysgw: TSF:WUR:MS=0
    mysgw: !TSM:INIT:TSP FAIL
    mysgw: TSM:FAIL:CNT=1
    mysgw: TSM:FAIL:DIS
    mysgw: TSF:TDI:TSL
    

    Compilation always OK without any errors.
    Hardware is connected like need to be and connection work on RaspberryPi 2 (same GPIO pinout).
    I try with many difference settings in compilation but without sucsses.
    With gpio readall i see all GPIOs and can comand it .

    root@bananapi:/home/pi/install/MySensors# gpio readall
    +----------+-Rev3-+------+--------+------+-------+
    | wiringPi | GPIO | Phys | Name   | Mode | Value |
    +----------+------+------+--------+------+-------+
    |      0   |  17  |  11  | GPIO 0 | OUT  | High  |
    |      1   |  18  |  12  | GPIO 1 | IN   | Low   |
    |      2   |  27  |  13  | GPIO 2 | ALT4 | Low   |
    |      3   |  22  |  15  | GPIO 3 | IN   | Low   |
    |      4   |  23  |  16  | GPIO 4 | OUT  | High  |
    |      5   |  24  |  18  | GPIO 5 | IN   | Low   |
    |      6   |  25  |  22  | GPIO 6 | IN   | Low   |
    |      7   |   4  |   7  | GPIO 7 | IN   | Low   |
    |      8   |   2  |   3  | SDA    | ALT5 | Low   |
    |      9   |   3  |   5  | SCL    | ALT5 | Low   |
    |     10   |   8  |  24  | CE0    | IN   | Low   |
    |     11   |   7  |  26  | CE1    | ALT5 | Low   |
    |     12   |  10  |  19  | MOSI   | IN   | Low   |
    |     13   |   9  |  21  | MISO   | IN   | Low   |
    |     14   |  11  |  23  | SCLK   | ALT5 | Low   |
    |     15   |  14  |   8  | TxD    | OUT  | High  |
    |     16   |  15  |  10  | RxD    | OUT  | High  |
    |     17   |  28  |   3  | GPIO 8 | ALT0 | Low   |
    |     18   |  29  |   4  | GPIO 9 | IN   | Low   |
    |     19   |  30  |   5  | GPIO10 | IN   | Low   |
    |     20   |  31  |   6  | GPIO11 | ALT4 | Low   |
    +----------+------+------+--------+------+-------+
    

    This is some of my configures:

     ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=8 --my-rf24-cs-pin=25 --my-gateway=ethernet --my-port=5003
    
    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=24 --my-rf24-cs-pin=22 --my-gateway=ethernet --my-port=5003
    
    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=nrf24 --my-rf24-ce-pin=10--my-rf24-cs-pin=6 --my-gateway=ethernet --my-port=5003
    

    This is my answer on list devices

    root@bananapi:/home/pi/install/MySensors# ls /dev/spi*
    /dev/spidev0.0  /dev/spidev0.1
    

    Everything need to be ok but is not :( .
    Because thi is not a my 1st project i know all work on RaspberryPi 2 and Orange Pi PC - Soc=H3.
    I have a problem with Soc= A20.

    Please help

    Kind Regards

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular