mackagg
June 22, 2024, 15:26

libcamera-vid crashing after few seconds

5 seconds is max lenght before crash, I have rpi zero 2w with 2gb swap Ping me when you reply
goon3390
June 22, 2024, 00:16

Adding a Power Button

Previously I had set up a power button by having one pin connected to gpio 3 and another to GND and I had a script that ran in the background. I tried the same guide as previously and watched many more yet none seem to work.
goon3390
June 21, 2024, 18:53

Running Script on startup

Previously i used "sudo nano crontab -e" and pasted the command at the bottom, and this worked however now when i try do that on my new raspberry pi (same model) it does not work? is there another way i can do this?
dethress
June 20, 2024, 14:34

Need help with DHT11 with Raspberry Pi Pico

Hey, I just installed a DHT11 sensor on my breadboard, connected rp pico to my PC, installed dht.py library onto it and triet running a simple code to test if it works but all I get is :
MPY: soft reboot
Invalid pulse count error: Expected 84 but got 1 pulses
Invalid pulse count error: Expected 84 but got 1 pulses
GND is connected to GND, Data to GPIO26 and VCC to 3v3. Also here's the link where I got dht.py from: https://www.instructables.com/DHT11-With-Raspberry-Pi-Pico/
yhoseph00
June 19, 2024, 02:28

Help interpret this message on boot

I have no clue what this means or how to solve it. I assume that I messed something up with trying to install the os onto the microsd. Using a pi4
combustiblel3m0n
June 19, 2024, 02:11

Unable to SSH into rpi 0 WH via. USB

While attempting to SSH into rpi 0 wh on my Windows device, i noticed that my pi is showing "Network Cable Unplugged" in "Control Panel\Network and Internet\Network Connections", and when i try pinging raspberrypi.local, it says that the host is not found. i am following the guide hosted here: https://notenoughtech.com/featured/raspberry-pi-zero-ssh-usb/
geo4win
June 18, 2024, 14:29

pi zero WH wont change date/time

pi zero WH wont change date/time even with WiFi connection
nicole457
June 18, 2024, 12:39

Object Detection for Raspberry pi

Hi everyone, I am doing an object detection project using cvat and yolo, is it possible to put all these folders inside my raspberry pi so I can run object detection using my raspberry pi?
tkpersona
June 18, 2024, 05:52

why does raspberrypi 400 use the swap partition when ram isnt full

My raspberry pi has 4GB ram and usually when the available ram is down to about 1GB my raspberry pi just decided to not use the ~1GB avliable ram and start using the swap partition causing my system load to sky rocket to over 100 (due to high loads of IO) Any idea on how to fix this issue?
e_xie
June 18, 2024, 00:23

Using ATWINC1500 with Raspberry Pi

Hey everyone, I made a small HAT for the raspberry pi. It has an ATWINC1500 WiFi module. Any idea as to how to make it show up in ifconfig as a normal wifi interface? I've tried the WiFi101 libraries but ofc since they're intended for arduino, there's no makefile
pangolino30
June 17, 2024, 11:57

Stream Picamera module 3 over network

Hi, I am building a video surveillance system. I have a Raspberry PI 4 to which a Camera Module 3 Wide is connected. My goal is to recover the image from this camera on another Raspberry (PI5). I currently have a Python program that allows me to stream in MJPEG but the quality is not optimal. I would like to stream in RTSP but I haven't found a working method. Have any of you ever done this? Thank you in advance for your answers.
daowlie10
June 16, 2024, 21:39

RPi 5 on 4k HDMI TV

Raspberry Pi 5 Ubuntu 24.04 LTS LG 55uq7070zue TV (4K, 60Hz) The HDMI cord and adapter definitely work, but I can't get it to display on the TV. The TV gets input, but only displays a black screen. How can I get my Pi 5 to display on this TV?
dethress
June 16, 2024, 13:28

Need help with an I2C LCD display

I have a breadboard with Raspberry Pi Pico on it and connected an I2C LCD Display. I can't get the LCD to "work" though. Can't print anything on it despite having the libraries installed on the micro controller. I've tried .putstr and .putchar but neither work, although .backlight_on and .backlight_off work. If this makes things clearer, I have a 2x16 LCD with I2C LCM1602 converter
winikolo
June 16, 2024, 12:46

scp file from raspberrypi to windows

if anyone knows how to properly do it lemme know quickly please
philip.2000
June 16, 2024, 12:31

Can I log the free RAM on my Pico during runtime?

I am trying to log my ram usage on my Pico but I couldn't find any examples for the C SDK. Is there any viable way to do that? Thank you!
.jozekk
June 16, 2024, 09:03

HELP needed with a ultrasonic sensor on pico WH

check if all the pins are connected correctly
denis.1337
June 15, 2024, 16:50

Questions about OS

what is the "lightest" as in storage and resource wise OS i can install on a raspberry pi?
louisandthecat
June 15, 2024, 10:47

Updating pi pico directly or remotely

I’m just getting started with the pico. With the pi I’m used to uodsting it remotely so it doesn’t have to always be plugged into my computer. I just assumed the pico would be the same but after about a day of messing about trying to get WebREPL set up, telnet, ftp), all of which has just sent me round and round in circles) I wondered if I’m just approaching this wrong. Is the idea with the pico that you just have to take it out of whatever device it’s sitting in and update the code manually when you want to change it? I am a bit confused about this as it seems to be what most people do but that seems quite difficult to do if you want it embedded in something and don’t want to be endlessly unscrewing and taking everything apart. On the other hand maybe the idea is that these devices are supposed to be for one very simple bit of code and shouldn’t need changing a lot? I feel I’m missing something very simple here.
astrydax
June 14, 2024, 07:13

Displaying image on TFT display

I got this display with buttons https://www.waveshare.com/wiki/Pico-LCD-1.3 and I've been trying to use this driver https://github.com/russhughes/st7789_mpy I've been beating my head against this for several days an I'm making no progress. I'm trying to display an image file on the display using a rp pico w. The end goal is to make a simple tamagotchi like game for my neice.
.electrified
June 13, 2024, 20:37

Help Needed: Interfacing ST7302 LCD Display with Raspberry Pi Zero 2 W

Hello everyone, I'm currently working on a project where I need to interface an ST7302 LCD display with my Raspberry Pi Zero 2 W, and I'm running into some issues. I’ve tried following various guides and repositories, but haven’t been successful in getting the display to work properly. Project Setup: Display Model: ST7302 LCD Microcontroller: Raspberry Pi Zero 2 W Connection Type: SPI Connections: > GND - GND > VCC - 3.3V > SCL (SPI Clock) - GPIO 11 (SPI0 SCLK) > SDA (SPI Data In) - GPIO 10 (SPI0 MOSI) > RES (Reset) - GPIO 25 > DC (Data/Command) - GPIO 24 > CS (Chip Select) - GPIO 8 (SPI0 CE0) Problems Encountered: Initialisation Issues: The display does not seem to initialise properly. I suspect the initialisation sequence might be incorrect. Noise on Display: When running the code, the display shows noise for a few seconds and then goes blank. No Clear Output: Attempts to display patterns or text have been unsuccessful, resulting in either no output or random pixels.
import spidev
import RPi.GPIO as GPIO
import time

GPIO.setwarnings(False)
DC_PIN = 24
RESET_PIN = 25
CS_PIN = 8

spi = spidev.SpiDev()
spi.open(0, 0)
spi.max_speed_hz = 500000
spi.mode = 0b00

GPIO.setmode(GPIO.BCM)
GPIO.setup(DC_PIN, GPIO.OUT)
GPIO.setup(RESET_PIN, GPIO.OUT)
GPIO.setup(CS_PIN, GPIO.OUT)

def reset():
    GPIO.output(RESET_PIN, GPIO.HIGH)
    time.sleep(0.1)
    GPIO.output(RESET_PIN, GPIO.LOW)
    time.sleep(0.1)
    GPIO.output(RESET_PIN, GPIO.HIGH)
    time.sleep(0.1)

def write_command(command):
    GPIO.output(DC_PIN, GPIO.LOW)
    GPIO.output(CS_PIN, GPIO.LOW)
    spi.xfer([command])
    GPIO.output(CS_PIN, GPIO.HIGH)

def write_data(data):
    GPIO.output(DC_PIN, GPIO.HIGH)
    GPIO.output(CS_PIN, GPIO.LOW)
    spi.xfer([data])
    GPIO.output(CS_PIN, GPIO.HIGH)

reset()
write_command(0x01)  # Software reset
time.sleep(0.12)

write_command(0x11)  # Sleep out
time.sleep(0.12)

write_command(0x3A)  # Set color mode
write_data(0x05)  # 16-bit color

write_command(0x29)  # Display on

def clear_display():
    write_command(0x2C)  # Memory Write
    for i in range(250  122):
        write_data(0x00)

clear_display()

try:
    while True:
        time.sleep(1)
except KeyboardInterrupt:
    GPIO.cleanup()
    spi.close()
What I've Tried: Double-checked all connections. Verified GPIO pin numbers and corresponding functions. Attempted different SPI settings and initialisation sequences. Questions:* Is there anything obviously wrong with my code or connections? Can anyone provide a correct initialization sequence for the ST7302 display? Are there specific SPI settings that I should use for this display? Any help or suggestions would be greatly appreciated. Thank you!
fthg38
June 13, 2024, 12:38

i have raspberry pi 4 but its from a device, it doesnt have any usb port or hdmi (display)

i cant ssh to device i tried to setup os 32 bit when i try to ssh it says connection refused
gogipro
June 12, 2024, 14:17

would this screen work with a pi5?

sorry page is lithuainian just use google site translate https://www.anodas.lt/waveshare-ekranas-raspberry-pi-3-2-zero-mikrokompiuteriui-lcd-ips-7-1024x600px?utm_source=kaina24.lt&utm_medium=referral and i am gonna use this cable: https://www.anodas.lt/raspberry-pi-kabelis-ekranas-22-laidai-0-5-mm-zingsnis-15-laidu-1-mm-zingsnis-50-cm?utm_source=kaina24.lt&utm_medium=referral and i am going to buy the screen and a pi5 how suld i do it so that i can play retro pi but also have the browser?
sapu98
June 12, 2024, 13:39

rpi5 ssd boot HELP

Hi, I'm trying to install raspbian on a ssd m2 I just received. I don't have an adapter so I mounted the ssd on my laptop to use rpi imager. The problem is that the imager does not see the ssd when it's time to install the OS. I've tried to format the ssd but still doesnt popup in the list... https://share.ldflabs.com/XuYA5/ZUFUnesA60.png https://share.ldflabs.com/XuYA5/TAHuwUSe88.png Do you know how can I work around this problem?
dan_levi
June 12, 2024, 13:21

Raspberry Pi 5, Pimoroni NVMe Base

I just got the NVMe base for the Raspberry Pi 5 (Pimoroni PIM699), and I must say the circuit board quality is impressive! Promising start. 🙂 To my project: I slotted a Micron 256GB NVMe (Gen3, 4x) into the base board, attached the base board to the RPi5, and the Pi recognizes it. I used Raspberry Pi OS 64-bit and then used the imager to install Raspberry Pi OS 64-bit on my disk. However, when I try to boot from it, I get a message that it fails to boot from NVMe, with options to hold shift for network boot or press escape. The NVMe I'm using is an MTFDHBA256TCK-1AS1AABHA from Micron Technology Inc. https://www.digikey.no/en/products/detail/micron-technology-inc/MTFDHBA256TCK-1AS1AABHA/10320942 Has anyone encountered similar issues or have any advice? Edit: I see now that the disk is not on the list of supported disks on the Pimoroni website. Is it still possible to make this work?
0xdreamless
June 12, 2024, 11:53

Raspberry Pi Cam v2 IR Cut Filter

Hey, I got a raspberry pi camera module v2 no ir. I want to use a motorized IR cut filter so I can use the camera to take good pictures at day and night time. Can anyone recommend a fitting IR Cut Filter ? Thanks in advance

Warning: Undefined array key "author" in /var/www/html/index.php on line 102

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/index.php on line 102
eljulios.
June 11, 2024, 09:32

my raspberry pi impossible to detect on the network

hello everyone I created a NAS on the raspberry it'ya some day everything worked I could access the server and then now my pc no longer detects it. I don’t know what to do
bess_444
June 11, 2024, 07:19

Python3 error

Hello, I have an issue with my raspberry pi. I want to install this "sudo -i pip install --upgrade pip setuptools" but it tells me that I have to use python3. So I use "sudo python3 -i pip install -upgrade pip setuptools" but it tell me that /home/name/pip can't be open No such file or directory
astyr
June 10, 2024, 12:30

Connecting react native app to a Raspberry Pi Zero W throught Bluetooth

I have a Raspberri pi zero which needs to send a string of information to my react native app. How can I do it? I set up the whole bluetooth communication in my pi and the react native is developed, the only issue is that I cannot figure out how to make a communication between these two.
massmerize
June 10, 2024, 09:35

Pi5 + Moonlight/Sunshine - No Audio coming through HDMI & case fan not working/always on.

Hi, I'm new to this so please explain to me like I'm five! Thanks. Edit: Audio topic was finally solved. 3rd party software was interfering with the routing of the sound to sunshine (Steelseries GG Sonar) my case fan (white one) is either always if using gpio as seen on the picture, or not at all, if connected on Gpio 17. (tried to do this: https://howchoo.com/pi/control-raspberry-pi-fan-temperature-python/) can you tell me what information you need from the terminal in very simple language because I really, have no idea what i am doing. Thank you so much!