Skip to main content

Questions tagged [raspberry-pi]

The Raspberry Pi is a small, inexpensive ARM-based PC device. PROGRAMMING QUESTIONS ONLY. Questions about using it should be asked on https://raspberrypi.stackexchange.com/

raspberry-pi
-2 votes
0 answers
12 views

Chromium for raspberry pi [closed]

I am making a custom box on raspberry pi. I need chromium to autoplay a real time audio stream. Chromium now prevents this without user interaction. Where do I get the source for chromium on rpi? ...
Ian H Stewart's user avatar
0 votes
0 answers
6 views

Raspberry Pi code error: 'RuntimeError: failed to add edge detection'

My code has been having issues, it is possible I may have to reflash the memory card with new OS since it worked previously on another Rasp Pi Zero 2. But if anyone can help with this problem so it ...
Padduzaj's user avatar
-1 votes
0 answers
11 views

Possible Python Simulators for Raspberry Pi And/Or I2C?

I am waiting for my PCB to arrive. In the meantime, I want to test as much as the firmware that I made as I can. I am using 4 MUXs (TCA9548A) and a raspberry Pi, the slave devices are interchangeable ...
Beau Raley's user avatar
0 votes
0 answers
14 views

Connecting ELM327 OBD to Raspberry Pi

I'm trying to connect elm327 Bluetooth with my raspberry pi and use the obd lib in python code to get car speed. I've bind the device as below: sudo rfcomm bind /dev/rfcomm0 xx:xx:xx:xx:xx:xx Result ...
ProwtProject's user avatar
-1 votes
0 answers
39 views

Execute Commands on Raspberry Pi using Java [closed]

I was wondering if there was any way to make a Java program connect to a Raspberry Pi and execute terminal commands on it?
Blake's user avatar
  • 15
0 votes
0 answers
18 views

Python file.close() freezes execution albeit data is already available on disk

So, I've been writing small Python script for capturing uncompressed video using Raspberry Pi 5 and camera module v2 with Picamera2 package. Camera captures videoframes into a BytesIO() buffer, which ...
SergeySh's user avatar
-2 votes
0 answers
36 views

Cannot create IP route for Raspberry Pi [closed]

I am trying to set up IP forwarding for my RaspberrPi, so that I can give my sensor hub internet access and be able to access it on a web server. I was following this tutorial here: https://www....
Sam's user avatar
  • 1
0 votes
0 answers
17 views

How to use all CPU cores in Raspberry Pi for mount.davfs process

I've configured a drive map using mount.davfs in Raspberry Pi 4 working OK. We can access the mounted drive and see and use all files. The issue we are facing is that when the usage of the volume is ...
Xuti's user avatar
  • 89
0 votes
0 answers
21 views

OpenCV with a FLIR Lepton

I Have a FLIR Lepton hooked up to a raspberry pi 5. I have been able to confirm the Lepton works, and run it by following the instructions from the GroupGets Github repo. import cv2 cv2.namedWindow(&...
EvanFodemski's user avatar
0 votes
0 answers
15 views

Error installing Ultralytics to run yolov5 on Raspberry Pi 3B with Bullseye, "Error: could not build wheels for opencv-python which use PEP 517..."

I am trying to install Ultralytics using pip on my Raspberry Pi 3B with Bullseye OS. While I was able to install all the dependencies to run yolov5 successfully, when trying to install Ultralytics. I ...
Yeetus Deletus's user avatar
0 votes
1 answer
52 views

Installing Pytorch on Raspberry Pi 3 Model B Rev 1.2

I am installing Pytorch on Raspberry Pi 3 Model B Rev 1.2. Here is what I have tried: (from pytorch website https://pytorch.org/get-started/locally/ ) (venv) pi@raspberrypi:~/pytorch $ pip3 install ...
Purnendu Prabhat's user avatar
0 votes
1 answer
32 views

How can I set the display environment variable on a Raspberry Pi at boot?

I have a Raspberry Pi 4 with a 1280x800 display and no keyboard or mouse. I ssh into it remotely over WiFi and am coding it to display images, ultimately on its own without my ssh into it. I installed ...
Dribbler's user avatar
  • 4,603
-1 votes
0 answers
18 views

Systemd runs video at start Raspberry

I'm trying to make a splash screen after booting so I created a a systemd service like this: [Unit] Description=Reproducir video al inicio [Service] ExecStart=/usr/bin/cvlc --fullscreen --play-and-...
FRACS's user avatar
  • 1
-3 votes
0 answers
35 views

Advice needed to how to connect a 12V solenoid valve to a Raspberry Pi [closed]

I'm a begineer to using the Pi and want to build a simple watering system for some plants. I know there's lots of online articles but looking for some clarification on exactly what is needed. Here's ...
bzo's user avatar
  • 1,588
0 votes
2 answers
51 views

SQLAlchemy not executing update unless walking through code with debugger

I am genuinely baffled by the behavior I'm seeing so I'm hoping someone can shed some light onto what's going on here. Basically, I have a web app using FastAPI and SQLAlchemy in the back end that ...
Daniel Auerbach's user avatar

15 30 50 per page
1
2 3 4 5
1184