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
dailytinker
April 3, 2024, 21:45

Lighttpd Going back to port 80 when I have it set to 8081 on pihole

So I run Pihole on Synology NAS and everytime I update the container Lighttpd which is supposed to be on port 8081 is back on port 80 and then it fails because port 80 is used on my Synology NAS for web server which is on https://athernas.net and it gets annoying because It makes my internet experience slow and not work half the time if you need more let me know
k9t33n
April 3, 2024, 10:58

internet problems pi 5

my pi 5 cannot access the internet and since i am accessing via ssh i have no clue why it would have troubles.
kameron@pi5:~ $ ping google.com
PING google.com (142.250.187.238) 56(84) bytes of data.
From 192.168.1.10 (192.168.1.10) icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=3 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=5 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=6 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=7 Destination Host Unreachable
^C
--- google.com ping statistics ---
11 packets transmitted, 0 received, +6 errors, 100% packet loss, time 10168ms
pipe 3
any clue why? it also can not pip install anything or update because of it.
sadma_ashiq
April 3, 2024, 08:33

My first ever Raspberry pi project [The PodBerry Touch]

So I like small sized phones that can literally fit in your palm like ipod or any old Samsung phone or the Palm Phone. So I wanted to make a phone with a touch screen, headphone jack and a battery for charging and working without power cable. I think a raspberry Pi Pico is good as it is small in size and cheap but I don't know about it's processing power
starsalt
April 3, 2024, 02:01

Iā€™m trying to connect to mobaxterm Vnc with raspberry pi and it wonā€™t let me connect.

## Try this first i guess? idk if this is right but it(mobaxterm) has smth to do with ssh right? maybe you've already connected to the ip address once on a diff device/flashed pi? in which case you can: ## delete the record from c:/users/username/.ssh/known_hosts (just remove the ip address from the list- open with notepad or smth)
icicubez
April 2, 2024, 18:26

Pi won't connect to network

Hey. I'm flashing Raspbian 64bit on my Pi 4b and I have it set up to connect to the network in the config, but it isn't doing it. On the desktop environment the network icon just shows bars with an X and when I click I am prompted to set my wifi region. When I do this however, nothing happens. I have reflashed loads of times and it isnt working
misterjthegamer
April 2, 2024, 14:56

raspberry pi pico not powering up spi tft display

dosnt work or turn on when i connect my pico to power. also vs code dosnt detect my library
theosib
April 2, 2024, 12:34

Help debugging TinyUSB crash when plugging in multiple devices?

I've hit a wall with a TinyUSB crash when plugging in multiple devices (https://github.com/hathach/tinyusb/issues/2556), and I was wondering if anyone would be interested in doing a live deep-dive debug session with me. We could do that here or the RP Pico Discord or perhaps SciCraft or EigenCraft. It's a fun way to meet new people and make new friends. šŸ˜
koyo00010
April 2, 2024, 09:04

Autostart a chromium in fullscreen

Hi! Can someone help me how to autostart a website in chromium whenever I start the rpi itself. I already tried the 'sudo nano /etc/xdg/lxsession/LXDE-pi/autostart' but it doesnt work for me. Thanks!šŸ™‡
guildedsin
April 2, 2024, 03:54

Need some help setting up jellyfin | Folder permissions and Static IP

Having some issues on setting up a static IP and need some help. The only conf file i have to edit ios etc/dhcp/dhclient.conf Now that would be good and all but its read only, and even trying to edit through putty wont let me change it. Also I have already installed jellyfin and when using hostname -I it returns 127.0.0.1 BUT if i do ifconfig, i get a wlan0 IP of 192.168.1.15 (this is the one my router is reporting as well) and between eth0 and wlan0 there is a section labled lo and that section reports the 127.0.0.1 IP what is going on xD Also to not BOTH ips dont work to connect to the jellyfin server from my windows pc. As of writing this im going to try to connect from the pi as well while waiting on a reply
busitalique
April 1, 2024, 19:49

Trying to connect by SSH to my rpi through cmd promp but the password doesn't input.

Essentially, I run "ssh bus@(ip adress)" then it asks for the password and it doesn't let me input anything. I can press anything on my keyboard it's like cmd prompt just crashes, but it still responds to "enter". I tried to change my keyboard to a bunch of other languages and it just doesn't listen. (yes, even the one that was listed in the imager)
rasmus2099
April 1, 2024, 14:43

How to change raspberry pi pico keyboard language

So i have 2 raspberry pi pico. My problem is that when i try to make it into a badusb it uses american keyboard layout. So when i want it to write example a "." it presses the . icon on a american keyboard wich isnt the same place for my swedish keyboard. I dont know how to fix this. I would assume the peope here outside of USA have exprianced this issue before since the language is American when it comes from the factory. Thank you for help!
meth.heady
April 1, 2024, 07:54

How do you make the raspberry pie pico ducky use it payload

can somebody please tell me how to do this? Iā€™ve looked at a bunch of videos, and I think Iā€™ve done everything right but itā€™s not working. Hereā€™s all the files Iā€™ve configurated from the videos. Please tell me if I missed any files or need any files
vj_ubiquity
April 1, 2024, 00:08

ARM32 Bullseye Raspian Seeking for info on How to run script on boot/load. Tried for 3 weeks long

HellƓ, I'm tring to run this command on BOOT: this would be my optimal command [ sudo lxterminal -e "sudo ./Chataigne-linux-armhf-1.9.17.AppImage" ] since it loads a terminal with privileges and then opens the app with privileges as well. I've tried with rc.local, systemd and other common methods listed on the web (I think I can read and try all the lines written there but none seems to work), the closest I've suceeded is with bashrc so when i open a terminal, is automatically call the appImage. Thanks in advance for any help. Image