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.
25
questions
0
votes
0
answers
58
views
I need help making a raspberry pi zero w Cluster
I want to make a raspberry pi zero w Cluster but I want to make the main computer my raspberry pi4. But I can’t find any Tutorials that have this case. I already have 11 pi zeros an internet switch ((...
0
votes
1
answer
27
views
Latching IO using gpiozero
Im working on doing some remote GPIO control (de)energizing relays. When I turn a relay on, it instantly turns off. That makes me assume that the output doesn't latch. I tried several of the ...
1
vote
0
answers
114
views
Incorrect values coming from 4-20mA ADC receiver
This is what I have.
Raspberry Pi3
i2c shield. https://store.ncd.io/product/i2c-shield-for-raspberry-pi-3-pi2-with-outward-facing-i2c-port-terminates-over-hdmi-port/
1-Channel 4-20mA Current Loop ...
2
votes
1
answer
1k
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
1
answer
348
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
1
answer
148
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
1
answer
209
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
0
answers
132
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
0
answers
1k
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
1
answer
1k
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
1
answer
164
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 ...
2
votes
0
answers
1k
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
2
answers
7k
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
1
answer
2k
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
1
answer
444
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
0
answers
110
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
1
answer
404
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
1
answer
926
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
2
answers
2k
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
1
answer
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
0
answers
30
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
0
answers
510
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
2
answers
739
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
2
answers
5k
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
1
answer
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)