sneakynarnar
June 2, 2024, 20:11

solid red light was green

hey! yeah i just got my raspberry pi, first I loaded it and got no HMDI output with a green flashing light then i realised i needed an operating system so i installed it and it didnt boot there was just a white _ at the top left corner so I powered it off then I reinstalled the operating system and i saw the welcome screen for a second then my screen went black, and not my rp5 just has a solid red light. The fans no longer spin either Do i just return it or is it fixable?
0x7d3
June 2, 2024, 16:01

Raspberry Pi 5 not booting into desktop after installing dhcpcd

After installing dhcpcd on the pi it doenst show the desktop screen when booting, instead it boots headless with a bunch of lightdm errors, how can this be caused by dhcpcd? Everything else works fine except for some DNS issues wich I dont need help with
iamnotmega_
June 2, 2024, 10:07

Raspberry Pi 4 not posting

so basically i dropped my pi one time and it stopped posting. when i reviewed the board it appeared that a small piece of the cpu had literally broken off. can someone PLEASE help me? i really need to get it back working
j.l9883
June 2, 2024, 05:50

Pi 5 to Pi 5 commuincation

Does anyone know how to pass data through 2 pi 5's? serial communication? I want one pi to send a specific signal through a wire to another pi ideally both these actions are done through python
syfygi
June 1, 2024, 17:47

I am working on trying to create a user interface to control a sci fi prop.

The user interface would be a video on loop, while external buttons would execute the commands. I want sound and lights to be in sync. I have tried a few programs but I apparently am not as versed in coding as I thought I was
xkevinfpx
June 1, 2024, 17:25

record "Headphones" on raspberry/ or create an alsa loopback

Hello i want to record the audio of the Headphones Output on my raspberry pi 4b. I already tried creating an loopback with alsa audio. But i cant get it work. At the end i want to record the audio with python, but thats not important at the moment.
blitzspawnz_
June 1, 2024, 07:58

RPi.GPIO error

Hi, So I have an issue with rasp pi. I updated and installed the RPi properly, but it still gave me an error when I used python/2/3 [filename] to run the code. The error This module can run only on raspberry pi! Can anyone please help me? Thanks in advance
ashbadas
June 1, 2024, 06:42

Choosing a portable power solution for Raspberry Pi 5

Hello people, I was looking for a power supply for my raspberry pi 5. And I have two options I can either get a 5800mAh wifi router UPS with replaceable batteries (plus a step down buck to convert from 12V 2.5A to 5V 6A) or I can get a 10-20k mAh mobile phone power bank with 22.5w PD charging at around the same price. What do you recommend? As of now I just want to run an OS and build games for Linux, have no plans to connect power hungry peripherals yet, because I know very little and am only getting started but that might change in near future I understand power banks may not supply a stable current and I should ideally use a UPS, the UPS is also giving me an opportunity to use the pi at full potential. On the other hand I would have to buy a different adaptor for the UPS, make some modifications (to convert the voltage) whereas power banks are more plug and play and I can easily also use them with my phone
ameh_
May 31, 2024, 20:54

arducam doesnt work with raspberrypi5

Hello I have tried following the instructions on the website to setup my arducam but unfortunately whenever I type libcamera-hello it says that it can not find a camera any help would be appreciated
kay_wayfarer
May 31, 2024, 12:21

ā€œCannot determine SOC Peripheral base addressā€

Iā€™ve been following this video that introduces me to the GPIO pins and when I tried to run ā€œGPIO.setupā€, this error shown in the picture popped up. The video guide doesnā€™t have this error, and I tried trouble shooting myself; updating stuff. It didnā€™t work. I am using a Raspberry Pi 5, 8GB RAM, RPi OS 64-Bit. Please ping me if you can help me with this. Thank you. (No, the circuit is working fine, I already tested it by connecting the positive wire to a power GPIO pin. (Skip to 31:14 for the coding part) Video: https://youtu.be/az90qK3jmDo?si=5hUPkMayZVIq48On
class='img rounded m-1' src='/assets/assets/1246075968729387159.webp'>
dangerweenie
May 31, 2024, 02:02

Very bizarre boot issue - Raspberry Pi 3B v1.2 vs 3B+ v1 2

I've got an issue here I can't quite seem to get to the bottom of, I've been working on it for weeks. Here's what I'm working with: 5v 2.5a power supply, high quality. No undervoltage warnings in dmesg UPS Desktop variable voltage power supply (taken from a workstation) 8GB quality microSD card - passes checks | boots from other device 16 GB quality microSD card - passes checks | boots from other device 128 GB quality microSD card - passes checks | boots from other device All installations described below are using the official R-Pi Imager software (Windows) with latest updates Also tried flashing cards via Ubuntu All cards are being formatted using the official SD card association formatter for Windows (as described in the Boot issue sticky on the R-Pi forums) That said, I have an R-Pi 3B v1.2, and an R-Pi 3B+ v1 2 (no dot on the PCB silkscreen, assuming it is also a v1.2) The 3B is able to run everything I put on it. Raspberry OS, OctoPrint, Home Assistant, etc. The 3B+ will not boot from the stock Raspberry Pi OS 64 bit flashed onto the card via the official imager - just the seven green LED blinks (failure to locate boot kernel) The only thing the 3B+ will boot from is Octopi (the last version from the official R-Pi imager). I've tried everything in the boot-issue sticky (on the official site, on the reddit forums), reformatted card many times, also tried to manually replace the "boot8.img" kernel from the Github. The thing will only run Octoprint , and it works great - keyboard, monitor, webcam, ethernet, wifi - any idea what gives? Could this still be a hardware thing? I'm totally out of ideas! Since it's a 3B+ there's no EEPROM testing image to boot from, are there any other lightweight OS's that I can use to troubleshoot? Perhaps boot to Octoprint and then install some diagnostic utilities from there? I'll try anything! Thanks so much in advance šŸ™
adde9882
May 30, 2024, 16:50

WiringPi interrupt firing frequently on raspberry pi 5

I have a RX receiver with the DATA pin connected to the pin GPIO 27 on my Raspberry pi 5. I am enabling a callback for my RF device like this:
pinMode(27, INPUT);
if(wiringPiISR(27, INT_EDGE_BOTH, &rx_callback) < 0){
    printf(ESC_RED_BOLD "RX PROBLEM\n" ESC_WHITE);
    return false;
}

printf("RX Enabled\n");
return true;
I have a simple callback function for my RX device:
void rx_callback(void) {
    struct timespec ts;
    clock_gettime(CLOCK_MONOTONIC, &ts);
    int64_t timestamp = ts.tv_sec * 1000000LL + ts.tv_nsec / 1000LL;
    int64_t duration = timestamp - last_timestamp;
    printf("Duration: %ld\n", duration);
    last_timestamp = timestamp;
}
This callback gets called ~10 000 times each second when I am not even using any RF device. If I only use the falling edge, it rarely gets called except when I actually send RF signals with my RF controller. Yet when I set my callback to fire on INT_EDGE_RISING or INT_EDGE_BOTH, it gets called as frequently as possible. Why is this?
.auxerre
May 30, 2024, 13:15

Outputting audio to a Breadboard

Hi, I'm completely new to using Raspberry Pis. I'm using a Raspberry Pi5 to take in an audio input, process it, and then output it. I think i've figured out how to input the audio, but I need to output the audio through a breadboard, and was not sure how to do that. I've read online that I might need a DAC, but I was not sure how to connect it through the pins and whatnot. Any help is appreciated, thank you :)
bess_444
May 30, 2024, 09:32

led matrix

Hello, I want to build a little led matrix 6x8 but I donā€™t know what kind of pcb I have to use

lenonante
May 29, 2024, 19:59

How start a program on boot with a pygame interface ?

Hey šŸ™‚ I want to start a program when the Raspberry boot. I add this lines in the .bashrc file :
cd /home/pi/Documents
python3 main.py
the program start when the RPI boot but without his pygame interface. When i launch a terminal, the porgram start WITH his pygame interface. (And of course, if i execute the program manually everything is ok) Thanks for helping me !
hiheys
May 29, 2024, 14:41

Pi 3b+ system error? kekw

Im using a rasberry imager and 32-bit version after the whole process, I insert the SD card (not original, not included in the set) and fire up Raspberry, and.... check the video
tehlemonking.eth
May 28, 2024, 21:38

TBC Wow Private Server Pi4 8GB

Hello. I am trying to get Raspywow, from GitHub, to run on my Pi4 8GB. I am very new to all things this. Using ChatGPT, I was able to get the files and compile them. make was the last command I used, then chat requested me to edit 2 server conf files that were not in the repository. This is where I hit a wall. Anyone know how to get this going so my friends won't need my tower to be on to play our server? Separately, could someone explain why posting almost identical question into Raspberry Pie discord server help section had me permanently banned with no explanation?
ameh_
May 28, 2024, 18:52

Raspberrypi5 turns on but does not give any HDMI output

Hello, I was trying to setup the ardu cam with my raspberrypi 5 and made some changes to the config.txt everything worked fine but later the i get no output to my screen, I changed the config.txt back to what it was but it still doesnā€™t work.
saiifiihab
May 28, 2024, 18:19

weather station

Hi guys, i wanted actually to build a weather station, and i have the codes already working on each sensor alone, the problem is that i wanna compine these sensors but i cant, is it possible to just run every python file alone and i still get the output of the sensors in one place?
talhayaa
May 28, 2024, 10:03

PiHole works through Wifi but not through Ethernet

Hello, I wanted to run pi hole in directly on the clients. It hast just worked by making changes in the etc/network/interfaces file namely i put the ipv6, which comes out on ip a inet6 for eth0 in there. And i added ipv6 on the interface/settings/dns. On my PC, that runs on lan and on my laptop that runs on wifi, i changed the IPv4 DNS to the address of my pi Hole. And i changed the IPv6 DNS to that IPv6 I added to the interfaces file but left out the last part of it. The Laptop runs pi hole well. The PC does not. and when I put the lan cable to my laptop it also does not work. So pi hole runs on wifi but not on lan (im a complete newbie)
dashadowman_
May 28, 2024, 00:09

Trying to make tiny computer with RP5

Hi folks, was wondering what a good screen and keyboard i could use if i wanted to make a really small laptop
nemonobody11
May 28, 2024, 00:02

Ping RasPi through Windows PowerShell

Hello I'm working through an introductory tutorial to RasPi and I'm unable to complete the remote access step as described here: https://docs.sunfounder.com/projects/raphael-kit/en/latest/install_setup_os/remote_windows.html I have enabled the SSH radio button on the RasPi and I believe it's host name is "raspberrypi" but when I run the "ping -4 raspberrypi.local" command in PowerShell I receive this message: "Ping request could not find host raspberrypi.local. Please check the name and try again." Any help is appreciated. Thanks!
mugg6578
May 27, 2024, 19:00

Raspberry Pi 4B constantly freezing on boot up of new system

Hi all, I've read a lot about raspberry pi troubleshooting and tried both replacing the power cord and the flashed SD to solve the proble with no luck. Each time, I write my username and passcode and without fail it either freezes when installing updates, or freezes after trying to open firefox for the first time. Only thing on the SD card is the flashed operating system, brand new SD card. Anyone have any tips?
gutterboy6969
May 27, 2024, 05:14

Need Help (Pi Zero 2 W)

Hi there, first time using a raspberry pi, I have the zero 2. I connected my ps4 controller and get regular charging light but it says there are no gamepads detected. It only takes micro usb so I canā€™t even connect my keyboard so Iā€™m confused on how Iā€™m supposed to navigate the menu?


polluxonthefluxx
May 26, 2024, 20:28

Using Raspberry Pi to Read and Emulate RFID Cards: Need Help with Modules and Setup

Hello, I just started a project to replicate what a Flipper Zero can do using a Raspberry Pi. It will allow me to: first, read the ID and other data on RFID cards with a Python program, then emulate the card with a tag or similar device. I have a few modules to make it work: a Raspberry Pi 5, a PiicoDev RFID module, an adapter for the Raspberry Pi, cables to connect everything, and RFID tags. And my question is: Do you see any issues with the previous configuration, and which module or tag would allow me to emulate RFID frequencies? Thank u for reading and helping
leehyeeun
May 26, 2024, 09:49

[āœ…] Raspberry Pi 4B Wifi and SSH configuration with Imager Not Working, sth to do with dynamic IP?

I used the Raspberry Pi Imager OS customisation to configure wireless LAN and enable SSH with the SD card; it worked yesterday but it doesn't anymore for some reason. Problem: I logged into my wifi router and checked that Pi is not connected. Pinging pi from terminal returns request timeout. Hypothesis: IP address returned when I successfully pinged pi yesterday is different from the one I'm getting today. Yesterday's IP (blacked out in last picture) looked like 000.000.000.XXX where the 0 part is the same as my router address (192.168.~) and X is different. The IP address I'm getting right now (first picture) is different for all 12 digits. I assume this might have to do with static vs dynamic IP address, but I need help resolving this. The red and green lights do come on properly (red always on, green flicker for 20-30 seconds then off). I would appreciate any input! Thank you.



sas123
May 25, 2024, 08:26

Flashing

Hello! I am doing a small school project, but I encounter an issue... I do not understand how am I supposed to flash my school given, raspberry PI pico board. I have connected it with USB to my computer and I can see it in my file manager (1 st and 2 nd picture). In my assignment, I am supposed to code this using rust. I copied a code template that is supposed to just blink the on board LED. However, I tried a bunch of thins, and, I cannot flash this drive. When I run cargo run --release, I get the "No connected probes were found". However lsusb shows that I have (3rd picture). I tried with rules
/etc/udev/rules.d/99-pico.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2e8a", ATTR{idProduct}=="0003", MODE="0666"
I am part of the following groups: plugdev uucp audio wheel I tried restarting, changing cables. I just don't know what to do anymore I should specify that I am running on linux. Does anyone have a solution?


harley7234
May 24, 2024, 23:29

SSH Password Not working pi 4

I need help im trying to install raspberry pi x64 image in my raspberry pi4 and its not working please help ASAP
lpeter1997
May 24, 2024, 19:45

[āœ…] Using a DMA -> PIO pipeline to write to GPIO pins one byte at a time (for a function generator)

I'd like to setup DMA in a way that it writes bytes to GPIO pins 0-7. AFAIK you'd write a little PIO program for that which would actually write out the bytes the DMA transferred. Once the DMA write finishes with the data, I'd immediately like to retrigger it to keep feeding the same sequence of bytes over and over again. AFAIK I can just chain another DMA channel that then gets chained back to the first one. This is the code I came up with, which - unsurprisingly - does not work. I'm good with C++, but the Pico hardware (and low-level microcontroller programming) is relatively new for me. The end goal is a function generator, if context helps. Any help/pointers in the right dir is appreciated
cpp
#include <cstdint>
#include <vector>
#include "hardware/dma.h"
#include "hardware/pio.h"

void setup_pio(PIO pio, uint sm) {
    auto program = pio_program_t {
        .instructions = pio_program,
        .length = sizeof(pio_program),
        .origin = -1,  
    };
    auto offset = pio_add_program(pio, &program);
    pio_sm_config c = pio_get_default_sm_config();
    sm_config_set_out_pins(&c, 0, 8);
    pio_sm_init(pio, sm, offset, &c);
    pio_sm_set_enabled(pio, sm, true);
}

void setup_dma(PIO pio, int dmaChan0, int dmaChan1, std::vector<std::uint8_t> const& data) {
    // Channel 0, which outputs to the PIO, which in turn outputs to the pins
    dma_channel_config c = dma_channel_get_default_config(dmaChan0);
    channel_config_set_transfer_data_size(&c, DMA_SIZE_8);
    channel_config_set_read_increment(&c, true);
    channel_config_set_write_increment(&c, false);
    // Chain to channel 1 when done
    channel_config_set_chain_to(&c, dmaChan1);
    dma_channel_configure(dmaChan0, &c, &pio->txf[0], data.data(), data.size(), false);
    // Channel 1 just retriggers channel 0
    c = dma_channel_get_default_config(dmaChan1);
    channel_config_set_chain_to(&c, dmaChan0);
    dma_channel_configure(dmaChan1, &c, nullptr, &pio->txf[0], 1, false);
}

// Usage
int main() {
    auto dataPoints = std::vector<std::uint8_t> { / ... / };

    auto chan0 = dma_claim_unused_channel(true);
    auto chan1 = dma_claim_unused_channel(true);

    auto pio = pio0;
    uint sm = pio_claim_unused_sm(pio, true);
    setup_pio(pio, true);
    setup_dma(pio, chan0, chan1, dataPoints);
    dma_channel_start(chan0);
}
amadeuz4770
May 24, 2024, 16:27

[āœ…] [Raspberry Pi Connect] remote software - copy / paste - Workaround

I'm using the new (beta) Raspberry Pi Connect software and it's working absolutely perfect. For a beta program I'm really impressed at its stability and easy of use. The copy/paste functionality is a bit awkward, and some of my employees that are using is are complaining that they have to click the PASTE button in the upper right instead of using normal keyboard shortcuts. Has anyone figured out a workaround so that you can copy (Control C) from your local computer and the paste (Control V) into the Raspberry Pi?