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
jackpotjake8080
March 31, 2024, 19:24

how come the older gen Raspberry pi model 2b has a problem with hdmi or booting problems?

its also a bit of a pain when the kano help disappears on the web as its a was an original kano computer kit has anyone experienced this? when i put the kano os onto the microsd and then put it in and power it why does the it: A. have a problem with booting B. no output is happening nor input as its difficult to see C. both the red and green light are on indicating its working yet its not
hoco_xxsamxx
March 31, 2024, 15:48

RPi5 Not booting or checking SD/USB drive

I have a brand new RPi5, I installed Raspian on a USB drive, booted up, connected via ssh, and ran apt upgrade. It crashed during the upgrade, and now does absolutly nothing when plugged in. All I get is a solid red light. I have tried different images on both USB and SD, pressing the button does nothing. I assume the bootloader got messed up, since it doesn't even check the USB or SD card, and displays nothing on the hdmi out. How can I fix the bootloader if it doesn't access the attached drives?
enclave.dll
March 31, 2024, 09:54

raspberry pi 5 convert rpi.GPIO code to gpiod

i've got this example code
py
import RPi.GPIO as GPIO

pins = [18, 23, 24]

pin_led_states = [
  [1, 0, -1], # A
  [0, 1, -1], # B
  [-1, 1, 0], # C
  [-1, 0, 1], # D
  [1, -1, 0], # E
  [0, -1, 1]  # F
]

GPIO.setmode(GPIO.BCM)

def set_pin(pin_index, pin_state):
    if pin_state == -1:
        GPIO.setup(pins[pin_index], GPIO.IN)
    else:
        GPIO.setup(pins[pin_index], GPIO.OUT)
        GPIO.output(pins[pin_index], pin_state)

def light_led(led_number):
    for pin_index, pin_state in enumerate(pin_led_states[led_number]):
        set_pin(pin_index, pin_state)

set_pin(0, -1)
set_pin(1, -1)
set_pin(2, -1)

while True:
    x = int(input("Pin (0 to 5):"))
    light_led(x)
and i would like someone who understands better than me to help convert it to gpiod the gpiod documantation is a mess. Your help will be appreciated!
zak_ku
March 30, 2024, 18:25

How to spoof the raspberry pi pico w

don't know how to do this things: Change all vid & pid values to the same as your mouse Change 'build.usb_manufacturer' and 'build.usb_product' to your mouse's manufacturer and name Locate \AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.6.0\cores\rp2040\RP2040USB.cpp CTRL-F 'if (USBInstallMouse || USBInstallAbsoluteMouse)' Change 0x4000 to 0x0000 in the if statement
sharkieco
March 30, 2024, 17:13

Pi 5 with a usb-connected IDE HDD doesnt boot [FIXED]

Hey guys, my pi5 doesnt boot from a IDE HDD connected to the usb while it can boot from an sd-card. Can anyone help me figure out what the problem is? Thanks!
spiderpoulet
March 28, 2024, 22:47

Pi CM4 with buggy integrated screen

Hi, i recently got a Raspberry Pi Compute Module 4 with an integrated 5" 720p touch screen (The reterminal from seeed, https://www.gotronic.fr/art-reterminal-5-cm4104032-34217.htm), and when it is powered, it does a weird visual bug, except for the little left area of the screen, which is not buggy, does this already happened to you ? Could it be the cables or something like that which are not properly connected ? I correctly install the driver for the display, and when i connect it to an external monitor via the HDMI port, it doesn't do the bug, so it's well the integrated screen which has a problem
junaire_7747
March 28, 2024, 21:44

Mobile Display for 2 Websites

Hi all I have searched quite a bit and think this should be feasible, but maybe somebody has good suggestions on the specific hardware I should get. I would like to achieve the follwing: a mobile, battery operated, rasberry zero powered device with a nice display, with a gsm card, that has a kiosk style OS that always shows the 2 same websites side by side, and the pages should autorefresh. I'm thinking raspberry pi , original display with display case, gsm module, power bank, some kiosk style OS (or the standard OS?), i guess this should work out, right? thanks a bunch!