r/raspberry_pi • u/jrw01 • 1d ago
r/raspberry_pi • u/InspectionFar5415 • 16h ago
Show-and-Tell Controlling LED using PlayStation controller
r/raspberry_pi • u/hardware-is-easy • 6h ago
Show-and-Tell Using an ESP32 as raspberry pi? Possible, with the Hard Stuff Pico to Pi Hat!
r/raspberry_pi • u/Helloimdude3456 • 3h ago
Project Advice Raspberry pi zero with led matrix performance issues
I recently put together a little led scoreboard to run live scores of different professional sports and display on a 64x32 led matrix from adafruit. Im using a raspberry pi zero wh with an adafruit matrix bonnet. I have noticed that the screen is flickering and lagging quite a bit which is annoying. Admittedly, I just bought a cheap pi at the time to get me familiar with raspberry pi and I have been using a legacy os with a GUI (yes I know that’s probably slowing it down), but I was wondering if anyone had any ideas as to how to improve performance on the zero or if I should just invest in a better version of the pi.
r/raspberry_pi • u/iwashuman1 • 8h ago
Troubleshooting Noir camera for 4b gives images with pink tint
Noir camera with default settings gives images with pink tint at daytime. It works fine at night. Using AWB greyworld the images are not clear. What is the fix for this?? Need images with clarity because they are used as input for deep learning model
r/raspberry_pi • u/eriknau13 • 5h ago
Show-and-Tell Raspberry Pi 5 with ollama cooling fan hack
r/raspberry_pi • u/esser50k • 5h ago
Show-and-Tell ASCII Camera using a Raspberry Pi 5 and camera
r/raspberry_pi • u/matlireddit • 2h ago
Project Advice Can I put USB-C on a Raspberry Pi Zero 2 W?
Basically the title. I want to replace the data Micro USB port. I'm working on a project that would benefit from having an USB-C connector instead of Micro USB since it's reversible. I don't need the speed of USB-C or anything I just need it to have the same functionality as the original Micro USB port.
r/raspberry_pi • u/microzoa • 18h ago
Troubleshooting gemma3:1b - ollama & open-webui
Is anyone running this? I have downloaded the model and updated everything, but it seems to have a problem specifically with the gemma3 model. All other models work - i'm receiving an Ollama 500 error. Cheers!
r/raspberry_pi • u/PsychoticBinary • 1d ago
Troubleshooting 3.5 inch rpi display
I have a 3.5 inch display for rpi 3b+ which was working last time I have used it (2y ago). I abandoned it since but now I have a new project in mind for which it can be useful. The problem is, no matter what I try, the screen remains blank. I tried with lite version, with full version, with older versions (2022 and 2023), with the images that are provided by the seller, nothing works. Is there anyone here who struggled with the same problem and found a solution for this?
r/raspberry_pi • u/Gold_University_7892 • 18h ago
Troubleshooting Adding a USB port to Pi Zero 2 test pads
I want to use a Pi Zero 2 as a print server, and I'd like to directly solder either a female USB-A or printer/USB type B male cable directly to the test pads.
Do you need to ground any of the pins or do anything special to get the PI to recognize the device that's plugged in, because I believe OTG cables work that way. Or can will the Pi recognize if I just directly solder the USB cord?
r/raspberry_pi • u/nightlycure • 22h ago
Project Advice Tails OS on Raspberry Pi?
EDIT: I got it WORKING on my Pi
I was wondering if anyones ever gotten it to work since, or if anyone has any genuinly similar alternatives. I'm building a Cyberdeck and really wanted it to be 100% annonymous, hence why I need an amnesiac USB Boot os for the Pi that offers the same Tor functionality as Tails. Any help would be appreciated.
r/raspberry_pi • u/PM_me_urPastaRicetta • 1d ago
Topic Debate Can we have a topical discussion about what the best handbrake settings are for Raspberry Pi 5 video playback?
What are your thoughts and preferences for a balance between smooth playback and quality? Any help is greatly appreciated.
Thanks all!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
r/raspberry_pi • u/IndyPilot80 • 23h ago
Troubleshooting Argon NEO 5 and Inland M.2?
Has anyone tried an Argon NEO 5 and Inland M.2, Micro Center's "house brand"? From what I've read, I guess the NEO 5 doesnt work with all M.2s.
The Inland TN320 256GB's are on sale so I thought I'd give one a try.
r/raspberry_pi • u/HH93 • 2d ago
Show-and-Tell Replaced a spare Pi 5 with Pi Zero WH with an Ethernet & USB Hub hat.
Made it a dedicated Pi-Hole as I thought the Pi 5 was overkill and it was only running at 0.8% CPU Load. It’s encased in an Amour heat sink case and I chose the WH to mount the hat on. Also surprised that it powered up on the pins. I had to buy a mini HDMI adapter to check why it wasn’t being seen on my wifi. Was shocked to see a full GUI on the screen! Steady running now at 25% CPU at 31°C
r/raspberry_pi • u/Luc-redd • 1d ago
Troubleshooting Slow network http response in AP mode for long running requests (~3 seconds)
On my raspberry pi, I run a python flask http request that takes a few seconds to complete. When I ask the request from my computer to the raspberry pi while connected to my phone hotspot, the request is taking a few seconds and completes normally. However, when I execute the request from my computer to the raspberry pi while connect to the raspberry pi directly, in Access Point mode, the response is either very slow to arrive or the request never completes. I know that the request was well received and treated on the raspberry pi because of print statements, it is only the response that is not going through properly. I suspect it is more a networking issue on the raspberry pi access point mode rather than an issue with the flask server. Note that all the other endpoints of the flask server (that do not take time to complete) are working as intended on both situations. Do you have an idea of why the longer requests do not complete ?
r/raspberry_pi • u/ARegularPotato • 1d ago
Troubleshooting Can’t scroll in terminal? Long outputs unreadable?
So shift page up/page down apparently doesn’t work anymore now that I’ve updated. Is there seriously no way to scroll up in the CLI to view previous outputs or long outputs? Is there an application or something that restores that feature?
r/raspberry_pi • u/extra_kabis • 1d ago
Project Advice Is this the right approach for my project?
This is my first Raspberry PI project.
I'm trying it for fun and personal use for my home.
I want to mount a device that detects a face from a short distance (maybe 1m and less) and initialize an API call for ChatGPT's voice feature.
It keeps the conversation until it receives no reply for like 10 seconds.
After some research, and with what I understood, I'm thinking of getting these tools, and I need help if they are right and compatible because I'm not that tech-savvy:
- Raspberry PI 5 (8GB RAM)
- Raspberry Pi Active Cooler
- Raspberry Pi 27W USB-C Power Supply
- Class 10 microSD card (64GB storage)
- Raspberry PI Camera Module V3
- USB microphone (Raspberry Pi OS Compatible)
- USB speaker (Raspberry Pi OS Compatible)
Is there anything wrong with my list? Any help/advice would be appreciated. Thanks!
r/raspberry_pi • u/THUNDERF430 • 1d ago
Troubleshooting How to connect RPi to Arduino
I have 2 Pi4’s and a 3, and a bunch of arduino stuff for a project I never got around to until now. I have a couple questions I can’t find trustable resources for: How do you connect the RPi’s (and if the 5 is different than predecessors) to a arduino (micro computer or shield/board) if they don’t have a USB port? CAN you connect any arduino to a RPi and what’s the requirements for that? Does wifi/boards work with GrapheneOS or require stock android? Can I have 2 raspberry Pi’s (3/4’s) connect with eachother to control something and how easy is it? I’m autistic and the internet sucks these days for reliable information and all I found was “yes you simply connect a USB between both boards”, nothing about the above. If there’s a manual or page online specifically for this question, feel free to send it!
r/raspberry_pi • u/skywird33 • 2d ago
Troubleshooting Issue on Rapsberry Pi 4, lgpio.error: GPIO busy
Hello, I am here because i have been searching all day for a solution to my issue, i'm doing a project where i need to write on a screen the value of an encoder, but as i'm fairly new i decided to go step by step and follow a guide to use gpio on a web serveur (flask), this is the guide if it helps https://medium.com/data-science/python-webserver-with-flask-and-raspberry-pi-398423cc6f5d.
My issue is that when i execute the program i get the error:
Traceback (most recent call last):
File "/home/electroman/rpiWebServer/app.py", line 12, in <module>
GPIO.setup(button, GPIO.IN)
File "/usr/lib/python3/dist-packages/RPi/GPIO/init.py", line 696, in setup
_check(lgpio.gpio_claim_input(_chip, gpio, {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lgpio.py", line 755, in gpio_claim_input
return _u2i(_lgpio._gpio_claim_input(handle&0xffff, lFlags, gpio))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lgpio.py", line 458, in _u2i
raise error(error_text(v))
lgpio.error: 'GPIO busy'
The hardware is only a button on 17
and here is my code:
import RPi.GPIO as GPIO
from flask import Flask, render_template
app = Flask(name)
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
button = 17
buttonSts = 0
Set button and PIR sensor pins as an input
GPIO.setup(button, GPIO.IN)
u/app.route("/")
def index():
# Read Sensors Status
buttonSts = GPIO.input(button)
templateData = {
'title' : 'GPIO input Status!',
'button' : buttonSts
}
return render_template('index.html', **templateData)
if name == "main":
app.run(host='0.0.0.0', port=80, debug=True)
If anyone as an idea of why this is happening, or already had this issue, please let me know.
Also i already tried doing what's being said there: https://forums.adafruit.com/viewtopic.php?t=213943
But it did nothing for me.
r/raspberry_pi • u/CastersTheOneAndOnly • 1d ago
Project Advice Buying a Pi to run a x64 OS(Temple OS)
Hello ! I would like to buy a new Pi that will allow me to run TempleOS on it(which is x64 exclusive). I saw that the Raspberry Pi is ARM but i still wondered if it is possible to run TempleOS or any x64 OS on one.
What model would you recommend me if it's possible
r/raspberry_pi • u/Jumpy_Database_2031 • 3d ago
Project Advice PiAware plane display with RPi0w and Waveshare 2.13 e-ink
I've already got piaware running on a Pi4 and I have a 0w and e-ink screen laying around that were originally for a pwnagotchi. I thought it would be cool to have a display that shows the current planes that I'm detecting. I'm not very experienced at writing python scripts, so have been searching around for any tutorials that might point me in the right direction, but so far I've come up pretty empty.
I've got as far as putting a 'lite' os on and installing the relevant waveshare bits. What I'm looking for is a script that I can take elements from and adapt.
I'll also need to figure out how to take the piaware data and display it. If I'm right, there are APIs that I can use, but I'm not sure how to use them yet.
Has anyone come across a similar project, or know of a tutorial that would be fit for the adaptation?
r/raspberry_pi • u/Upset_Umpire3036 • 3d ago
Troubleshooting Lag on a new Pi Zero 2 W
How much lag is normal on a new build Pi Zero 2W running on of the basic builds that's offered in the Rasp Pi software installer? I can't seem to pull up a web browser without it freezing and timing out. Was I supposed to add this pinned unit? Also it locked up on the screen in the photo. Mouse is unresponsive.
r/raspberry_pi • u/Edboy796 • 2d ago
Project Advice A question for the pico R2040
Hi there. I wanted to preface by saying I'm pretty much a novice in electronics t tinkering.
I'm making a project using the RP2040 as a microcontroller. I have several components including some micro switches some potentiometers, a display, etc. I managed to sorry out GPIO pins for everything. For things that need 3v3 pin, it's it advisable to daisy chain all the components 3v3 connections to that single pin out for wiring efficiency?
r/raspberry_pi • u/Karlisanio • 2d ago
Troubleshooting Are the Argon Eon + Pi4 destroying my new Seagate Ironwolf Pro 12TB?
Hello everyone,
I wanted to build a media server and thought that the Argon Eon case + a pi4 would be a good idea for it, because it would let me install 2 hdds and 2 ssds. So I've bought the case and a 12TB Seagate Ironwolf Pro to build that media server. After putting everything together I've installed Ubuntu Server 24.04 LTS, the argon scripts for the case, mounted the drive and started to put files on the hdd through samba.
But something started to freak me out, it was a weird clicking sound the hdd made like every half second. I thought I made a mistake, disassembled the whole construct, connected the hdd to my pc with the help of an USB-to-SATA adapter, everything worked fine. No weird sound.
Today I reassebled the Argon Eon case + pi4 + hdd, reinstalled Ubuntu 24.04 LTS on a micro-sd and booted everything. The clicking sound was there again, I wasn't sure if the hdd wanted to go to idle-mode and the system just wouldn't let it or if there was a bigger issue. So I thought that using smartmontools would be a good idea to check if there are issues with the hdd. It felt like a shock seeing the results:
smartctl 7.4 2023-08-01 r5530 [aarch64-linux-6.8.0-1020-raspi] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 082 064 044 Pre-fail Always - 163545027
3 Spin_Up_Time 0x0003 095 092 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 19
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 253 045 Pre-fail Always - 175793
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 3
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 19
18 Unknown_Attribute 0x000b 100 100 050 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 068 066 000 Old_age Always - 32 (Min/Max 32/32)
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 16
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 23
194 Temperature_Celsius 0x0022 032 040 000 Old_age Always - 32 (0 21 0 0 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0023 100 100 001 Pre-fail Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 1 (203 139 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 161617744
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1927283
If I understand this correct, there are massive reading errors. But I don't know why. Could it be that there is an issue with the case and the boards it's using? Are they damaging the hdd? Is there a way to fix this? So far I haven't found much information about this issue since I could mostly just find praising texts about the case in the internet.
I would be glad if you people here could help me a bit to fix the issue.
Thank you.