Title: i need help to identify the relay gpio [Print This Page] Author: melop Time: 6/19/2020 01:07 Title: i need help to identify the relay gpio hey there everyone , totaly new here.
i received not long ago a rockhip chines dev board , it came with android installed on it, and some devices attached to it , leds,sensors,thermal sensor, camera ,relay and more. most of them are connected via gpio , some usb on the board
this is a IOT-3288X
since most the devices are connected via gpios is that the weird part for example are the gpio names, for example there is a led connected to multiple place on the board 1 led 3 colors , they are all under gpio_sw in /sys/class/gpio_sw/ . so instead of having a normal such as LEDWHITE it has totaly different names for example to turn on the white led i have to
which make no sense, but i guess everything is messed up
so right now i am trying to understand which gpio is turning on a relay gate ,
i did checked the hardware pins on a chines manual and it seems that the relay is connected to pin 19 and 20 , however when i exported the pins to the /sys/class/gpio/export and then tried to changed the value of it, it did not work. i am at a stage that i am sitting on it for over 16h straight trying to figuring this out without any success
note that i even exported all 264 pins , and tried to change all of them to direction out , however the device crashed and restart , i tried to minimized it to 100 (batch of 100) than minimzed to 10, it carshed all the way, i tried also to change all the values to 1 (without the direction out, so gpio that are on out should've work) it did no changes , i tried to set the value to 0 (on all pins) nothing happen aswell.
when exporting the all the pins , some did not work (all the gpios pins in sys/kernel/debug/gpio could not be exported inside the gpio folder im not sure why , pehaps they are being used or already open/mounted? so how do i use them)
there is an app on the android , which allow me to change the relay more (normaly open, normaly close) (perhaps that can help idk)
any of u have an idea how can i determine what the app is controlling ?
of figuring out what gpio is that so i can turn on and off the relay on my command/demand ?
(P.S, there is also a thermal sensor , that speaks via i2c, which again idk on what gpio is that so i can perhaps start to communicate with it)
any how thanks for the help , and please ask me anything ! , so i can try to help myself here.
i know maybe it seems abit non organized but i am after 20h of being awake
maybe phrase it differently would be
i want to figure out which path in /sys/... corresponds to which GPIO pin that is connected.
please guide me .
ThanksAuthor: nathanw648 Time: 1/11/2026 04:38
우리assTIP가 제공하는 최신, 최고의VMware 3V0-21.23시험관련 자료를 선택함으로 여러분은 이미 시험패스성공이라고 보실수 있습니다.Author: hughkel311 Time: 1/12/2026 09:53
Xhs1991お客様にさまざまな種類のADM-201練習用トレントを提供して学習させ、知識の蓄積と能力の向上を支援したいと考えています。 また、ADM-201学習ガイドを使用して、すべてのユーザーの質問に最短時間で専門家が回答できることを保証します。 もう1つ、散発的な時間を最大限に活用して知識と情報を吸収するお手伝いをします。 つまりSalesforce、ADM-201試験対策を目指している他の類似企業と比較して、当社の製品のサービスと品質は、Salesforce Certified Administratorお客様と潜在的なクライアントから高く評価されています。Author: benjami146 Time: 6 day before
This article is truly an outstanding work, and I’ve benefited greatly from it. The C_ARSUM_2508 valid test simulator online material is superb, and you don’t have to pay anything for it.Author: tygray645 Time: yesterday 16:26
Thank you for sharing this incredible article, it’s truly breathtaking! New exam AAIA collection sheet provides a variety of useful content, freely offered to support your learning.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)