Questions tagged [raspberry-pi3]
GENERAL RPI QUESTIONS ARE OFF-TOPIC. General questions may be asked on https://raspberrypi.stackexchange.com Use the tag for questions that apply specifically to the Raspberry Pi Model 3, NOT other models.
4,097
questions
-1
votes
0
answers
41
views
How to make a secure Bluetooth connection to a Raspberry Pi with no user interaction?
For a project I work on I'm looking for an option to connect a phone to my Raspberry Pi 3 B+ using Bluetooth. I need the connection to be secure, but with no user interaction on the Raspberry Pi, and ...
0
votes
0
answers
5
views
Check for this error during Python minimalmodbus communication test
Test Model : raspberry PI 3 (RPI3)
USB TO RS485 ( FT232 )
Temperature/hygrometer (24V)
CODE:
import minimalmodbus as minimalmodbus
import serial,time
import serial.tools.list_ports as sp
for i in ...
0
votes
0
answers
22
views
Trying to connect to a raspberry pi web socket with GDScript
I wrote Python code on a Raspberry Pi that sends data when the sound sensor is triggered. when I connect to it using Python script everything works fine but for some reason Godot 4 doesn't recognize ...
0
votes
1
answer
23
views
How can I install glibc in raspberry pi 3 model B+?
I'm trying to cross compile with Debian 12(host) and a raspberry pi(target). When I run the configuration of a file on Eclipse on host with SSH to the pi, I get an error message of GLIBC 2.34 not ...
0
votes
0
answers
32
views
Code execution is stuck in gattlib_adapter_scan_enable on RPI
I am a beginner in writing code for BLE development. I am trying to write a straightforward code to scan for BLE devices on RPI using gattlib library in C++.
The program code is as follows:
#include &...
0
votes
0
answers
15
views
Python process ends with exit code -11 when trying to play audio
I'm trying to write a program for a raspberry pi 3b in python that plays a random loaded .wav file when an on board button is pressed, but it gets to the point of attempting to play the sound then ...
0
votes
0
answers
33
views
Opencv2 Errors when trying to start a camera feed
I am getting an error stating " TypeError: Expected Ptr<cv::UMat> for argument 'mat' " from OpenCV when I run this part of my code:
# Enable camera
cv2.startWindowThread()
cap =...
0
votes
0
answers
22
views
Unbale to run Fanuc Focas Console App(.net Core) on Raspberry pi
I had Created Console App(.Net Framework) which was working on windows and giving me an Fanuc Controller data as per my expectation. Now i want to run the same application on raspberry pi. So i have ...
0
votes
0
answers
17
views
I am attempting to calculate the total number of available tables when an object is detected by the IR sensor
I am attempting to calculate the total number of available tables when an object is detected by the IR sensor. How can I get the actual result without the loop.
import BlynkLib
from BlynkTimer import ...
0
votes
0
answers
10
views
ROS libuvc_camera package on Rasp Pi - No such devices
I recently tried to run noetic libuvc_camera package on a raspberry pi 3B+ hardware. The camera is tested okay with app like cheese and it is therefore listed as /dev/video0.
Based the wiki page, I ...
0
votes
0
answers
38
views
Docker Error "Timed out proxy starting the userland proxy" on Raspberry Pi when using docker-compose
I'm facing an issue with Docker on my Raspberry Pi when running docker-compose. Here are the specifics:
Operating System: Raspberry Pi
Docker Version: (specify the version, e.g., 24.0.4)
Problem ...
0
votes
0
answers
12
views
I tried to include gpiozero in my custom build with yocto project with raspberry pi 3
ERROR: core-image-base-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/jakinboy/projects/build_folder/build_rpi/tmp/work/raspberrypi3_64-poky-linux/core-image-base/1.0-r0/recipe-sysroot-native/...
0
votes
0
answers
30
views
Real time temperature and time display with Tkinter
I have this project with Raspberry Pi microcontroller in which I control a heating element depending on the temperature sensed by a type K thermocouple. Basically, when the temperature sensed is below ...
0
votes
1
answer
56
views
SwiftUI & CocoaMQTT Server - How to connect without using button?
I am building an app that will read a value over the Wi-Fi, provided by a Raspberry Pi and I am using MQTT server and client. Using UIKit was easy and the delegate methods were very user friendly in ...
0
votes
0
answers
44
views
Chromium browser KIOSK hanging or freezing
I have a web application using NodeJs to display status of hardware. I am using raspberry pi 3 b+ with 18 inch monitor, MI charger 5V3A, 32 GB SD card, Raspios-bullseye operating system to do this. ...
1
vote
0
answers
21
views
Why isn't tflite_support importing in python?
I installed the tflite_support on my raspberry pi 3 using:
pip install tflite_support
it says it has been successfully downloaded I go to python to check by doing
$ python3
import tflite_support
...
0
votes
0
answers
20
views
Using Openocd on raspberrypi for ARM CC3200 debug
I am trying to use raspberry pi with openocd as a debug probe for TI ARM CC3200 via jtag port on the TI ARM CC3200 board. I got it up and running but I can't get jtag or swd to work. I am new to ...
0
votes
0
answers
11
views
Line drawing characters in SSH terminal not rendering
On a raspberry PI terminal, my systemctl command renders this way:
I have another PI that renders the same command like this:
Text colors seem to work fine (ls command) but the line graphics are ...
0
votes
0
answers
20
views
Failing to view picamera on Raspberry Pi 3 when running headless
I am trying to run my Raspberry Pi 3B+ headless. I need to use a picamera, but it is not showing anything while running headless.
I know that the reason for this behavior is that the RPi doesn't ...
0
votes
0
answers
46
views
Raspberry PI: Counting the raising and falling edge at a frequency?
I am reading this 1/0 pulse on a GPIO physical pin 22 and I am trying to count the number of pulses occurring in the frequency of 100. I have two questions:
I am reading and detecting the edges ...
0
votes
0
answers
57
views
RuntimeError: Failed to start camera: no allocate memory
ı cant use my arducam imx519 16mp camera. when ı run my code ı m getting the error:
RuntimeError: Failed to start camera: no allocate memory
ı have seen some solution on different sites such as :
add ...
0
votes
0
answers
20
views
Yocto image cant detect usbs on Raspberry Pi 4
For some reason my Raspberry pi 4, which has mounted a Yocto (Zeus) image cannot detect any usbs inserted into any of it's ports.
This was not the case with the Raspberry pi 3, which would ...
0
votes
0
answers
32
views
How to connect Thorlabs KIM101 to Raspberry Pi and control with Python?
Raspberry pi 3 running linux 10 is not interfacing correctly with USB input Thorlabs KIM101 piezoelectric motor controller
Terminal command
lsusb
detects USB input correctly but running Pylablib ...
0
votes
0
answers
15
views
Using soundmeter command line library to record sound on a seeed respeaker not recording
For my work experience project I’ve had to make a sound detector with a seeed respeaker on a raspberry pi using the soundmeter module but it does not seem to be able to detect any sound as it just ...
0
votes
0
answers
133
views
Why do I get an "sh: write error: Invalid argument" when configuring the current_trigger for an iio_sysfs_trigger?
I keep getting an sh: write error: Invalid argument when I try to configure the current_trigger for an iio device, which is for the mpu6050. I am using Yocto Kirkstone for an rpi3.
Here are the steps ...
0
votes
1
answer
61
views
How to include MPU6050 driver into Yocto image from kernel-space?
I am stuck on trying to include the MPU6050 driver into Yocto. I am using a Raspberry Pi 3, and I am on the kirkstone branch. I've done the following steps to include the MPU6050 driver:
Include a ...
0
votes
0
answers
31
views
How to get gdb working with u-boot on qemu emulating raspi3b?
I have built u-boot with rpi_3_b_plus_defconfig for raspberry pi 3B+. On qemu, the closest target I could find is raspi3b and it all works fine so far :
$ qemu-system-aarch64 -machine raspi3b -kernel ...
2
votes
0
answers
93
views
Deploying ASP.NET Core Linux project to Raspberry Pi: SQLite.Interop.dll and others not recognized
I am trying to deploy a lightweight ASP application on Raspberry Pi 3 Model B (running 64-bit Raspbian Lite, .NET RID is linux-arm64) with Apache2. I am developing on Linux Mint with ASP.Net Core 7 ...
0
votes
2
answers
218
views
Mosquitto TLS - Connection Refused: not authorised
I am trying to set up my Raspberry pi 3B as an mqtt server using Mosquitto. I am following this tutorial: https://forums.raspberrypi.com/viewtopic.php?t=287326
I have got half way down the page to: &...
0
votes
1
answer
38
views
Error using a RaspberryPi with PlatformIO and Wasm3
I get this Error, while trying to run C and wasm code (using wasm3) on an raspberrypi using platformio:
I am using a RaspberryPi 3 Model B with Raspian
I program in Visual Studio Code on the Raspberry
...
0
votes
0
answers
17
views
Is there a way to turn on my Apple TV via my Raspberry Pi (Wifi, Bluetooth)?
I am trying to automate some stuff and it's all going fine but I am a bit stuck, I can turn my tv on/off via a HTTP request but I was wondering if I could do something similar to turn on my Apple TV. ...
0
votes
0
answers
43
views
Buildroot failed, but I can't get why
I try to build a raspberry pi image using dockerized buildroot, but it fails on a message I can't understand:
echo '' > /opt/buildroot/output/build/glibc-2.30-20-...
1
vote
0
answers
29
views
QEMU emulation not giving output when executed by phyton
I'm trying to execute QEMU emulation using a python script, but it doesn't show the system output, just some warnings. If i try it by hand on the terminal it works perfect. My python code for the ...
0
votes
1
answer
34
views
Python erroneous logic 2
I am new to Python and hope that someone can point me in the right direction about the logical issues I have with my code.
The program works fine running and behaves, as far as I can understand, as I ...
0
votes
0
answers
29
views
Pocketsphinx installing error: module 'numpy' has no atribute 'get_include' - raspbian "bullseye"
I was installing pocketsphinx with pip on my raspberry pi, on Debian 11 - Bullseye, but it crashed.
Command:
pip install pocketsphinx
also:
pip3 install pocketsphinx
There are all errors:
ERROR: ...
1
vote
0
answers
42
views
Python erroneous logic
I am new to Python and trying to understand where my logic is wrong. I am creating a project which controls a hydroponic setup. I have a fogger, a heat lamp and one oxygen machine. The power or on is ...
0
votes
0
answers
38
views
Legend not displaying correctly, when number of displayed lines are reduced
I have an application that will require displaying live graphs over a 48 hour period.
Using Python, I have been experimenting embedding a MatPlotLib graph in a Tkinter GUI using the Grid method.
I ...
0
votes
0
answers
14
views
Optimizing Tor Browser Performance on Raspberry Pi 3: Dependencies and Configuration
What are the necessary dependencies needed for installing Tor Browser on a Raspberry Pi 3? Are there any performance concerns when using Tor Browser on this device, and if there are, what can be done ...
0
votes
0
answers
24
views
I am using a raspberry Pi model 3b plus with 4 cores. I have 3 different sensors; can I run each on a different core within the python script?
I am using a raspberry Pi model 3b plus with 4 cores. I have 3 different EMG sensors. Can I run each on a different core within the python script? If so, how do I designate which sensors run on which ...
0
votes
0
answers
23
views
Sections of audio repeat when recording (sort of like a loop when DJing) with python sounddevice
I am using sounddevice to continuously record audio with a Raspberry Pi 3 connected to an external USB Audio Interface (Zoom-U22). But I see some sections of audio are repeating or struck like in a ...
0
votes
0
answers
61
views
Difficulty configuring BATMAN-ADV on Raspberry Pi
I'm trying to create an ad hoc mesh using raspberry pi 3 model b 1.2, OpenWRT and Batman-ADV
(Ad hoc because rasp doesn't support 802.11s)
Now I'm using only 2 and trying to connect the only on L2 ...
0
votes
0
answers
23
views
Tensor flow objcet detecton Python If else kod
I'm working on a project. in this project, our main aim is If you put on cofia, safety glasses, and if you don't have a beard you can pass. I trained the model and applied it on raspberry pi 3. I ...
0
votes
0
answers
10
views
raspberry display touch screen configuration
I have a raspberry pi3 b+ connected via an AWM cable with a 7 inch raspberry display. I have a devuan OS present on the raspberry with which I launch an x server (startx) to then launch software with ...
0
votes
0
answers
133
views
Running hciconfig in Docker container fails with Can't open HCI socket error
I have docker container based on arm64v8/ros:humble-ros-base.
When calling hciconfig I get:
root@8f3abe876714:/home/dev# hciconfig
Can't open HCI socket.: Address family not supported by protocol
I ...
0
votes
0
answers
25
views
Error in rasperrypi geany, c++ error in attaching libraries (video streaming from vlc)
The following program is the one I want to execute:
#include <iostream>
#include <vlc/vlc.h>
int main() {
// Initialize libVLC
libvlc_instance_t* vlcInstance = ...
0
votes
0
answers
78
views
How can I install rpi.gpio for my Raspberry Pi project and resolve 'python setup.py bdist_wheel did not run successfully' error?
I'm doing a project to my colege that I need to control some GPIOs pin on my Raspberry. But I couldn't install the rpi.gpio library in my raspberry and im my project inside vscode. Every time tha I ...
0
votes
1
answer
177
views
Cannot open include file: 'sys/mman.h': No such file or directory
I was trying to install the raspberry's GPIO pin controller library using this command on windows on vscode editors powershell terminal. How I am trying to control the raspberry pi3 pins is I am ...
0
votes
1
answer
64
views
mmap failed on libcamera returned frame data
I'm working with camera on a Raspberry Pi 3B. The frame data returned by libcamera is given by tuples of raw fd, size and offset. And according to the official document I have to mmap them to access ...
0
votes
0
answers
35
views
Epoll wont rebuild on raspberry pi3 using election forge
I have electron forge installed on my rpi3. I am trying to build an electron app that uses the module ‘onoff’ to access the GPIO pins. When I try to build the app using ‘npm run make’ i get the ...
0
votes
0
answers
61
views
How to reinstall a "deinstalled" apt and apt-listchanges on raspbian
I'm new to raspberry pi. I have a raspbian os and I accidentally executed this on my terminal:
sudo apt-get --reinstall apt
and it warned me if I wanted to continue should I type "Yes, do as I ...