All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
40 views

Trouble connecting raspberry pi to laptop

I am new to raspberry pi, I am following this tutorial https://beebom.com/how-use-windows-laptop-as-monitor-raspberry-pi/#:~:text=Use%20the%20ethernet%20cable%20and,port%20as%20a%20power%20source. I ...
user avatar
0 votes
0 answers
16 views

What's causing background apt network usage?

I have a Pi Zero 2 W that's set up with a cellular modem as its only internet-connected network interface. To reduce data costs, I want to restrict Raspbian's network usage to only my app. Letting it ...
user avatar
0 votes
0 answers
12 views

Connecting LEDs via Joy-IT ProtoShield+ GPIO

I am starting my first Raspberry Pi project and want to start with controlling some LEDs. I bought a Joy-IT ProtoShield+ (https://joy-it.net/en/products/RB-Proto+) for prototyping but I do not ...
user avatar
  • 101
0 votes
0 answers
12 views

Webcam resolution problems on pi zero

I have connected a USB webcam to my pi zero w (v1) and when I take a picture with ffmpeg $ ffmpeg -y -f v4l2 -video_size 640x480 -i /dev/video0 -r 0.2 -update 1 /home/pi/webcam/still.jpg It tells me ...
user avatar
0 votes
0 answers
22 views

Problems with three USB cameras using OpenCV

I am currently working on a project with a Raspberry PI 3 b+. The idea is to film a surface with 3 USB cameras to locate objects. To test if my setup works, I wanted to stream their content to three ...
user avatar
0 votes
0 answers
24 views

How to repair a wifi connection when `iwlist wlan0 scan` returns nothing?

My RP4 have worked fine for more than one year. I have just lost the wifi: "wifi not associated" /etc/wpa_supplicant/wpa_supplicant.conf looks right with my SSID and password and it has ...
user avatar
  • 111
1 vote
1 answer
44 views

enable ssh on pi4 FreeBSD

I installed FreeBSD on my pi4 and now i am trying to setup ssh so i can ssh into it and run c files via my computer on the LAN. When i type in 'ifconfig' i get a lot of info but the important ...
user avatar
  • 11
0 votes
1 answer
61 views

How best to clone SD card to larger - have tried dd, but get file system errors?

I have a headless raspberry pi running Home Assistant and a bunch of other docker containers. It has been running on a 64GB SD for some time and runs fine, but very occasionally runs out of space due ...
user avatar
  • 103
0 votes
1 answer
35 views

Argon ONE V2 with 128 GB SSD not booting (but on random basis)

This is really confusing for me. My Argon One case with M.2 SSD do not boot sometimes giving below error: usb2-port2: Cannot enable. Maybe the USB cable is bad? usb2-port2: Cannot enable. Maybe the ...
user avatar
1 vote
0 answers
42 views

Arduino-Pico RF433 Rf-Tx cheap modules

I currently use Arduino IDE to program Raspberry Pico, using this as reference. Arduino-pico Github My intention, is to use RadioHead library which is not available in MicroPython, to send and receive ...
user avatar
  • 121
0 votes
1 answer
37 views

How to connect Raspberry PI 3 B to two Bluetooth modules or more using Linux Commands

I'm working on a project; that needs to send data from the two Arduinos using two Bluetooth Module (One using HC-06 and the other using HC-05) to Raspberry PI 3 B; so that the RPi 3 need to connect to ...
user avatar
0 votes
1 answer
24 views

Problem turning on Raspberry Pi 2b

I have a Raspberry Pi 2b that I have trouble turning on 1_When I insert the SD card containing the operating system into the Raspberry Pi and connect it to the adapter, sometimes the green light turns ...
user avatar
0 votes
0 answers
35 views

Checking whether the Raspberry pi is communicating over the ethernet cable

I connected a camera to my Raspberry Pi 4 over the ethernet cable and I do not know whether the camera is even communicating with the Raspberry. Is there any way that I can check (through terminal) if ...
user avatar
0 votes
0 answers
19 views

How To rearrange Raspberry Pi Main Menu

I have a raspberry pi 4b. It does what I want it to do. I am not particularly fond of its main menu layout however. I would like to rearrange things, have a couple of new submenus, move applications ...
user avatar
1 vote
0 answers
71 views

Python code not working: Programming a motor to turn on using a switch (Raspberry Pi)

HELP! Ideally within the next 24hrs PLEASE!!!!! We have a simple circuit where we have a button, that when pressed, starts a motor that needs to run at a certain speed for a certain amount of time. (...
user avatar
  • 11
1 vote
0 answers
15 views

ssh "Connection refused" on fresh Raspbian 11 lite? [duplicate]

I just installed Raspbian on an sd card using Rpi imager. I manually added the empty ssh file like I always do, booted up and ssh'ed into it. It worked great. Then I realised it was Raspbian 10 (old ...
user avatar
  • 267
0 votes
0 answers
35 views

Turn on LED using pi4j and Raspberry pi 4

I am so new to Raspberry Pi. I want to use pi4j 2 to flash a led that is connected to a raspberry pi. This is my code but the led does not turn on at all: import com.pi4j.Pi4J; import com.pi4j.io.gpio....
user avatar
0 votes
0 answers
38 views

Raspberry Pi direct wiring connection problem

I wrote some code to activate a video when a motion sensor detects movement. So far everything works while everything is wired to the breadboard. When I connect my motion sensor to the Pi itself, it ...
user avatar
0 votes
0 answers
15 views

How to set up auto proxy using pac file

I am new to linux. I need to use a raspberry pi under my company network. The network uses corporate proxy. The proxy is needed to access the internet. In windows the set up is done by a pac file, I ...
user avatar
0 votes
0 answers
27 views

WiFi Doesn't Connect After Reboot

I am super new to coding and have been trying my hand at setting up a Magic Mirror with a Raspberry Pi 4B (purchased here). I've been doing pretty well but ran into a problem where my WiFi no longer ...
user avatar
0 votes
0 answers
23 views

How to create a surveillance system using an IP camera?

I am completely new to this whole Raspberry Pi thing, but I would like to create a surveillance system with an IP camera. I have a Dahua Technology Model: DH-IPC-HDW1220SP camera that I connected with ...
user avatar
0 votes
1 answer
22 views

Displaying camera image in real time and drawing over it

I am trying to make a remote controlled drone with an RPI and a RPI camera module. For that I wold like to display in real time what the drone is seeing (via the camera), and draw a GUI over it to ...
user avatar
1 vote
4 answers
77 views

Safest way for a 220V relay

I need to turn on and off a very power-hungry appliance using my Raspberry Pi. I know a lot about software, and next to nothing about electronics and hardware. I looked around, and I saw a few rather ...
user avatar
  • 111
0 votes
0 answers
28 views

Get a shell to the pi with no shared wifi and only using ethernet

WHen I flash my firmware, I had set up the wifi SSID and password to use the pi in my local LAN. How can I have a shell to the pi if im not in my local LAN? Say if I don't have wifi on my local host ...
user avatar
  • 1
0 votes
0 answers
23 views

Controlling my TECO air conditioner with my Raspberry Pi

I have an aircon unit in my house. I want to be able to control it using my Raspberry Pi. The unit comes with an infrared remote. Please note that I am a seasoned software engineer, so the software ...
user avatar
  • 111
0 votes
0 answers
15 views

Is it possible to send/receive midi data via audio out/in ports?

There are a couple standards for using 3.5mm TRS ports to send/receive midi data, rather than the traditional 5-pin DIN connector: https://minimidi.world/ Of course, the driver circuit behind the port ...
user avatar
  • 101
0 votes
0 answers
6 views

R-Pi, Looking for details of the pitft35-resistive driver

I need to find a reference (or better still sourcecode) for the above driver for the 3.5" PiTFT display, so I can understand the arguments when using it with dtoverlay. These include: rotate, ...
user avatar
  • 1
0 votes
1 answer
20 views

Damaged GPIO4 1w

My system was working 100% with two sensors on the GPIO 4 for 1w. The damn wire broke and think I damaged the GPIO 4 pin as the sensors aren't being registered. Could I use a different GPIO pin? My ...
user avatar
  • 1
-3 votes
1 answer
40 views

How to create a file using command-line interface (CLI) in a Raspberry Pi terminal? [closed]

How can I create an empty file using a command line interface in a Terminal application of a Raspberry Pi instead of using the File Manager?
user avatar
0 votes
0 answers
29 views

Why is the distributor ID of the latest RPi OS Lite image 'Debian' and not 'Raspbian'? [duplicate]

I just flashed the latest RPi OS Lite image (64 bit) Bullseye and loaded onto a RPi 4B (4GB) using the RPI imager. Released 2022-04-04 When I booted the Pi, I checked its lsb_release -a and I realised,...
user avatar
1 vote
1 answer
158 views

Protecting PI when driving motors

I am planning on driving two 12V DC motors using the "L293D" motor driver. For that I'm using a 12V battery for the motor supply, and a RaspberryPi to generate a PWM wave to regulate the ...
user avatar
1 vote
1 answer
45 views

if-else to check whether sd card or usb disk.? [closed]

How can I set this up so that it itself checks if there is an sd or usb, so it makes a backup depending on whether I have an sd card or usb disk attached. ??? dd if=/dev/mmcblk0 of=${BACKUP_PATH}/${...
user avatar
0 votes
0 answers
26 views

Back and forth communication between Pico and PC

I am making a Pico powered PWM fan controller, and I currently have 2 potentiometers to control the fan speed. I am however thinking about writing some software in Python to modify the speed. The ...
user avatar
0 votes
0 answers
21 views

Connect to bluetooth using only touch screen

Using my raspberry pi 4 with Raspian bullseye and a touch screen, things work fine. However, if I was to add a blutooth device, I select the bluetooth icon from the task bar and connect no problem. ...
user avatar
0 votes
0 answers
37 views

GDB pointing to the wrong file when debugging with picoprobe + openOCD

I'm trying to debug a Raspberry Pi Pico project using openOCD + Picoprobe. I go through the steps that appear to be correct to do all this from my Linux PC (the Get started with Pico and C++ guide is ...
user avatar
0 votes
0 answers
31 views

Is there a way to control the 64 bit Raspberry PI OS with an XBox Controller?

With the 32 bit Raspberry Pi OS (32 bit Raspbian), many people recommend using the xboxdrv driver for acting as a mouse substitute to control Raspberry Pi OS. It will map “A” as left click, “B” as ...
user avatar
  • 101
0 votes
2 answers
36 views

Can't use mkdir unless sudo is used

I lost my ssd on my pi and had to buy a new one, when installing the lite version of the OS I used the imager tool to create a "pi" user, since it does not do it automatically anymore. But ...
user avatar
0 votes
0 answers
29 views

pybluez bad install

Yesterday I installed my Raspberry Pi OS Lite (Debian Bullseye) using Raspberry Pi imager on my Mac. Everything in the most straightforward, up-to-date version. Today I began working with Python. ...
user avatar
-2 votes
1 answer
24 views

hi i have a problem with dht11 and LED

I want to record data from dht11 and turn on the LED in the same code the dht11 work good by separate code the led also work well by separate code the problem is when I make it one py code problem ...
user avatar
  • 3
0 votes
0 answers
43 views

Raspberry Pi Touchscreen doesn't work with Windows 10

I have a Raspberry Pi Touchscreen connected to my Raspberry Pi. It worked perfectly with Raspbian but with Windows 10 it doesnt. I've done all the Windows Updates and don't know what to do to make it ...
user avatar
0 votes
1 answer
102 views

Libcamera apps do not work

I'm on Raspberry Pi OS Bullseye, using a Pi 3B. The error message is differing from the ones I could find on previous posts, and there are different fixes by changing dtoverlay in /boot/config.txt. ...
user avatar
0 votes
1 answer
31 views

RaspberryPi security, Bios settings, ubuntu secure boot. 2fa u2fa hacking

Do I have to enter operatingsystem in order to access BIOS settings on a raspberry pi? I am thinking about installing ubuntu on a raspberrypi and I see that linux has equvalent to windows 10 safemode. ...
user avatar
0 votes
0 answers
16 views

install qtcreator kit on raspberry pi 4b - 64 bit

I've tries sudo apt install qtcreator and menu / preferences / add/remove software - search qtcreator, check qtcreator, apply both seem to install qtcreator ok. But it can't find any qt kit. which ...
user avatar
0 votes
1 answer
32 views

help with /etc/os-release echo $VERSION_CODENAME' [closed]

How can i make this : bash -c '. /etc/os-release; echo $VERSION_CODENAME' so it look like this : get_codename() { local VERSION_CODENAME VERSION_CODENAME=$(. /etc/os-release | awk '{print $1}') echo &...
user avatar
-1 votes
1 answer
30 views

Reformat 64gb/128gb SD Card to FAT32

From what I've read the raspberry OS bootloader only supports FAT32 partitions, which aren't default on 32gb+ sd cards. (even thhough most stuff I read seems to conflict with the documentation; https:/...
user avatar
0 votes
2 answers
61 views

Can a program be stored in flash memory on raspberry pi and run without a monitor and internet connection like on an Arduino?

Sorry if this is a stupid question, but I'm new to Pi and Arduino, and couldn't really find an answer through Googling. I'm designing a project that needs some sort of "brain" which will use ...
user avatar
0 votes
0 answers
51 views

raspistill is not working on Raspberry 4 Model B with Raspberry OS Buster and Pi Camera rev 1.3 (supposedly OV5647)

I have confirmed that it is detected by vcgencmd and v4l2-ctl vcgen: $ vcgencmd get_camera supported=1 detected=1, libcamera interfaces=0 v4l2-ctl: $ v4l2-ctl --list-devices bcm2835-codec-decode (...
user avatar
  • 1
0 votes
0 answers
74 views

Can't connect to pigpio at localhost(8888)

So I don't think this issue is related necessarily to my code, because I'm thrown this error even running some formally working code examples from my textbook (Practical Python Programming for IoT): %%...
user avatar
1 vote
0 answers
36 views

How to set the suitable value on gpio for PWM?

I have this python code: #!/usr/bin/env python # servo_demo.py # 2016-10-07 # Public Domain # servo_demo.py # Send servo pulses to GPIO 4. # servo_demo.py 23 24 25 # Send servo pulses to ...
user avatar
0 votes
0 answers
37 views

Ubuntu 22.04 POE+ hat fan control - seeking updated guidance

I recently updated to 64-bit 22.04 Server on a Headless Raspberry Pi 4B 8Gb model with a POE+ hat, and the fan speed control on the POE+ hat seems to have changed. Searching Google/forums only shows ...
user avatar

15 30 50 per page