meli088
February 5, 2024, 19:35

Raspberry Pi 5 and Adafruit MLX90640 infrared sensor using VS code

Hello everyone, I am trying to work on a project where I have to get my Adafruit MLCX90640 IR sensor running on Raspberry Pi 5 and then later I have to calibrate it and get it running on LabVIEW software for GUI real time monitoring and saving for post analysis, I have two links to follow of people that did similar projects (excluding LabVIEW) and I am unable to get my code working. https://www.instructables.com/MLX90640-IR-Thermal-Camera-Working-With-Raspberry-/ https://learn.adafruit.com/adafruit-mlx90640-ir-thermal-camera/python-circuitpython Trying to follow Adafruit link step by step... I am trying this on Windows and struggling with installing the two libraries: adafruit_mlx90640.mpy adafruit_bus_device and I get this error: Exception has occurred: NotImplementedError Adafruit-PlatformDetect version 3.60.0 was unable to identify the board and/or microcontroller running the Windows platform. Please be sure you have the latest packages by running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect' If you are running the latest package, your board may not yet be supported. Please open a New Issue on GitHub at https://github.com/adafruit/Adafruit_Blinka/issues and select New Board Request. File "C:\VS_code_Mecha\examples\CircuitPython 8.x\termal camera code.py", line 5, in <module> import board NotImplementedError: Adafruit-PlatformDetect version 3.60.0 was unable to identify the board and/or microcontroller running the Windows platform. Please be sure you have the latest packages by running: 'pip3 install --upgrade adafruit-blinka adafruit-platformdetect' If you are running the latest package, your board may not yet be supported. Please open a New Issue on GitHub at https://github.com/adafruit/Adafruit_Blinka/issues and select New Board Request.
.miller21
February 5, 2024, 11:39

Rasberry pi pico w

py
from machine import Pin
import time
led=Pin(15,Pin.OUT)
while True:
    CMD=input('What is Your Command? (ON/OFF/TOGGLE)')
    if CMD=='ON':
        led.value(1)
    if CMD=='OFF':
        led.value(0)
    if CMD=='TOGGLE':
        led.toggle()
just to help How do I fix it about red LED is not show of light up. Is there something wrong that I put it? I did fellow everything from guy YouTube.


jestico
February 5, 2024, 11:23

Setting up on a laptop

How do i set up raspberry pi imager on laptop? ive tried it on pc where I format an sd card and stick it in the rpb then connect it to my monitor but i need to work on my laptop now, how do i do it?
ythern
February 5, 2024, 08:36

Adding a SATA HDD to a RPi5

Main goal is to make a music streaming server, issue rn is storage. For now I've been using an external hard drive, but with M2 hat being more available, I'm tempted to go for it, grab a M2 to SATA Adapter, and plug a SATA HDD. Main potential issue in the future, I don't know if the RPi can output enough power alone for the Hard drive, or if I'll need another external power. Any idea ?
seanz25
February 4, 2024, 21:05

Mounting USB Stick Issue

Hey all, So Iā€™ve followed instructions on mounting a USB drive to my pi, for whatever reason Iā€™m having issues that are hard to explain, effectively as you can see in the screenshot here Iā€™ve mounted the drive to /mnt/usb2. Via file manager Iā€™ve put some files on there, however, Gparted isnā€™t showing that the used space has gone up at all?
sikewerld
February 4, 2024, 20:29

Trying to switch Operating Systems

yo I am very confused, I tried to install a new OS but accidentally installed the iso onto my microsd card instead of my flash drive, so now I have the iso installed to both the flash drive and the microsd card, but it's not booting from either of them... it just keeps saying "Trying partition: 0" and then stopping. How can I fix this and install the OS I was trying to install?
volyul
February 4, 2024, 10:03

Wireless connection with Putty

So there is this issue. After wrapping in a SSH file with WiFi details into the mini-SD containing the raspberry OS and establishing IP/Mac addresses with Nmap, the procedure of logging in with PuTTY comes up with "wrong password/name" even though I've entered the apparently correct login credentials. Anyone who could help me?
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?