Skip to main content

All Questions

Tagged with
0 votes
0 answers
20 views

Start up .service issues on Raspberry Pi4 running LED function embedded in a larger script, but not the rest of the script

I am trying to get a .service file to run on start up, I have an LED function to ensure it is running, the led function runs on start up but the other raspberry pis are not receiving my connection. Im ...
Andrew Lovell's user avatar
0 votes
0 answers
72 views

how to send a can bus message with 2 seconds between spaces in python-can

I want to be able to send a message on canbus one with 2 seconds between them have tried some python can examples with the same result can send and receive with python-can code now I don't know if I'm ...
Mikael Granberg's user avatar
0 votes
1 answer
53 views

Background threads stoping

i have a python application, that contains functions to be called by interval. def call_repeatedly(interval, func, *args, **kwargs): stopped = threading.Event() lock = threading.Lock() # Lock ...
Pythonaire's user avatar
0 votes
0 answers
79 views

Bluepy scan for devices and connect to them

My task is to search for some devices with Bluetooth with a Raspberry PI 4B and to connect to send some commands and disconnect. For this, I started using bluepy package and I was able to do the two ...
Ripper346's user avatar
  • 762
0 votes
2 answers
97 views

pyautogui is not updating mouse position on Raspberry

I try to get the mouse position on my Raspberry 4. I used pyautogui in the past, which was working fine. But on the Raspberry the mouse position returned by pyautogui is stale. Other functions on ...
HEP's user avatar
  • 13
0 votes
0 answers
49 views

ADS1263 python voltage reference

For the code for ADS1263 I wanted to measure with voltage reference 3.3V which comes from Raspberry Pi. How command for this should look like? The code is import board import busio import ADS1263 ...
Malum Phobos's user avatar
1 vote
0 answers
19 views

rfid card reading is OK but not finished

I have an USB RFID reader (EF4100 125kHz) connected to Raspberry Pi 4 Model B. The RFID reader is act like a keyboard and it read the first 10 digit. When I debugging the code with Thonny. At the &...
McCo's user avatar
  • 33
0 votes
0 answers
195 views

Virtual environment marked as externally managed environemnt

I know that this error should be raised normally, but I am already working in a virtual environment, where the error should not be raised. I created and activated a virtual environment on my Raspberry ...
Popyd10's user avatar
  • 23
0 votes
0 answers
76 views

Syncing timed camera and LED flash on Raspberry Pi

I have a Raspberry Pi 4 which I have connected to an Arducam 64MP OwlSight Auto-Focus camera (ov64a40) and 2 neopixel jewel LEDs (7 x 5050 RGBW). I need to be able to take a photo every 30 seconds ...
alyssap0's user avatar
1 vote
0 answers
72 views

python code running as a service to record and play audio

i have a python code running as a service on Raspberry Pi 4. The app is basically to record some audio in a certain language using a microphone, save the audio to a .wav file, then use ...
Farouk's user avatar
  • 11
2 votes
0 answers
47 views

Playback / recording problems

The code I'm working on gives me some errors. This results in frame lost when recording. The overview: A video is paused in the first frame. When the motion sensor is detected the video is playing a ...
Wessiez's user avatar
  • 41
3 votes
0 answers
272 views

Problem installing the rpi-rgb-led-matrix library

I'm creating my first Python program using a Respberry Pi 4 to connect to a 16x32 LED Hub75 board. From what I've researched, this rpi-rgb-led-matrix library is the only one compatible with this board....
Kevin Oliveira's user avatar
1 vote
2 answers
943 views

Building python3.13 with tkinter support on Bullseye on Pi4B

The Bullseye image's python3.9.2 finds tkinter, but I intend to have other versions of python3, all supporting tkinter. First python3.12.5 was built from source and tried. The python 3.12.5 seems to ...
always_learning's user avatar
1 vote
0 answers
40 views

yolov5 trained my data set on my laptop how I send it to my Raspberry Pi

I got yolov5 and trained my data set on my laptop now I want to send it to my Raspberry Pi 4b module for work. how I do it direct copy to raspberry pi but not working (myenv) h@raspberrypi:~/project/...
Hashan Senarathna's user avatar
1 vote
2 answers
96 views

How do I ensure that my Python script and its child processes handle Ctrl-C properly?

System: A Raspberry Pi-4 running Buster using Python 3.7 with an Adafruit 128x32 2.23" OLED Bonnet connected to the GPIO pins.  Ref: https://learn.adafruit.com/adafruit-2-23-monochrome-oled-...
Jim JR Harris's user avatar

15 30 50 per page
1
2 3 4 5
30