probrokker

Members
  • Content Count

    5
  • Joined

  • Last visited

About probrokker

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Can you explain the variables from the formula? it’s not clear how to count.
  2. I can’t get the result of a button click. The button is connected to the PD15 contact. echo 9 > /sys/class/gpio/export (gpio9?) cat /sys/class/gpio/gpio9/value every result: 0 Tell me what the problem is. I also have https://github.com/orangepi-xunlong/WiringOP installed, which shows: gpio -v gpio version: 2.46 Copyright (c) 2012-2018 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty * Device tree is enabled. * -> OrangePi 3 gpio readall (what Orange Pi RK3399?) +------+-----+----------+------+---+OrangePi RK3399---+---+------+---------+-----+--+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 43 | 0 | SDA.0 | ALT4 | 0 | 3 || 4 | | | 5V | | | | 44 | 1 | SCL.0 | IN | 0 | 5 || 6 | | | 0v | | | | 64 | 2 | GPIO4 | IN | 1 | 7 || 8 | 0 | IN | Tx | 3 | 148 | | | | 0v | | | 9 || 10 | 0 | IN | Rx | 4 | 147 | | 80 | 5 | GPIO17 | IN | 1 | 11 || 12 | 1 | IN | GPIO18 | 6 | 65 | | 81 | 7 | GPIO27 | IN | 0 | 13 || 14 | | | 0v | | | | 82 | 8 | GPIO22 | ALT2 | 1 | 15 || 16 | 0 | IN | GPIO23 | 9 | 66 | | | | 3.3v | | | 17 || 18 | 1 | ALT2 | GPIO24 | 10 | 67 | | 39 | 11 | MOSI | ALT3 | 0 | 19 || 20 | | | 0v | | | | 40 | 12 | MISO | ALT4 | 1 | 21 || 22 | 0 | IN | GPIO25 | 13 | 83 | | 41 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | OUT | CS0 | 15 | 42 | | | | 0v | | | 25 || 26 | 0 | ALT4 | CS1 | 16 | 133 | | 154 | 17 | DNP1 | IN | 1 | 27 || 28 | 1 | OUT | DNP2 | 18 | 50 | | 68 | 19 | GPIO5 | IN | 0 | 29 || 30 | | | 0v | | | | 69 | 20 | GPIO6 | ALT2 | 0 | 31 || 32 | 0 | IN | GPIO12 | 21 | 76 | | 70 | 22 | GPIO13 | OUT | 1 | 33 || 34 | | | 0v | | | | 71 | 23 | GPIO19 | ALT2 | 0 | 35 || 36 | 0 | IN | GPIO16 | 24 | 73 | | 72 | 25 | GPIO26 | IN | 1 | 37 || 38 | 1 | OUT | GPIO20 | 26 | 74 | | | | 0v | | | 39 || 40 | 0 | ALT2 | GPIO21 | 27 | 75 | | | | (null) | | | 41 || 42 | | | (null) | | | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+OrangePi RK3399---+---+------+---------+-----+--+
  3. Thanks It works! One more question - Disconnected ruart in armbian-config and loaded dynamically. The port has earned, but when you restart orange pi, the ruart folder is not available and you need to register it. How can I automate the process of adding?
  4. Hi, tell me please how to properly enable RUART (S-UART) on Orange Pi 3. The Armbian Bionic build (kernel 5.1) is installed, RUART (S-UART) is enabled via raspbian-config, but does not work. What are the options? Required to connect the UART device. UART 3 is working, RUART (S-UART) does not work. Image: Pin (08, 10)