magnet04
March 21, 2024, 01:29

SDK path issues

Hello I recently started working with Pico's and decided to tackle learning C. I bought a pi5 and installed everything. However my install location is not the same as in the tutorial. I have adjusted it in the bashrc file as in the uploaded img and rebooted. However when I press build through vscode it gives an error and links to the wrong path.(Second pic) Did I forget something? Kind regards

matze15
March 20, 2024, 13:30

First Project on Raspberry pi pico w with 1.3" IPS LCD Display

Hello i downloaded a demo code from the instructions about the LCD display: It works when i press the A button on the Display that it is printing a but the display is always black? Maybe someone could help me :) thanks
n3urogod
March 19, 2024, 13:05

Unable to boot

Hi All. I have been trying for a week to get my Raspberry Pi 5 to boot. I have tried two SD-Cards and a USB thumb drive to no avail. If I use the custom config option in Raspberry Pi Imager, I get a screen that says its generating SSH keys and then it says rebooting, but it never comes back. If I pull the power and plug it in, I get the standard linux boot text scrolling for a few pages and then the screen goes blank, it never seems to connect to wifi using the custom config, and the keyboard has no power. The led stays red forever more. I have tried all of the options in config.txt for hdmi, plus the video= option in cmdline.txt and nothing changes. I have tried Raspberry Pi OS 64bit, Ubuntu, and Kali and all do the same thing. The last item I have seen come up a few times before it goes to black is "BCM: Using default device address". Although it does seem to go black at different points, so I'm not sure if thats useful. I am honestly at my wits end trying to get this working. Any assistance would be really grateful
lordseriouspig
March 19, 2024, 05:51

Pi02W: Help with booting into Raspberry Pi for the first time.

First time Raspberry PI user, I can't seem to boot into my Raspberry Pi, installed PIOS, and first boot shows "Generating SSH Keys," and then "Rebooting in 5" I get into CLI for a second, before the signal terminates. Nothing happens from then on. Specs:Raspberry Pi Zero 0W with Raspberry PI OS Legacy 32x Lite. I have tried using Kali Linux, with success. I full reformatted an SD card with NOOBS installed, and installed the operating system
.bugfix
March 19, 2024, 02:44

Pi5: Unable to boot from NVME (Waveshare Hat+)

Hey! I've been trying to boot from my NVME drive for almost a week now with no success. I have a Pi5 with a Waveshare NVME hat, but when I try booting from it I get this error message: Timeout: 00000000 3c301010 00000000 00000000 nvme: error 8 Failed to open device: 'nvme' My BOOT_ORDER is 0xf641 (also tried with 0xf46 and 0xf64) I can boot from SD and USB without issues, but if I boot from USB and set the root partition to the SSD my wlan0 disappears. The drive I'm using is a Foresee E2M2 064G that came with my Steam Deck. Any ideas?
thatguyjupe
March 19, 2024, 00:32

Downgrading to Raspberry Pi Zero 2 W

I'm running to .jar files continunisley on a Raspberry Pi 4B+ 8GB, and I'd rather switch a Pi W 2 Zero I have to running it, however, Im at 585MB of ram used, which the zero only has 512. If I run the dumed down just command line system on the zero will it balance out and could I run it on there?
3li3737
March 18, 2024, 11:03

Connect 4 HDDs to a Raspberry Pi 5

Hello everyone, Thanks in advance for any help:) How can I connect my 4 HDDs that only have a SATA port to the Pi5? Would this (Sata to USB) https://www.amazon.de/Unnderwiss-festplatten-Kompatibel-Festplatten-Betriebssystemen/dp/B0BP17RP5P/ref=mp_s_a_1_3 With this (Powered USB hub) https://www.ebay.de/itm/394880174396 Would this work together? Or did I miss something?
xpinoy_
March 18, 2024, 06:05

Need help with enabling camera on V2 on Raspberry Pi 4 Model B

I'm completely new to anything raspberry pi related and I started a school project with it. Here's a list of all the parts I've got from amazon: Raspberry Pi 4: https://www.amazon.com/Raspberry-Model-2019-Quad-Bluetooth/dp/B07TD42S27/ref=as_li_ss_tl?dchild=1&sr=8-4&linkId=b48356bc3c6888cd7c44fd1130081d1a&language=en_US Raspberry Pi Camera Module V2-8: https://www.amazon.com/dp/B01ER2SKFS?psc=1&ref=ppx_yo2ov_dt_b_product_details Touch Display: https://www.amazon.com/dp/B09XKC53NH?psc=1&ref=ppx_yo2ov_dt_b_product_details and ofc everything else like SD cards, display cables, etc. I tried following this tutorial I found on Youtube: https://smartbuilds.io/smart-cctv-camera-flask-video-streaming-opencv-raspberry-pi/ One of the first steps is to 'Select Interface Options, Camera Port and select Enabled. You can now exit. This may cause your Pi to reboot." but no camera port option is showing up in the raspberry pi config. Any ideas? I've looked at countless articles and videos, but nothing seems to work.
thumperz1
March 18, 2024, 04:11

How to stream PC screen to PI?

I want to stream my screen to my Pi so that I can analyze the screen, then have the Pi make keyboard and mouse movements based on what it sees. Any tips?
168mph
March 18, 2024, 01:01

RP4 doesnt show up in imager or computer

Tried plugging it into my macbook and windows PC, its not a micro SD card issue because when i plug it in by itself it works fine, light is solid red and im connecting via USB c
justaccsolol
March 17, 2024, 23:25

Not being able to SSH into Rpi Zero 2 w

Hello, i was just trying to SSH into my Pi (after waiting a couple of minutes with a fast Micro SD) and it looks that i wasn't able, just a couple of Hours before i could. I affirmed that the ip was right, it shows in my router, i have tried adding a blank ssh file in the boot filesystem but i still can't ssh it.
killian3942
March 17, 2024, 18:20

Toggle Switch ON/OFF doesn't work

Hello, I've buy a Toggle Switch to start and shutdown properly my RPI 4, I've setup /boot/firmware/config.txt dtoverlay=gpio-shutdown and wired my toggle in GPI 5 and 6 (GRD). I success to shut and start one time, but despite, nothing happend. Do you have any idƩea ? Thx !
samstrike
March 17, 2024, 17:32

Nema 17 Stepper stops moving randomly

Hi guys, Im working on a little project where I need a Nema 17 Stepper. I paired it with a l298n module and control it with the Raspberry Pi 4B. My problem is, that the motor works fine the first few rotations but then stops randomly. After stopping it just rattles and vibrates. I already tried changing the connections and increased my power supply. I tried using code from different tutorials online but nothing helped. This is my code for testing the stepper:
import RPi.GPIO as GPIO
import time

GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
ControlPin = [7, 11, 13, 15]

for pin in ControlPin:
    GPIO.setup(pin, GPIO.OUT)
    GPIO.output(pin, 0)

StepCount = 8
# this two-dimensional array holds the eight-step sequence for half stepping
Seq = [ [1, 0, 0, 0],
        [1, 1, 0, 0],
        [0, 1, 0, 0],
        [0, 1, 1, 0],
        [0, 0, 1, 0],
        [0, 0, 1, 1],
        [0, 0, 0, 1],
        [1, 0, 0, 1] ]


# GPIO.output(enable_pin, 1)
def setStep(w1, w2, w3, w4):
    GPIO.output(ControlPin[0], w1)
    GPIO.output(ControlPin[1], w2)
    GPIO.output(ControlPin[2], w3)
    GPIO.output(ControlPin[3], w4)


def forward(delay, steps):
    for i in range(steps):
        for j in range(StepCount):
            setStep(Seq[j][0], Seq[j][1], Seq[j][2], Seq[j][3])
            time.sleep(delay)


def backwards(delay, steps):
    for i in range(steps):
        for j in reversed(range(StepCount)):
            setStep(Seq[j][0], Seq[j][1], Seq[j][2], Seq[j][3])
            time.sleep(delay)


if __name__ == '__main__':
    while True:
        delay = input("Delay (ms)?")
        steps = input("How many steps forwards? ")
        forward(int(delay) / 1000.0, int(steps))
        steps = input("How many steps backwards? ")
        backwards(int(delay) / 1000.0, int(steps))


# this cleanup command is needed so that all the pins are reset once the program ends
GPIO.cleanup()
.knx
March 17, 2024, 01:38

Raspberry Pi Zero W HDMI Audio?

Hi Newbie here. Does the Raspberry Pi Zero W mini-hdmi support hdmi audio? I want to add a USB Mic + Speaker and thinking I could use a mini-hdmi speaker? Cheers.
tomatoes6868
March 16, 2024, 23:59

turning on and off display to save power

i bought this and it works https://www.amazon.com/gp/product/B07RT7MK7C/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1#customerReviews i bought https://www.amazon.com/gp/product/B0C3V7TCG8/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1 im using dakboard on a rasp pi 4 i have tried everything i can find online but i cannot get it to work properly to turn the display on and off does anyone have experience i can get it to read motion with this guide but i cant get it to actually turn off and on the screen https://www.thedigitalpictureframe.com/pir-motion-sensor-raspberry-pi-digital-picture-frame/
ayeitzwittier
March 16, 2024, 22:23

Unable to install pi apps on ubuntu

I am unable to install pi apps on my Pi 5 running ubuntu. Is anyone else also having issues or is it just me?
enclave.dll
March 16, 2024, 17:18

panda3d issue with the texturing it appears white

i am making a game with panda3d and all the models inside it appear white but when i run the game on my pc/computer its all fine, idk what to do next it might be a driver issue anyways any kind of help will be appreciated thank you.
titslover_
March 16, 2024, 13:17

Hi i run a paper minecraft server

I can run it only on 3 gigs if i have more than that i get an error(in attachment). The starting script i use : #!/bin/bash java -Xmx4096M -Xms4096M -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+ParallelRefProcEnabled -XX:+PerfDisableSharedMem -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1HeapRegionSize=8M -XX:G1HeapWastePercent=5 -XX:G1MaxNewSizePercent=40 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:MaxGCPauseMillis=200 -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar --nogui
akaza3322
March 16, 2024, 10:21

I'm a senior students creating a project facial recognition using raspberry pi 5 can someone help me

What software do i need and how to install?
yeremyahu
March 16, 2024, 08:54

connect pi picos together with gpio?

Is there a way to have the output of one pico set off a gpio of another one without damaging either? I'm thinking the output of pico A sets off. GPIO #1 of pico B (where A is an output and B is an input)
mrdubu
March 16, 2024, 07:33

How to consistently connect my RPI 5 to may laptop?

I own a RPI 5 and I just started using it. I used the RPI Imager to install the RPI5 software and had it connected to my home WIFI. I initially used an ethernet cable to connect it via SSH with PuTTY and allowed the use of VNC. I used VNC and all that and connected to the Pi via WIFI. I got to control it and do everything with it. But after not using it for a while, whenever I open my Pi, it doesn't seem to connect to the internet automatically. I do not own a separate monitor to see what's happening within the Pi. I also am not able to connect to the Pi again via ethernet. I try using PuTTY again but it just says that the network is unavailable. The only way I get to connect to the Pi again is if I do the whole process again of installing the RPI5 software with the Imager program. If anyone can help me with this please it would be greatly appreciated. Thank you!
thecharlesshow
March 16, 2024, 04:04

Script to reboot program on pi os if it failed to launch

Hello everyone im making myself a personal signage display that uses chromium that sometimes throws up this error. I have everything automated using .bashrc (pi boots up, unclutter loads to hide the mouse) then the command chromium-browser ā€œwebsite.comā€ -kiosk -incognito. It works 7 out of 10 times. The other 3 times I get thrown the error pictured below. I was wondering if it was possible for me to make a fail safe that will detect that chrome didnā€™t successfully launch and commit a safe reboot to make a new attemptā€¦ thanks!
misterjthe5
March 15, 2024, 21:07

Help trimming a PCB

soo. i have this screen pcb and theres this series of pins that i dont really need (hope i dont need them)
__wolfino__
March 15, 2024, 13:35

Printer Server CUPS

Hey guys i recently seted up my cups PS and i want it to be reachable from mobile phones. So i searched up and found that you need Cups plugin but it's not working on newest Android... Can someone help me?
zen_09
March 15, 2024, 05:57

Raspi 4 With Rotary Encoder

Is there a way i can program raspi 4 with rotary encoder using sensor hc-020k for seeing the motor speed. I got stuck, cause i can program it with arduino uno but cant program it with raspi
fireextravasate
March 14, 2024, 20:37

Does the 7ā€ touchscreen draw significant resources?

I'm trying to use a seven inch touchscreen monitor with my pi4, but the program I'm running is lagging. I was wondering if it draws enough resources to make the pi slower or have slight delay, could anyone help me?
illegitimate_egg
March 14, 2024, 20:12

ESP 32 Hardware Implementation

Can you see any issues with my implementation? (Ignore the lack of a USB port)
fourleavedpotato
March 14, 2024, 15:49

SSH into Pi 3A+

How can I ssh into my Pi 3A+ via USB? I have been following this video: https://youtu.be/7nDJPidKSPA?si=PZm3fRWedA0UtWqu Iā€™ve tried both putty and Debian on WSL, but when I try to ssh, it cannot resolve the hostname. I tried to ssh into 127.0.0.1 and the same thing happened. When I try to view my network connections in Control Panel or usb devices in Device Manager, the PI does not appear as an RNDIS gadget. I can SSH through wifi, but I want to avoid that because when I move back into my dorm, it will be difficult to get my device added to the internet whitelist. What can I do now?
abovefreezing
March 14, 2024, 14:10

Won't boot from NVME

I used Raspberry Pi Imager from a Raspberry Pi OS running on an installed SD card to image a fresh Raspberry Pi OS image onto a connected NVME SSD drive. It completed and said it was successful after verifying the image that was installed. I removed the SD card with intention to boot from the NVME. It won't boot, though I changed the boot order to begin with NVME. I plugged in another Raspberry Pi instance that is on a USB drive and it will successfully boot from USB after failing to boot from the NVME. The NVME is seen by the Raspberry Pi, but as seen in GParted, the two partitions created on the NVME are "unknown" and either damaged, unformatted, or a device entry is missing, or something. 1. Can RPi Imager not install Raspberry Pi OS on an NVME drive? 2. If so, how should it be done, and how should the drive be prepared first (partition table, unformatted or with a filesystem)? 3. If not, what would be the best way to install Raspberry Pi OS onto this NVME drive so that it will boot from it? 4. Image shows Gparted reproting the NVME drive partitions 5. Can Raspberry Pi OS handle being installed on a drive that is ~ 500 GB, or does it have to be smaller instead? 6. I don't want to "copy" an install from an SD card, rather install "fresh" on the NVME 7. Oops, need to mention this is a Raspberry Pi 5 8. It appears the filesystem setup on the nvme drive is corrupted or otherwise wrong.
_schmidty_
March 14, 2024, 01:07

SSH Pi Connection

I am currently working with a raspberry pi 4 and a load cell sensor. The sensor is hooked up to the correct GPIO pins on the pi, but I need to install the correct packages to access them through python. I am currently accessing the pi through an SSH connection, but when I try to install a necessary package "pip3 install HX711", i get an error that "this environment is externally managed." I've tried running this connection through a VM and the install worked, so why am I getting this error for just this package? Other packages installed just fine. Nothing on the internet has worked/ been useful. Thanks!