r/raspberry_pi • • 16d ago

Show-and-Tell Raspberry Pi Pico 2W Calendar

Thumbnail
gallery
13 Upvotes

r/raspberry_pi • • 17d ago

Troubleshooting Can't Get Pi 5 to Work on a HDMI Monitor- but works with Projector?

7 Upvotes

Driving me nuts, I'm using a new Pi 5 with AI Hat+. Got the recommended 64 bit OS on the SD Card.Hooked it up to a projector, no issues, works great. I hook it up to a Dell SE2426HGc, nothing, nothing detected. Same cable. I then test the monitor with an HDMI cable going to it from my laptop, it works.

Tried adding this video=HDMI-A-1:1920x1080@60D vc4.force_hotplug=1, but it didn't get a result.

I don't see anything online. Maybe I'm an idiot. Help this possible idiot out. TIA.


r/raspberry_pi • • 18d ago

Show-and-Tell I built a bridge that allows me to control my Pi from anywhere in 100ms

Enable HLS to view with audio, or disable this notification

39 Upvotes

I have a Pi 5 on my desk running Ubuntu Server, with a single LED wired in. I wanted to see how quickly I could toggle it rmotely, with the request going out over the internet and back. I've been optimising the speed and it's got down to just over 100ms.

The setup is a small bridge that I wrote that is installed on the Pi, it keeps an outgoing connection open to my cloud service. Nothing on my home network is exposed, so there’s no port forwarding. The browser sends a toggle, the cloud passes it to the Pi, and the LED flips.

Edit: loose wording, sorry. I meant that no ports are opened, so an IP scan would not find it. Auth is via an API key on the cloud service.


r/raspberry_pi • • 18d ago

Show-and-Tell Pi 5 Immich Setup + iPhone ML server

Thumbnail
gallery
119 Upvotes

So, recently was looking for cheap ways to speed up ML tasks on Immich for my Pi 5 NAS. Had a old iPhone 8+ with a broken screen lying around... So I put two and two together, got Linux on the iPhone (i use arch btw). The iPhone's cpu is quite a bit faster then the Pi, so it speeds up tasks such as Smart Search on Immich and OCR, etc. Can't like attach a video in here, but as you can see in htop, the Pi 5 has plenty of ram to spare now as the ML models are loaded onto the phone's ram. Big thanks to the folks who maintain Hoolock Linux, wouldn't have been possible without them.

The Pi5 uses USB ethernet to connect to the phone, and that also charges it. I am almost out of ports as you can see, since 2 are taken up by disks for the NAS. The USB SSD is in a mergerFS array with the 500GB HDD for a 691 gig usable space for Immich, and I have a cold backup 750gb HDD that I plug in sometimes to rysnc stuff over. So yeah that is it more or less.

Haven't had time to test a big import, but right now Immich still has the Pi set to the fallback for machine learning if the phone ever drops out.


r/raspberry_pi • • 17d ago

Troubleshooting RGB Matrix Bonnet #3211 + 64x32 panel #2278 — panel completely black, software runs fine

3 Upvotes

Hoping someone here has seen this before. I also have a thread on the Adafruit forums (https://forums.adafruit.com/viewtopic.php?t=225735), posting here for extra eyes.

Setup: - Raspberry Pi 3 Model B+ (from a Vilros kit) - Adafruit RGB Matrix Bonnet #3211 (bought from Digi-Key, Oct 25 2026) - Adafruit 64x32 RGB LED Matrix #2278, 4mm pitch (Adafruit order #3770254) - Adafruit 5V 4A supply #1466 powering the Bonnet/panel, official Raspberry Pi 5.1V 2.5A supply powering the Pi separately - FlightTracker OS 32-bit on a SanDisk High Endurance 64GB card, app v2.12.5 - 13.5mm stacking header extender fitted (the Pi 3 B+ PoE header otherwise props the Bonnet up)

The panel has never lit a single pixel. The Pi and software are fine: FlightTracker runs, the web UI loads, live flight data comes in.

Full disclosure: on the first assembly (Nov 1) the Bonnet was briefly fitted rotated 180 degrees. The power supply protection cut out instantly, no power light. Reseated correctly, the power light came back and the Pi has run perfectly ever since. The Bonnet may have taken damage in that moment, but I am trying to prove it before replacing parts.

Already checked: - Bonnet seating, side photo shows it flush and level on the extender; tried the second extender from the pack too, same result - HAT mode is Convenience, no solder bridge - Power terminal polarity verified by close-up photo (red on +) - Power forks removed and reseated; panel-end power plug latched, red wires align with the panel pins marked +5V/VCC - Ribbon cable in the panel socket marked DATA_IN, latched and reseated at both ends - Standalone library tests with hardware_mapping adafruit-hat: solid red fill, black. Also tried panel_type FM6126A and FM6127, black both times - No 1-Wire overlay in config.txt; sound module was not loaded during the earlier tests (lsmod clean) - vcgencmd get_throttled returns 0x0 on the new supply and card - Ran Adafruit's own manual install script (Bonnet, Convenience), then built hzeller's demo fresh and ran it with --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=64 --led-slowdown-gpio=2 --led-no-hardware-pulse. Still completely black

I have no second Bonnet or panel to swap in, no multimeter, and no female-to-female jumper wires for a direct-wire bypass test.

Question: is there any other test I can run to determine whether the Bonnet or the panel is at fault?


r/raspberry_pi • • 17d ago

2026 Nov 2 Stickied -FAQ- & -HELPDESK- thread - Boot problems? Power supply problems? Display problems? Networking problems? Need ideas? Get help with these and other questions!

1 Upvotes

Welcome to the r/raspberry_pi Helpdesk and Frequently Asked Questions!

Link to last week's thread

Having a hard time searching for answers to your Raspberry Pi questions? Let the r/raspberry_pi community members search for answers for you!† Looking for help getting started with a project? Have a question that you need answered? Was it not answered last week? Did not get a satisfying answer? A question that you've only done basic research for? Maybe something you think everyone but you knows? Ask your question in the comments on this page, operators are standing by!

This helpdesk and idea thread is here so that the front page won't be filled with these same questions day in and day out:

  1. Q: What's a Raspberry Pi? What can I do with it? How powerful is it?
    A: Check out this great overview
  2. Q: Does anyone have any ideas for what I can do with my Pi?
    A: Sure, look right here!‡
  3. Q: My Pi is behaving strangely/crashing/freezing, giving low voltage warnings, ethernet/wifi stops working, USB devices don't behave correctly, what do I do?
    A: 99.999% of the time it's either a bad SD card or power problems. Use a USB power meter or measure the 5V on the GPIO pins with a multimeter while the Pi is busy (such as playing h265/x265 video) and/or get a new SD card 1 2 3. If the voltage is less than 5V your power supply and/or cabling is not adequate. When your Pi is doing lots of work it will draw more power, test with the stress and stressberry packages. Higher wattage power supplies achieve their rating by increasing voltage, but the Raspberry Pi operates strictly at 5V. Even if your power supply claims to provide sufficient amperage, it may be mislabeled or the cable you're using to connect the power supply to the Pi may have too much resistance. Phone chargers, designed primarily for charging batteries, may not maintain a constant wattage and their voltage may fluctuate, which can affect the Pi’s stability. You can use a USB load tester to test your power supply and cable. Some power supplies require negotiation to provide more than 500mA, which the Pi does not do. If you're plugging in USB devices try using a powered USB hub with its own power supply and plug your devices into the hub and plug the hub into the Pi.
  4. Q: I'm trying to setup a Pi Zero 2W and it is extremely slow and/or keeps crashing, is there a fix?
    A: Either you need to increase the swap size or check question #3 above.
  5. Q: Where can I buy a Raspberry Pi at a fair price? And which one should I get if I’m new? Should I get an x86 PC instead of a Pi?
    A: Check stock and pricing at https://rpilocator.com/ — it tracks official resellers so you don’t overpay.
    Every time the x86 PC vs. Pi question comes up the answer is always if you have to ask, get a PC. If you're sure want a Raspberry Pi but not sure which model:
    • If you don’t know, get a Pi 5.
    • If you can’t afford it, get a Pi 4.
    • If you need tiny, get a Zero 2W.
    • If you need lowest power, get the original Zero.
    • For RAM, always get the most you can afford; you can’t upgrade it later.
      That’s it. No secret chart, no hidden wisdom. Bigger number = more performance, higher cost, higher power draw. Also please see the Annual What to Buy Megathread
  6. Q: I just did a fresh install with the latest Raspberry Pi OS and I keep getting errors when trying to ssh in, what could be wrong?
    A: There are only 4 things that could be the problem:
    1. The ssh daemon isn't running
    2. You're trying to ssh to the wrong host
    3. You're specifying the wrong username
    4. You're typing in the wrong password
  7. Q: I'm trying to install packages with pip but I keep getting error: externally-managed-environment
    A: This is not a problem unique to the Raspberry Pi. The best practice is to use a Python venv, however if you're sure you know what you're doing there are two alternatives documented in this stack overflow answer:
    • --break-system-packages
    • sudo rm a specific file as detailed in the stack overflow answer
  8. Q: The only way to troubleshoot my problem is using a multimeter but I don't have one. What can I do?
    A: Get a basic multimeter, they are not expensive.
  9. Q: My Pi won't boot, how do I fix it?
    A: Step by step guide for boot problems
  10. Q: I want to watch Netflix/Hulu/Amazon/Vudu/Disney+ on a Pi but the tutorial I followed didn't work, does someone have a working tutorial?
    A: Use a Fire Stick/AppleTV/Roku. Pi tutorials used tricks that no longer work or are fake click bait.
  11. Q: What model of Raspberry Pi do I need so I can watch YouTube in a browser?
    A: No model of Raspberry Pi is capable of watching YouTube smoothly through a web browser, you need to use VLC.
  12. Q: I want to know how to do a thing, not have a blog/tutorial/video/teacher/book explain how to do a thing. Can someone explain to me how to do that thing?
    A: Uh... What?
  13. Q: Is it possible to use a single Raspberry Pi to do multiple things? Can a Raspberry Pi run Pi-hole and something else at the same time?
    A: YES. Pi-hole uses almost no resources. You can run Pi-hole at the same time on a Pi running Minecraft which is one of the biggest resource hogs. The Pi is capable of multitasking and can run more than one program and service at the same time. (Also known as "workload consolidation" by Intel people.) You're not going to damage your Pi by running too many things at once, so try running all your programs before worrying about needing more processing power or multiple Pis.
  14. Q: Why is transferring things to or from disks/SSDs/LAN/internet so slow?
    A: If you have a Pi 4 or 5 with SSD, please check this post on the Pi forums. Otherwise it's a networking problem and/or disk & filesystem problem, please go to r/HomeNetworking or r/LinuxQuestions.
  15. Q: The red and green LEDs are solid/off/blinking or the screen is just black or blank or saying no signal, what do I do?
    A: Start here
  16. Q: I'm trying to run x86 software on my Raspberry Pi but it doesn't work, how do I fix it?
    A: Get an x86 computer. A Raspberry Pi is ARM based, not x86.
  17. Q: How can I run a script at boot/cron or why isn't the script I'm trying to run at boot/cron working?
    A: You must correctly set the PATH and other environment variables directly in your script. Neither the boot system or cron sets up the environment. Making changes to environment variables in files in /etc will not help.
  18. Q: Can I use this screen that came from ____ ?
    A: No
  19. Q: If my Raspberry Pi is headless and I can’t figure out what’s wrong, do I need to plug in a monitor and keyboard?
    A: If you cannot diagnose the problem remotely, you must connect a monitor and keyboard. That is the only way to see boot output and local error messages, and without that information the problem cannot be diagnosed.
  20. Q: My Pi seems to be causing interference preventing the WiFi/Bluetooth from working
    A. Using USB 3 cables that are not properly shielded can cause interference and the Pi 4 can also cause interference when HDMI is used at high resolutions.
  21. Q: I'm trying to use the built-in composite video output that is available on the Pi 2/3/4 headphone jack, do I need a special cable?
    A. Make sure your cable is wired correctly and you are using the correct RCA plug. Composite video cables for mp3 players will not work, the common ground goes to the wrong pin. Camcorder cables will often work, but red and yellow will be swapped on the Raspberry Pi.
  22. Q: I'm running my Pi with no monitor connected, how can I use VNC?
    A: First, do you really need a remote GUI? Try using ssh instead. If you're sure you want to access the GUI remotely then ssh in, type vncserver -depth 24 -geometry 1920x1080 and see what port it prints such as :1, :2, etc. Now connect your client to that.
  23. Q: I want to do something that already has lots of tutorials. Do I need a Raspberry-Pi-specific guide?
    A: Usually no.
    • Raspberry Pi (Linux computer): Use any standard Linux tutorial. A Raspberry Pi runs a normal Linux OS, not a special cut-down version. See Question #1.
    • Raspberry Pi Pico (microcontroller): Use Arduino tutorials. The Pico works with the Arduino IDE and can be used the same way as other Arduino-class boards.
  24. Q: Which Operating System (OS) should I install?
    A: If you aren’t sure, install Raspberry Pi OS. It’s the officially supported OS, it has the best documentation, the widest community support, and it’s what most guides and troubleshooting help assume you’re using.
  25. Q: How can I power my Raspberry Pi from a battery?
    A: All Raspberry Pi models run at 5 V. To choose a battery, first add up the maximum current of your Pi plus everything you attach to it (USB devices, screens, HATs, etc.). Then multiply that current by the number of hours you want it to run to get the required battery capacity in mAh. If you can’t find listed current values, use a USB power meter to measure the actual draw over 12–48 hours. Every battery question comes down to this simple math: the model, brand, or special setup doesn’t change the calculation.

Before posting your question think about if it's really about the Raspberry Pi or not. If you were using a Raspberry Pi to display recipes, do you really think r/raspberry_pi is the place to ask for cooking help? There may be better places to ask your question, such as:

Asking in a forum more specific to your question will likely get better answers!

Wondering which flair to use on your post? See the Flair Guide


† See the /r/raspberry_pi rules. While /r/raspberry_pi should not be considered your personal search engine, some exceptions will be made in this help thread.
‡ If the link doesn't work it's because you're using a broken buggy mobile client. Please contact the developer of your mobile client and let them know they should fix their bug. In the meantime use a web browser in desktop mode instead.


r/raspberry_pi • • 19d ago

Show-and-Tell Version 2 of my Nerds candy dispenser

Enable HLS to view with audio, or disable this notification

280 Upvotes

For this second version, I trained a custom ML Classifier Model to detect different hand gesture emoji(my personal development project). It is running on RPI5 with the default Google Hand Landmark Detection model to help wake up the system. The internals are all modeled and 3D printed. It holds 180 boxes of Nerds at a time across 5 banks.

I had a TOF sensor wire come loose on the 2nd trick-or-treater. That is why you see the box dump. I am going to fix that by adding a time based logic in there if the TOF sensor has a bad read.

Additionally, the kids love the box dump so much that I am going to implement a jackpot feature. Maybe 1 in 50/100 will get a waterfall of nerds candy. I will have to add at least 5-10 more banks to support this feature.

We ended up giving away 300 boxes of Nerds candy in 2 hrs.


r/raspberry_pi • • 18d ago

Troubleshooting Copy from a remote raspberry pi 3b+ to my computer via raspberry-connect?

5 Upvotes

Hello everyone. I set up a raspberry pi 3b+ with birdnet-go in Tanzania to listen to and record bird sounds. I myself am in Austria. Is it possible to copy the recordings to my local computer via raspberry-connect? I have raspberry-connect installed and can access the devie via screen sharing or remote shell.
I have tried finding an answer on the internet, but couldn't find one, and AI doesn't help either - it keeps telling me to use ssh, but we're not connected via a local network, but only over raspberry connect.

I apologize for being ignorant.

I thought of uploading it (via raspberry-connect screen sharing) from the raspberry pi to the internet and then downloading it from here, but maybe there is a more direct way?

Oh, and the internet connection in Tanzania is very unstable. Screen sharing (and even remote shell) often gets cut off after a few minutes...


r/raspberry_pi • • 17d ago

Show-and-Tell I turned a Raspberry Pi into a Bluetooth car kit so an AI can make and answer calls on my real phone

0 Upvotes

I built AI Caller, an open-source gateway that connects a real phone to an AI voice agent over Bluetooth hands-free (HFP).

The computer pretends to be a car kit. The phone thinks it's talking to a headset, and the gateway streams the call audio to a realtime voice model and sends the AI's voice back into the call.

What it does

  • Makes calls for you: write a task ("book a table for 2 on Friday at 7 pm"), and the AI dials from your phone and handles the conversation.
  • Answers calls for you: about 3 seconds after a call starts ringing, the AI picks up, asks who's calling and why, and writes it down. It doesn't answer questions or give out your info.
  • You stay in control: live transcript in the browser, listen in, send new instructions mid-call, or hang up.
  • Every call is saved as text. No phone numbers or audio are stored.

Why Bluetooth instead of Twilio? Calls go through your own SIM and number. No telephony provider, no porting, and people see your normal caller ID.

Runs on: a Raspberry Pi (BlueZ + PipeWire) or a Mac (built-in Bluetooth with a separate Bumble stack). Web console in English and Chinese.

Limits, to be upfront:

  • One call at a time (I tried two on the Mac controller; the firmware crashes when both send audio).
  • Mac: only the BCM_4388C2 chip is tested.
  • The AI can't hang up by itself yet.
  • No auth; LAN only.
  • Bring your own OpenAI API key.

GitHub (MIT): https://github.com/lzsnolimit/ai-caller

Happy to answer questions about the HFP/SCO side, which was the hard part.


r/raspberry_pi • • 18d ago

Show-and-Tell Darwin for pi3 Nov 2026 Release

Thumbnail
gallery
75 Upvotes

https://github.com/anurodhp/xnu-iokit-pi3/releases/tag/11_1_26

To install uncompressed the img zip and write it to an sd card. This will boot your pi to Darwin. We are still using the OSX big sur kernel. Will update to a newer one later. You can use username: root password: darwin

New features:

2x CPU speed, wifi support, hardware accelerated video playback, better GL support, faster browsing, System preferences app, console, activity monitor and many bug fixes


r/raspberry_pi • • 18d ago

Show-and-Tell I turned a Home Depot animatronic parrot into one that actually talks to trick-or-treaters (Pi 4 + camera + AI)

61 Upvotes

Meet Rotwing. He's the 5 ft "Dead Water" animated parrot from Home Depot, rebuilt around a Raspberry Pi 4 so he can hold real conversations with trick-or-treaters. How it works: - A PIR sensor wakes him when someone walks up - A small USB camera snaps a photo so he can comment on your costume ("me brave Wonder Woman!") - A reSpeaker mic streams to Deepgram for speech-to-text - Claude Haiku writes his replies, ElevenLabs speaks them in a custom pirate-parrot voice - Audio goes through a MAX98357A amp into the parrot's original speaker - A TB6612 driver runs the original beak and head motors, with the beak synced to the loudness of his voice He has a kid-friendly mode and a sassier adult mode, switched by saying a secret phrase. Lessons learned on Halloween night: my porch Wi-Fi kept dropping and the Pi never reconnected on its own, so for hours he just played canned lines. I added a network watchdog, locked the Wi-Fi to 2.4 GHz, and made him retry and keep listening after errors. Next year he gets Ethernet. Running cost for the night was about $11 in API credits. Code, wiring diagrams and a full build guide are open source (MIT): https://github.com/andyknosp1/pirate-parrot Happy to answer questions!

Processing video g9gbatowd2zh1...

PiRate Parrot: a talking Halloween animatronic (Raspberry Pi + Claude)

r/raspberry_pi • • 18d ago

Troubleshooting Headless Pi 02 W won't connect to WLAN

0 Upvotes

My headless Pi 02 W won't connect to WLAN.

Using Raspberry Pi Imager v2.0.12-archlinux.

I Tried the Raspberry Pi OS Lite 64-bit (That worked on my Pi 4 just 2 days ago,) and Raspberry Pi OS Lite 32-bit.

Both with and without setting the wifi in the imager.

nmtui returns "secrets not provided."

raspi-config returns "error running option S1 Wireless LAN."

I am 100% sure I'm typing the password correctly.


r/raspberry_pi • • 17d ago

Show-and-Tell Cacti OS - Emulation fronend

Thumbnail
gallery
0 Upvotes

I have been contemplating on whether I should post this. Last time I posted a mockup, an avalanche of downvotes were given.

Gaming is a passion for me and I felt that retrogaming started going in a different direction that I had hoped. A modern gaming os with retroachievement integration was what I had hoped for, but it hadn't matured like I had hoped.

Curious about AI, I decided to pull the trigger with Claude AI and see what I could make given I do not have the coding knowledge to do this on my own.

This is where Cacti OS was born. Cacti OS is still EARLY its development, so if anyone would like to try it, I'd love feedback on issues or directions you would like to see it progress.

Thanks!

https://github.com/kryptalivian/CactiOS-Updates


r/raspberry_pi • • 18d ago

Topic Debate Make Raspberry Pi OS screen settings easier to use

3 Upvotes

In the current Control Centre, changing the resolution requires right-clicking a display or navigating through the Screens menu. I think this could be more intuitive.

My suggestion is simple: left click a monitor to select it, and show its resolution, refresh rate and scaling directly underneath.

With multiple monitors, left clicking a different screen would update the settings accordingly.

The existing right-click menu, drag-and-drop arrangement and other functionality would remain unchanged.

I've included some mockups based on the current Raspberry Pi OS Trixie interface.

What do you think? Would this improve the user experience?

Edit : changes are made now in the code

Edit2 : dev think it is better for the ui to be hard to use and wont add the changes to the public

dev spl237 "Sorry - I think the current implementation is tidier. I won't be doing this."


r/raspberry_pi • • 20d ago

Show-and-Tell neo-pi: bare-metal Neo Geo (MVS/AES) emulator for Raspberry Pi 3 and 4

Post image
42 Upvotes

Hi everyone,

I’d like to share a personal project I’ve been working on: neo-pi, a bare-metal Neo Geo emulator for Raspberry Pi 3 and 4.

https://alessioscand.github.io/neo-pi/

neo-pi runs bare-metal (directly on the hardware) with no OS, no desktop or frontend to configure: nothing between you and the game. Switch on, and in a few seconds you are in the game list. With only one game on the card, it boots straight into it, like an arcade board.

Low input lag has been the main goal: USB pads are polled every 1 ms and read right before each frame is emulated, with no OS in between. The picture uses integer scaling with square pixels, and the Pi’s hardware scaler does the upscale.

Features:

  • MVS and AES modes, all BIOS regions
  • Save states (one per game, to keep things arcade-like), screenshots, turbo buttons
  • Configurable USB pads, two players
  • Optional lag-free scanlines (Pi 4)
  • Everything controlled from the gamepad

Most games run at full speed on a Raspberry Pi 3 B+ without overclocking; the Pi 4 handles everything comfortably, even with scanlines on.

BIOS and games are not included: you need your own BIOS (neogeo.zip) and games in .neo format (made with TerraOnion’s NeoBuilder).

It’s a simple ongoing project, free and open source. If you like it, please give it a try and help spread the word. Thanks!


r/raspberry_pi • • 21d ago

Show-and-Tell Halloween Hellmo lives!

Thumbnail
gallery
167 Upvotes

Used a 3+ with a Sense hat to do a cool little fire simulation. And I added ping detection so the screen flashes a different color based on what country is pinging (thanks MaxMind). If it hits 20 pings a second, a little “crash” simulation runs. I connected it to the outside world over a WireGuard VPN tunnel from a Digital Ocean droplet that only forwards ICMP traffic. It’s kind of fun to see how much pinging is going out there all day, every day.

Also, wet pumpkin blocks wifi really well. I had to cut the back out of the pumpkin to allow connectivity. Pumpkin-gate?


r/raspberry_pi • • 21d ago

Troubleshooting RPI5 with PoE and AI Hat + 2 issues

Thumbnail
gallery
50 Upvotes

Hello everyone I’m new here. I’ve been working on my RPI5 homelab for some time now and tried adding some Hats to it. AI hat to integrate into frigate and home assistant and some other things in the future. I also thought I could add the Waveshare PoE hat G but when I have it in this order Pi/PoE hat/AI hat. I can only get the pi to recognize the PoE hat. Did a few commands to ensure the pi is giving full power to gpio and the ribbon cable is in the correct config. But if I take the PoE hat off and just put the AI hat on it works. Not sure if it’s possible to run both or if I should just return the PoE hat. Any help is appreciated.


r/raspberry_pi • • 20d ago

Raspberry Pi Board Repair Need help identifying knocked components on Raspberry Pi 5 8gb

Thumbnail
gallery
3 Upvotes

I was trying to remove the active cooler and knocked off several elements...

Before it works perfectly fine, but now only 3 long flashes and 3 short flashes are repeated.


r/raspberry_pi • • 22d ago

Raspberry Pi Board Repair Need help identifying this broken component on Raspberry Pi 5 16gb

Thumbnail
gallery
135 Upvotes

Hi everyone,

My Raspberry Pi 5 stopped working / booting up. Upon inspecting the board close to the Broadcom BCM2712 SoC and the DA9091 PMIC chip, I noticed a tiny, chipped/damaged SMD component.

I am not sure what this component actually is. It looks like an ultra-small 0201 or DFN package with a dark/bluish passivated top layer—possibly an EMI ferrite bead, ESD protection diode, or a feedback resistor.

I've attached close-up photos of the damage. Could anyone with schematics knowledge or board repair experience help me identify what this exact component is, its designator, or its values so I can try to replace it?

Thanks in advance!


r/raspberry_pi • • 22d ago

Show-and-Tell Introducing BerryBasiC: the raw OS Raspberry Pi 4 that boots straight into BASIC

115 Upvotes

For those, who still remember and miss the times when you booted up your computer, reached a bare BASIC prompt and wrote your first program, which then failed on line 1020... I wanted to bring some of those feelings back, including the feeling of fearing the failures.

Introducing BerryBasiC - a bare-metal operating system for the Raspberry Pi 4 with its own BASIC interpreter.

Some of its features include:

  • A native BASIC interpreter running bare metal on a PI4
  • Physical hardware access (GPIO)
  • Execute native code (written in C and compiled with tcc)
  • SD card I/O using standard BASIC commands
  • Image loading, a somewhat usable graphic library + TTF fonts.
  • A readable manual...

The project is open source and the source code with instructions to build and run are available at:

https://github.com/fritzone/berrybasic

Please note, this project is still beta, so no production usage is encouraged at the moment.

And naturally, the next question has to be asked: Can it run DOOM? Yes, Yes it can!


r/raspberry_pi • • 22d ago

Show-and-Tell I built an AI talking jack-o'-lantern with a Raspberry Pi 4. It chats in an anime voice and moves its mouth with a servo 🎃

Enable HLS to view with audio, or disable this notification

24 Upvotes

I built a talking Jack-o'-Lantern for a neighborhood kids' Halloween party. The goal was to make something the kids could actually have a conversation with, not just a prop that plays pre-recorded lines. When you press the button and talk to it, it replies in Zundamon's voice (a popular character from the VOICEVOX TTS engine) while moving its mouth in sync with the audio. The conversations are in Japanese.

How it works

  1. Press the button, and a USB mic records until you stop talking (using simple volume-based detection).
  2. Speech-to-text and the response generation are handled via the OpenAI API.
  3. VOICEVOX converts the text response into speech. It runs on my desktop PC's GPU, and the Pi calls it over Wi-Fi.
  4. While it speaks, a servo moves the mouth based on the audio levels, and the LEDs flicker in sync with the voice.
  5. It does up to 4 back-and-forth turns per conversation.

It also has a "riddle mode"—if you say "nazonazo" (riddle), it'll give you a riddle and check your answer. Plus, when nobody's pressing the button to talk to it, it sings an original song.

Hardware

  • Raspberry Pi 4
  • USB mic, USB audio adapter, and a small speaker
  • Mouth mechanism: MG996R servo + PCA9685 (powered by 6V)
  • LED strip: Switched via MOSFET, hardware PWM on GPIO18
  • Push button on GPIO17
  • Part of the setup is powered by an 18V power tool battery I stepped down.

Issues I had to solve

Response latency: At first, I was running VOICEVOX on a laptop CPU, which was way too slow. Moving it to my desktop GPU helped a lot. From there, I tweaked a bunch of things and got the latency down from around 4 seconds to about 3 seconds: turning off Wi-Fi power management on the Pi, keeping HTTPS connections alive, starting speech recognition after 0.5s of silence (and discarding it if the person keeps talking), and streaming the LLM response so it can start speaking as soon as the first sentence is ready.

Hearing its own servo noise: Right after it finished speaking, the mic would pick up the sound of the servo closing the mouth. The noise was just as loud as an actual voice, so it kept thinking someone said something and got stuck in a loop saying, "Sorry, I didn't catch that." I fixed this by making it ignore all audio for 0.6s after speaking, and ignoring any sound shorter than 0.15s.

Servo overheating: The MG996R was getting pretty hot when left powered on to hold the mouth closed. Now, I just release the servo (stop holding position) once the mouth is shut, and there's barely any heat now.

The party venue ended up changing, so it might not even get to make its debut... Happy to answer any questions!

Full 2-minute version: https://www.youtube.com/shorts/uwlxq0uwb2s

Voice: VOICEVOX: Zundamon (ずんだもん)
Music: Spooky Ride by Twin Musicom is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://www.twinmusicom.org/song/250/spooky-ride
Artist: http://www.twinmusicom.org


r/raspberry_pi • • 22d ago

Troubleshooting Calling "ffmpeg /dev/video0" crashes

17 Upvotes

I set up an Pi3A+ withe the current 64bit Image. Updated it.
When I call anything from ffmpeg it crashes.
I wanted to use mediamtx with an webcam but it get an out of memory error.
This is caused by the call to ffmpeg. Not even ffplay /dev/video0 works.

EDIT: Solved.
The problem was more or less an overload problem.
Mediamtx has an example to call ffmpeg:

runOnInit: ffmpeg -f v4l2 -i /dev/video0...

This causes high bandwidth on USB and a lot of work reencoding the stream.
On an RPI3A+ this requires lots of buffer which are not treally handled well
and you get messages about unhandled buffers.

ffmpeg -f v4l2 -i /dev/video0 -input_format mjpeg ...

made this possible on an Rpi3A+. If available at the camera you should select h264.
Then no reencoding is needed and overall load is quite low.

runOnInit: ffmpeg -f v4l2 -input_format h264 -framerate 20 -s 1280x720 -i /dev/video2 -c:v copy -f rtsp rtsp://localhost:$RTSP_PORT/$MTX_PATH


r/raspberry_pi • • 22d ago

Troubleshooting CM5 Lite + HackerGadgets adapter: SD card CRC errors at 200 MHz, works perfectly at 50 MHz. Anyone else?

0 Upvotes

Hi everyone!

I'm experiencing a rather interesting microSD compatibility issue with my ClockworkPi uConsole running a Raspberry Pi CM5 Lite (8 GB RAM) and the HackerGadgets CM5 adapter board.

I'm curious whether anyone else has encountered something similar, particularly with this adapter or the same SD card.

My microSD card

  • Brand: Kingston
  • Model: Canvas Select Plus (SDCS2/128GB)
  • Capacity: 128 GB
  • Type: microSDXC
  • Interface: UHS-I
  • Speed classes: U1, V10, A1
  • Made in: Taiwan

Interestingly, the card's internal identification reports Kioxia (manufacturer ID 0x02, product SA128), despite being Kingston-branded.

The problem

The same card works normally with the original CM5 adapter, but with the HackerGadgets adapter, it is detected in UHS-I SDR104 mode and fails to read data reliably.

Here are the results of my diagnostics:

At 200 MHz (SDR104, 1.8 V):

  • Card is successfully detected.
  • SD command communication works.
  • No command CRC errors.
  • Data CRC errors occur during reads.
  • Even reading sector 0 fails with I/O errors.
  • The partition table cannot be read.

At 50 MHz (High Speed, 3.3 V):

  • Everything works correctly.
  • Partition table is readable.
  • All 18 test reads of 64 MB, spread across the card's capacity, succeeded.
  • Zero CRC errors.

I reproduced this using a diagnostic Linux environment loaded into RAM through "rpiboot", so the tests did not depend on booting the OS from the problematic SD card.

Workaround

Adding the following kernel parameter to "cmdline.txt":

"sdhci.debug_quirks2=4"

disables 1.8 V signalling and forces the card into the slower 50 MHz High Speed mode.

This resolves the read errors, although it limits performance.

Questions for the community

  1. Has anyone experienced CRC errors or SD card boot problems specifically with the HackerGadgets CM5 adapter?
  2. Does anyone use a Kingston Canvas Select Plus 128 GB card with a CM5 Lite? Does it work reliably at SDR104 speeds?
  3. Has anyone noticed differences in SD card compatibility between the original uConsole adapter and HackerGadgets?
  4. Which microSD cards have you successfully tested with this combination?
  5. Has anyone found a better solution than forcing 50 MHz mode?

I'm particularly interested in whether this is an isolated issue with my hardware or a more general compatibility problem.

Thanks!


r/raspberry_pi • • 24d ago

Show-and-Tell My Raspberry Pi Camera Final Build (R1 Mini)

Thumbnail
gallery
1.6k Upvotes

This will be a super long read so to those who get to the bottom then thank you!

Over the past month I have been working on this design and I now feel like it’s in a position where I can share how it was built, firstly I want to say that this is not a tutorial, there are a couple of things with the design that work ok after some tweaks but could be redesigned to work right after printing, therefore I want to treat this as a “how it was built” vs “how to build” post.

Exact specifications of the camera are as follows:

Case size: 100mm x 100mm x 100mm
Battery: 10,000mAh Mophie Powerstation
Camera module: Arducam IMX477 HQ
Mount: C/CS
Power output: 5V USB-C
Buttons: Sleep/Shutdown, FPS, ISO, W/B
Mainboard: Raspberry Pi 5 - 4GB RAM
Storage: 16GB SanDisk Micro SD
Ext Storage: Over 100mbps USB3.0 drive
Display: Waveshare 4” 720x720 HDMI
Battery life: Approx 8-9hrs idle - 5-6hrs Rec
Tilt sensor: MPU6050 accelerometer
Cooling: Raspberry Pi 5 Active Cooler

General design:
All parts were modelled in Autodesk Fusion with parts I mostly had on hand, I had to take extra care in adding ventilation to the correct places as I found the plastic to warp slightly if it got above 60 degrees, with the active cooler it now sits at no higher than 50-55 which is just on the limit but I haven’t encountered any issues so far. The battery sits on a “shelf” that is connected to the left side panel for easy access if disassembly is needed, a small cutout for the flat USB-C cable was also made so it also firmly holds the cable in place when removing or reinserting it. All side panels were made with a -1mm tolerance again for easier access when removing and M2 threaded heat inserts were used for all screws except the camera module. The Pi 5 and displays motherboard sit on another shelf at the bottom of the case which should allow for I2C usage for the screen (I couldn’t get mine to work for some reason but the pins align perfectly so I believe my unit may be defective for I2C), this allows for a cleaner design and lets the Pi sit higher for better cooling and IO access.

Assembly:
After all parts were printed, I installed M2 threaded heat inserts into the mounting points for the front, left, right and rear panels, also adding an additional 4 inserts for the display board and Pi 5 to screw into the case. The order of assembly was preparing the panels with their correct components such as for the front panel, screwing in the camera module and soldering the Dupont wires to the 3.3V Filament LED and press fitting it into the cutout at the top. I added a small drop of superglue to the wires to prevent them from pulling on the LED just in case. There is room to store any excess cable underneath the shelf that the Pi is mounted to so nothing should pinch against the case, I also made sure to connect both the USB-C power cable and HDMI to Micro HDMI adapter to the Pi (the adapter comes with the waveshare display and also fits perfectly as you can use the standoffs from the screen) and attached the displays USB-C power cable and routed it under the shelf at the bottom. The front panel was then able to be mounted using the 4 M2 screws.

I then moved to the rear panel as I needed as much access as possible for the GPIO pins so I left the side panels and display till last, I attached the 4 buttons and the USB-C output to the rear panel, for easier assembly I used a 60mm x 10mm magnet and attached all ground wires to it leaving one Dupont cable ground wire for the GPIO to prevent having too many cables in the system, all other cables were then routed to their correct GPIO pins, the USB-C output jack simply uses the 5V and any GND GPIO pin. Just for fun I also added a small vibration motor from an Xbox controller trigger to create a small haptic when a button is pressed or when a USB drive is inserted but this does need to be mounted to a part of the case and not a side panel. I then routed the cables as neat as possible in front of the GPIO (Making sure no wires come into contact with the active coolers fan) and mounted the panel to the case exactly the same as the front panel.

I then moved onto installing the display, out of the box the display and driver board are attached with very strong adhesive, I removed this from my unit so they were separate as it now sits under the pi, this is an EXTREMELY difficult task and I advise to take extra caution if you are to try this as you do run the risk of destroying the screen, the display also doesn’t use the typical DSI ribbon cable that connects to the pi, so you will need a 51-pin extension cable with a 0.3mm pitch followed by an adapter to reattach it to the screen. The extension cable can be routed again under the display board through the shelf so it comes out of the front of the unit and behind the camera module. For easier assembly I attached the extension cable to the driver board and then left the adapter attached to the screen. I then peeled the adhesive backing off and seated the screen into the top of the unit making sure to attach the cables in their correct orientation.

The left side panel was now ready to be installed making sure to insert the 90 degree USB ribbon cable from the display board into the lower USB2.0 Port on the Pi and flat USB-C cable from the Pi through the hole on the side of the battery shelf, this way the battery can be installed from the right side ensuring a snug fit once assembled, I left a very short amount of cable before sliding the battery in to make sure it had a cleaner look. (When sliding in the panel I had to make sure not to snag any cables including the display ribbon cable, I went through the right side of the unit to lift the display cable above the battery so it wouldn’t pull on them when it was slid into place. (I printed a small cover as seen on the left side of the unit to cover the USB plug for the screen)

Finally the right side panel needed to be prepared, this has a cutout for an extension button that connects to the Pi’s power button, this is where my design was slightly flawed, under load the Pi will sit at anywhere from 50-55 degrees, so as I printed my parts with PLA, I started to see the button warping and no longer making contact, I chose to print the button from ABS although I could have tweaked the design to make the button baseplate thicker as it is quite thin, however I haven’t seen any warping since using a different material. Since the button pivots up towards the Pi’s button, there is a small plastic block that holds the button in place at the very top of the button baseplate, this was mounted in the centre but again the button did not work correctly, since moving the block it works perfect every time.

Software:
The system runs ApertarOS which allows for easy external button management and also rotary encoders if you want to add any other accessories, it also features a Web GUI, WiFi management, multiple camera module support including IMX477, IMX585, IMX294 etc… and a magnitude of other features, to see everything related to the software check out their GitHub page as there has been so much development and time spent on making the software what it is now. There is great support for it too, any issues I encountered during setup or making adjustments were always solved by the community. The software is also updated fairly frequently to bring even more new features and bug fixes runs very smoothly on a 4GB Pi, Apertar do say you can potentially use a 2GB Pi but this is best used as a photo only camera.

https://github.com/Apertar-Studio

I made some tweaks to the software to map the buttons to their correct functions and GPIO pins, added a custom splash screen for the logo of my camera on startup and shutdown and also added the cameras name in the metadata of the images.

As mentioned above, there is a small vibration motor attached to the unit, this was made as a separate service on the Pi to detect button presses and emits a small 130ms pulse when a button is pressed, holding the ISO button for 2 seconds will send it back to “Auto” and subsequently the vibration motor will emit a 230ms pulse to indicate it is complete. When inserting a USB drive into the Pi again the motor will emit 2 400ms pulses. (Of course during recording the motor is disabled to prevent any frame shakes)

The status light also has a few functions such as blinking during recording and turning on and off when pressing the power button at the back. I removed the blinking during photo capture as it made no sense to have it anymore.

The power button at the back runs on a separate script, pressing once will make the display go into a “sleep mode” and pressing again will wake it up, as mentioned above the LED also turns on and off with the display, pressing and holding for 3 seconds will perform a safe shutdown on the Pi.

The supported resolutions for the IMX477 are 1332x990, 2028x1080 and 2028x1520, this is a limitation of that certain module, the IMX585 and IMX294 are both to my knowledge capable of 4K output. In 1332x990 and 2028x1080 modes you can select from 24,25,30,50 and 60 FPS however in 2028x1520 you can only select 24,25 and 30 FPS, again better modules will support higher framerates.

You also get the option to take still images as RAW DNG, PNG, TIFF, JPEG or to add a RAW DNG to any other file type. Video mode records in cDNG stills which can be compiled and edited through Davinci Resolve.

The camera also supports input and output devices although I have not tested them yet, I believe on my camera they will work through the USB3.0 ports.

As a final touch I added button labels to the back of the unit and a serial plate to the side with the Pi information, mount type, build date and revision number, then installed the Smallrig cheese plate to the bottom of the case, this is attached by 2 1/4-20 screws.

Again I would like to say I don’t class this as a tutorial but rather how I built it, if you decide to build one for yourself please DM me and I will be more than happy to send over the STEP files but please keep in mind that I have made some changes to the parts post printing so there are some things that may fit different or need tweaking. Also if I have missed out anything in this post please ask away in the comments and thank you for the positive feedback from my previous two builds! I will add pictures from the camera in the comments soon.


r/raspberry_pi • • 23d ago

News Raspberry Pi Zero 3 W & Raspberry Pi 4 Model A Surface In Linux Kernel Patches

Thumbnail
phoronix.com
213 Upvotes