Navigation

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

    pii

    @pii

    0
    Reputation
    4
    Posts
    296
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    pii Follow

    Best posts made by pii

    This user hasn't posted anything yet.

    Latest posts made by pii

    • RE: 💬 Building a Orange Pi Gateway

      @marceloaqno said in 💬 Building a Orange Pi Gateway:

      #define MY_RFM95_CS_PIN 13
      #define MY_RFM95_IRQ_PIN 10
      #define MY_RFM95_FREQUENCY RFM95_915MHZ

      Thank you sooo much. I just did this. But, Now got a new error.

       ERROR Could not open /sys/class/gpio/gpio10/direction
      

      and when I tried to export pin 10 it says:

      :/sys/class/gpio# echo '10' > export
      -bash: echo: write error: Device or resource busy
      

      Though yes still I'm able to export/unexport pin 13(just for testing)

      posted in Announcements
      pii
      pii
    • RE: 💬 Building a Orange Pi Gateway

      @pansen Thank you sooooooo much for your reply.!!! By the way, What I actually have to do is "Make an MQTT based LoRa(RA-02) receiver gateway on OrangePi Zero". And I'm stuck since whole week 😢 of course spent time trying code without solid base. 😕
      Yes, yet I'm trying to first set up a LoRa receiver(not MQTT, not gateway)

      posted in Announcements
      pii
      pii
    • RE: 💬 Building a Orange Pi Gateway

      @pansen No.... nothing... /sys/class/gpio/gpio24doesn't exist.
      even "echo "24" > /sys/class/gpio/export doesn't work.
      But, yes otherwise if I try the same with 13 i.e "echo "13" > /sys/class/gpio/export Then a directory is created and then /sys/class/gpio/gpio24/direction do exist.

      posted in Announcements
      pii
      pii
    • RE: 💬 Building a Orange Pi Gateway

      Am getting this error:
      ERROR Could not open /sys/class/gpio/gpio24/direction
      My config is:

      ./configure --spi-spidev-device=/dev/spidev1.0 --my-node-id=1 --my-transport=rfm95 --my-rfm95-cs-pin=13 --my-rfm95-irq-pin=10 --my-rfm69-frequency=915E6
      

      Whole output is:

      root@ttn-gateway:~/MySensors# sudo ./bin/mysgw
      May 23 09:37:31 INFO  Starting gateway...
      May 23 09:37:31 INFO  Protocol version - 2.3.0-alpha
      
       __  __       ____
      |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
      | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
      | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
      |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
              |___/                      2.3.0-alpha
      
      May 23 09:37:31 DEBUG MCO:BGN:INIT NODE,CP=RLNNL---,VER=2.3.0-alpha
      May 23 09:37:31 DEBUG TSM:INIT
      May 23 09:37:31 DEBUG TSF:WUR:MS=0
      May 23 09:37:42 ERROR Could not open /sys/class/gpio/gpio24/direction
      
      posted in Announcements
      pii
      pii