ezlanding
about 12 hours ago

Secure Data with Zymkey HSM on Raspberry PI

I'm trying to do secure data encryption/storage through a raspberry pi and the zymkey HSM. The program should: 1. Store data in a secure, encrypted, format 2. Require a master password at startup to decrypt the data. Doesn't require a password throughout the lifetime of the program to deccrypt data 3. During the lifetime of the program, no other program should be able to decrpyt the data, even if it tries to read the program's memory. (maybe the program should run in a TEE for this?) Looking at the Python API (https://docs.zymbit.com/api/python_api/ ) I can only find functions to lock/unlock data for the whole system, whereas I want data to be unlockable only for the specific program Is this possible, and if so can someone help me with this?
scampered.
November 16, 2024, 18:54

Microphone for Raspberry pi 4

I have been trying to use a microphone for the raspberry pi aux port but it hasnt been working, the jackd server does not work and i dont know what to do to use the mic, is there any solutions? anyway to maybe use phone as microphone..? any help, really needed
scampered.
November 15, 2024, 11:47

Issues with Installing Faster-Whisper on Raspberry Pi 4

How can I successfully install faster-whisper on my Raspberry Pi 4 Model B, considering the challenges with installing dependencies like onnxruntime? Are there any specific steps or workarounds to overcome this issue? Additional Information: Raspberry Pi Model: Raspberry Pi 4 Model B Architecture: armv8l Operating System: Raspberry Pi OS Legacy Error Message: ERROR: No matching distribution found for onnxruntime Attempted Solutions: Using pip to install onnxruntime directly Could this be related to raspberry pi only? since I tried pip install faster-whisper on my windows computer and it worked fine, but it does not work properly and gives errors like: cannot install faster-whisper, This conflict is caused by faster-whisper 1.0.3 depends on onnxruntime<2 and >=1.14 etc
astrydax
November 14, 2024, 12:33

Powering a heater with pico

I have small 8w 5v heater films for a project. I vaguely recall someone saying powering things on the pico like this would damage the pico. My project would need to power this heater based on an attached temperature sensor, while also powering a 5v LED on a timer. Should I be concerned about the power draw damaging the pico.
sagely_ozymandias42
November 14, 2024, 11:24

dropbear-initramfs not working

I've followed the various guides and installed dropbear-initramfs, created the authorized_keys file under /etc/dropear/initramfs/authorized_keys with both the ed25519 and in case it doesn't work with dropbear like some posts said an id_rsa key. I also added my ip config via ip=ip::gateway:netmask:hostname:if:off to /boot/firmware/cmdline.txt as well as systemd.unit=rescue.target to boot into the initrd on next boot. ofc I also did update-initramfs -k all -u What works: The Pi responds to ping. No SSH server is running. (nmap'd it and no open ports) note: I also use the pi as nas and run into issues with it hanging itself in the boot process when the nas drives aren't commented out in fstab so this was one reason to want ssh as to not have to pull the plug and the sdcard just to change 1 or 2 lines in fstab from another device, plug it back in and have it boot successfully. note2: root is locked but this should not be an issue with pubkey auth. I'm at wits end.
bajikeisuke7233
November 14, 2024, 07:37

Rasperry-Pi 5 PC Setup

So ne and some Friends are in an electronics school and WE are supposed to Set Up a Raspberry Pi 5 and we Got the right Programm from the Raspberry Site and all and WE have the Power supply connected and alle that but its still Not working Pls Help 🥲
clank1847
November 14, 2024, 05:49

4 Long 5 Quick flashes

Help it won’t boot up and it just randomly broke, video for proof
alkis1990
November 13, 2024, 19:04

unresponsive SSH raspberry zero w v1.1

Hello, i have a rpi zero w v1.1 , i had it in my basement for almost 3 years and i decided to make it an MQTT broker. so i wiped the previous OS and flushed a new. after my fist log in via ssh ... i noticed that the service is freezing. sometimes it stuck after entering password, sometimes when i type it freeze. i tried to flush : 1) Raspberry Pi OS bookworm (also tried the lite version with no GUI) 2) Raspberry Pi OS bullseye (the same as well, no GUI). can anybody help me please?
founbme
November 12, 2024, 15:05

not working

saw a project that i wanted to do where i had to copy circuit python into the pico and after it had to disconnect and connect but that never happened
juaansb
November 11, 2024, 23:35

I want to make a mouse with a PSP2000 joystick on its side, for using in 360 in game movement.

Im totally new to using an arduino and circuits, but i have watched some videos showing how to do it. According to chat gpt, the psp2000 joystick is a 3.3V device. As im going to put it inside of the mouse, im thinking about using an Arduino Pro Micro or Arduino Pro Nano, 3.3V. I still will need to solve the duplicate inpute (mouse input + arduino input). What equipment should i buy, after buying the arduino and the psp joystick?
pipsqueeeek
November 10, 2024, 06:50

MQTT, Node-Red, and Grafana

Hi y'all i'm having trouble on my node-red. THe problem is I'm using my raspberry pi as my weather station while it being my web server. My raspberry pi has different types of sensors and i want my MQTT to read my python script that prints example code:
python
data = "{"
data += "\"humidity\": " + str(humiditySensorData) + ","
data += "}"

print(data)
i'm wondering which node to connect to my MQTT out my mqqt in is connected to my influxdb out.
yogeshkhatrichhetri
November 9, 2024, 13:04

code for red color

i am working on a shape detection code: my primary goal is to detect ONLY RED COLOR 2D shapes- SQUARE, REACTANGLE, TRIANGLE, AND CIRCLE ONLY. Here's a code i developed with the help of ai, but its not detecting anything red in color, rather its detecting all blue color shapes. can someone help me with this? thanks.
_king_91
November 8, 2024, 23:49

Pico

So ive tried to edit my payload.dd on my pico and i accidentally clicked always open with notepad now the payload won't run as before how do I fix it?
aooo.
November 8, 2024, 02:58

MCP3208 Only Reading 0s on All Channels with Raspberry Pi SPI Setup

Hey guys, I'm using an MCP3208 ADC with my Raspberry Pi Zero W1.1 to read analog values from a gas sensor (CH0) and a liquid level sensor (CH1). I've followed wiring instructions carefully, but I'm only getting a value of 0 from all channels in my Python code. I've tried switching to an MCP3008 and using 3v instead of 5v but nothing has worked so far. Any help would be appreciated! Here’s my setup: Power Supply: VDD and VREF are connected to the 5V rail, AGND and DGND are connected to the ground rail. SPI Pins: CLK (Pin 13) to GPIO11, DOUT (Pin 12) to GPIO9, DIN (Pin 11) to GPIO10, CS (Pin 10) to GPIO5 on the Raspberry Pi. Sensors: Gas sensor connected to CH0, liquid level sensor connected to CH1. Software: SPI is enabled on the Raspberry Pi, and I’m using Python’s spidev library to read the values. I've attached a complete diagram of the wiring. Thanks!
gyanrosling.
November 7, 2024, 19:12

Problem with a touchscreen

Hi, i have a problem i use a touchscreen connected via the pins, the problem is that the startx do not see the device, but i can upload a image using fbi
gek5530
November 7, 2024, 17:15

cluster with a raspberry pi 5 and zero 2 W

i cant find a tutorial how to do it anywhere online
horri.d
November 7, 2024, 16:46

Running LibreOffice Writer on Raspi OS Lite (32 bit)

Hey all! I’m getting the issue « Failed to open display » after trying to run using libreoffice —writer in the terminal. I’m using a Raspberry Pi Zero W connected to a 1080p computer monitor via micro HDMI. Running Raspi OS Lite 32 bit, not using SSH. I’m guessing it has something to do with the fact I’m trying to run a graphical program from the terminal, but I can’t figure out a solution without using a desktop interface. Anyone has a solution?
ornerygnome
November 7, 2024, 14:15

Sharing security cameras access

Hello. I feel like I got a good grasp to get a raspberry pi set up. Here is what I’m looking to do with it. I have 2 Wyze brand security cameras. I would like to be able to share access to them easily and for a lot of people. What would be the best way to do that? Preferably I would like a link to share and ppl can type it in and one or both(preferred) cameras come up? Last year I was sharing through the Wyze app but that is a tad labor intensive. Any help is appreciated!! Thank you!
_krazy.
November 7, 2024, 10:18

BLDC motor beeps hard, heats up and then smokes

Hey, I've been in the last month making a drone using ESP32, I've a BLDC motor 1100kv, ESC 30A and a li-po 2200mA 40C, everything used to work, but after buying a power distribution board from Ali Express (unsoldered) I soldered the banana plug T60 or wrong :), plugged the power dist board 3 times with ESC soldered with motor and burned the power dist board on the first time, got sad and went to purchase another, after ~2 weeks tried the new power dist board and it worked but the beeping is so hard and doesn't stop even after receiving PWM signal from microcontroller, and heats up quite fast and then smokes a bit after ~15s, tried it about 3 times, then diagnosed the power dist board using a multimeter and everything works as intended, even the integrated UBEC 5V, I believe the motor or ESC is bad, so which one it is? I'm afraid to try the motor and then it breaks the ESC or the opposite and break good parts. The power distribution board used is the one in the image.
yopal
November 7, 2024, 04:16

Trouble with booting up Raspberry Pi 3 Model B+

I'm currently working on Google's AIY Voice Kit V1. After trying to boot up my raspberry pi after flashing the image to the SD card from the Google AIY Voice Kit (https://github.com/google/aiyprojects-raspbian/releases ), the red light is on and steady but the green light has a long flash 4 times and then short flash 7 times. After researching online, apparently I'm experiencing Power Type B Failure. However, after using the official Raspberry OS, the raspberry pi boots up just fine. Does someone know what's wrong with the image from Google?
banes_
November 7, 2024, 01:51

NRF24L01+PA+LNA needs condenser or external power ?

Hello, I actually work on my project and i have choice the module NRF24L01+PA+LNA for communicate at long distance, but i have read an lot of forum and tutorial than a condenser is required or external power. If anyone have already use this module, i want a feedback on the choice between stock module, with condenser (and which µF) or external power ? External power for example : https://m.media-amazon.com/images/I/71BcQbBV12L._AC_SL1500_.jpg Thank you if anyone can help 🙃
pipsqueeeek
November 6, 2024, 11:54

Grafana Dashboard Remote Access

Hi y'all. I'm currently working on a project that requires me to set up a weather station with raspberry and live it somewhere far from my home/office. I'm wondering how I can access my Grafana dashboard remotely, for example when I'm at the University or at the mall. I'm using IoTStock, Node-RES, Mosquitto, InfluxDB, and Docker. does anyone have any idea on how I can access my dashboard anywhere in the world? your insights are deeply appreciated!
abcdefg3798
November 5, 2024, 13:39

Are there any suggestions/tutorials on making self parking parallel car

Hi! I'm new to both raspberry pi and coding. However, teacher assigns me to make self parking parallel car and give me a week for this project, which I have no clue on how to do it. Any suggestion?
wyattfr_
November 4, 2024, 02:47

RPI5 - RFID-RC522 Cant get it to work

Here are some of the errors im getting
mechanic5
November 3, 2024, 22:02

Sending a request esp32-bluetooth - make a call from my phone

1. Identify the MAC address of the device that the ESP32 first connected to. 2. Save this MAC address to non-volatile memory (e.g., the ESP32's flash memory) so that it survives reboots. 3. Compare the MAC address on subsequent connection attempts so that the ESP32 only connects to the device with the saved MAC address. Pls help
doxlee
November 3, 2024, 21:39

Raspberry pi pico w, is not working on kvm switch port.

Its working on mouse usb port but its not working on keyboard controller port so I can't change the ports to solve this issue I tried couple thing on the arduino forum, which is not working on my case. I have aten cs64us which I'm trying to swtich ports via custom keyboard. At this rate I didn't build the keyboard I'm just trying if its possible I'm gonna build the keyboard. I tried this solution but its not working ony my case. https://forum.arduino.cc/t/try-to-send-swi01-swi02-swi03-swi04-switching-commands-to-aten-video-switch-vs0401-through-rs232-ttl-converter/1106535/28 I read some of the recommendations but I couldn't find a real solution. English is not my main language so I may misunderstand some of the things on the internet. I'm open for solution recommendations.
akhiraa
November 2, 2024, 11:42

Password - SSH pi os lite

Hello everyone! I hope you're doing well. I am currently setting up a Plex server on my Raspberry Pi 3 with a 4 GB SD card, but I'm having some difficulties. Here's where I stand: 1. I have installed Raspberry Pi OS Lite and configured Wi-Fi by adding the wpa_supplicant.conf file to the boot partition. 2. I also enabled SSH by creating an empty file named ssh in the same partition. 3. I am trying to connect via SSH using the command ssh [email protected], but I cannot connect. It asks me for a password, and I can't seem to enter it. My questions: - Can anyone help me troubleshoot this SSH connection issue? - Can someone confirm that I am using the correct method to install Plex on a 4 GB SD card? Thank you in advance for your help; it's really appreciated!
gyanrosling.
November 2, 2024, 09:43

I couldn't connect the rasberry pi zero to my computer whatever i tried

I have a problem, i just bought a raspberry pi zero for my project and i try to put a raspberry pi os lite in it, i will use it headless. The problem i am facing is that it cant connect to wifi whatever i try i put the "wpa_supplicant.conf" and "shh" file in it but nothing, i try to connect it to it using a usb cable but like wifi no success. I try 2 other sd cards and other os but nothing. I tried static ip and hotspot from my phone but this just does not work. I tried everything that was on the internet but there was no solution that could help me
spoopoi
October 31, 2024, 07:31

Hotspotting via Pi on eduroam

Hello pi people!! I'm quite new to raspberry pi but I know some basics. I'm trying to get my pi to act as a wifi access point for my less smart devices (like an amazon echo) to connect to the internet, which for me is eduroam (I want to hotspot my devices through the pi, connected to eduroam). I currently have a simple qualcomm wifi stick plugged into my raspberry pi 3 model b, and I'm using dnsmasq, hostapd, and dhcpcd, without bridging but instead NAT stuff with masquerading because the bridge command told me I couldn't bridge wlan0 with wlan1. I've got two issues. First is when the pi turns on, both the internal wifi and the wifi stick (wlan0 and wlan1) connect to my university wifi and eduroam on startup, this breaks hostapd and prevents it from starting its hotspot, which only turns on when I manually disconnect from eduroam and restart hostapd (then the SSID is discoverable on my other devices) Second issue is that after doing this, my devices still can't connect, saying they couldn't find an IP. I can share all my .conf files on request.
foxy.cz
October 30, 2024, 17:27

My fan dosen't want to spin.

So i am making a security camera out of raspberry pi zero 2 w, with installed motioneyeos on it. The problem is that i want to connect a fan for keeping the raspberry pi cool. But when i connect it to the board with the NPN transistor to the GPIO4 and ground to ground and to 5v nothing happens. I do have command line in cmdline.txt for the GPIO-fan overlay but it does nothing. What am i doing wrong?