thunder07337
March 10, 2024, 15:08

Pi zero 2W - LTE 4G cellular

tarkaguy
March 10, 2024, 13:13

Flask_SQLAlchemy doesn't install properly | Python | Linux server | Rpi5

Hello, I'm trying Rest API and I want to make a database using Flask_SQLAlchemy but for some unknown reason when I install it, it doesn't let me fully use the library. Such as functions like Column. When I try running main.py:
sqlalchemy.exc.ArgumentError: Mapper Mapper[VideoModel(video_model)] could not assemble any primary key columns for mapped table 'video_model'
I tried installing using:
pip install Flask-SQLAlchemy
sudo apt-get install python3-flask-sqlalchemy 
Both worked and output that it's already installed.
ken_t1
March 10, 2024, 12:32

How to control my Pi and computer with one screen, one keyboard and mouse ?

Do you think i could use such a thing to do what i want ? https://www.amazon.fr/gp/product/B01N6GD9JO/ref=ewc_pr_img_1?smid=AXZ3JQ1GVFPIF&psc=1
herogaca
March 10, 2024, 11:41

DIALOG DA9090

Looking for this thingy
shishio3708
March 10, 2024, 08:37

Humidity safe sensors

Hi all, This would be my first Raspberry PI project, but I have extensive experience with embedded systems (10+ years ago), and have 10+ years of professional software engineering. I am currently looking into building a environment control system with a Raspberry, but I have several questions. ## Question 1 This project doesn't require too much power: - I think 15-20 sensors/switches, persisting the data in some form (SQlite would be great). - Expose a website with some graphs, and metrics So it seems a Raspberry 5 would seem overkill, although I could re-use this PI for another project later this year. Any tips on how to attach so many sensors in a sane way to the PI would also be welcomed. ## Question 2 None of the sensors I found seems to list safe temperate & humidity operating ranges. Quite soms of the sensors I want to use have exposed PCBs, so I am afraid exposing them to high humidity is safe. For example: - Pi Camare 3 NoIR (cannot have any light during cycle), is it safe to operate outside or in humdity that sometimes ranges towards 80-90%? If not, what are some solutions? ## Question 3 What are some ways to package this in a sane way? I mean I don't mind a lot of long wires with sensors coming out of the PI, once it's properly installed it would not get detached/re-attached for long times. However if I want to keep the Raspberry PI out of the high humidity enviroment, I would need to work with long cables. Including a ~2m ribben for the camera (or two). Thanks in advance! Looking forward to all feedback, and ideas and getting started wtih my PI adventure.
mr._robot
March 10, 2024, 02:20

In regards to Pi's 5 HID Capabilities

I have a short one: As far as I know, the Pi 5 has two USB Controllers. I am interested in having SIMILTANEOUSLY one USB Port act as a Host and receive input from another Device (Mouse in particular) and another one to act as an HID device and emulate a Mouse, Keyboard etc.. Can that be done? (I reckon so) In specific, what Ports would provide me the flexibility to use as HID? The Pi 4, for instance, has only that Capability on its USB-C Port. For the Pi 5 I cannot find any information online (if you know where I can find it, some hard manual, post that too so I can use it for the rest of my questions). Thank you π lovers.
pprost
March 8, 2024, 23:07

how to connect motors for a drone to a battery on a breadboard

Im pretty rusty with raspberry pis as i have been focused on react.js lately. But I have just started a project where I make a drone run on a raspberry pi. I have took out the motors from an old drone I had and stripped the wires so I can just plug them into a breadboard. Can anyone help me be able to control the motor by using a gpio input but powering it with a battery? I can send pictures and elaborate, just ask! Thank you!
animelover1212
March 8, 2024, 21:47

rasberry pi simple blinking led project help

Hi. So for school I bought a bread board and I’m supposed to make it so that the led bulb flashes. I have the code and it runs but the led lightbulb doesn’t flash. I have a good feeling it’s the wiring. I’m extremely new to this and any advice is appreciated. Code: https://github.com/Freenove/Freenove_Super_Starter_Kit_for_Raspberry_Pi/blob/master/Code/Python_Code/01.1.1_Blink/Blink.py
class='img rounded m-1' src='/assets/assets/1215777877585563689.webp'>
luke_202
March 8, 2024, 18:22

raspberry pi 4: under voltage detected

Is there any bypass to this? It’s stuck on my terminal and I can’t do anyrhing
generalkenobi_2
March 8, 2024, 18:06

KEA / ISC DHCP per host gateway [SOLVED]

Im using a Pi to run a Dhcp server because I dont want my roku TVs updating on their own, they have no means by which to statically assign an ip and my router / current gateway doesnt allow granular enough firewall controls to allow me to block traffic to a particular domain. This led me to search for a means to control the dhcp to change the gateway for just those matching the specified mac addresses / oui prefix to that of my linux firewall which supports iptables, more than enough to block specific hosts.... What software do you suggest how should I go about it?
patnukem
March 8, 2024, 15:41

pico pi Gameboy video board

Hi, I’m relatively new to pico pi and developing for them. I’m currently trying to write code to convert the video input from an original gameboy to composite video. Currently there are several GitHub accounts with this functionality for VGA output, and though that does work when I tested it, needing two steps for this project seems wasteful DMG>VGA>composite not a great workflow. DMG>composite should be a bit easier but my lack of skills in programming in this language and confusion on video signals have left me stuck. This project has become less fun as I go on and so id appreciate any help in figuring this out. Here are two examples of the vga version for reference. Photo of my pico running vga. https://github.com/andy-west/consolized-game-boy https://github.com/joeostrander/consolized-game-boy
mokkthebrave
March 8, 2024, 04:41

How to overclock pi

I’m running a Minecraft server for my friends on a raspberry pi 4, and I’m trying to overclock it, because it was timing out everyone. When I try, there is no option in the config (sudo raspi-config) and the things to uncomment weren’t in the config.txt file (location: /boot/firmware/config.txt). I want to overclock it to 2.3GHz if possible.
wildfun_n_sunshine
March 8, 2024, 01:13

Project Facilitation using Nextcloud (on Pi?)

I was originally going to install Nextcloud on Raspberry Pi using Kubernetes because I cant afford to build a proper server, so in the future if i needed more resources, i could simply add an extra worker node and expand ad hoc. over in the Kubernetes chat they said, "Nextcloud doesnt play well with clustering (clones doublewrite > corruption)". So now that i find out this issue, i am starting over. Im trying to figure out what is the best way to move forward. i have a few options that i can tell but trying to see if theres a better option i missed, or from these options which would be best my current system is two desktops towers, two Pi4's, laptops one tower is acting as a windows rdp server for multimedia production. it has one, more powerful, video card the other tower is linux acting as general workstsation. it has 2 lower power video cards. so here i can have many screens on my workstation, and offload the rendering to my own little local render farm the laptop is 2in1 convertable to use as a digital canvas. my workflow will go something like - Open Office(Client Breif) > - QGIS (Site Analysis; inc drones and meteorological stations) > - Freeplane (Brainstorming) > - Pencil Sketching and Drafting (Brain Storm continued) > - Pen (Draft Finalization) > - Affinity Designer (Vector Digitization of Floor-Plans and Perspective) > - Affinity Publisher (Storyboarding) > - Software T.B.D. (Engineering/Earthworks/Construction Takeoff/Infrastructure) > - Unreal Engine, Blender (Modeling) > - Affinity Photo (Post Production) > - DaVinci Resolve (Video) > - Studio One (Audio) all of this, not including the website side of things (cpanel, dokuwiki, etc), this is currently on godaddy, but i was told godaddy is terrible and i should move to AWS tldr, i need to share assets from all these softwares between my computers on lan, and also need to collaborate with team members all over the world for geotechnics, landscape architecture, ecological sciences
spidertravler
March 8, 2024, 00:49

WifiPineapple[on-boot ssh accessible connection. Implemented for rasberrypi4B on-boot]

The Wifi Pineapple has openwrt br-lan on 172.16.42.1 with an access point to allow ssh access how can i implement an empty non-internet accessible ap on my rasberry pi 4B so that i can ssh into the pi without wifi?
perfumecola11
March 6, 2024, 18:12

Raspberry pi zero 2w, Kali Linux. (not connecting to WiFi)

Good day, folks! Quite new to the raspberry community, so as expected - I got some problems with set-up-ing my pi0 2w. 1) I ran Raspberry Pi OS on it, and it worked perfectly. (was able to ssh to it via puty) 2) Then, I tried to install kali on it : - It booted. - However, did not appear on my wireless-clients' list. 3) Decided, to add a blank ssh file to the BOOT: - It booted. - and, again, it did not appear on my clients' list. In advance, Thanks for any help or advice given from you.
wisiewig
March 6, 2024, 16:21

pi camera isnt working

<@1071178789939331253> - this is what is shows
brotankfrank
March 6, 2024, 07:03

HDD wont mount

Updated pi last night. It froze while restarting services i think? so i shut it down. Now neither of my hard drives will mount. They are both set to automount in fstab. They also show up in fdisk and blkid
centri.101
March 6, 2024, 05:40

Security camera project -pi 5 (8gb) with pi camera module 3 or pi camera module 3 NoIR

Looking for info on this project. Was playing with MotionEye OS with camera v2 and Pi Zero before but seems the newer pi5 and v3 cameras aren't supported.
ludus_0
March 6, 2024, 00:01

USB Camera for Raspberry Pi 4 B, as well as external power supply for the Pi only

Hello, I am currently working on a project that will take in pictures through a camera. I am using the Raspberry Pi 4 model B. I currently have the Pi Camera that uses a ribbon cable connection, but I would like to use a USB camera instead, such as Arducam, as I believe it would be more stable than with a ribbon cable connection. I was told that any usb camera that works with Linux-based OS (which is basically Raspbian) would work in my use case. But, does anyone have experience using a USB camera with Raspberry Pi 4 B? If so, which model camera did you use? It doesn't have to be Arducam, I just said Arducam because that's the only one I know exists that works through USB. Alternatively, if anyone has used Arducam and has had a positive experience with it (USB connection only) - I would also appreciate that. Raspberry Pi 4 B can also connect to Bluetooth, but I do not think there are any cameras that work with the Pi through bluetooth (although if anyone has ever done such a thing, I would be very interested 😀) The second thing I wanted to know was suitable power banks/portable power supplies that I could use to power my Raspberry Pi 4 B. There are thousands of power banks online, but I don't know which one would suit the power requirements of the Raspberry Pi 4 B. If anyone has experience or has used a power bank to power their Pi 4 B, it would be greatly appreciated. Thank you in advance for all the help!
keeerrrkkkk
March 5, 2024, 18:17

Syncing time on Rasperry pi 4 B

any methods on how to sync time on raspberry pi 4 B on boot up
gooddillhunting
March 5, 2024, 04:28

Having serious issues getting Kali for my Pi 4 B

Not sure if there is an issue with the ARM iso, I'm going off the website. I've tried both the 32-bit and 64-bit. When I flash it to the SD card and put it in the Pi and plug everything in the monitor(s) have not responded and said there is no signal. I have adjusted the config file based on some YT videos and nothing happened. I have totally scrapped Kali and just went Pi OS and reached the same problem. I don't think it's the SD card because I took the SD card from my brother's Pi and it doesn't work either but works fine on his. What am I doing wrong?
zeanox.
March 5, 2024, 00:15

Raspberry Pi 4 Internet issues?

Hi all Recently brought myself a Raspberry Pi 4B and have ran into some issues. Currently the system is all set up for what i require however. I am unable to connect from any other network. Whenever i ping the IP from an external network once again no response Is this an issue with my network configure on the rpi itself or is this to do with my current network (University accommodation🤢 ) Please let me know as i am completely clueless! OS LITE 64X
enclave.dll
March 4, 2024, 13:16

connecting more than 20 buttons/leds on the GPIO

hi i am making a console that will have buttons and leds more than 20 and they will function with python but the problem is that i dont know how to extend the pins i think i need the product on the picture attached to this message if you can or cannot help please answer your help will be appreciated i will also need some help with the python part like the way it will read each 40 pins on the extender...



danielw2909
March 3, 2024, 20:19

Crontab not working

Hi, I have never worked with cronjobs before and I need a little help. I have a Pi 5 that hosts a small website using a python script. Now I want the Pi to reboot every day at 5 AM and automatically start the server. I searched for ways to do that and I came around crontab According to a guide I created a new job sudo crontab -e I added the following lines: @reboot root sleep 60 && sudo python /mnt/ssd/server.py > ~/logs/server.log 2>&1 0 5 root sudo reboot I added the sleep to make sure the ssd with the server on it is mounted by the time the job is executed However after rebooting nothing happened. So for debugging I added: root echo &date >> ~/logs/minute.log This should write the current time and date to a minute.log file But after waiting for a couple of minutes still nothing happened I have no idea what I missed and why it is not working. Does anyone have suggestions what I can try to make it work?
fourleavedpotato
March 3, 2024, 19:56

Pi Zero USB peripherals

Is it possible to supply a 5V 900mA peripheral with power with a Pi Zero W? Or do I need to use a powered hub like this: https://www.amazon.com/AmazonBasics-Port-2-5A-power-adapter/dp/B00DQFGH80/
michele00
March 3, 2024, 19:13

Raspberry Pi 4 Power Consumption Concerns with Multiple SSDs for Hosting Encrypted Cloud

Hi there, I'm using a Pi4 with three SSDs (128GB, 512GB, 512GB) attached to a USB 3.0 hub, which is in turn connected to a USB 3.0 port on the Raspberry Pi. I'm currently hosting an Encrypted Cloud on it. Do you think the Raspberry Pi can handle the power consumption from all these devices? A corrupted bit could result in an inaccessible file.
jaycampcanada_17849
March 3, 2024, 18:44

pi zero 2w with v2 camera not detected

I am a newbie to the pi zero 2 w. I need guidance and help to understand what I am doing wrong. I have connected the camera module 2 to the zero 2 w and cannot get it to detect or work. I have tried libcamera commands with no success. No camera detected. I am running 32bit legacy os bullseye as it was the recommended in rasp-pi imager. Also using the official pi case with supplied camera cable. Any advice would be appreciated. https://i.postimg.cc/sQnr0N1w/IMG-2486.jpg https://i.postimg.cc/GTHC0xyr/IMG-2487.jpg
f1resiii
March 3, 2024, 01:16

Project Happy Birthday son

Hello, so today it is the birhthday of one person from my family and I wanted to do a project with a buzzer and a photocell, I have raspberry pi 4 and a arduino uno I don t know wich one I should use. But the supose was that when the photocell detects the light it plays the Happy Birthday song
ratman_al
March 2, 2024, 22:17

pi wont boot need help

brought this from facebook market place for 20 quid need some help getting it running.
25u.army
March 2, 2024, 22:04

pi5 not booting

Currently I have an SD in with Kali for raspberry pi and raspberry pi OS installed on seperate SD cards. Using a display with micro hdmi to hdmi, It just shows no signal on the monitor. I get the same blinking pattern when there’s no as card and when I use both different SD cards that are flashed. One long flash followed by 2 short flashes on boot. tried reformatting raspberry OS, when you select an os on the Imager instead of selecting raspberry pi os select "erase" using 64 bit. I’m using a sandisk sd Another thing to note: my fan isn’t turning on