oreo4492
April 16, 2024, 19:46

Work project, trying to figure out what steps to take

I took a new job for an agricultural company, but something unexpected came up that they want to develop. I'm trying to figure out if I need a Pi, and if so, the best steps to take to see the project to fruition. In agriculture, there's big silos that store grain. People have developed expensive systems to monitor that grain through large cables secured inside the bin. The cables are built of a string of sensors that measure temperature and moisture. The first picture is an example of the cable. Inside that green shroud, is a wire with these sensors on it every 4 feet. Each sensor has it's own serial number, and returns information regarding moisture and temperature. They are read through an app for diagnostic purposes - pictured in image 3, or are relayed every 66 minutes via cellular data to a cloud service that lets a customer read the data on the website or phone app. Those cables (sometimes a single cable, sometimes up to 6 or 8 daisy chained together depending on the size of the silo) connect to the board in the last image. That board has a two pin output that plugs into a device (image 5) you connect to via bluetooth on your phone that lets you see the information from the cables. The purpose of the system is to set a temperature and moisture range, and the system warns you if the grain falls outside those parameters. What my boss wants is a simpler system. One that runs off an Arduino or Raspberry Pi, that constantly monitors the temperature/moisture signals, but is connected to three LED lights to give a visual indication of the condition of the grain. Green means OK, Yellow means rising/danger, Red means check the grain. So basically the simple system would be Sensor cables > Raspberry Pi > Lights. Temperature and moisture range would be programmed via a bluetooth connection on a phone app. What I'm wondering, is where do I start with this? Arduino or Pi? Maybe online resources that would give me a crash course. Thanks for any input or help!




ebmar
April 16, 2024, 14:18

pivpn and decrypted key

My brother is trying to connect his Ubuquiti Dream Machine to my vpn box. Openvpn. But it says that it needs decrypted key. I have googled for hours, but I can't find any easy way to do it. Can anybody help?
.jjsd
April 16, 2024, 12:59

mpr121 interfacing with pico

so im trying to interface 2 mpr121 sensors to my pi pico and when i try to assign it a different address by connecting addr to SDA it results in giving me a bunch of devices(only has one connected) and on SCL i get no devices found and when i try it by connecting ADDR to VCC the pico heats up and stops working almost instantly also its been annoying how my pico keeps disconnecting alot and me having to do the whole press and hold bootsel and replug every few mins
butlerian_jihadist
April 16, 2024, 03:46

pi400 hyperpixel installs et cetera.

So as of last night, the images supplied by raspberrypi imager for the 64bit are broken apparently. Imagery is failing to config user, hostname, ssh, wifi, regional settings like keyboard, wifi region, etc. Also, the config.txt install for pimoroni screens and some other displays are now broken. Was this accidental or on purpose? And does anyone know if raspi' has previous versions posted anywhere so that I can pull down something pre-break before it's gone?
leander.bdn
April 15, 2024, 14:10

Is a Pi Zero 2W enough for my project?

Hello, I want do build a device with a display on which some stats (for example current speed and more) are shown for a car driver, is a Pi Zero 2W enough to power a display, some sensor modules (f.e. gps module, temperature sensor) and let a small code run on it?
djhiphouse
April 15, 2024, 13:10

help create a aim assist for PlayStation 4

i have the issue that my mouse dont move correctly to enemy on my Playstation 4 using arduino Leonardo #
maxwalks
April 14, 2024, 18:36

NodeJS site on a Raspberry Pi 5

I have a Raspberry pi 4 and 5. I ran my site on my pi 4, github: https://github.com/maxwalks/ChatApp everything ran fine, no problem at all. I use pm2 so i can access it with local ip I did the exact same on my raspberry pi 5 and the website loads once and when trying to reconnect it just doesnt work. I will link a video. I also tried using ubuntu server instead of debian. Same result. Keep in mind when using localhost the website works fine on my pi 5, just not when using something like nginx or pm2 to be able to connect it outside of the device. in the first video it is running on my raspberry pi 5, not working. in the second video is another server running Ubuntu Server, did the exact same yet it works on this server but not on a raspberry pi 5. https://www.youtube.com/watch?v=NBLIujruqsc https://www.youtube.com/watch?v=fOvElSWwKbg (Yes, you can know the public ip i will probably delete the server anyways)

Warning: Undefined array key "author" in /var/www/html/index.php on line 102

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/index.php on line 102
k9t33n
April 14, 2024, 14:58

wireguard container trouble

can anyone see whats wrong with this wireguard docker-compose.yml file?
yml
version: "2.1"
services:
  wireguard:
    image: lscr.io/linuxserver/wireguard:latest
    container_name: wireguard
    cap_add:
      - NET_ADMIN
      #- SYS_MODULE #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - SERVERURL=pi5vpn.duckdns.org
      #- SERVERPORT=51820 #optional
      - PEERS=3 #optional
      #- PEERDNS= #optional
      #- INTERNAL_SUBNET=10.13.13.0 #optional
      #- ALLOWEDIPS=0.0.0.0/0 #optional
      #- PERSISTENTKEEPALIVE_PEERS= #optional
      - LOG_CONFS=true #optional
    volumes:
      - /root/dockerdata/wg:/config
      #- /lib/modules:/lib/modules #optional
    ports:
      - 51820:51820/udp
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    restart: always
    networks:
      - mainnet
networks:
  mainnet:
    external: true
i can succesfully connect but it doesnt give me internet access and im using duckdns. this is the docker-compose file for that
yml
  dynamic-dns:
    container_name: dynamic-dns
    image: joweisberg/dynamic-dns:latest
    restart: unless-stopped
    environment:
      - TZ=Europe/London
      - USER=not tellin
      - PASSWORD=not tellin
      - SERVICE=duckdns
      - HOSTNAME="pi5vpn.duckdns.org"
      - DETECTIP=1
      - INTERVAL=10
this is on my raspberry pi 5 running raspberry pi os.
tinyfold
April 14, 2024, 01:06

realvnc icon not showing

Hi I am using a raspberry pi 4 and there isn't a real vnc icon, even after enabling vnc and restarting
leqitnyy
April 13, 2024, 21:11

Can i setup a server on raspberry pi pico?

I'm thinking about buying a Raspberry Pi Pico W, my intentions are to make a website that my girlfriend can access and a minecraft server i could play with her on. Its nothing serious, also I have very basic knowledge on the topic, please let me know if it is possible and if I would need anything other than Raspberry Pi Pico W, my computer and my wifi to run the 2 servers. Thank you for help.
stolenpies
April 13, 2024, 20:53

Control Pi Pico with SMS text

Hi all, as the title suggests, has anyone managed to control a pico with an SMS message? If so what’s needed?
tomatoes6868
April 13, 2024, 19:02

help finishing cyberdeck

Anyone have any idea what I'm doing wrong. When it is connected to the breakout frenovo board it won't turn on but when I disconnect it. It does turn on I'm so confused

animelover1212
April 13, 2024, 18:17

did I break my breadboard/ rasberry pi?

So I had this setup and it wasn’t working. I realized that the part that connects the wire to my my rasberry pi wasn’t in so I pushed it in while it was on by accident. Then the lightbulb lit up but it wasn’t blinking. The next time I turned it on the light bulb lit up but there wasn’t any code running. Now the lightbulb is not turning on at all Did I break my breadboard? I’m extremely new to this
warlord_shado
April 13, 2024, 13:11

Libcamera module not deteced

(CURRENT ISSUE STATED IN MESSAGES)I cannot enable the camera under interface and the vcgencmd get camera command says it isn't detected, but if I run the command libcamera-jpeg -o test.jpg it will take a photo. Does anyone know why this is happening
lebb_lebbington
April 13, 2024, 13:09

Mesen 2 emulator

I was wondering if there was a way to use the Messen 2 emulator on a raspberry pi for very specific graphical updates like Metroid HD Also which raspberry pi would be able to run it if any
stocis
April 13, 2024, 06:55

set vnc resolution to 1920x1080 using a touch screen lcd

after losing everything due to an sd card failure i rebuilt my rpi (with the 7" touchscreen monitor). everything works fine except that when i connect via vnc i see a really small resolution of 800x480 which i guess is the screens resolution. How can I have it to use 1080p or / 4k when connecting to it via vnc ? I tried raspi-config but it didnt work. thank you

based_ball
April 13, 2024, 00:24

Raspberry pi pico WH wireless controller

I am planning to create a rudimentary wireless controller using a pico WH with 3 buttons, a switch, a thumbstick and a rgb screen. I'm completely new to microcontrollers and whatnot, I am doing this for a college project and I plan to create a tekken clone in unity for the controller inputs to work in. How feasible is this controller idea and should I just quit while I'm ahead or is it something which can be done with relatively little jankyness?
mow_cat
April 12, 2024, 23:13

"over_voltage_delta" doing nothing on Pi 5?

I am trying to increase voltage to the Pi5 so i can overclock further (stuck at 2.82 ghz). But no matter how much I increase over_voltage_delta in /boot/firmware/config.txt, the Pi never gets any hotter. It stays WELL below 75 celsius at pretty much all times, and NEVER reports any throttling with vcgencmd get_throttled. I'm not convinced that the it's actually increasing the voltage. It's possible (though very unlikely imo) that my active cooler is doing a REALLY good job at cooling the Pi. What can I do to ensure that it's working and I'm actually increasing voltage to the pi?
irvingmclaughlin
April 12, 2024, 22:14

E: unable to locate package SpeechRecognition

i've tried so many times to install the speech recognition module to python and every time i get a different error, this time it's the one in the title- how do i fix this?
badboygod
April 12, 2024, 21:31

raspi 2 w giving libEGL error

On running
libcamera-jpeg -o test.jpg
or
libcamera-hello
I get the error below libEGL warning: DRI2: failed to authenticate Made X/EGL preview window [0:02:28.403197238] [1191] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f ERROR: no cameras available
kometabrno
April 12, 2024, 16:57

Chat gpt raspberry pi 4 speaker problem

Hello everyone, I need your help please. in 3 days I have to hand in my final exam paper but I have a big problem, my assignment was to make a voice assistant that uses raspberry pi 4 and in python I managed to create such a code and it works normally, I can send it here but on raspberry pi 4 it still gives me several thousand errors with alsa units and something like that even though I have everything probably well set up , I use axagon usb sound card for sound and I configured everything but it still doesn't work
austinpowers3
April 12, 2024, 00:08

2 screens

Can raspberry pi's support two screens i feel This is a dumb question because I know computers can do it but I don't know how much of a computer a raspberry pi is And if it's a yes some can but not all can the Raspberry Pi 4 Model B 2019 Quad Core 64 Bit WiFi Bluetooth (4GB) do it
onsake
April 11, 2024, 19:44

Start with raspi 3 and pi camera

Hi boys ! I decided to a school project to create a polaroid. It's my first time on raspberry but i don't scare of it. When i follow the step of the official youtube channel to connect my camera and i execute
libcamera-still -o test.jpg
I've an error which says the raspi can't authentificate with the camera. Yet, the camera led is turn on... so i was thought it was from the raspberry so i reinistall pi os on by i've got the same error. My camera is a raspberry pi camera B with a lens and my raspberry is a pi 3 b+ If someone has a solution ? Thanks a lot for your answers
concrete3vidence
April 11, 2024, 16:43

Firefox / Chromium issue, text field loses focus when typing, page scroll up/down after using mwheel

System info: - Raspberry Pi 5 8gb - Raspberry Pi OS lite + gnome installed with tasksel Both browsers have similar issues. I don't have much to go with. I have tried to look into caret browser mode, but it is not accidental F7 as that does seem to ask if you want to enter the caret mode. Gnome Web doesn't seem to have this issue, it has other issues though.
diamondepsilon
April 11, 2024, 16:35

Making an Ashida Portable Gaming Rasberry Pi 4 B

I am trying to develop a Rasberry Pi handheld console. I don't want something small like the altoid tin handhelds that are commonly made. I was hoping there would be a way to change up and use the technology that many people have when they make an "Ashida Portable Wii" and instead of making the base of it be a wii motherboard, it would have the Rasberry Pi instead. I would love some help on this project and idea.
thetysonator
April 11, 2024, 16:23

Headless Pi5 Ubuntu Setup

I've just got a Pi 5 used the imager to put Ubuntu on the SD card, I've set a username and password, entered my wifi details, set my timezone and enabled SSH. After I plugged it in I connected to my router and it hasn't connected to the network. I'm not sure on what to try, any ideas?
awdev_
April 11, 2024, 14:02

Using RTL8812BU on pi 2B

Does anyone know where I can find a driver for this?
fabianm
April 11, 2024, 09:50

/dev/ttyAMA4 (UART) reading itself

Hi, im working on a project that uses all the uart ports on the pi4b, but when i was debugging i discoverd uart4 is reading itself when im wrting on uart 4 even when nothing is attached. Does anyone know how to fix?
iludw1g
April 11, 2024, 06:10

now that pivpn is eol, is this the best way to run wireguard now?

is it the best way to run wireguard now to run it in a docker container? i was looking at a guide on how to do this, and they use a container called "WG-Easy" to "improve the experience further". is that something known/trusted? https://pimylifeup.com/wireguard-docker/