k9t33n
January 28, 2024, 12:43

trying to ble spam

this is not enough information
tsifios
January 28, 2024, 11:41

Python3 error

When i run python programms i get the following error on pi4
eriklavr
January 28, 2024, 08:35

Turning off USB port or on

Hello! I wanted to ask how can i turn off an USB port or turn it off on the rpi in python? It would really help, thanks!
jannik44
January 28, 2024, 02:40

SIM800L and rp2040-zero echoes commands back

I have a sim800l connected via uart to the pi and wrote a sample micropython code to test it, but the weird thing is that it just replies with the same command instead of executing it, in the documentation of it ive read something about echo mode, could that be an issue? https://cdn-shop.adafruit.com/datasheets/sim800_series_at_command_manual_v1.01.pdf even if i just send pizza' to it it replies with b'pizza', same thing with the AT commands (see code below), any ideas what im doing wrong?
py
from machine import UART, Pin
import time
uart = UART(1, baudrate=9600, tx=Pin(4), rx=Pin(5))
uart.write('pizza')
time.sleep(0.1)
response = uart.read()
print(response)

maillouski
January 28, 2024, 01:23

Remote Headless Install while currently booted.

Nevermind, I read a bit on how it could be doable, but that's going to take wayyyy more time than actually go and grab the pi for a reinstall haha 😛
semp1337
January 27, 2024, 12:12

VirtualGL is using LLVMPipe and not the GPU

What I currently have - Raspberry Pi 5 with 3a/5v charger and fan What's my purpose here I want to use RPi's GPU to its full core I'm currently using Xpra and hosted it online so that my friends can view and do stuff along with me However glxinfo reports LLVMPipe is used so I believe it's cpu's complete work? I've compiled VirtualGL and ran but then found that it also uses LLVMPipe [note the attachment pic] What have I tried for alternatives I've used TightVNC with noVNC for achieving similar to Xpra but then sound wasn't there [the forks with sound seems impossible for me to config] I noted that RealVNC uses Broadcom's GPU in Service Mode which gave me some hope but then it wasn't working with noVNC, the authorization protocol resulted in some error [ https://github.com/novnc/noVNC/issues/1826 ] i'm newbie so idk much, just read the docs and tried stuff then failed miserably :C
oops.se
January 26, 2024, 11:40

Network Monitoring / MITM

Yes, there is either ethernet modules with SPI interface or USB ethernet dongles.
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