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
P

pii

@pii
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • 💬 Building a Orange Pi Gateway
    P pii

    @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)

    Announcements

  • 💬 Building a Orange Pi Gateway
    P pii

    @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)

    Announcements

  • 💬 Building a Orange Pi Gateway
    P pii

    @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.

    Announcements

  • 💬 Building a Orange Pi Gateway
    P pii

    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
    
    Announcements
  • Login

  • Don't have an account? Register

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