Questions tagged [rpio]
For questions about the usage of the RPIO Python library. For general questions about the Pi's GPIO, instead use [gpio], not this tag.
24
questions
-1
votes
0answers
59 views
RaspberryPi 4 Python RPI.GPIO Output always high
Running Raspberry OS in a RaspberryPi 4 and I have a rc522 RFID connected and working, but for some reason I can't control any of the GPIO ports.
The point of this project is to wake an ESP32 from ...
2
votes
1answer
289 views
How to use GPIO interrupts without going to multi-threading [closed]
Using a Pi 3+ in an animated display. The servos in the display are run from a 16 channel "bonnet" on the Pi. I am using RPI.GPIO to deal with GPIO issues.
What I want is for one set of ...
0
votes
0answers
186 views
PyCharm on Raspberry 4 does not recognize RPI.GPIO
I did develop a Python app for the Raspberry to control stepper motors and read sensor data. My IDE was IDLE on a Raspberry 3.
Now I have installed PyCharm Community 2020.1 on a Raspberry 4 (4GB) to ...
0
votes
1answer
196 views
ImportError:python2.7/dist-packages/RPIO-2.0: undefined symbol: makedev
I have a problem with RPIO. I am running a face recognition using OpenCV python on Raspberry Pi 3B+.
pi@raspberrypi:~/facerec-pi/code $ sudo python capture-positives.py
Tradeback (most recent ...
0
votes
1answer
66 views
Raspberry Pi 0 W spontaneous event triggering for an input pin
I have two "Cylewet 25Pcs AC 1A 125V 3Pin SPDT Limit Micro Switch"-es that are normally open and connected to two of the Pi pins with internal pull up resistors.
Left unattended, they call ...
2
votes
1answer
103 views
How to implement the push button example using rpio?
Background
I am trying to learn how to use the rpio library (https://github.com/jperkin/node-rpio) in my nodejs application.
What do I want to do
So far I have been able to test the blink led ...
2
votes
0answers
70 views
Image rollback using Raspberry Pi Bootloader
I'm using Yocto framework based RPi build and have created My SD card partition as follows,
======================== SD card with 3 parts ========================
| 68MB(bootloader) | 4GB(...
1
vote
0answers
708 views
Profibus with rpi master and slave
I am newbie to profibus-DP . I am tasked with building profibus master and slave network using Rpi and Rs-485 convertor .
One Rpi will be master and other will be slave. I am using https://github.com/...
4
votes
1answer
909 views
RS232 to Raspberry Pi Zero W
I know this may be a dumb question but can you connect a RS232 Tx, Rx, and Ground from a device directly to the Rx, Tx and Ground on a Raspberry Pi Zero without having to get a Max3232 or something ...
0
votes
1answer
84 views
RPIO setting: is DELAY_VIA_PCM a hardware PWM?
So I have a project that is going to use audio and need to do some PWM to control a motor. As I understand it (and I could be very wrong here), there are two chips a pi can use to produce PWM. In ...
1
vote
0answers
810 views
Permission issue accessing /dev/mem – gpio node-rpio
I am somewhat of a newbie, so please let me know if there is a way I can go about this better.
I'm working on doing some LED coding (WS8201 strip) with node.js and it appears I am having trouble ...
1
vote
2answers
3k views
This module can only be run on a Raspberry Pi! [closed]
I'm running daemon python file in virtualenv and has a Error:
File "rpi_daemon.py", line 5, in <module>
import RPIO
File "/home/pi/python_virtualenv/local/lib/python2.7/site-packages/...
0
votes
1answer
1k views
Read GPIO pin on web page
I was able to control an led from a web page using the following code. when I call http://myip/pinon.php it will light up the LED and http://myip/pinoff.php will turn off the LED.
pinon.php
<?php
...
0
votes
1answer
306 views
Node.js packages reading moisture sensor: State never changes
I've written similar code in python that works as expected.
Using one of these moisture sensors: https://www.amazon.com/dp/B00ZR3B60I
The following code always prints "true"
const rpio = require('...
0
votes
0answers
94 views
How to generate a hardware PWM wave for driving an LED through RPIO?
I've looked through the documentation of RPIO, and used GPIO18 to get my PWM up and running.
This is my code:
from RPIO import PWM
servo = PWM.Servo()
servo.set_servo(18, 4000)
As explained in the ...
-1
votes
1answer
341 views
convert py file for RPIO to RPi.GPIO [closed]
According to Joan's instruction.
First,
git clone https://github.com/metachris/RPIO.git
cd RPIO
sudo python setup.py install
sudo python3 setup.py install
and
sudo python3 jjy.py
I made a jjy ...
1
vote
1answer
822 views
Pulse with Subpulse on raspberry Pi
I need a signal at the output of the GIPO of approximately this shape.(sub-pulse in pulse)
How can this be implemented using PWM on PI? Im trying do it with RPIO,but his ancient GPIO pinout maybe ...
3
votes
2answers
1k views
What is the minimum current value into the Pi's GPIO input?
What the minimum current input that must be provided to Pi's GPIO input in order to get high value?
The idea: I will be adding Microwave Doppler which output are in micro amperes. I want to know if ...
1
vote
1answer
2k views
Can't Install RPIO — “Python.h” and 'arm-linux-gnueabihf-gcc' error
I'm having an issue where RPIO will not install. When running sudo pip install -U RPIO it returns the error :
source/c_gpio/py_gpio.c:28:20: fatal error: Python.h: No such file or directory
#...
0
votes
0answers
28 views
HDMI output is off once I connected my pi to an oscillscope
I connected the +5v and gnd of my raspberry pi to an oscilloscope. Once I did that, my screen gave me a blank screen as if it is not getting any output from HDMI of raspberry pi. I turned off/on the ...
2
votes
0answers
460 views
GPIO problem. RPIO terminal issue
If I run gpio readall, everything works fine and I see all GPIOs.
Terminal:
rpio -i 7
Result:
root@raspberrypi:/home/pi# rpio -i 7
Traceback (most recent call last):
File "/usr/local/bin/rpio", ...
2
votes
2answers
687 views
RPIO PWM and AfroESC
I'm working on a quadcopter controlled by a Raspberry Pi 3 and I'm having some issues controlling the Electronic Speed Control (ESC). I'm a bit of a newbie so please be patient.
I bought the Afro ...
2
votes
2answers
4k views
Solder RCA cable directly to Raspberry Pi 2 Model B
It is my understanding that you can use an RCA interface with a Raspberry Pi by using a 4-pole 3.5mm jack (image below) - I have a portable screen with RCA inputs I'd like to solder directly onto my ...
3
votes
1answer
2k views
RPIO not working on Pi Zero, Pi2, or Pi3
How do you use RPIO on a Pi Zero, Pi2, or Pi3?
When I run an RPIO script I get a Python error message such as
RuntimeError: rpio-pwm: Page 0 not present (pfn 0xa100000000015bba)