iursevla
December 9, 2023, 19:09

Raspberry Pi Project for barn surveillance

Key points: - Remote barn (1km+) with no internet, only mobile. - 2 entry points: door && gate. - Detect intruders -> send SMS/call && send video to a remote server. Setup: - Raspberry Pi 4 or 5. - Door sensors (Zigbee/LTE) - Night camera - GSM/LTE-M module - BLE/Zigbee button Life cycle: Shutdown detection on off-hours (hours where there's no need to act upon detection). Generally, between 7 am and 7 pm. When movement is detected by the BLE/Zigbee sensor, the Raspberry Pi should receive the notification and then in parallel do the following: - send an SMS message/make a phone call to my mobile phone (or my parents) - start taking an X-second video with a night camera, then compress the video and send it to a remote server that I control - start playing some siren sounds in an external sound system Other considerations: - Local BLE/Zigbee button for system control. - Remote system stop capability. Questions: 1. Raspberry Pi 4 or 5? I'm considering at least 2GB RAM for video processing. Is it enough/too much? 2. Small (64GB) M2 SATA or NVME SSD. Recommendations? 3. Zigbee or BLE for the door sensors? The walls to the secondary door have +-50cm thickness and the door is ~8 meters from the place I'm thinking of placing the Raspberry Pi. I've read about some interference between Wifi/USB3 modules and Zigbee but don't know how much of a problem this is. 4. Night camera recommendations? 5. Considering an LTE-M module. Any recommendations? Appreciate overall recommendations and feedback on the system's design and potential improvements or flaws.
chopps568
December 9, 2023, 19:09

where to put os_check in bootconfig.txt for a pi5 to boot using usb ?

I tried the top then i tried the bottom. I also read something about usb_boot=1 ... any help would be apreicated. I have a new boot loader and it seems to be working but still prompts for os_check=0. TIA
yoni2003
December 9, 2023, 19:09

unable to play musicscript in systemd service

If i run python3 motionsensor.py it works but if i run it through a systemd service it gives this error: Dec 06 16:36:05 raspberrypi python3[2244]: pygame 2.1.2 (SDL 2.26.5, Python 3.11.2) Dec 06 16:36:05 raspberrypi python3[2244]: Hello from the pygame community. https://www.pygame.org/contribute.html Dec 06 16:36:05 raspberrypi python3[2244]: Traceback (most recent call last): Dec 06 16:36:05 raspberrypi python3[2244]: File "/home/yoni/scripts/motionsensor.py", line 22, in <module> Dec 06 16:36:05 raspberrypi python3[2244]: pygame.mixer.init() Dec 06 16:36:05 raspberrypi python3[2244]: pygame.error: ALSA: Couldn't open audio device: Unknown error 524 this is my systemdfile: [Unit] Description=Motion Detector Service After=network.target apache2.service [Service] ExecStart=/usr/bin/python3 /home/yoni/scripts/motionsensor.py WorkingDirectory=/home/yoni/scripts StandardOutput=inherit StandardError=inherit Restart=always User=yoni SendSIGHUP = no [Install] WantedBy=multi-user.target thank you in advance!
picoband_71481
December 9, 2023, 19:08

Pico Android Gamepad

https://www.raspberrypi.com/news/custom-usb-games-controllers-with-raspberry-pi-pico-hackspace-42/ This project makes a similar gamepad for PC using keyboard keys for the input presses, is there a better method for android or would this work
gelid_cryotheum
December 9, 2023, 19:08

Can I assign a static ip address to a ethernet connected pi using the same router as my PC does?

Hi all, I have a Pi connected to my PC via direct ethernet cable (as in, one end plugged into PC, one end plugged into pi). Is there a way for me to assign the ip address of the ethernet port to use the same router as my pc does? (aka the wifi router). Currently when I try to set a static ip address using the router address it just doesn't work. I need to do this to be able to ping the raspberry pi from my virtual machine according to this: https://forums.virtualbox.org/viewtopic.php?p=543989#p543989 Relevant info: Model: 3b+ OS: raspbian Router IP: 192.168.0.1
collin_kartan
December 9, 2023, 19:09

Could somone help me setup a chritmas light show? with a raspberry pi 3 b

Could somone help me setup a chritmas light show? with a raspberry pi 3 b
stolenpies
December 9, 2023, 19:08

Connect Pico w to PC via bluetooth

Hi all, following on from my last question, Iā€™m looking to connect a pico w to a pc with built in bluetooth so I can use it as a keyboard. What is the best way to go about doing this? Thanks, Greg
athinaxenou
December 9, 2023, 19:09

Unable to install PyTorch in Raspberry pi 4

Hello, I am doing an image processing project using raspberry pi 4. I've saved the weights of the model in a pth file and passed it onto a raspberry pi with a usb stick. In order to load the model in raspberry pi so that I can use the camera I need to import PyTorch to load the model weights. The current version of python I'm using is 3.11 and every time I try to install torch it says "package python3-torch has no installation candidate". Any help on this would be appreciated!
stolenpies
December 9, 2023, 19:08

Bluetooth Keyboard Brain

Hi all, Iā€™m completely new to the world of piā€™s and Iā€™m wanting to build a wireless number pad, with an additional analogue thumb joystick that I can assign each button to a key press (about 20 buttons). I was going to use the pico but from what I can tell there is no way of connecting it via Bluetooth. Is there any other options for a board which will do what I need? A scour of Google and YouTube hasnā€™t given me any luck!
moge_cuzyy.py
December 9, 2023, 19:07

blue dots on screen with raspberry pi 4

Hey, i have a question. Since yesterday i have notices blue dots on my screen, so i am pretty afraid that my hdmi's ports are damaged. Here is some picture of the 2 HDMI ports. Are they damaged ?

qwesaunt
December 9, 2023, 16:27

waveshare 4g pi hat error

following the guide from core electronics, i tried setting my pi up with waveshare 4g hat and i have a registered sim card but when i try to send a txt or a call, even the gps, i get an error in the program
ziggy00000
December 9, 2023, 19:07

Battery Questions

to power up my rpi5 what would work best "Adafruit Powerboost 500 LiPo Charger" or would "Adafruit PowerBoost 1000 Basic - 5V USB Boost @ 1000mA from 1.8V+"
seantrg
December 9, 2023, 19:08

Trying to Install Raspberry Pi OS on a Kano computer

Hi! Today I tried to install Raspberry Pi OS on the Kano computer. On the box, it said the computer is a Raspberry Pi 3, so I thought it was just a Raspberry Pi 3 with a custom OS, so I flashed Raspberry Pi OS to the SD Card, and so far its been 15 minutes and the screen isn't giving a signal. I'm not familiar with Raspberry Pi, so can someone please help me?
fabioselau
December 9, 2023, 19:07

Best framework for app in kiosk mode?

Hello, I was thinking about making a Flutter application that builds for Linux and installs on a Raspberry Pi, but there are some websocket packages that don't work on Linux, only on Android. I was thinking about using Electronjs to make this application, which one do you recommend? For development, I have experience in javascript (vuejs, nodejs/, nestjs, hence the preference for Electron) and Flutter.
0cyux
December 9, 2023, 19:07

kali linux wifi not working

every time i click on NetworkManager, it says ā€œdevice not managedā€, making me unable to connect to wifi. i tried to restart NetworkManager through the terminal, the only thing it outputs is: Failed to restart network-manager.service: Unit network-manager.service not found.

leeroiyy
December 9, 2023, 18:42

raspberry pi zero 2w will not boot i think

im trying to set up raspberry pi zero 2w just to use i want to do headless but im just trying to get it working right now ive try diffrent SD card brands and size and try to do with desktop and plug in a hdmi to see if it have a problem but just getting a black screen there only 1 LED it stays on for 1 sec maybe less then flash led turns off then flash then go back to redoing the loop ive try many ways to try and install it with headless ive done the over the USB cable with the WIFI and the desktop one on windows 10 i have try Etcher and Raspberry Pi Imager dont know if i dont know how to install it or if i got a bad one its brand new
kadtoshi
December 9, 2023, 19:07

Use a SD Card or only SSD for NAS?

Hey everyone, my PI 5 will soon arrive. I have also bought a Crucial x9 pro 4TB portable SSD. I will just use this PI as a NAS with plex or jellyfin. Is it best to install both the OS and store the media on it or should I install the OS on a SD CARD and keep the SSD as a pure media storage space? What's the best solution to keep it as simple and fast as possible? And of course the longest lifespan as possible.
cupcakekitten
December 9, 2023, 16:19

Radio Stations Project

Hey everyone I'm following this video: https://youtu.be/4yhhW2ekgN8?si=_5koepEtkHXMo-Vg ad a first raspberry PI project, and I'm stuck at 4:55. He enters the IP address password and says it's the default one titled "toor", but it doesnt work when I do itz granted the IP I'm using is not the same as his. Is there any way I can figure out the password to use?
maxwalks
December 9, 2023, 19:07

Raspberry Pi 4 GPS module for wardriving

Hello, i have a Raspberry Pi 4B and I want to create a wardriving setup and i already have a wifi adapter but I don't have a GPS module, do you recommend any that work with kismet and is compatible with a Raspberry Pi 4B?
rei.556644
December 9, 2023, 16:21

Pi 5 Emulation

Are there any emulation Linux distros out there for pi five besides Botocera, as I have had many problems with it.ļæ¼
salvom7
December 9, 2023, 19:07

Raspberry pi 4 Black screen

I have a raspberry pi 4b when I turn on the pi the green led blinks 11 times and then stays on, during boot nothing appears on the screen and after that, same thing, and if I try to access it via ssh it fails, sorry for my terrible English
theukwidowmaker
December 9, 2023, 19:07

ubuntu vs pi os on raspberry pi 5?

for thoose of you, who have a pi 5 is the performance better between pi os or ubuntu? im using pi os and noticed its very laggy when using firefox
vdrianari
December 9, 2023, 19:06

Can't import openCV on rpi 4b

Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. > import cv2 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/lib/python3.9/dist-packages/cv2/__init__.py", line 181, in <module> > bootstrap() > File "/usr/local/lib/python3.9/dist-packages/cv2/__init__.py", line 153, in bootstrap > native_module = importlib.import_module("cv2") > File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > ImportError: /usr/local/lib/python3.9/dist-packages/cv2/cv2.abi3.so: undefined symbol: __atomic_store_8
semperblue
December 9, 2023, 19:06

Processor Scheduling

Having trouble scheduling the processor to perform two long running tasks. I could simplify this to using the second core, but I am trying to achieve it using a single core chip in the end. If anyone has any good resources for mcu scheduling please share.
itsssmiixy
December 9, 2023, 16:19

Raspberry Pi 3B+ issues

I have been given a 3B+ from one of my teachers at my school. My goal is to get it running again. Ive tried 3 different os install types (NOOBS, 64bit full, and 64bit standard) and a different Micro sd. It could possibly be a dead Pi but Iā€™m not fluent with Pi boards. I have power to the board, a os on the sd card from the Pi imager software, and still get no sign of life from the board. Power light comes on but activity light doesnā€™t come on/flash. Iā€™m not seeing any physical damage or burnt/fried parts. Can anyone here help? (Ethernet has been connected and the hdmi cord does work)
duckersmcquack
December 9, 2023, 19:06

Use corsair RGB strips for pi 4?

Hoi, i wanna use my spare corsair RGB strips for a project, and just read they are powered over 5v, do you think the pi can handle supplying amps enough to 1 or 2 RGB strips through lightning node?
ziggy00000
December 9, 2023, 19:08

RPI 5 JST cable ports?

recently picked up 2pin jst cables to connect a batter via USB LiIon/LiPoly charger but theres no ports on the 5 theyr all small is there any specific jst pin variant available
oops.se
December 9, 2023, 18:40

Rpi3B NAS HELP!

It depends on how advanced NAS you want. Just installing Raspberry Pi OS and add Samba so you can share files with Windows/Linux/Mac computers is quite trivial, 10-30 minutes work. See https://www.raspberrypi.com/tutorials/nas-box-raspberry-pi-tutorial/ If you wish a more advanced NAS you can pick a NAS distribution and then you get Web management and more features integrated in one place, the Web interface.
doeyo
December 9, 2023, 19:06

Nuanced question about USB/MIDI Controllers + Arduino/Raspberry Pi

I'm no beginner to software, but when it comes to hardware I am mostly an outsider. I enjoy leveraging Pi 4B for various projects, but I have wanted to take on a larger project more recently. I want to make a USB/MIDI controller of various potentiometers, slide pots, buttons, etc. and connect the controller to a raspberry pi with an LCD screen running software that reads the USB/MIDI arduino controller. My questions are: 1. Can a single Raspberry Pi 4B be capable of running Pi OS on a 7"+ LCD, outputting sound via RCA or 3.5mm output, and simultaneously also read digital/analogue ins from knobs, faders, buttons, and switches and convert them to USB MIDI for software on Pi OS to interpret or would I be better off using an Arduino in addition to the Pi as the usb midi controller handling the inputs 2. How can a Raspberry Pi 4B output sound via stereo RCA and 3.5mm simultaneously? How would I leverage a DAC breakout while still being able to use the 4-pole 3.5mm audio jack already on the pi? 3. In the case that I have both an arduino & raspberru pi 4b, what type of power supply situation would be needed to both power the Pi + LCD and the Arduino? Can I power it from a single power cable? Apologies if a lot of these questions are naive, I am simply interested in taking on a larger hardware project, but most of my tacit knowledge really exists in software so I'm looking for help, thanks! :)
donedecker
December 9, 2023, 19:06

How to install 3.5 inch display on pi 4?

Hello can someone help me install a 3.5 inch display on the pi 4 64bit pi os? I've already tried the script but it doesn't work: https://github.com/tux1c/wavesharelcd-64bit-rpi When I run it the Rasberry pi restarts but the image is not displayed on the 3.5inch display. It just changes from white to black.