imaustralia
August 27, 2024, 10:29

anyone code in python, mainly robotics with the raspberry pico and mit app inventor. Keep getting er

can send images
zemangofur
August 27, 2024, 01:06

Python Script works on PC but not on Raspberrypi

Hey guys so for some reason the python file i'm trying to run only works on my pc but not on my raspberry pi, i've fixed some issues, but there is one i got no idea about
py
data = {
                        "sample": "some sample message"
                }
with open("./file.json", "w") as outfile:
  json.dump(data, outfile)              
for some reason this just does not work, ignore that some stuff is weirdly out of place, it's not like that in the file, it just happened because i copied it over
dannyboy3210
August 26, 2024, 21:09

Samba share using an external hard drive on your pi using the default mount location?

Does anyone know offhand if you can set up a samba share using an external hard drive on your pi with the default mount location? I've got a samba share working from the internal drive, and windows can access the /home folder for my user. My research has me thinking I may need to somehow mount the drive inside the Home folder or something? Edit: I remember trying to get this working at various points in the past without luck and this time decided to finally ask for help XD Edit 2 (for context): I am booting off an external SSD without issue. I have an external 2TB HDD I want to share with my local network (So Windows, android, etc.)
unkgba
August 26, 2024, 20:06

Pibooth

Hello, I would like to run pibooth on my raspberry pi 5. But, when I'am starting the application, this is what I see : I can take pictures but I don't see anything; I use a Canon EOS M50 Mark ii as camera
thunder07337
August 26, 2024, 11:37

Slow Pi shutdown

What does your shutdown command look like?
helgem
August 26, 2024, 10:19

BT and wifi for CM4 - dongle?

Dear friends, new to this place, so hi! Bought a CM4 w/o wireless capabilities a while ago for learning/tinkering (linux, not hardware). Will now move the learning/tinkering to a desktop PC which frees up the CM4 for other purposes. Goal: Turn a wires-only CM4 into a headless and wireless media player that can connect to bluetooth devices. Question: Does anyone have experience with wifi-BT-dongles on a CM4? Alternatives, pitfalls? Thanks!
jufieeee_15927
August 25, 2024, 12:19

Power issues 4 model 4

I'm using my Raspberry Pi model 4 b to run Home Assistant. Suddenly the local URL just stopped working. When I checked the pi, I noticed the fan was off. Now I see the red power light is on, but the green ACT light is either completely off, or turning on and off quickly. How can I fix this? I use the official pi cabel that came with it.
thesomebody0
August 23, 2024, 16:47

Wireless Android Auto dongle project

Hello, i have a car that supports only wired Android Auto and Apple Car Play. I'm gonna make a wireless Android Auto dongle project with Raspberry Pi Zero W or Zero 2W and using this repo https://github.com/nisargjhaveri/WirelessAndroidAutoDongle. Here's my question: What would happen if I connect a cable that supplies both data and power to the only OTG port instead of Power port of my Raspberry Pi Zero W? In other words, how would powering the device through the OTG port instead of the Power port affect its operation? I don't want to be 2 seperate cable connection and cable clutter in my car.
louisvdwl
August 22, 2024, 17:44

Wifi issue Raspberry PI 0

Hey ! I installed Rapsbian via Raspberry pi imager on my Raspberry pi 0. It connected to wifi correctly. Subsequently I tried to activate the access point then from there it was impossible to connect it again to the wifi even after a complete reinstallation of Raspbian as at the beginning. Anyone have an idea? Thank you in advance
10ur24
August 22, 2024, 10:21

Send data to Pico W.

I'll make some little calculations on my computer then I want to send this results to my circuitpython Pico. How can I do that? Can Pico read file or my computer send data?
protitprollegro
August 21, 2024, 23:10

Wordpress Install Rasberry Pi Docker

Should be able to access via browser but can't unfortunately
root@joshua:/mnt/sata/docker/symphonyyoga# sudo docker-compose logs wordpress
wordpress-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
wordpress-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
wordpress-1  | [Wed Aug 21 21:08:42.481666 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.61 (Debian) PHP/8.2.22 configured -- resuming normal operations
wordpress-1  | [Wed Aug 21 21:08:42.481790 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:09:53 +0000] "GET / HTTP/1.1" 500 2719 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:09:58 +0000] "GET /favicon.ico HTTP/1.1" 500 2719 "http://192.168.50.91:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:10:13 +0000] "GET / HTTP/1.1" 500 2719 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:10:21 +0000] "GET /wp-admin/install.php HTTP/1.1" 403 497 "http://192.168.50.91:8080/" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:10:31 +0000] "GET / HTTP/1.1" 500 2719 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:16:26 +0000] "GET / HTTP/1.1" 301 423 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:38:41 +0000] "GET / HTTP/1.1" 301 423 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:38:49 +0000] "GET /wp-admin/install.php HTTP/1.1" 403 497 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:39:05 +0000] "GET /wp-admin HTTP/1.1" 301 596 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:39:05 +0000] "GET /wp-admin/ HTTP/1.1" 302 465 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | 192.168.50.113 - - [21/Aug/2024:21:41:13 +0000] "GET / HTTP/1.1" 301 423 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0"
wordpress-1  | [Wed Aug 21 21:55:58.358004 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00170: caught SIGWINCH, shutting down gracefully
wordpress-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.3. Set the 'ServerName' directive globally to suppress this message
wordpress-1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.3. Set the 'ServerName' directive globally to suppress this message
wordpress-1  | [Wed Aug 21 22:14:29.996782 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.61 (Debian) PHP/8.2.22 configured -- resuming normal operations
wordpress-1  | [Wed Aug 21 22:14:29.996935 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
wordpress-1  | [Wed Aug 21 22:41:32.617161 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00169: caught SIGTERM, shutting down
wordpress-1  | [Wed Aug 21 22:41:33.290713 2024] [mpm_prefork:notice] [pid 1:tid 1] AH00163: Apache/2.4.61 (Debian) PHP/8.2.22 configured -- resuming normal operations
wordpress-1  | [Wed Aug 21 22:41:33.290848 2024] [core:notice] [pid 1:tid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
niiiko.username
August 21, 2024, 22:35

IMX 290-83 camera module not working with Pi-5 camera ports, don't know how to fix. (Hardware+Softw)

Im trying to get an imx290-83 camera to work with my raspberry pi 5, but its not working. When i attempt to look at the camera using the libcamera list devices command, nothing appears, nor does it work using cv2 in python. I have tried all the instructions on this website "https://www.waveshare.com/wiki/IMX290-83_IR-CUT_Camera" But to no avail, nothing seems to work. Im using a cable adapted setup to get the cameras to work, using a FFC 22-15 pi zero camera cable adapter (because thats the connection type) but i noticed that the camera is flipped in the wrong direction using this setup looking at the image on the site, so I also got a 15-15 pin adapter and a 15-15 pin reversed cable so that I could make it connect. This still didnt work, but upon connection the cable got hot whenever connected. However, this was only done to one of the two cameras / cable sets / ports, so we know that this isnt the reason it doesnt render. I tried to check out picamera, but imx290-83 isnt supported, and ive also tried to redownload the libcamera imx290 drivers, also to no avail. Im genuinely at a loss for what to do, ive been trying at this over the course of like 2 months, ive followed every tutorial and tested every combination of things i could think of, and I cant find a way to conenct my camera. Any help would be greately appreciated, I attached some images of my unplugged in cable setup of the cameras for context (longer one with the adapter is the one that got hot, other is the standard.) (the two orange cables look different in the image, but they are the same type of cable and work identically, just not with the camera) I also dont know if this is a software or hardware issue, ive tried both and nothing worked. Camera was bought from here: https://www.aliexpress.com/item/1005004547062523.html Adapter cable was bought here: https://www.aliexpress.com/item/1005007015374924.html 15-15 FFC adapter bought here: https://www.aliexpress.com/item/1005006653501793.html
iamnotmega_
August 21, 2024, 17:24

Help needed with getting Pi 4b replaced

p.s: if your suggestion was to just buy a new one, then sadly this isnt possible because my parents already said no
.phoenix75.
August 21, 2024, 17:10

Raspi 5 freezes after 1 minute

Hello! I use a Raspi 5, 8GB RAM with active cooler starter kid. It arrived yesterday. I installed the Raspberry Pi OS 64 bit & Retropie yesterday. Today, I couldn’t open RetroPie anymore, so I updated. The error messages I became was: Error installing packages -the following packages have unmet decencies: libsdl2-dev: hängt von: libsdl2.2.0(=2.26.3+1rpi) but 2.26.5+dfsg-1 is to be installed I then installed the 2 packages manually. sudo apt upgrade libsdl2-2.0-0 libsdl2-dev After the installation, I could open RetroPie again. I rebooted the raspi and after about one minute it froze completely. I rebooted the raspi again but the same problem occurred.
ebcfireball
August 21, 2024, 16:45

Remapping caps lock to control.

Hey guys I have been trying to remap caps lock to control for about 3 hours now and I can't seem to get it to work. I keep getting wayland warning. Any help would be awesome.
iamnotmega_
August 21, 2024, 11:23

Raspberry Pi 4B issue

so when i tried to fix my pi with using the bootloader pi4 family option in the imager, it just gave me 8 flashes upon powering on and then continued blinking in the same pattern forever. according to the pi forum, 8 short flashes mean a SDRAM failure. i also found that pieeprom.upd is missing from the sd card.
lord0fthedogs
August 18, 2024, 19:58

magic mirror

Hi guys I want to make touchable magic mirror as cheap as possible like max 10-15 inch screen it will be good enough. Can anybody help me build it? But I need it as cheap as it could be. Thanks for helping guys!
redstoner507
August 18, 2024, 11:16

Build a telegraph (Morse key) with a Raspberry PI

Hi there, I wanted to build a morse key because i want to practice morse with it ! I have a 3d printer, a switch (10A, 250V), a Raspberry Pi 3B+ and some electronics. Do you have an idea on how I can connect it and collect the output, I don't know much about electronics. Thanks !
lodekennes
August 18, 2024, 07:38

Raspberry Pi Zero 2W and SPH 0645

Hi, It's been a while (+- 8y) since I've fiddled around with a raspberry pi but decided to give it another go. I want to be able record audio with a Raspberry Pi Zero 2W and an SPH0645 from Adafruit. I'm unable to get the audio recording working. This is my pin layout (SPH0645 -> Pi ZERO 2W): SEL -> GND (PIN 9) LRCL -> GPIO19 (PIN 35) DOUT -> GPIO21 (PIN 40) BCLK -> GPIO18 (PIN 12) GND -> GND (PIN 6) 3V -> 3.3V (PIN 1) I'm running the latest raspbian lite image (bookworm). I've followed this tutorial: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test Also tried running this script: https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/blob/main/i2smic.py I also tried installing raspberrypi-kernel-headers seperately and not updating the device. When running arecord -l the recording device shows up. When running arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav the volume meter stays at zero. I'm quite stuck at this point. Anyone who could help me out or got any ideas on what I did wrong?

rikkrt
August 18, 2024, 03:30

RP2040 based handheld

Hi guys! I am making a RP2040 based LED matrix handheld, and this is my schematic drawing of it. Do I need to change anything about it?
jackson321_
August 17, 2024, 22:22

future project assistance needed

Good afternoon I am new to the community and just joined a few moments ago. I have a few questions regarding raspberry pi projects and I hope to receive some assistance. I currently do not own any raspberry pi products but for the project, I am looking to work on I will need some assistance on product selection, compatibility, and Electrical technical support the current questions I have are as follows 1) I am unsure of which raspberry I should purchase because I am new to this whole thing. The project in mind would be setting up a row of buttons which once pressed tells the program to play a specific video so my question for the first one would be which raspberry computer would be best suited for playing different videos when a corresponding button is pushed 2) my second question is on compatibility. I know there are buttons that are sold either with a computer or separately, but I noticed the raspberry computer has USB ports. Would I for example, be able to use a stream deck to run the videos once the corresponding button linked to the video has been pushed. 3) my third question is relating to power supply and technical assistance. What is the power supply needed to run such a device? Would I be able to plug it straight into a wall or a power source that is always live so it will run all the time unless I click the power switch, or when power is added to the system 4) how big of a screen can the raspberry systems control if that is the correct word I should use basically how big of a screen can be used 5) also would I be able to store the files and the code on a USB or a SD card and be able to run the programs from there? For example if I wanted to add more videos or change the videos, would I be able to take a USB or SD card with the files on that and then plug it into the raspberry computer and push a button and it will play the video that is set up for that button if that makes sense
edenpa77_05518
August 17, 2024, 13:46

E: Unable to find package xfce4-statusnotifier-plugin Failed to install dependencies

I wanted my raspberry pi 400 to look like a mac so i searched for a theme I found https://github.com/techcoder20/MacOSBigSurThemeConverter so i type the command and it tells me E: Unable to find package xfce4-statusnotifier-plugin Failed to install dependencies. pls help
pipsqueeeek
August 17, 2024, 06:58

How many sensors?

Device: Raspberry pi 4B can I plug 2 or more sensors on a single SDA/SCL pin? for example: I plugged in an SHT20 i2c together with another digital sensor on a single SDA(GPIO 2) and SCL(GPIO 3), will it work?
illegitimate_egg
August 16, 2024, 17:11

Controlling Powered Components with a transistor

Perhaps your transistor has a different pin arrangement to the one shown here
eyes1337
August 15, 2024, 16:06

cant write to Waveshare ESP32-C3 Mini Development Board using arduino uno

anyone know how to write to it im stuck adding more info below
vaaazqueez
August 14, 2024, 19:26

DHT22 temperature and humidity sensor not working with Raspberry Pi 5

Good evening, I am starting in the world of the raspberry pi, and after having made small labs with leds, I want to get the temperature and humidity of my room. For this, I have bought in Alliexpress DHT22 sensor. I have seen and tried many tutorials, but I can't get any values. I always get the error: DHT sensor not found, check wiring. I am using a raspberry pi 5, and the python library adafruit_dht, as I have seen that some others do not work for the rb pi 5. As I said, I have tried several codes and none of them work. For example this one from https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/python-setup does not work for me (I can't attach the code because it is too long). The wiring I think is ok, I attach images. The resistor is 10K and I have also tested the 3.3V and 5V voltages offered by the board, and different GPIOs. Do you know what I could be doing wrong, maybe the sensor is defective? I hope you can help me! Thank you very much!



lefmis
August 14, 2024, 09:41

ESP32 Recomendation (lol i see the irony)

hi, im trying to get a recomendation for which ESP32 board i should use on my upcoming project. im new to ESP32 and have mostly just used RPI and arduino. this is the one i was looking at but didn't know if there was anything else i should know about where to buy it or which model (looks like there're are lots)
unkgba
August 13, 2024, 17:48

How to see video with Canon EOS M50 Mark II

Hello all, I would like to do a photobooth. I think that I already have all the materials needed. raspberry pi 5 touchscreen printer and a canon eos m50 mark ii, I would like to show to the user the video capture when he is taking a photo, but, i don't succeed. I successfully see my camera in my usb device (lsusb cmd) but I don't see the video media (which should be video0) in devices, if someone has the same concern or know how to solve it, please tell me
rubyurek
August 13, 2024, 05:33

Adguard Home is installed, but it does not block specific ADs on specific pages

Pi OS Lite 32Bit is installed as I have a Raspberry Pi 5 with 4 GB. I have also installed and customized my Adguard Home on it. DNS server on my router has also been customized so that every device connects to the Adguard. The problem with the whole thing is that ADs are not blocked properly on my computer & smartphone. Streaming sites such as Streamtape continue to display ads, although there are already lists for them on my Adguard home. I am now at a loss as to what could be the reason why it is not being blocked properly.
sparkeras
August 11, 2024, 23:16

SSH Server Project

okay guys i’m pretty new to the pi and to linux so bear with me as i have an idea. i’d like to leave my pi on at university 24/7 connected to an external hard drive and to the campus wifi. the idea being that when im working on my laptop i can ssh to my pi to send, receive and backup files to its external hard drive rather than storing everything i ever do on my laptop’s linux partition. obviously i cannot modify the router settings at all so how can i set it up so that i can ssh into my pi on any network? i guess i need to forward a port? i have only managed to ssh through ethernet so far and i should be able to figure it out on a LAN but this is a little different.