Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
79 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
491 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
23 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
262 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
1answer
997 views

This module can only be run on a Raspberry Pi!

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
782 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
120 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
68 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
179 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 ...
0
votes
0answers
119 views

Reading grove moisture sensor through adc

I hooked a grove moisture sensor through an hiletgo adc 4 channel 16 bit board to i2c of the rpi3. I was using adafruit library running simplest.py and and getting values but not values I see in the ...
1
vote
1answer
623 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
756 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
1k 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
383 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
611 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 ...
1
vote
2answers
3k 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)