cylorun
February 7, 2024, 11:46

Webserver using nginx

I am trying to host a webserver/apion domain i bought through name.com, i honestly don't know much about this and nether did i find much about it online. The website/api im trying to host is just a simple python Flask api. What i have done so far is setup nginx to make a proxy (?) that takes traffic from port 25565 -> 88 (not using port 80 since that did not work). I have not really done much more, i can now open up the site on my PC but only 404 errors show up. OS: Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux nginx config:
server {
        listen 88 default_server;
        listen [::]:88 default_server;

        root /var/www/html;

        server_name my ip;

        location / {
                proxy_pass http://localhost:25565;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;

                try_files $uri $uri/ =404;
        }
jestico
February 7, 2024, 11:37

Setting up RBP camera module V2 8mp

Ive been connectin and disconnecting the camera and the option is not appearing on the interface config. Im running on raspberry pi 64 bit os

iskelderon
February 7, 2024, 11:21

Need recommendations for a 4-4.5 inch square TFT for Pi Zero project

Hi I want to build a replica of the PKE Meter from the Ghostbusters cartoon and the form factor would require a 4-4.5 inch square TFT panel for a Pi Zero, with as little PCB overhangs beyond the screen dimensions as possible. As you can see, I'll have to be frugal with the available space inside the casing. Any ideas? Thanks in advance! Example pictures: https://ghostbusters.fandom.com/wiki/P.K.E._Meter/Animated#Gallery
budyforarom
February 7, 2024, 10:19

PAL-M or NTSC-J on Raspberry Pi-5

Hey Guys, I've got an issue. For some reason I can't set my Raspberry Pi-5 to ntsc-j, pal-N, Pal-M etc. Only Ntsc & Pal. I have the latest version of libreelec and have tried this with other os such as raspian. Nothing. I have set
dtoverlay=vc4-kms-v3d,composite
AND
enable_tvout=1
with and without
sdtv_mode=1
sdtv_aspect=1
and have set cmdline to either
video=Composite-1:720x480i,vc4.tv_norm=NTSC-J
or
video=Composite-1:720x480i,tv_mode=NTSC-J
as mentioned here: https://forums.raspberrypi.com/viewtopic.php?t=364251 but nothing! Only basic us ntsc of British pal. Can anyone here help me with this? What do I need to do to set this to ntsc-j, pal-m or pal-N for the Raspberry Pi-5?
honkinghonk
February 7, 2024, 09:35

Random video player

I have a raspberry pi 2B and I was wondering how to go about making it so that when powered on it plays a random video off of a USB before powering off again?
blazingbackup
February 7, 2024, 04:09

PiHole Problems.

Hello there. First time installing/using PiHole and i cant seem it get it to work. i Got it all installed and im in the GUI but im lost from here. not sure how to tell the devices to use the pis DNS. or even better if i could the router. any help would be awsome
justaccsolol
February 5, 2024, 19:54

Raspberry pi 0 won't show up

Hello. I was trying to do a headless OTG set up for my Raspberry pi 0 the issue is that in my Windows machine i cannot Ping it nor SSH it, i tried with raspberrypi.local and [email protected]. Help!! (i followed the steps in several tutorials)

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