cryptokovri
May 11, 2024, 18:51

[Video] Raspberry Pi 5 not booting or going to diagnostic screen? Led Lights are Red, Green, Solid R

How can I reflash the firmware/bootloader to see if that's the issue? My other 5's work fine with same power supplies (tried multiple supplies). I removed all connections including the SD card to see if it entered diagnostic mode; it didn't. Here's a video of the status LEDs. Led Status Lights do not match anything on the stickied thread in the Pi troubleshoot forums. https://streamable.com/xxg0w3
younglad
May 11, 2024, 16:49

Rasppi 5 won't get past boot screen

Hello everyone. I bought a raspberry pi 5 and it won't get past the boot screen. This is a photo of the screen when I have no SD card connected, and as far as I can tell it like fine.
csscooby
May 11, 2024, 11:21

School project python raspberry 0 help

Hello everyone I need help with my school I create a system for bike safety and I do this with a raspberry pi 0 I connect to the raspberry in ssh and I connect with RealVNC viewer but I can't do anything the connection works 1 time out of 4 and once connect I can't do anything it crashes often and I often have a loss of connection to the raspberry someone can help me (I'm French I write with Google translation so if sometimes what I say is not correct it may be for that)
pj7930
May 11, 2024, 09:38

I'm trying to do option 2 on this github. I never had a raspberry pi before. Please help.

selina_vm
May 11, 2024, 08:21

LED Cyclone arcade game

I'm working with my LED cyclone arcade game. The code is working it just need a little debugging. I need help . I'm using Arduino Pi Pico and WS2811 LED,
anomalousbuns
May 11, 2024, 04:02

keras.engine no model detected

I'm new to deep learning and I'm trying Mask RCNN to apply on our thesis paper. I have been able to clone a github repository, install the requirements using requirements.txt and launch setup.py. But indeed, I do have the ā€œNo module named ā€˜keras.engineā€™ā€ error.
lolauren2
May 10, 2024, 23:31

raspberry pi 4 not reading SD card 64g A2

Iā€™m trying to connect over my network and get the error SSH network refused when I do the ssh command prompt. The red light stays on and green light turns on without SD card in it. Once I insert SD card it starts rapidly flashing (no patterns) and then about a minute later the green light completely turns off. Any help/ideas would be great. Iā€™m new to this so Iā€™m having a hard time troubleshooting.
lordchunky3
May 10, 2024, 22:49

RPI pico code breaks when I delete a comment

I have written code for my pico that allows a multiplexing 4x7 segment display i made to run on its own thread. Initially the code was not working so i wrote some test code which i then commented out. I got the main program to work but when I delete the comment the code stops working. After some troubleshooting ive determined thread is likely dying from some sort of memory issue and running collect() in the loop fixes this. Here is the code in its current state. I would love some help with why this happens and ideally a good method of managing memory import machine, utime, _thread from gc import collect, mem_free class Display: def __init__(self, seg_pins, cathode_pins): self.leds = [machine.Pin(pin, machine.Pin.OUT) for pin in seg_pins] self.cathodes = [machine.Pin(pin, machine.Pin.OUT) for pin in cathode_pins] def display_digit(self, digit): self.outputs = { '0' : [1,1,1,1,1,1,0], '1' : [0,1,1,0,0,0,0], '2' : [1,1,0,1,1,0,1], '3' : [1,1,1,1,0,0,1], '4' : [0,1,1,0,0,1,1], '5' : [1,0,1,1,0,1,1], '6' : [1,0,1,1,1,1,1], '7' : [1,1,1,0,0,0,0], '8' : [1,1,1,1,1,1,1], '9' : [1,1,1,1,0,1,1], 'none': [0,0,0,0,0,0,0] } for i in range(len(self.leds)): self.leds[i].value(self.outputs[digit][i]) def display_number(self, number): digits = list(str(number)) utime.sleep(0.00) for i in range(len(digits)): self.display_digit(digits[i]) self.cathodes[i].value(1) utime.sleep(0.002) self.cathodes[i].value(0) self.display_digit("none") display_output = 1234 seg_pins = [20, 19, 26, 27, 28, 22, 21] cathode_pins = [15, 14, 12, 13] display1 = Display(seg_pins, cathode_pins) def persistant_display(): utime.sleep(0.2) global display_output while True: display1.display_number(display_output) collect() _thread.start_new_thread(persistant_display, ()) utime.sleep(0.2) while True: utime.sleep(1) display_output+=1
pandorakim
May 10, 2024, 12:56

Raspberry Pi 4 Model B (I2C Range)

I'm trying to connect 125 units of ATTiny85 and I am not sure if it works within the available I2C address. Where can I check the starting address and the end address? I wanted to know if it will fit all of it. If it doesnt start at address 0 or 1, what address that it starts? Or is there anyway I can change the pre-reserved starting address? maybe change some config?
mikeymck
May 9, 2024, 23:26

need (paid?) help for my project

Iā€™m trying to control something with a raspberry pi and canā€™t get the GPIO pins to turn on and off in Visual Studio Code. They arenā€™t registering as it only works with gpiochip0 and I no longer see it as an option. I donā€™t need much help other than that and am willing to pay for help as I got no answer last time.
skift_
May 9, 2024, 17:43

GPIO BUSY on Raspberry pi 3b+

I have written a code that moves a robot car with arrow keys and takes a picture on every key press. For controlling the robot car motors, I have a seperate file where I use the Motor function from gpio zero and assign the pins and define the directions (left, right, forward, backward). However, when I run my code for controlling the car and taking pictures I immediately get the error stated in the title. I have searched online a bit but found nothing useful. I'm suspecting its because I have the motor function defined on a seperate file which is then called to my main file. I'm running 64 bit bookworm os.
4.goose
May 9, 2024, 14:08

Urgent - Canā€™t get raspberry pi 4 to run a simple script on startup

Iā€™ve tried every single tutorial and forum post I could find to get it to just run a small script that Iā€™ve written that launches a Processing sketch file. - The script is set to be executable - The path is /home/notions/startup.sh What Iā€™ve tried already - Editing rc.local - Editing .bashrc (this works but I have to manual open the terminal first - Iā€™ve tried autostarting the terminal with @lxterminal in the autostart file - Tried editing crontab -e - Tried systemd No matter what I try, whenever I reboot the Pi it just wonā€™t autostart anything. Any advice or help would be hugely appreciated. Iā€™m under time pressure for a project
acexd69420
May 9, 2024, 10:48

getting Raspberry Pi 3 OS onto Asus Tinker board

I'm trying to install Raspberry Pi 3 OS onto my Asus Tinker board and it doesn't work, any suggestions or what do i have to do to make it work?
kaku8757
May 9, 2024, 06:40

How To Use Python Selenium on Raspberry Pi

Hey, can you please help me running selenium web automation on raspberrypi
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