r/raspberry_pi 1d ago

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

5 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 Dec 01 '25

Community Annual December Pi Purchase Megathread: What Will Make the Perfect Gift for My Dad/Nephew/Granddaughter (Because I Don’t Know Nuffin ’Bout These Electronic Gadget Things)

9 Upvotes

Welcome to the Annual December Pi Purchase Megathread!

It’s that time of year when we get a flood of “Which Raspberry Pi kit/accessory/model should I buy?” posts. There’s no universal perfect kit or accessory, and these questions always get the same vague answers.

Before posting:

  • If you already know what you want to build, pick a project or tutorial — it will list the exact parts needed.
  • If you still want a kit, choose one that includes those parts.
  • If you want to know what a Raspberry Pi is, what it can do, or need project ideas, read the r/raspberry_pi FAQ.

To keep the forum sane:

  • All “what do I buy?” questions belong here.
  • Focus on what you want to do with the Pi or what projects you plan to try — not just “which kit is best.”
  • This thread can help with:
    • How to evaluate kits for your project
    • Features/components required for a particular setup
    • Tips, lessons learned, and project ideas

Which model of Pi should you get and where from?

Check stock and pricing at https://rpilocator.com/ — it tracks official resellers so you don’t overpay.

Which Pi to buy:

  • 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.

Should you get an x86 PC instead of a Raspberry Pi? Every time the x86 PC vs. Pi question comes up the answer is always if you have to ask, get a PC.

Do not post “what should I buy?” anywhere else — it will be redirected here.

Think of this as a holiday sandbox for Pi gift chaos. Share your questions, experiences, and guidance without cluttering the rest of the community.


† If any links don't work it's because you're using a broken reddit client. Please contact the developer of your reddit client. You can find the FAQ/Helpdesk at the top of r/raspberry_pi: Desktop view / Phone view


r/raspberry_pi 9h ago

Show-and-Tell My new demoscene production for RPI Pico 2

Thumbnail
youtu.be
14 Upvotes

Hi! For those unfamiliar with it, the demoscene is a computer art subculture focused on creating real-time audiovisual productions called demos. They combine code, graphics, music and visual effects, often while trying to push the hardware beyond what it was really designed for.

Last weekend I released my Raspberry Pi Pico 2 demo, Signal Intrusion, at the Xenium 2026 demoparty in Łódź, Poland.

The demo runs on my own engine called Euzebia3D. I created the visual assets and most of the effects myself, while the music was made by my friend.

The hardware setup is:

- Raspberry Pi Pico 2 / Pimoroni Pico Plus 2

- 320×240 display with an ST7789 controller

- Waveshare Pico-Audio module

- microSD card for audio storage

The music is stored as a WAV file on the microSD card and streamed during the demo.

The complete demo is about 7.5 MB, mostly because of the visual assets, so it doesn't fit in the flash memory of a standard Pico 2. I run it on a Pimoroni Pico Plus 2, which has more flash storage.


r/raspberry_pi 2h ago

Troubleshooting Bug in rpi-update (wrong github url to download firmware)?

0 Upvotes

When I run rpi-update on an rpi4b-2gb I get:

If you are unsure, test if your system boots with initramfs options disabled from config.txt
Would you like to proceed? (y/N)
Github API request failed with HTTP 422: https://api.github.com/repos/raspberrypi/rpi-firmware/commits/0

Respond of the link is

{
  "message": "No commit found for SHA: 0",
  "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit",
  "status": "422"
}

What happened here and can you reproduce the bug?


r/raspberry_pi 1d ago

Show-and-Tell My Raspberry Pi 4 OpenWrt Router Xray Optimized

Thumbnail
gallery
49 Upvotes

I’ve been using a glmt3000 for a few years, but recently it stopped getting the updates I needed. I also tried installing Xray Core & V2Ray/LuCI, but the RAM usage was getting close to 100%.

So I decided to build my own router using a Raspberry Pi 4 + OpenWrt.

The goal is to develop a better optimized Xray client + LuCI app, along with my own router management interface.

The Xray client is designed to support multiple protocols, including: VMess, VLESS, Trojan, Shadowsocks (SS).

So far, I’m really happy with the results!

Internet Performance

  • Around 40-80 Mbps internet speed (Speed depends on my ISP)
  • No anytime data package (currently using a Zoom/MS package tunnel through aka,ms sni)

Network Storage

I’m also sharing a SanDisk USB 3.2 Gen 1 drive over the network. I’m getting 200+ MB/s file transfer speeds over the network, which honestly surprised me!

Hardware

  • Raspberry Pi 4 + SanDisk 16GB SD Card
  • EDUP Wi-Fi adapter
  • WaveLink 2.5G Ethernet adapter
  • SanDisk USB 3.2 Gen 1 storage

Cooling: One thing I quickly learned, the Pi 4 definitely needs a cooler. Without a cooler, the Pi gets pretty toasty. During heavy downloads, the temperature can easily go over 70°C. So I added a cooler, and now it stays much cooler even under heavy network load.

Stability I’ve been running this setup for around 10 days, and it has been pretty solid so far. The longest continuous uptime I had was around 8 days, but then a power cut caused a reboot. Since then, it has been running continuously for about 2 days again without any issues.

For a DIY router setup, I’m honestly very happy with the performance and stability so far! Let’s see how far I can push this little Pi 4.


r/raspberry_pi 5h ago

Troubleshooting LCD - Luddite RPi 3B+

0 Upvotes

Hello! I'm trying to get a 3.5" LCD to display and play video, and am having some trouble after one or two successful tries that ended up crashing on me.

Here's a smattering of noobish questions:

Can I get the LCD to show the OS desktop while I'm using screenshare on Raspberry Pi Connect?

How do I fix the rc-local.service error on boot?

When I upgrade from the terminal on the Pi OS, it crashes after about 90% and gives me a few different error messages, but I don't know where to go to edit/change those to make them work.


r/raspberry_pi 1d ago

Show-and-Tell I built a raspberry pi that monitors my sourdough starter and bulk fermentation

388 Upvotes

Due to my crazy and unpredictable schedule I was missing my peak starter times and bulk ferment schedules.

I spent the weekend building a raspberry pi robot that watches my starter or bulk ferment container and alerts me when my starter or dough is nearing completion.

After two days of testing and tweaking it seems to be working quite well!

It was a fun project to do and I hope that it helps me to be more on top of my sourdough.


r/raspberry_pi 1d ago

Troubleshooting color depth issue with a LCD display

Thumbnail
gallery
9 Upvotes

hi, i've been working on a project but i ran into an issue that just left me defeated, i tried to fix it on my own (mainly by adding things like dtparam=rgb666) but nothing seemed to work, so i have resorted to making this post. My issue is that a display i'm using (Waveshare 7 inch DPI LCD) either is stuck at a low color depth or that it somehow displays color entirely wrong, if you know how to fix it please tell me, sorry for any inconvenience (ps. i attached some photos to show the "color issues" the display has)


r/raspberry_pi 2d ago

Community Insights Local AI on a Pi: which models work?

Post image
144 Upvotes

I got a lot of great feedback from you and ran the speed comparison with more models and new optimizations both alone and with my Carwatch service running on the Pi at the same time.

The new speed champion is Ling 3.0-tiny at 9.6 tps! As a MoE model it is faster than smaller Gemma and Qwen models. People say it's punching above it's weight in intelligence - testing this now.

Gemma E2B is a solid tiny multimodal model at 7.7 tps, works well in my app. And Qwen 35B Q3 is still the leader in usable intelligence in this form factor, fitting tight in a 16GB Pi and getting close to 3 tps on a good day :)

Please note that small tps values still produce solid thinking and good answers, and not every use case requires an answer in seconds.


r/raspberry_pi 2d ago

Show-and-Tell Made this raspberry pi zero 2w keychain. looks cool and is useful!

Thumbnail
gallery
775 Upvotes

Ever since I moved to an unjailbroken iphone from Android (and jailbroken iphone) i missed a couple of things. especially lack of full libusb. Couldn't connect a software defined radio to my phone, couldn't flash any phone with my phone, lost a very useful, versatile feature.

When my bag broke, i decided to also customize it a little bit on top of fixing. I thought it'd be cool to have something like a PCB hanging round, since it looks cool. But i remembered about my huge hassle with the iphone, lack of full USB, so i decided to fix both of those wants. I printed out a cover to the side with components, as to not destroy any, added it on a keychain, and left it on there. i also built an usbc-microusb adapter, so that i can USB connect it to my phone/battery bank.

It defaults to be a USB guest, emulating Ethernet, and when i manually set up addressing, with leaving router empty, i can connect to my pi while keeping 5g. Currently it's just a PoC, as so I wanted to see how reliably it works, so currently i got only ssh and vnc set up with Raspbian, but it works really reliably, boots up after around a minute from plugging in, and lets my iphone SSH/VNC into it.

I already have plans on setting up these things:

⁠- USB DVD drive emulator to be able to boot ISOs on devices that don't do booting from USB drives - A crappy slow little NAS to transfer things with my classmates - A stupid little device for BLE/Wifi pranks - simple way to jailbreak/flash iOS devices - portable thing for fastboot+heimdall - always on hand SPI flasher


r/raspberry_pi 2d ago

Show-and-Tell If it works, it works.

Thumbnail
gallery
52 Upvotes

Decided to make a case out of legos for my Pi (4B). I am using a fan from an old Dell Powersupply. It is hooked to a USB port since my GPIO is hooked to a T-Cobbler. It has a detachable roof which also serves as an air guidance vent. The back is empty so I can use my USB ports and to let air escape rather than creating a trap. The fan is kept at an angle and is basically a blower cooling setup. It brought down the temps from 42 celsius to 35 celsius. And best part is that I was able to overclock the Pi because of this setup as well. It now runs at 2Ghz, overclocked RAM+GPU as well. Stays at a steady 40 on idle (with overclock)


r/raspberry_pi 1d ago

Project Advice How to safely connect High votage flash module and rpi?

2 Upvotes

Hi,

I'm building my own camera and I have a xenon flash module from a Braun Flash camera. I would like the flash to be triggered along with the camera via a Raspberry Pi. However, there are high voltages, transformers, etc., on the flash board, so I'm wondering how to do this safely and effectively without damaging the RPi and the camera.

I thought about using an OptoMOS in place of the contacts that were previously mechanically shorted to ionize the xenon, along with galvanic isolation for the power connection or a separate power supply, though I have very little space for this in the enclosure.

And here comes the second problem—space. Because I want to keep the dimensions compact, the components will be very close to each other. The question is, how do I isolate them from one another to avoid interference or electrical arcing? I thought about wrapping the entire board, including the charging and trigger transformers as well as the main capacitor, in Kapton tape, but I'm not sure if that will be enough. Also, how can I prevent signal interference?

This is my first project where high voltages and sensitive components will be packed so tightly together. I don't have enough expertise to just wire it up and be confident that nothing will break, so I'm looking for some advice to avoid a costly disaster.

I've attached photos of the flash circuit as well as the current enclosure design (the enclosure dimensions are 110x65x70mm).


r/raspberry_pi 3d ago

A Wild Pi Appears Raspberry Pi found in the wild

Post image
206 Upvotes

Calais ferry terminal appears to be having a bit of a Kernel Panic issue...


r/raspberry_pi 3d ago

Show-and-Tell North Pi case with custom side panel that includes active cooling & RGB lighting

Enable HLS to view with audio, or disable this notification

17 Upvotes

I deleted my original post because right after I said I wanted to design and print my own custom side panel, I did. I decided I wanted to incorporate the Raspberry Pi logo and a 40mm fan.

It was important to me that the light of my recently installed common cathode RGB LED (hot glued to the top of the inside of the case), set to smooth transitioning through colors, was more visible than my previous side panel (to do RGB you'll need a soldering iron, heat shrink tubing, that RGB LED, 3 x 220ohm resistors, 4 jumper wires, available pins on the GPIO, and a Python script to run at startup). Rather than have visible screws, I hot glued the fan housing in place. The fan simply uses 2 pins on the GPIO, turns on as soon as power is applied to the RPi, shuts down when the RPi shuts down, and only runs at a single speed. No scripts.

I'll eventually add a thin piece of clear acrylic to cover the opposite side of the side panel with the fan hole cut out.

I don't overclock the RPi so simple heatsinks work fine on their own and the fan isn't as important but still good to have. For anyone curious, I am running Armbian and the only thing I use the RPi for is to play with Linux.


r/raspberry_pi 3d ago

Show-and-Tell Benchmarking LLM performance on a 16 GB Pi

Post image
9 Upvotes

I've been running Qwen 35B A3B MoE model on my Pi for CarWatch local AI, and it's very smart but not too fast. You need to get into a relaxed mode with it, ask your questions, don't count the seconds, hear the answer when it comes.

Anyway wanted to explore the current possibilities so ran speed tests overnight, results in pic. Summary: Looks like the only way to speed up atm is to use Gemmas, which should be significantly less intelligent. Did not do any systematic quality testing yet.

The Gemmas are multimodal though and leave plenty of room on the device for other apps. So a good choice for many applications.

There's a model switcher in CarWatch 0.5 to be released today so you can easily compare performance in practise.


r/raspberry_pi 3d ago

Show-and-Tell Built a tool that turns a plain-English description into a custom Pi enclosure -- used it to design my own Pi 4B case

2 Upvotes

I needed an enclosure for a Raspberry Pi 4B project and got tired of remodeling the same box-with-holes every time, so I built a small tool for it: EnclosureAI (https://enclosure-ai-production.up.railway.app).

You describe what you need in plain English -- e.g. "Raspberry Pi 4B case, ethernet and 4 USB on the back, USB-C and 2 micro-HDMI on the front, SD card slot on the left" -- and it fills in the correct board dimensions (already knows Pi 4B, ESP32, Arduino Uno, Wemos D1), sets up PCB standoffs, and cuts the port holes without them overlapping. Or just pick your board from a Quick Start list if you don't want to type anything. Everything's still editable afterward -- drag ports around, switch to a two-piece snap-fit lid, adjust wall thickness -- and it exports STL/OBJ/parametric JSCAD.

It's free, no login, no ads. Built this for my own Pi 4B project, figured it might be useful to others here too. Would genuinely appreciate feedback -- bugs, missing connector types, whatever's off.


r/raspberry_pi 4d ago

Show-and-Tell Raspberry pi tablet / Cyber deck

Thumbnail
gallery
118 Upvotes

I built a Raspberry Pi 4 (4GB) tablet—or "cyberdeck." It’s powered by a 3S battery pack and has built-in speakers for audio. Did it turn out okay for a project that wasn't exactly my first? ...especially considering there's no way to check the remaining battery level.


r/raspberry_pi 3d ago

Troubleshooting OLED SSD1306 larger font sizes?

4 Upvotes

I am working on a python program to read the advertisements from an Inkbird IBS-TH2 sensor and display them to a SSD1306 on a raspberry pi zero w. Using AI, I was able to get this to work but using the adafruit_ssd1306 package it only has a small font for the display. With my elderly eyes, it is hard to distinguish some of the numbers. Does anyone have a package or library of larger fonts I can use for this project? I have searched for a way to load and use larger fonts but I only find information for Arduino projects. I already did this with a Pico W and associated micropython packages but I am not seeing much for the raspberry pi.


r/raspberry_pi 4d ago

Show-and-Tell Customizing my Mechanical keyboard using rpi pico

Enable HLS to view with audio, or disable this notification

20 Upvotes

i had one mechanical keyboard after getting bored i tried to reverse engineer it but i couldn't send any usb data or i could not see much on the terminal when i tried to see if it listens to the data and after opening i saw that it only takes +5v and gnd plus the processor something like BYK.. was a hard coded chip that doesnt listen notes i was newbie to hardware and really scared to try anything. so i gave up but seeing my brother have a kreo rgb keyboard it gave me some boost to open it up and i learned so much and burnt my hand while trying to solder.

heck i even burnt the solder iron's wire itself (sniff sniff whats that smell).

so the plane was that i would use a mcu as esp 32 or pico that listen to my command and can do anything that i want .

first month really ....

i bought a mulitmeter and did the traces of all the rows and col sicne there was no pcb and other design files there i didnt know how keyboard matrix works at all i went rhough whole thing.. after getting all the traces and nothing them i was really soul scattered by the fact how this whole thing worked but then i got to know this was a common thing everyone knew this.

after this i took pico as the main mcu why...

  1. it was small

  2. it has higher clock speed.

  3. it was one sale since the esp was on boom and the price of pico was dropped

  4. it has more computer power that i needed for Fourier transform for disco light that i wanted for the custom rgbs i would put there

quickly after that i ran into a problem of less gpio also

after that i took a longer time to solder since i was learning and it was very scarry to solder on the pcb but as i did i grew more confident .. after burning my finger prints.

i bought a io expander because of 6 rows and 17 cols it got burnt and again tried that was jittering the one signal was affecting other signal. so i gave up 3-4 cols and went for the gpio full on.

The RGBs... Hardest

the rgb i had to cut each rgb strip stick them all on each keys then use the single core wired without the cover and solder each joints aroung 300 small pieces of them total 600 joints appx and it was tough because heating one end would make other end heat up also.

but since i cascaded 100 of them the voltage kept decreasing and it was 0.5v at the end so i just provided supply from both of rows and it worked and there was no deeming and jitters.

thats it... if u want to know about the logic behind it then u can ask me i will add it most of things and testing and all the stuff is in the video


r/raspberry_pi 5d ago

Show-and-Tell Fun retropie build using the Lego NES set

123 Upvotes

I have had the Lego NES set for a few years gathering dust on a display shelf. Plus I had an old Raspberry Pi model 3 also stashed away without purpose. So I thought I would repurpose both into a mini retro console for me and the kids to have some good old fashioned gaming sessions on.

This is a very expensive project if you had to buy everything from scratch but luckily I had most everything needed already.

Things already owned:

- Lego NES (https://www.lego.com/en-au/product/nintendo-entertainment-system-71374)

- Raspberry Pi model 3 (But many models will work)

- 2x 8bitdo usb wired retro style controllers

- Old usb cords, led bulbs, resistors etc for tinkering with

Things I needed to buy:

- 8 inch LCD screen ($55 AUD ali express - came as a set with cables and power adaptor all together)

- Mini 3 port USB hub (Amazon $7 AUD)

- 2x USB extenders ($14 amazon)

- Right angle HDMI, USB C, and 5.5mm DC jack extender (all together approx $20 amazon)

If I had planned ahead better, I probably could have ordered all through ali express for even cheaper, but all up <$100 of extra materials used.

Anyway, put together a brief GIF, I had a lot of fun with my kids putting this one together, and hopefully will get many hours of fun to come.


r/raspberry_pi 5d ago

Show-and-Tell Hand-writing a tiny CNN on a RPi beats inference engines

6 Upvotes

I tried optimizing a tiny CNN on a Raspberry Pi 4b and ended up 3x faster than the inference engines (ONNX Runtime, ncnn).

I wrote the code from scratch, starting with a naive implementation, then SIMD, and finally operator fusion. Each improvement only changes a few dozen lines of code. The code is just a few hundred lines, easy to read and understand.

This repo might be helpful to you if you need to run small models on devices with very limited resources like RPi.

https://github.com/Avafly/optimize-cnn


r/raspberry_pi 6d ago

Show-and-Tell I made a Pi Zero hat with built-in UPS/AC WiFi/GPS/USB HUB/RTC.

Thumbnail
gallery
183 Upvotes

This hat was purpose-built for the Pwnagotchi project. But you can still use it as a regular hat in any Pi Zero project that would use UPS/AC Wi-Fi/GPS/USB HUB/RTC .

The AC WiFi supports monitor mode and packet injection, same as the ALFA AWUS036ACM. So perfect for wardriving.

For the UPS, 18650-size batteries or LiPo batteries are both supported. When using the 18650-size battery, the battery life is 4 hours, 1.5 hours longer than the PiSugar 3 did.e


r/raspberry_pi 6d ago

Show-and-Tell I built my own camera with Raspberry Pi zero 2W and Camera module 3

Post image
49 Upvotes

I built an open-source digital camera around the Raspberry Pi Zero 2 W and Camera Module 3. It can capture photos and record short video clips using dedicated photo and video buttons, with three selectable looks (warm, cold, and black & white) controlled by a physical slider switch. A buzzer provides feedback for startup and photo capture, and a local photo gallery can be accessed directly from your phone.

Github - https://github.com/SuveenE/tiny-film-camera
Blog - https://suveenellawela.com/thoughts/building-my-own-camera


r/raspberry_pi 6d ago

Troubleshooting Weird Pico 1 UART issue

7 Upvotes

Hi all,

I have a multitude of (too many) Pi Picos and there's a weird issue I'm seeing on my Pico (1) that doesn't happen on a Pico 2.

I have a setup with a CH9121 Ethernet hat (the Waveshare one). It uses UART0 (pins 0 and 1) to do initial setup and read the on-hat config. The weird issue is that if I use the Pico 2, it works fine out of the box. If I use the Pico 1, then it fails to receive ANY data on UART0 if using pins 0 and 1.

I have done the following with no effect:

  • Used a loopback wire to check that Pin 1 can actually receive data - it can
  • Tried a GPS hat which also uses UART0/Pins 0 and 1, and this works fine
  • NOT connecting the Pico 1 to the computer over USB in case the fact that USB REPL uses one or other of the UARTs
  • Erasing flash with nuke_flash
  • Different Micropython versions
  • Using dupont wires to connect the pins rather than the socket on the hat

I'm using MicroPython, and the version and my codebase are identical across the Pico 1 and 2. The only think I can't test with is another Pico 1/1W, since my others are all in use.

Is there some weirdness with the Pico 1 and the CH9121 hat, or it just some quirk specific to this one unit?

The workaround is to amend the CH9121.py file to use UART0 on pins 12 and 13, which works, and in fact I'm running it now and all seems fine.


r/raspberry_pi 7d ago

Show-and-Tell Ported Pimoroni's Inky Impression 13.3" driver from Python-on-a-Pi to bare-metal C on a Pico, so it can run off a battery

Thumbnail
gallery
688 Upvotes

The Inky Impression 13.3" (EL133UF1 / Spectra 6, 1600x1200, six colours) ships with a Python driver that assumes a Raspberry Pi. I wanted the panel hanging on a wall without a cable running to a power outlet, which means a microcontroller that spends almost all its time asleep, not an SBC. So I ported the panel sequences from pimoroni/inky to C against the Pico SDK, running on a Pico Plus 2 W, which I needed specifically for the PSRAM. Panel bring-up, test patterns, and on-device JPEG decode with Floyd-Steinberg dither to the six-colour palette.

Repo: https://github.com/dmellok/el133-pico-driver

The non-obvious stuff, since this took far longer than expected:

  • The adapter swaps SCLK and MOSI. I used a Hard Stuff "Pico to Pi Hat", which is otherwise a 1:1 BCM-to-GP passthrough. The vendor's published pin header and PDF don't match the unit I have. Blank panel, everything else looking correct. Confirmed with a continuity meter.
  • Spectra 6 needs ~300 ms of D/C setup before the clock starts or the controller silently drops the command. Too short and it ignores the data command, refreshes an empty buffer, and stays blank with no error. Costs ~8 s per refresh and it's non-negotiable.
  • BUSY is active low, the opposite of what the Pimoroni Python driver's pull-up heuristic implies.
  • Two controllers, split at column 600. Landscape frames get rotated 90° CW and split across CS_M / CS_S.
  • The model EEPROM is a separate I2C chip. Reading it (variant=21) is a quick way to confirm the board is wired and talking before you go chasing SPI ghosts.
  • A full refresh is ~35 s. That's just the panel.

RAM is the constraint that picked the board. The packed frame alone is 960 KB and the RGB888 decode buffer is 5.76 MB, so a stock Pico's 264 KB of SRAM isn't close. The Plus 2 W's 8 MB of APS6404 PSRAM is what makes the on-device JPEG path possible at all. There's also a host-side packer if you'd rather pre-convert and skip the decode.

One dead end worth recording: I first tried porting the Waveshare ESP32 demo for the bare EL133UF1 and got a blank panel. The Inky needs its own power configuration, so it isn't a drop-in.

Battery mounting is temporary, printed holder in progress.

The photo shows my own dashboard renderer, but the repo above is just the panel driver, no networking. The networked version with WiFi, MQTT and POWMAN deep sleep lives in a separate repo if anyone wants it.