animelover1212
April 9, 2024, 21:40

rasberry pi and pygame

Hi. So for a project for school I’m thinking of using a breadboard as a controller for a game I made in pygame. I want to make a controller with a breadboard and buttons. If the player presses the button, it moves the character. Is this possible before I start?
pejsek147
April 9, 2024, 19:55

raspberry pi os just deleted or something

i have debian os not raspberry os
mystreem8842
April 9, 2024, 18:25

Cannot install Android os

Hello, can anyone tell me why my rp3b+ keeps blinking red light and not showing hdmi output when i install lineage os or other android based os Raspbian works perfectly
misterjthegamer
April 9, 2024, 16:33

orange pi not willing to ssh

Orange pi dosnt wanna ssh

irvingmclaughlin
April 9, 2024, 14:55

what raspberry pi should I buy? (my first one)

I need a raspberry pi that i can connect a microphone and speaker to that runs some code when it hears a specific word. Which rasberry pi should i get? (i don't need the best one just one that can do it's job) i also want to be able to use it for more projects later on so maybe one that is good all around, i know nothing about them lol
necoarcstan
April 9, 2024, 14:22

Timer that can detect game usage

Hey all. Trying to make a timer that when plugged in, times how long I've been playing a game and after a set time, say four hours, it'll start making a loud noise. I've got the raspberry pi pico, a breadboard, headers, wires, speakers, soldering equipment. Now I just need to know what to start doing. Any help is greatly appreciated.
e_xie
April 9, 2024, 02:10

Two of my pis are dead

I've got 2 Pi 3B+'s. One's just totally not taking SD card input and not reading it, one 's ACT light flashes for around 3 seconds then stays red. Can't ssh. Will try USB boot later, but it just randomly died on me
zeyyad_
April 8, 2024, 23:58

boot raspberry pi 4b with flash drive

i downloaded homebridge img and im currently writing it onto a usb stick with the imager will i be able to boot my raspberry 4b using the usb?
arons14.
April 7, 2024, 16:47

Raspberry Pi OS Display not rendering

Installed the Raspberry Pi OS using the official imager. However when connected using RealVNC viewer, the only the mouse pointer is seen on a grey screen. The desktop doesn’t render. Could anyone recommend solutions?
kospingtan
April 7, 2024, 13:53

What Pi do I use?

Hi! I want a raspberry pi to show a simple dashboard to a screen - it has to get data from an api. It would also be cool if I could host my discord bot on there so, requirements: python hdmi wlan/lan What is the best price-performance i can get with a raspberry pi?
valenz1
April 7, 2024, 13:25

How to use picamera

hi, so im trying to use picamera but im not sure which OS to use. i don't want to use the new picamera2 because i don't understand the syntax and im doing a project based on an old project. does anyone know what to do?
leander.bdn
April 7, 2024, 13:00

Which Raspberry Pi do I need to use?

Hello, I am new to Raspberry and I would like to start working with it. Basically I want to start learning how to use and program it (I already know how to do the electric stuff so I only need to learn the usage and programming of a Raspberry Pi). After learning the basics I want to build a small device, which searches for traffic signs outside my car and displays them onto a small display. So I need a Raspberry Pi that is able to run the camera module and a small rgb display. It would be great if a Raspberry Pi like the Nano or the Zero could do that, sadly I dont really know which Raspberry is made for which purpose. It would be great if someone here could help me so I know which Raspberry I need to buy? PS: I want to program the software in Python if that would be possible. Greetings Leander :)
coshi_12
April 7, 2024, 09:41

a screen don't work in rasp pios CLI

Hi guys i have this screen but make this some of artifact on CLI of rasperry pi os And i Need to see te text

jacked_ripper
April 7, 2024, 09:03

Issues with CMake for Opencv

I have been following this guide https://pimylifeup.com/raspberry-pi-opencv/ when i run Cmake to prepare OPENCV for comp it gives me this "Configuring Incomplete, Errors Occurred!" please help
metalstorm1
April 6, 2024, 19:37

My Raspberry pi pico w is making a weird sound when powered from vsys

Hey everyone, I'm trying to power my pico w with 3.3v vsys via a seeed studio lipo rider plus. I have a 1.8inch spi display connected. When turned on the pico is making a humming noise. I have attached a recording of it. I just want to ask if the pico has gone bad or should I connect 3v3_en to make it work.
kraytonian
April 6, 2024, 17:49

trying to turn my raspberry pi into a bridge connection using ubuntu 23.10

I have a raspberry pi 5, sonicwall router and two servers. I am not able to access my servers because they need an ethernet connection. I want to create a bridge port connection from raspberry pi 5 to my sonicwall soho. I will be able to access the sonic via a webpage on my laptop. I will configure it then connect the two servers.How do i set this up?
jakb
April 6, 2024, 13:19

MLX90640 Thermal camera breakout and Raspberry pi 4

Hi all, I'm a total noob building a raspberry pi 4 camera setup. I'm a programmer with previous (limited) raspberry pi experience. I've been following this tutorial https://tomshaffner.github.io/PiThermalCam/#hardware-setup and I have all the listed parts. But, I don't know how to do this diagram [first image attached]. The wire [second image attached] has connections for the raspberry pi pins on one side (4 individual) but I don't have a clue what the other end is or how it could connect to the Thermal camera. Is this something I can achieve without soldering? Do I need any extra parts? After extensive online research I'm not finding any clear step by step tutorial that goes into the hardware side of things here. Thanks! Please @ me if anyone has any ideas 😊
jullugullum
April 6, 2024, 10:00

problems with the code

Hello, I want to connect a raspberry pi 3 b+ hc-sr04 sensor and I have a 2x16 LCD screen. I leave the code I wrote and I also leave the error given in the code. import RPi.GPIO as GPIO import smbus import time I2C_ADDR = 2 LCD_WIDTH = 16 TRIG_PIN = 17 ECHO_PIN = 18 bus = smbus.SMBus(1) def setup_gpio(): GPIO.setmode(GPIO.BCM) GPIO.setup(TRIG_PIN, GPIO.OUT) GPIO.setup(ECHO_PIN, GPIO.IN) def send_trigger_pulse(): GPIO.output(TRIG_PIN, GPIO.HIGH) time.sleep(0.00001) GPIO.output(TRIG_PIN, GPIO.LOW) def wait_for_echo(): start = time.time() while GPIO.input(ECHO_PIN) == GPIO.LOW: pass return time.time() - start def measure_distance(): send_trigger_pulse() duration = wait_for_echo() distance = duration * 340 / 2 return distance def display_distance(distance): message = "Mesafe: {:.2f} cm".format(distance) bus.write_i2c_block_data(I2C_ADDR, 0x00, [ord(c) for c in message]) try: while True: setup_gpio() distance = measure_distance() display_distance(distance) time.sleep(1) finally: GPIO.cleanup()
flyer99
April 6, 2024, 09:03

Compiling QT code for the PI 5

Hello! I am very new to QT and Raspberry Pi in general. I'm working on a QT project that i want to run on my RP5. The issue is that I can't seem to figure out how to compile my source code for the PI. The boot to QT option doesn't support the PI5 yet. I tryed to install QT creator on the raspberry itself but I have encountered issues. Can someone please provide some guidance, please? The project requires the use of sensors that use I2C and SPI. The QT version i am using is 6.6.3
spisdout
April 5, 2024, 18:32

putting android on a waveshare 3.2 inch display for raspberry pi 3b?

Does anyone here know how to have either lineage os or android emteria work on a 3.2 inch display for a raspberry pi 3b from waveshare since every tutorial i tried to find was either for raspbian or retro pie
estebanuncio
April 5, 2024, 17:56

Problems with display configuration options

I have problems with not being able to correctly configure the screen resolution because the options do not appear, I have tried to find a solution on the internet but it has become impossible. config.txt For more options and information see http://rptl.io/configtxt Some settings may impact device functionality. See link above for details Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on Enable audio (loads snd_bcm2835) dtparam=audio=on Additional overlays and parameters are documented /boot/firmware/overlays/README Automatically load overlays for detected cameras camera_auto_detect=1 Automatically load overlays for detected DSI displays display_auto_detect=1 Automatically load initramfs files, if found auto_initramfs=1 Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d max_framebuffers=2 Don't have the firmware create an initial video= setting in cmdline.txt. Use the kernel's default instead. disable_fw_kms_setup=1 Run in 64-bit mode arm_64bit=1 Disable compensation for displays with overscan disable_overscan=1 Run as fast as firmware / board allows arm_boost=1 [cm4] Enable host mode on the 2711 built-in XHCI USB controller. This line should be removed if the legacy DWC2 controller is required (e.g. for USB device mode) or if USB support is not required. otg_mode=1 [all]
wow8009
April 5, 2024, 14:02

Issues with bh1750fvi light intensity sensor

The sensor is connected to my raspberry Pi 4 breadboard through the following pins: Sensor > Breadboard GND > GND SDA > SDA1 SCL > SCL1 VCC > 3.3V The I2C interface is enabled. Whenever I run the i2cdetect -y 1 command in terminal the grid is returned empty and not detecting the sensor. Would appreciate if anyone knows how I could fix this issue. Thanks.
rachelwolf7
April 5, 2024, 13:24

Trying to Recreate Project

I found a project on Reddit from two years ago called "Love-Box" and it is for creating a simple system of being able to wirelessly send images to an E-Ink screen connected to a raspberry pi zero from a Firebase website/app(I think?). I am super new at coding stuff especially on the PI and the instructions given are not detailed enough for me to figure out what needs to go onto the PI and or what needs to be done for the app/website. I was hoping someone could look at the reddit link (which includes a GitHub link) and give me more detailed instructions? I really want to make something like this for my boyfriend. I thought about contacting the creator but he has not been active on reddit for about a year it seems. By more detailed instructions I mean that I do not know what needs to go onto the PI or ran on the PI from the three files. I know the LoveBoxUI is for Firebase, but the other two I am not 100% sure. I am basically looking for some dumb down step by step instructions or to the best of anyone's ability. I am using the same parts as listed except I am using a Pimoroni Inky Impression 5.7" screen instead. Any help is appreciated! https://www.reddit.com/r/raspberry_pi/comments/u2z4wb/lovebox_epaper_display_project_to_leave_my/ https://github.com/adrian-patterson/love-box
doelmm
April 5, 2024, 12:38

Raspberry OS, can't use any on-screen keyboards

Wheneber I tried to install the MatchBox-Keyboard, it appears extremely small and not full, letters only, doesnt stay top most, and doesnt print out the text. I tried with onboard, still same cant print out the text.
11person11
April 4, 2024, 17:31

making this function work for time interval

So here the thing, this code only works only once after I run the program, how can i make this thing work again for like 3 minutes or so. anyways here is the code
py
#If someone in your dataset is identified, print their name on the screen
if currentname != name:
currentname = name
print(currentname)
#Take a picture to send in the email
img_name = "image.jpg"
cv2.imwrite(img_name, frame)
print('Taking a picture.')
                
#Now send me an email to let me know who is at the door
request = send_message(name)
print ('Status Code: '+format(request.status_code)) #200 status code means email sent successfully
uefimodule
April 4, 2024, 15:03

Green light issue.

Currently setting up my pi zero w. Right after flashing raspberry pi OS however only the green light is on. Seems to be blinking every 800ms or so. Any ideas? Looking into issue.txt it has 1 log from 2024-03-12 which is weird considering I didn’t have it then. Could this point to some pre installed software having issues? Any help is highly appreciated :D
docify
April 4, 2024, 14:51

RuntimeError: failed to add edge detection

So I'm trying to make a callback function for a simple pushbutton. Sadly i keep on getting the same error. I know it's not in the coding as a issue because my old code that has worked before, now gives this error when compiling... is this is a known issue with a simple fix? any help is appreciated
incapabele_badeend
April 4, 2024, 10:31

2 raspberry pi 4s not booting anymore

Hi, I have 2 raspberry pi 4's and they are not booting anymore. 1 pi shows a solid green and red light and another only a solid red light. The power to the gpio pins work. I think that it has to due with a charger that I used with it. Is there anything I can do to troubleshoot?
avistheastronaut
April 4, 2024, 08:33

Composite on Rpi4B with bookworm

Hi, I'm trying to enable an analog display, the things I've added to my config.txt are below
enable_tvout=1
And
dtoverlay=vc4-kms-v3d,composite
As well as
vc4.tv_norm=PAL
in cmdline.txt However when booting, the screen on the display shows the rainbow image, then flickers white, a second later the raspberry pi logo splash screen shows up for a split second and the screen goes black with nothing else. I read somewhere that the white flash is the pi deciding not to use that display, but what else do I have to change so it does? I've tried changing the config.txt to read
dtoverlay=vc4-kms-v3d,composite=1
And
vc4.tv_norm=PAL video=Composite-1
to cmdline.txt Like I saw someone do online but that hasn't worked either.
jacked_ripper
April 4, 2024, 06:04

sending image from the raspberry pi to discord

Completely new to this. I got raspberry pi4 and I am trying to setup a security system that will send me pictures when the camera recognizes a face. I just started working on this. I heard we hooks on discord can be used to send a message from the pi to the app. How do I even begin with all this