risb
February 4, 2024, 10:02

Unable to read output from ML model running on RPi Pico W

I've been trying to use the tensorflow lite micro port for the Raspberry Pi Pico W, to run an ANN that will detect shape of motion of an accelerometer, using the pico-sdk. I've followed guides and examples on how to setup the TFLMicro model and running it, but when I need to get the model output, it is gibberish and never changes. I've gone into more detail in the issue I opened on the pico-tflmicro repository, which also links to my repository of code I've written till now. https://github.com/raspberrypi/pico-tflmicro/issues/13 although this is not a generic Pi Pico W specific issue, it can't hurt to ask here. the pico-specific funtionality is that there is code to interface with the MPU6050 to gather accelerometer data, using the onboard LED using the cyw43 module and interrupt handling on 2 buttons to 1. Record accelerometer data 2. Send recorded data through the model and obtain a classification
robertgamerrr
February 3, 2024, 22:44

project I want to work on I am completely new to pi

I am COMPLETELY new to raspberry, but as I couldn't find one myself, I wanted to make/code my own voice changer using a Pi pico. What do I need to buy, does the pico suffice, what coding language should I try to learn/use? I only really need to have one voice effect for now
masterchief2416
February 3, 2024, 19:54

Running headless on a raspberry pi4

im trying to learn how to use one of these but i cant for the life of me figure out how to get it to connect to my computer <:confusedblob:1053364681575776276>
.gaedel
February 3, 2024, 02:11

No apt package "code", but says it's already installed.

Installing VSCODE
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

No apt package "code", but there is a snap with that name.
Try "snap install code"

E: Unable to locate package code
gaedel@gaedel-VirtualBox:~$ snap install code
snap "code" is already installed, see 'snap help refresh'
mochii3607
February 2, 2024, 22:52

Raspberry pi zero with hq camera module

The ribbon cable attached to hq camera module is too wide to connect to raspberry pi zero. how should i connect these two? should I purchase raspberry pi 4?
killset_
February 2, 2024, 22:00

need help pi5 not booting

hey there just buyed a PI 5 installed os on the card but i does not boot
gabrielkazansky
February 2, 2024, 21:40

Connecting Servo motor to raspberry pi 4b

so i have a Raspberri pi 4b and i want to connect it to this motor http://tinyurl.com/3tchkh63 in an other forum i was told that i need a signal matcher so i bought one that translates 3.3v signals for 5v for the motor to register. but in the end of the day i got these super small female to femal jumpers for the gpio of the pi how can i connect them safely to the terminals of the above mentioned motor and secondly how can i wire it up to get the most controllability?
zoxxidetermedagain
February 1, 2024, 23:15

I want my pico W to run python code when plugged in

I just got my Pico W today and I want it to run code when I plug it into my PC, it only runs payloads which I don't want
duppressor
February 1, 2024, 20:55

Will I need to solder this converter board?

Hey there. Quick question about these converter boards: I am wanting to use this FFC converter board from Amazon for my Raspberry Pi Pico W. Will I need to solder pins onto it so I can use it in the breadboard? Or will it work just fine if I were to plug it with board wires likeso? (right image) Link: Converter Board: https://www.amazon.ca/dp/B09VPKJSCR?psc=1&ref=ppx_yo2ov_dt_b_product_details
gruen_b
February 1, 2024, 11:48

raspberry pi 5 laptop

What would be a convenient way to power a raspberry pi trough some kind of battery?
nickwebcouk
January 31, 2024, 22:49

reset password with physical access

What’s the simplest way to reset a password with physical access to a pi? Have one set up but lost the password. I have it set up as a server and want to keep the data. It’s accessible in that I can u plug and remove it and the SD card but it’s not anywhere near a keyboard/mouse and monitor. I know I can init/sh the commandline.txt but this would then require a monitor and keyboard to change the password. I have a laptop that I can plug the SD card into. Whats the easiest way to reset the password?
misocchi
January 31, 2024, 21:49

Git Auth browser

I just installed a fresh SD card for my pi zero w with ras os lite bullseye and have been setting up an i3 environment from scratch. However I think there's been an issue with setting up netsurf as my default browser, so that I can Auth my github account. When I try to run gh Auth login it opens my file manager (spacefm) instead of my browser. I've ran the update-alternatives - - install x-www-browser /usr/bin/netsurf and it appears when I try the config flag. Would be great to have access to my private github repost (´ω` )
giaps2
January 31, 2024, 14:07

Cannot Ping RPi 3B From Windows Laptop

Hello! I am trying to use my RPi 3B to run my 3D printer with Klipper/Mainsail. I've installed Klipper on the printer, Mainsail on the Pi, and am trying to access the Pi over my network. One of the things I need to do is find the USB port that the printer is using on the Pi, and to do so I need to connect to the Pi using PuTTY, but PuTTY is never able to connect. When I try pinging the Pi's IP address, 192.168.1.32 (found using Zenmap), nothing comes back. Why is this happening? Why can Zenmap see the Pi on my network but I can't ping it using the command prompt on my laptop? Sorry if I'm leaving required info out, I'm very new to this.
jmad420
January 31, 2024, 11:25

no boot, no display tried all recommended from pi sticky threads and utube vids,

Tried two different sd cards, formatted in cmd , used imager, etcher, different laptops, only thing I haven’t tried is another official psu, I only have the one or iPad cable, tried that same thing, no display, had 8 green flash’s then did sd boot effortm, now power on two lil flashes then solid green n nothing displayed
sweetbrett
January 30, 2024, 18:03

Pico W connected to wifi but not the internet

hey, i have a pico w and i had it working with wifi a few weeks ago. but today the same script keeps getting EHOSTUNREACH whenever I try to connect to something outside of my network. I have confirmed that the wifi connects, I have an IP, the default gw is set, I can ping the default gw, but when i ping something like 8.8.8.8 or 1.1.1.1 or if i try to socket.connect() to something like google.com I just get EHOSTUNRECH. I've rebooted a few times. Can anyone think of what might be causing this problem? using micropython.
budyforarom
January 30, 2024, 17:44

Where is the pinout hole for GND ( Composite out) on the PI-5

I've been at this for days! Can anyone please help by telling me where is the gnd for the composite (vid) pinout hole for the raspberry pi 5? I can not find any documents or information anywhere. Any help from the community will be very appreciated. Thank you. 03stevensmi
ehxpy
January 30, 2024, 15:33

Emulation for Pi 5

Having issues setting up dolphin for the pi 5. I was able to setup a ps2 emulator no issue. Right now the os is latest version of Ubuntu for the pi
gelid_cryotheum
January 30, 2024, 06:54

What's the best way to read analogue input using GPIO?

I'm reading the Sparkfun sound sensor amplitude/envelope which is analogue. The sensor doesn't seem to have I2C sadly. I think I could use SPI instead, but is there an easier way to read this data that I'm missing? Also, do you NEED a MCP3008 to read the data? Link to the sensor: https://learn.sparkfun.com/tutorials/sound-detector-hookup-guide#software-example
rpi5
January 30, 2024, 04:19

M.2 NVME Drive doesn't list in the system on my Raspberry Pi 5 with Pineberry Pi Hat.

I need help with configuring my m.2 nvme. I have watched several guides/tutorials which explain how to setup the nvme to show up and eventually boot from it, but unfortunately mine just doesn't show up, for example lsblk will just show my current usb to sata 3 drive. Currently I booted from normal sata 3 ssd with usb and I have fully updated the system also inputed dtparam=nvme and dtparam=pciex1_gen=2 in bottom of the /boot/firmware/config.txt. I have also tried to change the option to gen 3 since my ssd and hatdrive fully support pcie gen 3. (btw the power light on the hat is on, also the connection and everything between the raspberry pi and the hat is connected properly, so it's most likely software issue?) OS: Debian GNU/Linux 12 (bookworm) aarch64 Host: Raspberry Pi 5 Model B Rev 1.0 Kernel: 6.1.0-rpi8-rpi-2712
jmheadley1988
January 29, 2024, 22:39

Parsing XML File Error-No Document Element Found

Has anyone ran into this error? Not very computer savvy and the person who set the system up for me is no longer available. Any ideas how to fix this? It shows up upon booting.
dubstepmad
January 29, 2024, 20:09

Geany Permission Denied

I've saved a py script (just messing around) and I get a permission denied. Screenshot explains it faster
theo.herbst
January 28, 2024, 18:50

Help with lightdm

Hey, the ticket bot doesn't work so I post my problem here... I installed docker (a parrot os image on it to be more precisely) and now when I boot, lightdm.service fails to start, so I have only a black screen with the white underscore on the top-left If some1 can help me 🙏
developful
January 28, 2024, 18:28

Micropython modules conflicting with existing modules on visual studio code

So i've got a project that I created using micropico
json
{
    "python.linting.enabled": true,
    "python.languageServer": "Pylance",
    "python.analysis.typeCheckingMode": "basic",
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingModuleSource": "none"
    },
    "micropico.syncFolder": "",
    "micropico.openOnStart": true,
    "python.analysis.typeshedPaths": [
        ".vscode\\Pico-W-Stub"
    ],
    "python.analysis.extraPaths": [
        ".vscode\\Pico-W-Stub"
    ]
}
this is the settings.json. My issue is that doing import os, the intellisense will think im using the usual python os module, not the one declared in the Pico-W-Stub folder. Is there any way to override this?
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.