macac0prego
May 8, 2024, 17:42

Measuring shapes with Raspberi Pico cam(Drone competition(

It is for a students drone competition, we are allowed to get outside help. The challenge is measuring precisely a star-like shape using a drone camera, it must be more then 1,2 meters away from the ground. We are thinking of using rasp pico but we are struggling to find a way to get the scale of the picture, so we can calculate the area.
winikolo
May 8, 2024, 15:18

Run Python Script after 5mins from bootup

i want to run a python script home/winikolo/SnCBot/main.py around 5 minutes after bootup, how do i do this?
philip.2000
May 8, 2024, 12:38

Cannot flash UF2 on Linux but on Windows

Hello, I have a weird problem and do not know what to do. I have two Pi Pico Ws and I want to just flash an example UF2 file onto them. If I use my Windows PC, I can flash a blink.uf2 file and everything works. When I try to use my Linux machine, I cannot get the files to load properly (same UF2 file). What I do: lsblk sudo mount /dev/{thepicodev} /mnt sudo cp ~/file.uf2 /mnt Then... nothing happens. If I umount still nothing happens. However, lsblk still shows the pico. When I try to use picotool:
â–¶ sudo ./picotool load ~/Downloads/working_blink.uf2
Loading into Flash: [                              ]  1%
ERROR: The RP2040 device returned an error: <unknown>
I am running Arch (btw) but I have no idea why it doesn't work. Any tips would be appreciated. Thanks a lot and have a nice day 🙂
dodot_ryoka
May 8, 2024, 07:19

i wanna make my pi5 a server for storing my SQL data as a software dev. where to start?

The learinng of basic linux cammand is half way. but i just need some help to where i could start.
okindo_
May 7, 2024, 23:01

How to send float value from Pi to Arduino IDE through i2c

Hi guys, im pretty new to all this Pi stuff. Im currently doing a line following project and i need to send a float value from Pi to Arduino IDE. Ive searched everywhere but im stuck. Please help 😦 Ive attached below screenshots of the code im using to transmit, output of what i receive from the serial monitor and a screenshot of the console terminal of the actual value meant to be transmitted.



tarkaguy
May 7, 2024, 16:55

lacking GPIO pins

Hey, I'm working on a project and I need to integrate a Lux sensor module using 2 wire I2C but I happen to find myself to have only one pin available and thats 28 (GPIO 1). I can't interfere with other pins. If you ever experienced or know how to solve it please help me. Thank you.
kulaggin
May 7, 2024, 11:54

Resetting the password for a user if we don't know changed password

How can we reset the password or create new user on RPi and switch to it? I'm trying to help someone with their RPi issue, they got a ready project from someone else. They have custom user prototype and the password to this user is unknown. I'm trying to set up VNC connection on LAN network from their laptop to their RPi but we don't have the password for the user. Is there an easier way to solve this? Like creating a new user from the existing user and logging in using the new user? Or are we going to have to reinstall the whole system if they won't be able to contact the previous owner and get the password?
cheezumi
May 7, 2024, 09:22

Ultrasonic Sensor not working on raspberry pi 4b

I'm trying to follow this guide to get my ultrasonic sensor working: https://projects.raspberrypi.org/en/projects/physical-computing/12 However, i get the error
/usr/lib/python3/dist-packages/gpiozero/input_devices.py:855: PWMSoftwareFallback: For more accurate readings, use the pigpio pin factory.See https://gpiozero.readthedocs.io/en/stable/api_input.html#distancesensor-hc-sr04 for more info
  warnings.warn(PWMSoftwareFallback(
/usr/lib/python3/dist-packages/gpiozero/input_devices.py:978: DistanceSensorNoEcho: no echo received
  warnings.warn(DistanceSensorNoEcho('no echo received'))
ard.33
May 7, 2024, 08:50

max size micro sd card pi4 model B

I need to get a new micro SD for my raspberry pi, but it's a 128Gb one. Will this still work?
n9tro
May 6, 2024, 20:30

wpa_supplicant.conf syntax error?

My pi does not connect to wifi for some reason, i suspect the wpa_supplicant.conf file in the root directory of the sd card is malformatted: wpa_supplicant.conf
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
    scan_ssid=1
    ssid="my ssid"
    psk="my pass"
}
astrydax
May 6, 2024, 19:55

Creating a heated climate controlled box

I do ant keeping and need to keep my ant testubes at consistent warm temperatures. I'm not sure how the 5v pins work on the raspi and how many 5v components I can attach if someone can point me in the right direction. I've not have much luck doing my own research. Let me know if this reddit post is viewable with its links detailing the parts I'm ordering. https://www.reddit.com/r/raspberry_pi/comments/1clejt4/trying_to_make_a_climate_controlled_box_will/
oexyz
May 6, 2024, 17:48

pi5 not booting

Hi! I just got an pi5 that's unable to boot. Already tried: Reflashing the firmware to boot first from SD card Reflashing the OS Using the official pi5 PSU
jjpp
May 6, 2024, 15:22

Remove voltage warning

I want to hide the message
mikeymck
May 6, 2024, 13:10

gpiochip0 not showing up

I’m trying to code stuff in visual studio code however when I usually load up my terminal gpiochip0 has been replaced by gpiochip512 and my code no longer works, stating that I’m unable to echo the original PIN numbers I used to echo out. I tried adding the number to the original number like online answers have given me however this doesn’t work. Anyone know how to fix it?
kulaggin
May 6, 2024, 11:58

What is the password on RPi 4?

kulaggin
May 6, 2024, 11:37

Error installing TeamViewer on RPi 4 Model B

_salqiu_
May 5, 2024, 20:47

Building a NAS with a Pi 5

hi, i'm trying to build a NAS with a pi 5 following the official tutorial on raspberrypi.com and I seem to be stuck on this step since the steps are a little vague https://www.raspberrypi.com/tutorials/nas-box-raspberry-pi-tutorial/
class='img rounded m-1' src='/assets/assets/1236781394764763156.webp'>
chrisks7z
May 5, 2024, 19:38

installations are just never succesful ig

I have this rasberry pi 4 and i was trying for a month day by day to install the software correctly, now 7 months later i found it and i am thinking that these 70 bucks i have for it shouldnt go to waste. Plus it will be a good upgrade for my 3d printer
kierbik
May 5, 2024, 19:03

Grove.py install problem

I used "curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -" and then, result was - Grove.py installation FAILED, FAILED, FAILED . Can someone help?
adde9882
May 5, 2024, 17:52

Raspberry pi 5 fails booting with raspbian

I should mention that it randomly succeeded booting once, and I could use SSH to view some files. But after doing startx, I got a permission error, and then the raspberry pi shut down (crashed?)
xemonhe
May 5, 2024, 14:29

Raspberry 4 not responding.

I will try to explain the best as i can. this only happens when my minecraft server is running. ( 1.20.4 paper) In the minecraft i got timed out and in the prompt of the server it just freezed. i am connecting to my rasp by ssh in the same network and when it "freezes" i cant login into it. Although when i ping the rasp it seems to work fine. I dont really know what to do. I tried changing the charger of the raspberry (i use the official) because i tought it was a voltage problem or something but it didnt work. If something wasnt clear pls tell me.
martzitgrt
May 5, 2024, 13:54

Calculator using pi

Hi
oui_
May 5, 2024, 13:49

Using a different screen from the tutorial for a pi zero 2 emulator

I tried to follow this "tutorial" : https://www.thingiverse.com/thing:1334253 , but had to replace the Adafruit display with a Waveshare display. https://uk.pi-supply.com/products/adafruit-oled-breakout-board-16-bit-color-1-5-wmicrosd-holder https://www.waveshare.com/1.5inch-rgb-oled-module.htm The driver is the same so I thought it would be the same. The original post on thingiverse isn't detailed at all so I followed this tutorial https://www.youtube.com/watch?v=E0IuDpsUiBU , which can be summed up with this txt file https://www.dropbox.com/s/65erp9ujegss8lq/Nanogameboy.txt?e=8&dl=0 What do I have to change ? I finished the software part but now I couldn't even get an output over the HDMI anymore and the screen isn't lighting up.
refrigeration_is_cool
May 5, 2024, 04:47

How do I fix a slow mouse cursor? [Raspberry Pi 5]

I'm running Android AOSP (Android 14) on my Pi 5 (4 GB), but whenever I use my wireless mouse, the mouse cursor feels so slow and laggy. One solution someone told me was to type " sudo nano /boot/cmdline.txt " into the terminal and add " usbhid.mousepoll=0 ", but there is no "terminal" app I can find. How do I get to a command line from here?
alkamite
May 5, 2024, 01:31

USB flight stick (gladiator nxt) to RC (Jumper t-lite elrs)

Im looking to try to use my flight stick to control some rc planes with fpv. so far I have found this. https://github.com/jsa/flystick "A python script for Raspberry Pi that reads a USB joystick (with pygame) and outputs a PPM signal to RC transmitter (with pigpio)." I don't have a lot of experience with python or using a pi. What exactly would I need to get started with this project in addition to the pi. Or what would be helpful to have. Not exactly sure where to start any help is greatly appreciated!
goofwear
May 4, 2024, 23:50

Raspberry Pi 5 with official 7in Touch screen, screen will not power on

Hello, I have a new Raspberry Pi 5 with 4 GB of ram,with an official Raspberry Pi 7inch touch screen. I have followed the instructions here https://kksb-cases.com/pages/assembly-instruction-kksb-raspberry-pi-5-7-inch-touchscreen-case I cannot get the screen to even power on. I even used just the 5v and ground gpio pins only. I even unplug all 4 gpio pins when I read the raspberry Pi 5 only needed the 5v and ground. Then I tried to power on the screen with a micro USB cable using a 3 amp ac adapter. I have checked YouTube, Google, this discord help and facts section. I have the video ribbon plugged into camera/display 0. I tried booting LineagOS 21 /Android 14 from usb and edited my boot config.txt and uncommented the part for USB boot. Tried the SD card with 64bit Raspberry Pi OS and still no luck. I typed this all and while checking in on another app lost my post and had to retype all this. Any help would be appreciated. At this point I think the screen may be defective.
e_xie
May 4, 2024, 05:00

camera not working

Tried: sudo apt update sudo apt full-upgrade sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel sudo modprobe bcm2835_v4l2 The camera I’m using is brand new out of the box, and my older camera doesn’t work either. The modprobe command doesn’t load any kernel files (I forgot what it was called) and libcamera-hello says there’s no cameras connected. Would appreciate any help.
tomatoes6868
May 3, 2024, 23:29

camera not working properly

using https://www.waveshare.com/RPi-Camera-G.htm im getting this error in the photos my config file is set to the correct camera but lib camera is not. if i open up my rasp rover interface i can see the camera fine but its coming in at 480p which is blurry
ikociiq
May 3, 2024, 22:31

library installation in seperate environment does not work

Hello guys, I currently got the problem that I can not really install the "mysql-connector-python" library. Its only possible when I go to a separated environment and use pip... But when I'm back to the code then, some other librarys I installed previously cant be found anymore... So all the depending import lines are underlined in yellow... Especially the "import RPi.GPIO" can't be fixed. Im quite new to Linux, python and Raspberry, so maybe tehre are some things I don't know and someone else could help me please?
edenpa77_05518
May 3, 2024, 18:53

Voici assistant

I have a voice assistant that has activated. how to disable it please.