kutuptilkisi
December 30, 2023, 19:25

RPi4 Doesn't Boot

I got my Rpi4 and flashed my usb stick but it doesn't seem to boot at all. I tried both 2.0 and 3.0 usb ports. Doesn't work with either of them. Footage below
devmarcel
December 30, 2023, 18:27

Pi Pico in CLion Struggles

Hello fellow tinkerers! I've been trying to set up CLion to work with building ELF2 an UF2 files, but I've been having a bit of struggles. I'm trying to use the [Raspberry Pi Pico SDK]( https://github.com/raspberrypi/pico-sdk/tree/master ). My host machine is Windows 10 and I'm using the [GNU Arm Embedded Toolchain]( https://developer.arm.com/downloads/-/gnu-rm ) as shown in the image.
cmake
cmake_minimum_required(VERSION 3.26)

# Check if SDK exists, it not then fetch it from remote git
set(PICO_SDK_FETCH_FROM_GIT ON)

# Pull in Pico SDK
include(pico_sdk_import.cmake)

project(TestProject)

# Initialise Pico SDK
pico_sdk_init()

# Main source files
add_executable(TestProject
    src/main.c
)

# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(TestProject pico_stdlib)

# Create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(TestProject)
My CMakeLists reloads perfectly fine and the Pico SDK is fetched into the build cmake-build-pico build directory. I've used the blink example to test if this setup works:
c
/
  Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
 
  SPDX-License-Identifier: BSD-3-Clause
 /

#include "pico/stdlib.h"

int main() {
#ifndef PICO_DEFAULT_LED_PIN
#warning blink example requires a board with a regular LED
#else
    const uint LED_PIN = PICO_DEFAULT_LED_PIN;
    gpio_init(LED_PIN);
    gpio_set_dir(LED_PIN, GPIO_OUT);
    while (true) {
        gpio_put(LED_PIN, 1);
        sleep_ms(250);
        gpio_put(LED_PIN, 0);
        sleep_ms(250);
    }
#endif
}
When hovering over the import I get a syntax error "'pico/stdlib.h' file not found". When attempting to build I get the following:
====================[ Build | TestProject | Pico ]================================
C:\Users\Marcel\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\232.9921.42\bin\cmake\win\x64\bin\cmake.exe --build C:\Users\Marcel\CLionProjects\TestProject\cmake-build-pico --target TestProject -j 10
[1/51] Performing configure step for 'ELF2UF2Build'
FAILED: elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure C:/Users/Marcel/CLionProjects/TestProject/cmake-build-pico/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure 
cmd.exe /C "cd /D C:\Users\Marcel\CLionProjects\TestProject\cmake-build-pico\elf2uf2 && C:\Users\Marcel\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\232.9921.42\bin\cmake\win\x64\bin\cmake.exe -DCMAKE_MAKE_PROGRAM:FILEPATH=C:/Users/Marcel/AppData/Local/JetBrains/Toolbox/apps/CLion/ch-0/232.9921.42/bin/ninja/win/x64/ninja.exe -GNinja -S C:/Users/Marcel/CLionProjects/TestProject/cmake-build-pico/_deps/pico_sdk-src/tools/elf2uf2 -B C:/Users/Marcel/CLionProjects/TestProject/cmake-build-pico/elf2uf2 && C:\Users\Marcel\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\232.9921.42\bin\cmake\win\x64\bin\cmake.exe -E touch C:/Users/Marcel/CLionProjects/TestProject/cmake-build-pico/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure"
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
Tracing back to the files it seems to attempt to use, things like .../cmake-build-pico/elf2uf2/src/ELF2UF2Build-stamp/ELF2UF2Build-configure cmd.exe which aren't present as shown in the 2nd image. What am I doing wrong? Any resources I can use?
Darklink
December 30, 2023, 15:29

bonjour j'ai un problème sur une application

I have install a razpberry pi apps and I have install 2 apps with pi apps and now I can no longer install any application with this software
lems
December 30, 2023, 08:04

Raspberry Pi with LCD Battery/Powerbank

What battery/powerbank do you recommend that is portable for mini projects.
talhayaa
December 30, 2023, 07:59

Raspberry Pi 5 on Kiosk Mode

Hello, I bought a Raspberry Pi 5 recently to use it as a digital dashboard firstly. I want to use Dakboard and tried ways to boot the pi on Kiosk mode with my Dakboard on. Most of the tutorials were still based on the PI 4 and didnt work on the 5. Could you maybe help me?
cwolf5033
December 30, 2023, 03:20

Raspberry Pi 4 will not display on TV

Hi there, I am fairly new to raspberry pi, and i recently got a Raspberry Pi 4 with 4 GB of ram, and i have installed the 64 bit raspbian OS. However, when i go to connect it to a tv, specifically an LG OLED TV, the TV registers the signal, but nothing is displayed. I've tried both ports, changing OS, and changing the config.txt file to have the code "hdmi_force_hotplug=1"
lems
December 30, 2023, 02:06

How to integrate 3.5 inch LCD to Rpi 4 (Bookworm)?

The tutorials on youtube doesn't work anymore because it is now running bookworm.
combatkevin
December 30, 2023, 00:13

*ERROR* Async flips aren't allowed

I found that adding ,reflect_x to /boot/cmdline.txt renders errors in dmesg (/var/log/syslog). However, I need to reflect the screen. This is running DietPi Lite.
combatkevin
December 29, 2023, 23:32

Raspberry Pi 4 restarting at random

I have been experiencing RPi4 Restarts at random. Attached are the /var/log/syslog for a boot following the crash. I would appreciate any guidance you can offer on how to track down the source of the restarts
brokeskill
December 29, 2023, 20:52

ROS

How do I install ROS on my rpi 5?
iconictalal
December 29, 2023, 15:38

how to disable rpi pico setup mode with pico ducky

i wanted to do pico disk on rpi but my pico when i connect it starts in setup mode and shows as a usb on my computer the git rep i am using : https://github.com/dbisu/pico-ducky
zuccbuccsheher
December 29, 2023, 15:06

Minicom freezes on raspi pi zero

Always after the command sudo minicom -D /dev/ttyAMA0 -b 115200 the console freezes and i cant do something. I tried ttyS0 too but it wont work at all. I tried nearly every tutorial for uart etc. but nothing worked for me. All i want is to control a gsm modul to send/receive sms on my raspberry.
navadix
December 29, 2023, 14:02

Raspberry 4 don’t read my hard disk

I have a USB hard disk and when I plug it in every port, the LED on the disk didn’t turn on And on WEBGUI OMV, it does not appear A solution ?
bigbainc
December 29, 2023, 11:23

Looking for pi 3/4 cooling solution

hoping to find something low profile with a small fan and heatsink. needs to not cover pi mounting holes as i want to mount a hat on top. any help is greatly appreciated!
stolenpies
December 29, 2023, 11:17

mini joystick pin out help

hi all, I have this joystick: https://www.adafruit.com/product/2765 and I've been trying to find the pin out diagram to no avail. does anyone happen to know which pin is which in terms of gnd, 3v and signal? I dont have the board to go with it but it "should" work without it. Thanks
elevated.1
December 29, 2023, 08:41

regarding Raspberry Pi 5 PSU

I bought a Raspberry pi 5, sadly it didn't arrive with an adpater, so I used a mobile charger's adapter for its power and connected it with keyboard, mouse, and a monitor but when I try to boot the raspberry, it turns on for few seconds before shutting down imeditatly. I think it the issue with PS so I bought a charger with 5V and 6A would there be any issues if I use that? because in the website the mentioned that it needs 5v and 5A power. moreover because of my location, there are no official raspberry pi 5 adapters
bordgj
December 29, 2023, 07:54

Pi hole

Whenever i install pi hole on caseos it just say container pihole is unhealthy
lems
December 29, 2023, 07:07

Taskbar/Menubar is missing

What can i do to regain the lost task bar? thank you
rei.556644
December 29, 2023, 00:08

Multiboot

Are there any multiboot options for pi 5. Pi 4 had berryboot/berryterminal. Are there any ways to install multiple operating systems on one sd card?
epoch101
December 28, 2023, 22:57

Pi 4 not booting

I wanted to run some experiments, so I decided to turn on my Pi, only to realise it stopped booting. The ACT (green) LED doesn't turn on. Only the red LED is on, constantly. I've been booting off USB for a very long time. I tried reflashing the OS, and tried booting it off on another Pi 4 B+ that I had and it works perfectly there. I've been using the 64-bit raspbian lite image (if this info helps) I'm using an official Raspberry Pi power supply, so there's no issue with power as well. 3.3V and 5V are not shorted to ground, I've tested that too. I've tried flashing the rpi-eeprom with an SD card for nothing to happen. It does boot randomly once every 20-30 tries of power cycle, but shuts off in less than 10-20s from booting up. I was hoping someone would help me figure out what is wrong with my Pi 4 B+ (2GB). Thanks!
ratt03
December 28, 2023, 21:37

using a pi pico to connect a wii guitar hero controller to a pc

so this is a new thing theirs tutorials online i've got one im following i just don't know a lot of the terms so would be cool if someone could help me with what connects to were (bellow is the tutorial im looking at if interested) https://santroller.github.io/guitar-configurator/guides/wii.html
oops.se
December 28, 2023, 20:42

keyboard matrix problems.

Please post text as text and formatted as pyhon code
chrzastek_42316
December 28, 2023, 19:59

problem with display waveshare 12885 (FAST)

Hi, I have a problem with screen wavshare 12885 (7"). Todays morning i was using it normally, everything was working well. Then i disconnect everything from my raspberry pi 4b 4gb to do cable managment. After 15 min i plugged everything back. I saw that my screen not displaying anything, only backlight and white stripes (as always) in first miliseconds after connecting rpi to power. I connected raspberry to normal, hdmi monitor and it was working fine. Thanks for fast help.
seanz25
December 28, 2023, 12:32

Portainer Installing/Running Correctly when built from template, manual pull issue

I have docker and portainer running on my pi, using the app template from pi hole if I deploy a container using an image everything works fine, I get a published port and can connect and access the app in question with no issues. I've tried to manually pull one or two images, (Dashy in this case) this works fine, it's when I deploy them as a container, they run fine according to portainer but I don't get a published port listed, so can't access? Any ideas
irmkb
December 28, 2023, 11:54

Separate power supplies for Raspberry Pi and motor driver board

Hi! 👋 I have a Raspberry Pi 5 and this motor driver board: https://www.waveshare.com/rpi-motor-driver-board.htm The board is connected to a battery pack to power small motors and can supply up to 5V2A to the Pi. Because this is not sufficient for the Pi 5, I need to connect a dedicated power supply to the Pi. I want to avoid any problems that could be caused by having two power supplies connected to each other. Would disconnecting the 5V GPIO pins (e.g. by wrapping them in electrical tape) be the best/easiest way to use this motor driver board with the Pi 5?
oguzhan_tuvanc
December 28, 2023, 09:24

IP CAM connection with Raspberry pi.

Description: Unfortunately I don't have enough information on this subject. I've been trying to connect IP Camera to raspberry pi for 3 days. Either I'm making a hardware or process error. For this reason, I couldn't make the connection. I need to connect on LAN cable. I tried from interfaces such as VLC, OMXplayer, I tried with ssh from the end unit but in vain I could not get the image. I need to transfer the live image.
mychoppaeat
December 27, 2023, 23:16

Pi 5 Docker exit code: 159

Hello, I purchased a Raspberry Pi 5 8GB. This is my first Pi. When I try running any containers I get an exit 159 error or I just get "no matching manifest for linux/arm/v8 in the manifest list entries". I installed by doing: curl -sSL https://get.docker.com | sh sudo usermod -aG docker $USER I have stripped my docker-compose.yml and Dockerfile to the bare minimum: docker-compose.yml: version: '3.8' services: app: build: context: . dockerfile: Dockerfile image: myapp container_name: myapp restart: unless-stopped tty: true Dockerfile: FROM arm64v8/php:8.2-cli RUN apt-get update -y When doing "docker compose up" I get: failed to solve: process "/bin/sh -c apt-get update -y" did not complete successfully: exit code: 159 And it's not just the update command, when I remove it and do anything else I keep getting exit 159. I've tried many different php images. main@raspberrypi:~ $ uname -m aarch64 main@raspberrypi:~ $ docker version Client: Docker Engine - Community Version: 24.0.7 API version: 1.43 Go version: go1.20.10 Git commit: afdd53b Built: Thu Oct 26 09:08:26 2023 OS/Arch: linux/arm Context: default My Pihole works fine though..? version: "3" services: pihole: container_name: pihole image: pihole/pihole:latest ports: - "53:53/tcp" - "53:53/udp" - "67:67/udp" - "80:80/tcp" environment: TZ: 'Europe/Amsterdam' WEBPASSWORD: 'REDACTED' volumes: - './etc-pihole:/etc/pihole' - './etc-dnsmasq.d:/etc/dnsmasq.d' cap_add: - NET_ADMIN restart: unless-stopped I am very confused what could be causing this. I am using the distro that came on the SD card. If you need any further information please let me know 🙂
seanz25
December 27, 2023, 17:54

Auto starting NPM program after reboot

Hey all, Forgive me am still fairly new to coding/software, recently got my hands on my Pi 5 which I'm loving, following the guide found here - https://github.com/vexorian/dizquetv/wiki/Raspberry-guide I've set up and have dizquetv working on my pi, the only issue is when the device powers off I need to SSH in, start a screen session and restart it with an NPM Start command. Is there a way to automate this, and could someone help me out with some idiot-proof steps? Thanks in advance 🙂
nxc110
December 27, 2023, 14:01

VNC & HDMI are loosing connection after Pi is running for some time

Hello I am using the PI-4. He is connected through a LAN cable. I am running a python scirpt on it and therefore want him to be always turned on. When I turn the Pi on, while a HDMI cable is plugged in, he connects normally to my monitor. I go to the settings and turn VNC on and try to connect to the Pi through the RealVNC app. It works. I start the python script and let it run. I change the signal from the monitor to my PC‘s display port (the HDMI is still plugged in) and use it. I turn the montior off and check back on the Pi at the next day. I notice that I only get a grey screen as soon as I change the signal from the monitor back to HDMI. I try to connect to the Pi through VNC (what worked the day before) but it doesn‘t work. I just get the error: „The port on which the computer is listening for a connection could not be contacted.“. I can‘t turn the Pi properly of, so is unplug him from the power cable wait shortly and plug him in again. The Pi boots and connects again to my monitor (the monitor is turned on while I do this). It works again. I go to the settings and look for VNC. It is turned off even though I didn‘t turned it off. Wheb I turn it back on and try to connect to the Pi, it works again. This repeats every day. I do not know after which time it happens but it is often at the same day.
lems
December 27, 2023, 12:12

Monitor turning black after following LCD integration instructions

I followed this instruction to setup my 3.5 LCD screen: https://www.instructables.com/Raspberry-Pi-4B3B-35-Inch-LCD-Touch-DisplayScreen-/ Then suddenly my monitor turns black screen and my LCD only shows white screen. I can't use my RPI since it has black and white screens that's why I can only use its memory card to fix it. What should I do, I already tried editing its config.txt but nothing works. Here is the content of its config.txt: