theosib
January 25, 2024, 16:46

Reprogramming Pico live, 2nd CPU doesn't reset

I've discovered that if I reprogram the Pico firmware live through a pico probe and tell it to reset, only processor 0 gets reset. Processor 1 seems to be stuck doing something else or crashes, and I have to fully power cycle it. Is there something I can add to "program build/pico_motor.elf verify reset exit" to reset core 1? I tried using the function multicore_reset_core1() upon entering main() on core 0, but that didn't help. I also tried changing the openocd command to something I found on a forum, but that didn't help either: openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "program $ELF verify reset ; init ; reset halt ; rp2040.core1 arp_reset assert 0 ; rp2040.core0 arp_reset assert 0 ; exit"
broadbob
January 24, 2024, 21:29

PI 4 POE FAN

I've etched raspi_4_bookworm.img into this raspi, and the fans do not work. Unsure where to look at and what to look for.
rat_is_the_best
January 24, 2024, 17:25

help me find what connection in pico killed my usb hub

Hi all, need some help with pi pico. I followed a tutorial to get a 4 digit 7 segment display work with pico, and it worked absolutely fine, I was able to see the display working properly. (https://how2electronics.com/using-7-segment-display-tm1637-with-raspberry-pi-pico/) But then I wanted to find how much current was consumed by the display, so I did two experiments (in both cases pico is connected to macbook pro via usb hub): 1) I connected the display to the pico and measured the current by connecting the multimeter in series with the pico(pin 38) and the ground pin of the display. (I did not remember exactly, but the display did not turn on I guess) 2) Did the same experiment as above, but this time I connected the multimeter in series with the pico(pin 36) and the vcc pin of the display, when I did this, the usb hub that I had connected to use the pico with macbook just stopped working forever. but the pico itself just works fine. I felt very bad for what I did, lost my usb hub. But still unable to understand what went wrong, pls explain to me what happened and how to avoid it in the future. Attaching pictures of my second experiment.

honkinghonk
January 24, 2024, 12:58

Screen compatibility for Pi1B

Just checking to see if this screen is compatible with the 1B Pi https://a.aliexpress.com/_mMHIrZa
poppinpopcornsparklingwatertype
January 24, 2024, 11:40

How can I add an AI chatbot feature to a pi zero ?

Is it possible to add a chatgpt system that makes api calls to a server and it responds back? I also want it to have audio input and output.
oops.se
January 24, 2024, 09:57

Snap installing

What won't work? Be more detailed othervise I will start guessing
k9t33n
January 23, 2024, 22:13

How Can I Install Ubuntu Server on a RPi400?

all those tutorials are correct. and when you say start from scratch to you mean you've dones stuff already on the preinstalled os?
febriiiiiii
January 23, 2024, 19:34

Building audio player

Im a programmer and i wanted to build an cli app to play music from the internet, would be cool if i could run it on dedicated device. So im thinking maybe i could build a DAC with raspberry Pi? Since it can run Linux so i think wouldnt be too hard. But i have no knowledge beside the programming part so, any resources for building HI-FI DAC with raspberry Pi? Maybe some extra device that i need? Some documentation? Any help would be appreciated, thanks!
voltydragon
January 23, 2024, 19:12

Trying to control a 3.5" RPi Display with a Pico, confusing controls

Hello, I have recently started work on trying to display something to my pico with a Raspberry Pi 3b RPi screen, but the pins are extremely confusing. I found the documentation for the chip that the display uses (ILI9486) but the pins on the actual display do not match up with the inputs of the display (attached image). I'm not sure exactly what to do, and how to communicate with the screen.

e_xie
January 23, 2024, 17:43

Large self-playing pinball machine

Hello, I'm working on a pinball machine project in which the pinball is a small-sized soccer ball. My friends decided they wanted more points for risk (this is for a "competition"), and they decided a self-playing pinball machine would be cool. this is what we want to achieve but scaled up and less expensive (Wood isn't a problem) :https://www.instructables.com/Pinball-Machine-With-Raspberry-pi/ I have access to 2 Raspberry Pi 3s, 1 Raspberry Pi 4, wood tools/saws, and other sensors and electronics. I would appreciate any suggestions with the coding or with the wires. I don't have any progress so far with the code or wiring except for making the frame of the pinball machine. I have also worked on an Arduino controller.
hammeraster
January 23, 2024, 05:35

Vulkan drivers installation fails

Urgent??? This isn’t the typical I need help topic. If I can’t fix this I can’t use my raspberry pi. I’m not willing to reflash my micro se card a million times until it decides it want to work with me. So I was using PiKiss to install Vulkan Drivers on the Raspberry Pi 5. One small issue the two times I had to reflash my sd card and redo the process, it stopped the first time a random amount of time during either downloading or installing the drivers. The second time is when it would work, the issue is, the second time I rebooted then tried to install then it installed without issues, or so it seemed. I downloaded some Vulkan demos to test and they worked flawlessly. Cool right? WRONG 1. Some open/webgl websites that I tried had HORRIBLE fps. Just as a test I pulled screenshots from a prior flash of the sd card without all this Vulkan nonsense. 60fps on the website! After both of these 2nd Vulkan download attempts I would average 15-23fps. Something’s wrong!! I reboot and low and behold NO MORE GUI! 😑🤬🤬 Now I’m just mad. I knew the GUI was gone because I waited 15 minutes for it but the text cursor you usually see for a split second on boot was it here flashing. So I hold alt+F2 so I can use text mode. And when I tried to run the Vulkan program that ran not even 5 minutes ago shows the following image. Please help I’ve been troubleshooting for hours and now I’m actually getting to that point where tears are about to start rolling because I’ve wasted my entire day on this with no success! TLDR: how do I get VULKAN drivers installed with zero error?
sevgisiz
January 23, 2024, 01:40

Raspberry Pi 4 connected to my rental apartment's router, am I in danger?

So basically I just moved in with my gf and I found a raspberry pi4 on our apartments router. The landlord says it's for wifi expansion and smart home devices, but I am hesitant to believe that's all it does. Is there a way to test if I or my data is in danger? And if so, would it be hard for me, as I did very little to none python programming in my life? It's a raspberry pi4 with raspbee 2 on it, it's connected directly to our router, but also to the wifi.
justdaniel1337
January 22, 2024, 21:56

USB Host Shield DIY

I gonna get my Raspberry PI Pico W soon and wanted to know if I can "make" my own USB Host Shield out of some cable. Like this one for example
j_jmc
January 22, 2024, 20:01

setting up 5 pi3b+ for a school

Running sudo apt install neofetch returns not found and failed to fetch errors. I suppose it may be because of the strict proxy that this school has on the network. Oddly, same thing happens when connected to mobile hotspot
theukmoody
January 22, 2024, 19:01

Is RDP a good idea that can be accessed outside your LAN?

Hey All, I'm debating if its a good idea to setup a RDP which can be accessed outside of my house. So I can continue to work on my Raspberry Pi at work via VPN? I understand the risks and its important to ensure that the connection is secure and that your public IP address is not exposed unnecessarily. What would I need to do to prepare myself?
jnbackup
January 22, 2024, 13:30

brownout issues

so i have a rasp 4b 2gb, connected to a 5amp adaptor(bought the one for rasp 5) the workload is: docker containers pushing the ram/cpu, and an external drive that got external power. https://www.lc-power.com/en/product/hddssdm2raid-enclosures/889cm35/lc-35u3.html the drive itself is a 8tb HDD 3.5, now my assumption is that somehow those two working together can somehow cause the rasp to need more then 3 amps(stated in specs that's its limit i think), causing brownout, but i'd like a second pair of eyes.
incredible_pomelo_95257
January 22, 2024, 11:20

RPI 5 performance issues

Hi all, I just purchased a RPI5 and started using it, but it is quite slow and I would like to know if I need to return it or if it is a SD/power/software issue. Description of the issues When I open Chromium it takes several seconds to let me type a URL Control is blocked every once in a while (mouse does not move for ~7 second), sometimes more frequently System conditions This happens below 80 degres, usually the temp is below 70 (according to the default panel temp plug-in). According to HTOP most of the time CPU usage is below 10% for each core and memory 900MB/8GB The system RPI 5 8GB Fresh install of latest RaspiOS with desktop Screen resolution is 1080p SD card is class 10, I ran the test and it passes read, fails write at 6-7MB/s over the 10MB/s recommended. One USB device connected (wireless keyboard dongle) 67W laptop power supplier (although, for some odd reason I get the message that is not supplying 5A) No fan or heatsink (but no case either) The ask 1. What can I run to test the effective performance? 2. Should I be testing with a USB drive or a different power supplier (if that impacts performances)? 3. Should I return it as defective? Thank you for the help!
iclone
January 21, 2024, 21:33

SOLVED: Sudo apt update shows warnings and can't update

I wanted to update but there are issues with my ppas. Do I need to change them or is it just a temporary issue?
seanz25
January 21, 2024, 20:04

Calibre Web Can’t See Mounted Calibre Drive

I’ve mounted a USB drive I have to my media folder and using portioned/docker running the calibre library/database. However, running the calibre web image, the initial setup asks for the location of the calibre database and it’s not seeing anything in the media folder?
.n0ren
January 21, 2024, 19:00

sh1107g-02 i2c not detected

hi, i'm using a rpi0w and i want to create a menu with a oled module sh1107g-02 128*128 px. the main problem: the rpi0 don't detect the i2c module. i tried it on an arduino uno with the u8g2 library and it worked. i don't know what to do pls help
mike0270
January 21, 2024, 14:23

Grey bar using VNC client

Hi - I have this issue on my headless RPi 4B 8GB. No matter which VNC client I use, I get this annoying grey bar on the left. Has anyone come across this issue? I have tried adjusting the resolution in rasp-config but it doesn't affect anything. I am using the default vncserver by RealVNC. I am on bookworm updated to latest. Any help would be appreciated. Thank you!
abelianpizza
January 21, 2024, 09:48

Using fbcp-ili9341 library with RPi Zero 2 W and 2.4" adafruit tft lcd

Hi, I was wondering if it would be possible to use this frame buffer copy library (https://github.com/juj/fbcp-ili9341 ) with this [adafruit lcd](https://www.adafruit.com/product/2478 ). Here is the [schematic](https://learn.adafruit.com/assets/25667 ) for the display I'm trying to use. It seems the author of the library tested with a display similar to mine, whose schematic is available [here](https://learn.adafruit.com/assets/25554 ). Do you think I'll be able to use the library? There seems to accounts of noname displays working as well, so I'm hoping mine will work. Any help would be appreciated. Thanks.
bradyaga0854
January 20, 2024, 19:13

RuntimeError: Could not determine platform.

hey guys. can smb help me out? i have this code: https://pastebin.com/BifS2829 and when i try to run it, i get
Traceback (most recent call last):
  File "/home/aviete/Adafruit_Python_SSD1306/examples/shapes.py", line 46, in <module>
    disp = Adafruit_SSD1306.SSD1306_128_32(rst=RST)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aviete/.local/lib/python3.11/site-packages/Adafruit_SSD1306/SSD1306.py", line 287, in __init__
    super(SSD1306_128_32, self).__init__(128, 32, rst, dc, sclk, din, cs,
  File "/home/aviete/.local/lib/python3.11/site-packages/Adafruit_SSD1306/SSD1306.py", line 85, in __init__
    self._gpio = GPIO.get_platform_gpio()
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/Adafruit_GPIO-1.0.4-py3.11.egg/Adafruit_GPIO/GPIO.py", line 429, in get_platform_gpio
RuntimeError: Could not determine platform.
can smb help me out? idk whats going on and ive been struggling with this piece of $hit for the whole day. can smb take a look? thanks
gabrielkazansky
January 20, 2024, 18:59

Pi is getting stuck on boot

So i just got a raspberri pi 4b, got an sd card set up imager and hit go in burning the card with the imager after its done i pop it in the pi and hook it up to a monitor and plug it in and it gets stuck on the opening screen, with the small raspberry, and under it is a small text Services.rescue what did i do wrong?
just_daniel
January 20, 2024, 13:45

Raspberry Pi pico ducky link

Hey i just wanted to get some help with one thing. I went ahead and ordered the raspberry pi pico W and i wanna try and make it a bad usb ( refrence USB Rubber ducky) and i watched "NetworkChucks" video that is dated 2 years ago and the link to the rubber ducky payloads is not working. Can anybody like point me somewhere that i can try and go? I tried github but it only has a few and I wanna try and see more.
k9t33n
January 20, 2024, 13:20

lowering pi 5 temp activation bracket

according to the [documentation](https://www.raspberrypi.com/news/heating-and-cooling-raspberry-pi-5/ it turns on at 60c and then gets faster from there. but at 100% cpu usage i only manage to get just about to 60c, is theyre any way to lower this so that it can use the rest of the fan. i only decrease it by about 10c.
jerry_38032
January 20, 2024, 05:36

hiI need help in my projectmy project is using raspberry pi B+

Text-to-speech (TTS) projects convert written braille text into spoken words, like a digital voice-over. Imagine reading out loud, but a computer does it! this will help the blind we are using camara to take image and converting into spoken word we are having trouble in coding and the due to submitting the project is od monday canany one help pls prity pls
firefox3115
January 20, 2024, 01:17

Problem with 3,5 inch lcd display on raspbian os / Problema con lcd de 3.5 pulgadas en raspbian os

I've been trying to set up my 3.5-inch screen for my Raspberry Pi 3. After following all the steps to display the image on the LCD, when I restart the screen, it remains like this. Does anyone know possible solutions? Note: The operating system I'm using is 64-bit Raspbian OS Estuve intentando configurara mi pantalla de 3,5 pulgadas para mi raspberry pi 3, luego de seguir todos los pasos para que la imagen se muestre por el lcd al reiniciar la pantalla se me quedo de esta manera, alguien sabe posibles soluciones? Nota: El sistema operativo que estoy usando es raspbian os de 64 bits
.gaedel
January 19, 2024, 21:28

Error installing Pico-SDK

I'm trying to install Pico-SDK using the following commands: Install Pico-SDK in Your OS(like Raspberry Pi OS). wget https://github.com/raspberrypi/pico-setup/blob/master/pico_setup.sh -O pico_setup.sh chmod a+x pico_setup.sh ./pico_setup.sh The first two commands (wget and chmod) seem to run fine. However, the /pico_setup.sh fails. /pico_setup.sh is in the current folder where I ran the command. What do I need to do in order to run that? I'm running on Ubuntu 22.04. It's a brand new VirtualBox server. The only items I installed previously were Git and Arduino IDE 2.1.1.
jaronadams28
January 19, 2024, 17:08

someone help my dongle is broke

Yes my WiFi dongle is giving me problems. It’s a cheap Amazon dongle but it seems to be difficult to install the drivers I have received the drivers from the seller on Amazon and the installation seems a bit beyond me. If someone could help me figure it out or recommend a better still kinda cheap dongle it would be greatly appreciated! 🙂 I’m trying to install the dongle on my pi 2 b v1.1 I have tried a bunch of stuff already