Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

I am trying to set up a simple Raspberry Pi server that sends an OSC message when a button is pressed. My plan was to read the GPIO using a Python script and send the OSC message to PureData, running ...
user31852102's user avatar
0 votes
0 answers
278 views

I have switched from my Raspberry Pi 4 to Raspberry Pi 5 for computational power means for part of a project. I have encountered many errors trying to use NeoPixels on the pi5 (was working fine on the ...
comarocket's user avatar
0 votes
0 answers
215 views

I've been trying to get the gpiozero module into Thonny for a while (for use with a Raspberry Pi) and I've been having lots of issues with it. I installed gpiozero using the package installed inside ...
bchyou's user avatar
  • 48
0 votes
1 answer
192 views

I'm pretty new to the Python and Raspberry business and am currently working on my first major application. I like gpiozero and the ability to work with events throughout. I would like to make my code ...
MaxWeb's user avatar
  • 169
0 votes
0 answers
126 views

I have a Raspberry Pi with an Display and Buttons (here). And I have a program, that uses the Library (in the appendix) from the Display. The program creates a home screen with dynamic apps. Each app ...
Laurin's user avatar
  • 1
-1 votes
1 answer
205 views

I'm trying to make gpiozero play nicely with asyncio in my RPi 4 but ran into an issue that I can't solve. Essentially I'm trying to get the turn signal (clock wise, counter clock wise) af a rotary ...
Doemelti's user avatar
1 vote
0 answers
56 views

for a project on a Rpi I need a video to be played fullscreen. I was used to work with Omxplayer but as being deprecated I need now to use VLC. Sadly the video randomly start in a separate windows ...
kar's user avatar
  • 11
0 votes
0 answers
132 views

I am making a weird robot out of k'nex and a pi and I am controlling it over bluetooth with a DS4. The motor The controller The DS4's D-pad will control the movement. I was looking for librarys to ...
user avatar
0 votes
1 answer
4k views

I started a project with servos, making a crude robotic arm, with two servos. the issue is, that my servo keeps jittering when stationary, sometimes too much, and can cause the thing to fall over. ...
Anton Chernyshov's user avatar
0 votes
0 answers
377 views

I am trying to use php to execute a python script, and then retrieve the output of that script for later use. I am running a LAMP server on a Raspberry Pi 4 (set up according to this article https://...
feddockh's user avatar
0 votes
2 answers
369 views

I'm working on an object detection project for IoT using a webcam and servo. In short, when the object detected by the webcam matches the data in the system, the servo will move. Can the webcam be ...
Irham Khalifah Putra's user avatar
0 votes
0 answers
107 views

from gpiozero import MotionSensor While true: MotionSensor(17).when_motion() print("motion detected") returns error: Traceback (most recent call last): File "/home/pi/...
Dornito's user avatar
  • 21
0 votes
1 answer
284 views

I have a Discord bot running in python on a Raspberry Pi 3B+. The purpose of this program is to send the lab status to our server by the push of a physical button. I've noticed that the program itself ...
Jacob K's user avatar
0 votes
2 answers
2k views

I'm trying to control a stepper motor with python code. I know this may not be the best way but please just help me and bear with me. I got this working a while ago I'm pretty sure and I have no idea ...
Daniel Caminero's user avatar
0 votes
0 answers
634 views

I am using the gpiozero and pigpio libraries to create a remote gpio control application in python. The pigpio documentation advertises this as a feature, so I know it's possible. Here is the ...
GPorubanTKK's user avatar
0 votes
2 answers
140 views

I was hoping someone could help me with this issue. I'm hoping it's fairly simple to fix, but I have been trying for a while to figure this out. I have trimmed my larger code to this, as I believe the ...
domerwannabe's user avatar
1 vote
2 answers
509 views

I was hoping someone might have some insight on how to stop a script from continuing to repeat if a button is held (or in my case pressed longer than a second)? Basically i've a button setup on the ...
NormanD's user avatar
  • 11
1 vote
0 answers
130 views

I'm trying to use gpiozero LoadAverage to get the average system load for display on a small OLED plate. The problem is, any time I try to assign LoadAverage().load_average to a variable, it generates ...
Scott's user avatar
  • 8,085
0 votes
1 answer
1k views

This is on the Raspberry PI. I was able to get the I2C-1 to work properly on the PI using Python. Then I ran another Python script that uses one of the I2C pins as a GPIO using the GPIOZERO library. ...
MK0's user avatar
  • 1
0 votes
1 answer
476 views

I am using this relay module with Raspi zero. https://www.amazon.co.jp/gp/product/B083LRNXBJ/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1 And I am using gpiozero to control relay. import ...
Jaydeep's user avatar
  • 456
1 vote
0 answers
290 views

First time posting. I'm a novice writing a python program. I'd like to to curses to display outputs from sensors connected to a Raspberry PI and created the follow code as a test to understand what ...
Foiloutboy's user avatar
0 votes
1 answer
847 views

I'm trying to make a visual metronome of sorts in which I press a button in order to change the bpm. Once the bpm is 85, if the button is pressed once more, if goes back to the default bpm (of 120). t ...
leonedott's user avatar
0 votes
1 answer
2k views

I'm working on a weather station (raspberry pi) and I'm using python. I developed a program that is working, but now I decided to update my code and to structure everything (making classes etc.). But ...
JacobSelt's user avatar
1 vote
1 answer
884 views

"This module can only be run on a Raspberry Pi" error when using RPi.GPIO on Raspberry Pi 4b. This error was caused by the default RPi.GPIO version installed with: python3 -m pip install RPi....
Tom's user avatar
  • 21
0 votes
1 answer
272 views

Apologies for the newbie Python post, but a bit of Googling and I still can't find what I need. I have the following Pi Hat; https://github.com/modmypi/Jam-HAT, ...and I'm using their docs to guide me;...
Beefcake's user avatar
  • 821