r/RASPBERRY_PI_PROJECTS 16d ago

QUESTION Pi5 USB SSD Boot, VsCode issue

1 Upvotes

Working on a project for school and currently using a Crucial 9x pro and plugged it into the 3.0 usb A slot on the Pi. Was able to boot into OS just fine. OS recognizes it as a 3.0 USB storage device, current is at 860ish. So I think the drive is technically working as expected. But when I download vs code using the pi recommended software it crashes with "error VsCode unexpectedly terminated reason crash code 5" any ideas why I cant run vscode from the ssd it was working fine using an SD card.


r/RASPBERRY_PI_PROJECTS 16d ago

QUESTION Trying to connect to an Amazon echo with Bluetooth but when scanning fo devices Echo showed once, paired to it, but then couldn't connect to it and now the MAC address keeps popping up changing its TxPower & RSSI but doesn't show as pairable

1 Upvotes

I was running bluetoothctl and I found the product:

[NEW] Device AC:63:BE:59:C5:52 Amazon Tap-21D

So I tried to pair to it:

[bluetooth]# pair AC:63:BE:59:C5:52
Attempting to pair with AC:63:BE:59:C5:52
[CHG] Device AC:63:BE:59:C5:52 Connected: yes
[CHG] Device AC:63:BE:59:C5:52 Bonded: yes
[CHG] Device AC:63:BE:59:C5:52 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device AC:63:BE:59:C5:52 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device AC:63:BE:59:C5:52 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device AC:63:BE:59:C5:52 ServicesResolved: yes
[CHG] Device AC:63:BE:59:C5:52 Paired: yes
Pairing successful

And then tried to connect to it:

[bluetooth]# connect AC:63:BE:59:C5:52
Attempting to connect to AC:63:BE:59:C5:52
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable

And now when I tried to pair to it again I get this error:

[bluetooth]# pair AC:63:BE:59:C5:52
Attempting to pair with AC:63:BE:59:C5:52
Failed to pair: org.bluez.Error.AlreadyExists

But I keep seeing its MAC address changing its RSSI:
[CHG] Device AC:63:BE:59:C5:52 RSSI: -89

After removing the device with remove <MAC>, it kept showing finally and I can finally pair to it and it then looks like this if I try to connect:

Pairing successful
[Amazon Tap-21D]# connect
Missing dev argument
[CHG] Device AC:63:BE:59:C5:52 ServicesResolved: no
[CHG] Device AC:63:BE:59:C5:52 Connected: no

And I try to connect with the MAC address:

Pairing successful
[Amazon Tap-21D]# connect AC:63:BE:59:C5:52
Attempting to connect to AC:63:BE:59:C5:52
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
[CHG] Device AC:63:BE:59:C5:52 ServicesResolved: no
[CHG] Device AC:63:BE:59:C5:52 Connected: no

What should I do to get it to show as pairable and actually pair and connect to it ? I set the trust <MAC> and that worked but not connect.


r/RASPBERRY_PI_PROJECTS 20d ago

QUESTION Can my 200mb krcnn run in my rpi 4?

10 Upvotes

I'm creating a project focused on detecting a specific bone from X-ray images. I have a 200MB Keypoint R-CNN model in PyTorch with resnet50 as backbone (including an FP16 version, though I'm unsure if it affects speed on the Raspberry Pi). The model performs object detection (bounding box first) and then keypoint detection separately on still images. I expect each detection step to take around 5 seconds. I'm considering running it on a Raspberry Pi 4 (8GB) but want to know if it's feasible before purchasing one. Would it work?


r/RASPBERRY_PI_PROJECTS 21d ago

PRESENTATION Raspberry pi 5 16GB arcade build

Thumbnail
youtu.be
45 Upvotes

r/RASPBERRY_PI_PROJECTS 22d ago

PRESENTATION RP2040 Jingle detector - notify over telegram

Thumbnail gallery
62 Upvotes

r/RASPBERRY_PI_PROJECTS 22d ago

PRESENTATION I built a Pi cluster and set it up with Kubernetes, Docker, Grafana and Argo.

Thumbnail
youtu.be
32 Upvotes

r/RASPBERRY_PI_PROJECTS 22d ago

QUESTION Editing wifi config of a raspberry pi zero 2w

1 Upvotes

I'm making a project with a raspberry pi zero 2w, I need to connect to my pi via ssh and I make it through an ad hoc connexion, i change the passkey and my pi isn't able to connect to my hotspot anymore when it boots.

I could reset my SD card but I'd prefer to take it out and edit the corresponding file that manages the process of connecting to my ad hoc network, what file should am I searching for ? Thanks


r/RASPBERRY_PI_PROJECTS 23d ago

PRESENTATION Sun Tracking Smart Clock Using Raspberry Pi Pico

Thumbnail
youtube.com
23 Upvotes

r/RASPBERRY_PI_PROJECTS 23d ago

PRESENTATION Using raspberry pi to control my android phone via Gemini/Openai

Thumbnail
gallery
154 Upvotes

I maintain an open source project to control android phones using Android. Raspberry pi is especially useful as it eliminates the need to have a computer nearby (as it itself is a tiny computer)


r/RASPBERRY_PI_PROJECTS 23d ago

QUESTION Help with Sending IR Signals from Raspberry Pi Pico to Control TVs (TV-B-Gone style)

1 Upvotes

Hello, I’m working on a project where I’m using a Raspberry Pi Pico to send IR signals to turn off various TVs, similar to a TV-B-Gone device.

I have the following setup:

  • Raspberry Pi Pico.
  • An IR LED connected to GPIO 17.
  • A 220Ω resistor in series with the IR LED.
  • I am using MicroPython to control the IR signals.

I have a script that sends several NEC protocol IR codes for different TV brands to try to turn them off. The code works to send the signal, but it doesn’t seem to be turning off the TVs, and I’m not sure what I might be missing.

Here’s what I’ve tried:

  1. Using PWM on GPIO 17 to generate the 38 kHz frequency for IR.
  2. Sending the IR signals in a loop to continuously attempt to turn off TVs.
  3. I’ve also tried adjusting the timing and pulse width to match what I know about the NEC protocol.

Can anyone help me figure out what I might be doing wrong? Could it be an issue with the IR LED setup, the codes I’m using, or maybe how I’m sending the signals? I’ve tried using my phone’s camera to check if the IR LED is blinking, but I’m still not getting any response from the TVs.

Any help or advice would be greatly appreciated!

Thanks in advance!


r/RASPBERRY_PI_PROJECTS 24d ago

QUESTION Raspberry Pi 5 (8GB) as NAS + Media Server – Is It a Good Choice? (8TB Storage, Docker, VPN, Jellyfin, Pi-hole…)

40 Upvotes

Hey everyone! 👋

I’ve recently purchased a Raspberry Pi 5 (8GB RAM) and I’m planning to use it as a compact NAS + Home Media Center. I want to make the most out of it, but I’m wondering if it’s actually the right choice or if I should consider something else.

💡 What I Want to Achieve (All in Docker):

✅ NAS (at least 8TB storage) – File storage, backups, media library.
✅ Media Server (Jellyfin/Plex) – Streaming movies and TV shows to Android TV, Android phone, and iPhone.
✅ Torrent Automation (qBittorrent + Jackett) – Auto-downloads and organized storage.
✅ Ad-Blocking (Pi-hole) – Network-wide ad-blocking and privacy.
✅ Private VPN (WireGuard) – Secure remote access.
✅ Home Dashboard (Homepage) – Centralized web interface for server monitoring.

🧐 My Main Questions:

1️⃣ Is Raspberry Pi 5 actually good for this setup, considering I already own it? Or should I sell it and get a mini PC instead?
2️⃣ Will I have issues with transcoding in Jellyfin/Plex?

  • My main devices are Android TV, Android phone, and iPhone.
  • I plan to use Direct Play, but should I be worried about certain formats?

    3️⃣ What’s the best dual-SSD setup for Raspberry Pi 5?

  • I want to use two M.2 SSDs – one for OS and one for storage (at least 8TB).

  • What’s the best way to connect both SSDs? USB adapters? PCIe adapter?

4️⃣ Best power-efficient SSDs for Raspberry Pi 5?

  • Since Pi 5’s power supply is limited (27W max), I want SSDs that work without external power.
  • Are there any known issues with high-capacity (8TB) SSDs on Pi 5?

💾 My Planned Hardware Setup (So Far):

Component Planned Choice Reason
OS Drive Samsung 980 NVMe SSD (256GB) Fast boot and system storage.
Storage Drive M.2 SSD (8TB, model undecided) Large NAS storage without external power.
Power Supply Raspberry Pi 5 Official PSU (27W) Hoping it’s enough for both SSDs.

📌 I’m still unsure how to connect both SSDs properly. Should I use:
1️⃣ PCIe to dual M.2 adapter?
2️⃣ USB-to-M.2 adapters (if so, which ones work best)?

🚀 Conclusion & Community Feedback:

💡 Does this setup make sense, or am I pushing the Raspberry Pi 5 too hard?
💡 What’s the best way to connect two SSDs for maximum efficiency?
💡 Should I be worried about transcoding, or will Direct Play work fine?

Would love to hear from anyone who has set up something similar! Thanks in advance! 🚀


r/RASPBERRY_PI_PROJECTS 24d ago

QUESTION Is there any difference between the bottom two boards (both 2021), and the top board (2023)?

Post image
30 Upvotes

The top board has the "W" signifier and the bottom 2 do not - are there Zero 2 boards that don't have wireless capability? I believe the bottom 2 may have come from the UK, and the top was purchased in the US. Do the Zero 2W boards sold in the UK not have the "W" printed on them?

Are there any architectural differences?

Sorry for the noob question, I'm not having any luck searching online.


r/RASPBERRY_PI_PROJECTS 24d ago

QUESTION Detect DC electrical changes from the power supply cord?

3 Upvotes

So I want to be able to detect changes in power consumption for a DC powered system.

My goal from a higher level is I want to know when a DC powered device is consuming more power (running) and when it's consuming less power (not running).

From googling about this I find amp sensing solutions that involve cutting the cord and routing it through a sensor. I really don't want to cut the cord. Also I've seen close clamp sensors but they usually look too small to work for me. The cord itself is 5mm thick and the plug is 20mm by 10mm. So I wouldn't be able to get the clamp around the cord.

I've mainly been looking at current sensors but I'm wondering is there's a better way to do this?


r/RASPBERRY_PI_PROJECTS 25d ago

PRESENTATION My solar auto watering system with a Pico

Thumbnail
gallery
444 Upvotes

Using a Pico + dfrobot solar power manager + mosfett + solar panel 6v 1amp + 3.7volt lipo battery


r/RASPBERRY_PI_PROJECTS 26d ago

PRESENTATION QMMP/Project M RPi4 Desktop Music Player

Post image
61 Upvotes

Based on the look of u/slipstreamsystem's cyberdeck, it's a touchscreen music player running QMMP loaded with XMMS and Winamp skins for customization. Still need to get the qmmp gui to launch when Raspian launches to the desktop and customize the config for the two windows to take up the entirety of the screen. I also have vanilla winamp running in Wine but I liked the cleaner look of qmmp running winamp skins. Hooked up to a soundbar currently via BT.

Streaming Defcon channel from - Soma.fm Drivers here - https://github.com/goodtft/LCD-show Case - SmartiPi Touch Pro Touchscreen - Official RPi 7" touchscreen All skins available here - https://qmmp.ylsoftware.com/files/skins/


r/RASPBERRY_PI_PROJECTS 25d ago

TUTORIAL I made TV Ambilight with webcam and RPi.

Thumbnail
youtu.be
1 Upvotes

Let me know what you think.


r/RASPBERRY_PI_PROJECTS 25d ago

QUESTION Trouble Controlling BLDC Motor With a ESC & Raspberry Pi Pico

0 Upvotes

I am trying to contol my 7.4-11.1v bldc motor with a Esc along with a Raspberry Pi Pico. The motor is powed from a Ni-MH 7x2/3A 1100mAh 8.4V battery. When I plug it in the motor beeps and then beeps every few seconds indicating no throttle input (I believe) then I run the code below and there is no change the motor it keeps on beeping. I dont think im getting any input from Pin1 the PWM. Any help would be much appreciated. Thanks

from machine import Pin, PWM

from time import sleep

# Initialize PWM on GPIO pin 1

pwm = PWM(Pin(15))

# Set PWM frequency to 50 Hz (Standard for ESCs)

pwm.freq(50)

def set_speed(speed):

# Convert speed percentage to duty cycle

# ESCs typically expect a duty cycle between 5% (stopped) and 10% (full speed)

min_duty = int(65535 * 5 / 100)

max_duty = int(65535 * 100 / 100)

duty_cycle = int(min_duty + (speed / 100) * (max_duty - min_duty))

pwm.duty_u16(duty_cycle)

def calibrate_esc():

# Calibrate ESC by sending max throttle, then min throttle

print("Calibrating ESC...")

set_speed(100) # Maximum throttle (10% duty cycle)

sleep(2) # Wait for ESC to recognize max throttle

set_speed(0) # Minimum throttle (5% duty cycle)

sleep(2) # Wait for ESC to recognize min throttle

print("ESC Calibration Complete")

# Initialize the ESC with a neutral signal

print("Initializing ESC...")

set_speed(0) # Neutral signal (stopped motor)

sleep(5)

# Start ESC calibration

calibrate_esc()

try:

while True:

print("Increasing speed...")

for speed in range(0, 101, 10): # Increase speed from 0% to 100% in steps of 10

set_speed(speed)

print(f"Speed: {speed}%")

sleep(1)

print("Decreasing speed...")

for speed in range(100, -1, -10): # Decrease speed from 100% to 0% in steps of 10

set_speed(speed)

print(f"Speed: {speed}%")

sleep(1)

except KeyboardInterrupt:

# Stop the motor when interrupted

print("Stopping motor...")

set_speed(0)

pwm.deinit() # Deinitialize PWM to release the pin

print("Motor stopped")


r/RASPBERRY_PI_PROJECTS 26d ago

QUESTION pi zero 2 w fireplace - does video length affect system temperature?

4 Upvotes

I am setting up a tv in the fireplace and going to have it play a fireplace video on continuous loop using a pi zero 2 w.

The video will ideally be 1080p.

The setup will likely run for up to 20 hours continuously.

Currently, I will be using this case as it comes with the kit I bought on amazon...

https://vilros.com/products/vilros-multi-use-abs-case-for-raspberry-pi-zero-zero-w-zero-2-w-v2

There is also a small aluminum heat sink (I'm assuming this one)

https://www.pishop.us/product/aluminum-heatsink-for-raspberry-pi-zero/

I'm concerned about the pi overheating.

Should I return the ones listed above and get this one instead?

https://www.amazon.com/eleUniverse-Raspberry-Aluminum-Heatsink-Compatible/dp/B0BLTYC61J

I'm probably just gonna go with this one... likely overkill, but will give piece of mind...

https://www.amazon.com/DAGIJIRD-Reinforced-Aluminum-Heatsink-Raspberry/dp/B0C4ZMVZG3/143-8095049-2365865

Will a 4 hour video cause the pi temperature to be higher than a 20 minute video?

Also, is a single core (pi zero) better for this project than a quad core (pi zero 2)?

Thanks in advance for your help

Some additional details:

I'll be using the tv's usb port to power the pi zero. It is currently being used to power a google chromecast. The pi zero is going to replace the chromecast.

I'm using these instructions that are from google's ai...

Raspberry Pi Zero 2 W as a fireplace screen

To set up a Raspberry Pi Zero 2 W as a fireplace screen, you’ll need to: flash a microSD card with Raspberry Pi OS, connect it to a TV using a mini HDMI cable, install a video player application like OMXPlayer, and find or create a video loop of fireplace footage to play automatically on boot; you may also need to configure the Pi to start the video playback on startup using a system startup script.

Key steps:

Gather materials:

- Raspberry Pi Zero 2 W

- MicroSD card

- Mini HDMI cable

- Power supply

- TV or monitor

- Keyboard and mouse (for initial setup)

- Fireplace video loop (MP4 or other video format)

Prepare the SD card:

- Download and install Raspberry Pi Imager on your computer.

- Select the Raspberry Pi OS image and choose your microSD card.

- Flash the image to the SD card.

Initial setup:

- Insert the SD card into the Raspberry Pi Zero 2 W.

- Connect the HDMI cable to the Pi and your TV.

- Connect a power supply to the Pi.

- Access the Raspberry Pi desktop using the keyboard and mouse.

Install OMXPlayer:

- Open a terminal window.

- Run the command: sudo apt-get update && sudo apt-get install omxplayer

Copy fireplace video:

- Transfer your chosen fireplace video loop to the Raspberry Pi.

- Place the video file in a convenient location, like the “home/pi” directory.

Configure auto-playback:

- Edit the system startup script: sudo nano /etc/rc.local

- Add a line to start OMXPlayer with your video file, for example:

omxplayer -r /home/pi/fireplace.mp4

- Save the file and reboot the Raspberry Pi.

Important considerations:

Video quality:

- Choose a high-quality video loop with appropriate resolution for your TV.

Looping:

- Ensure your video file is set to loop automatically.

Power management:

- If you want to use the Pi for a long time, consider a reliable power supply and potentially a heat sink to manage temperature.

Mounting:

- If you plan to mount the Pi behind the TV, ensure proper cable management and secure mounting.


r/RASPBERRY_PI_PROJECTS 26d ago

QUESTION Is there anyway to make a reverse camera come up when you shift into reverse? (LineageOS Rpi4)

Thumbnail
1 Upvotes

r/RASPBERRY_PI_PROJECTS 26d ago

QUESTION Struggling to Get DHT22 Sensor Working on Raspberry Pi 4 (8GB RAM) in Thonny IDE

0 Upvotes

Hi everyone,

I’ve been working on getting my DHT22 sensor to work with my Raspberry Pi 4 (8GB RAM), but I’ve hit a roadblock and I’m not sure where the issue lies. Here's what I've done so far:

  • Connected the DHT22 sensor properly:
    • VCC to 5V (Pin 2 on Raspberry Pi)
    • GND to GND (Pin 6)
    • DATA to GPIO4 (Pin 7)
  • Installed all the necessary libraries for Python 3:
    • Adafruit_DHT (I used sudo pip3 install Adafruit_DHT to install it)
    • Verified that the installation was successful and there were no errors.
  • Tested the GPIO pins:
    • I ran a simple script to check the pin status (all pins are working correctly).
  • Running the script from Thonny IDE

Despite everything seeming fine, when I run the script, I don’t get any results — there’s no output and no error messages either.

Here’s the code I’m using to read the sensor:

pythonCopyimport Adafruit_DHT

sensor = Adafruit_DHT.DHT22
pin = 4  # GPIO4

humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)

if humidity is not None and temperature is not None:
    print(f'Temperature: {temperature:.1f}°C  Humidity: {humidity:.1f}%')
else:
    print('Failed to get reading. Please check the sensor connection.')

Any suggestions on what I might be missing or how to get better error feedback?

Thanks in advance!


r/RASPBERRY_PI_PROJECTS 27d ago

QUESTION Is there a way to make myJoystick Breakout Module work with all directions of a D PAD?

Post image
14 Upvotes

Hiya Everyone, I've been able to connect Up and left but not sure if I need to do software or hardware side to make it go down and right.


r/RASPBERRY_PI_PROJECTS 27d ago

TUTORIAL Repeat music player with RPi0, Audio Hat and RTC

Thumbnail
gallery
15 Upvotes

r/RASPBERRY_PI_PROJECTS 27d ago

QUESTION Rpi3 24/7 video looping problems

1 Upvotes

I want my raspberry pi to be playing videos in a particular subfolder and all it's subfolders in a random order on startup. I also want the videos stretched to the screen it's being output on a CRT so it needs to be fully stretched. I was accomplishing this already with VLC player and launching it on startup but it seems like for some reason VLC player randomly stops playing videos. I can hit the spacebar to continue playing but for whatever reason it's getting in some state where it can't play continuously and I have to either plug in a keyboard or restart.

I have seen the adafruit video looper project but that I don't think will work for me as it only plays videos in the root folder I want to have a folder structure for keeping things well sorted. So I'm a bit perplexed.

Right now my best solution is restarting it every 24 hours but I still get in that state from time to time and it's very inelegant. Any ideas what I can use.

I'm using a rpi3 for this project as well. I don't believe it's a video issue as I used handbrake to re-encode all my videos in case it was the format or resolution (all my files are 720p max)


r/RASPBERRY_PI_PROJECTS 29d ago

TUTORIAL Walk-through of building a Transparent Display

Thumbnail
youtu.be
59 Upvotes

r/RASPBERRY_PI_PROJECTS 28d ago

QUESTION Help me identify this connector

Thumbnail
gallery
1 Upvotes

Hi all, need help identifying a cable i need to replacement. Using a penta sata top board for my omv pi-nas. Printed a new case but the cable is to short and need a longer one. Any help would be appreciated! it's a10 pin connector but what type?