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 pi@192.168.x.xxx, 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?

dethress
October 30, 2024, 14:47

Raspberry Pi Pico with SIM800L module

Hey, I'm going to use GSM SIM800L module in my project. I only have 3.3V and 5V power on my breadboard, the problem is that the SIM800L module Power Supply Voltage is between 3.8V and 4.2V. Should I get a step-down DC Converter module to convert from 5V to 4V for the GSM module? Or should I be fine using like a 3x AA battery basket? I'm pretty new to all this so all help is appreciated. Here's the specifications for the SIM800L: > Power Supply Voltage: 3.8V - 4.2V > Recommended Power Supply Voltage: 4V > Current Consumption: > -Sleep mode: < 2.0mA > -Idle mode: < 7.0mA > -GSM communication (average): 350mA > -GSM communication (peak): 2000mA > Module Size: 25 x 23 mm > Communication: UART (max. 2.8V) and AT commands > SIM Card Slot: microSIM (bottom side) > Supported Frequencies: Quad Band (850 / 900 / 1800 / 1900 MHz) > Antenna Connector: IPX > Status Indicator: LED > Operating Temperature: -40 to +85°C And here's the specifications for a step-down DC converter I found (Step-Down DC Converter Module LM2596S 1.5-35V 3A): > Input Voltage (DC): 3.2V-35V > Output Voltage (DC): 1.5V-35V > Adjustment: Potentiometer control > Output Current: 2A, maximum 3A with a heatsink > Efficiency: 92% > Operating Frequency: 150kHz > Operating Temperature: -40°C to 85°C > Dimensions: 43mm x 20mm x 14mm (LWH)
sociopathchick
October 29, 2024, 20:59

Raspberry Pi Zero 2 W to Raspberry Pico W SPI Problem

Hello everyone! I want to communicate SPI between Raspberry Zero 2 W and Raspberry Pi Pico W, but I have not been able to send even a simple test data. "I may make grammatical or word errors when explaining the problem, sorry I am not very good at technical explanations or English" Before I wrote a help article here, I checked a lot to make sure that it was a very simple error and I didn't overlook it. I looked at many videos and sources. I also asked AIs ChatGPT Claude etc. but I couldn't find a clear solution. If anyone has made SPI connection between RPi and Pico before, or if you want to share any different ideas or code, I am always ready to try. In short, I will refer to the model names as Pico(Raspberry Pico W) and Pi(Raspberry Pi 5). Since RPIZERO2W is soldered, I do my tests on RPI5. For the test I wrote a simple SPI code between Raspberry Pi 5 and Pico. For the Pi (Master)
import spidev
import time

# Initialize SPI
spi = spidev.SpiDev()
spi.open(0, 0)
spi.max_speed_hz = 100000

# Function to send data and read response
def send_and_receive():
    send_data = [0x01, 0x02, 0x03]
    print("Sending:", send_data)
    received_data = spi.xfer2(send_data)
    print("Received:", received_data)

try:
    while True:
        send_and_receive()
        time.sleep(1)

except KeyboardInterrupt:
    print("Exiting...")

finally:
    spi.close()
and for the Pico(Slave)
from machine import Pin, SPI
import time

# Configure SPI as Slave on the Pico W
spi = SPI(0, baudrate=100000, polarity=0, phase=0, bits=8,
          sck=Pin(18), mosi=Pin(16), miso=Pin(17))
cs = Pin(19, Pin.IN, Pin.PULL_UP)

response_data = [0xAA, 0xBB, 0xCC]

while True:
    if cs.value() == 0:
        received_data = spi.read(3)  # Read 3 bytes from master
        print("Received from Master:", received_data)
        spi.write(bytearray(response_data))
        print("Sent response data:", response_data)
        time.sleep(0.1)
I used the codes but it did not work.
PIN     RPI5        PICO
__________________________
MOSI    GPIO 10     GPIO 16<--
MISO    GPIO 9      GPIO 17<--
SCK     GPIO 11     GPIO 18
CS0     GPIO 8      GPIO 19
GND     GND         GND
__
__
PIN     RPI5        PICO
___________________________
MOSI    GPIO 10     GPIO 17<--
MISO    GPIO 9      GPIO 16<--
SCK     GPIO 11     GPIO 18
CS0     GPIO 8      GPIO 19
GND     GND         GND
I also changed the location of the MOSI and MISO pins, but again it did not work. I also tried with CS1(CE1) on Pi, but it still did not work. I also tested an SPI connection between Pico W and Pico W. However, I could not get it to work this way either. Pico(Master)
from machine import Pin, SPI
import time

spi = SPI(0, baudrate=10000, polarity=0, phase=0, bits=8,
          sck=Pin(18), mosi=Pin(19), miso=Pin(16))
cs = Pin(17, Pin.OUT)  # Chip Select (CS) pin

def send_and_receive():
    cs.value(0)
    time.sleep(0.01)
    received_data = spi.xfer([0x55])
    print("Received data:", received_data)

    cs.value(1)
    time.sleep(1)

try:
    while True:
        send_and_receive()

except KeyboardInterrupt:
    print("Exiting...")

Pico(Slave)
from machine import Pin, SPI
import time

spi = SPI(0, baudrate=10000, polarity=0, phase=0, bits=8,
          sck=Pin(18), mosi=Pin(19), miso=Pin(16))
cs = Pin(17, Pin.IN, Pin.PULL_UP)  # CS as input with pull-up
response_data = [0xAA, 0xBB, 0xCC]

def receive_and_respond():
    if cs.value() == 0:
        received_data = spi.read(3)
        print("Received data from Master:", received_data)
        spi.write(bytearray(response_data))
        print("Sent response data:", response_data)
        time.sleep(0.1)

while True:
    receive_and_respond()
    time.sleep(0.1)
I have tried several different baudrate speeds, but I could not get it to work at any of them. For Ex: 1000000 / 500000 / 50000 / 100000
theserverit
October 28, 2024, 18:39

Sync time

How do I sync the Pi (4)'s clock? ("internet time" I think?) I suspect it's a bit off right now...
tu4m01l
October 26, 2024, 13:00

Red LED, no booting after inserting unformatted ssd on a hat, Raspberry pi 5

i bought a nvme HAT adaptor for my raspberry pi 5 8gb. after putting it on, without an ssd, i turned it on and it indeed turned on, and ran the os stored on my SD. however after mounting an ssd on the hat, and securing it in place with a piece of plastic and rubber bands (as the ssd was bigger than the HAT) it stopped booting, of course i could say something short circuited and it broke the RP5 but thats the last diagnosis i want. so what couleve happened? "stopped booting" means in my context "it always shows a red led, no matter what i do. here is what i tried after i mounted the ssd the first time: -booting it with the HAT (without ssd) and SD card - output: red led, no sign of heat emmanating from the board, no hdmi output -booting it with the SD card - output: red led, no sign of heat emmanating from the board, no hdmi output -booting it with nothing - output: red led, no sign of heat emmanating from the board, no hdmi output -booting it with a os flashed usb drive - output: red led, no sign of heat emmanating from the board, no hdmi output -booting it with EEPROM rewrite image from the raspberry pi imager (family 5, boot from sd first then nvme/usb then network) - output: red led, no sign of heat emmanating from the board, no hdmi output things i rulled out: -sd card works fine, it works with my other rp5 -hdmi cable works fine, it works with my other rp5 -usb c source is orginal, it works with my other rp5 things i want to try: -buy the original raspberry pi UART debugger tool -boot from a compatible nvme? (but i have to buy a nvme adaptor to flash it from my laptop AND the nvme itself)
m1quii_
October 24, 2024, 01:42

Does anyone know arduino?

Hii, I need help with a school project that involves coding an Arduino to act as a water condition reader, for example, to detect temperature and pH. My group and I don't know anything about programming. Is anyone willing to help? We appreciate everyone who signs up.
m0rlok
October 23, 2024, 12:22

Possible to manage Pi with terraform?

I'm working on a small cluster and wanted to use terraform to do all the setup beyond burning the image. I'm new to Terraform and I'm struggling to find a lot of examples of this approach. Is this not a good approach?
chis_
October 22, 2024, 05:13

Audio is really messed up

I did a lot of things to pulse audio and now nothing works, is there a way to just restart audio wise but keep the rest of the data on the pi? is there like specific folders i could just get rid of to try and fully restart? thank you (pi 4 bookworm)
fferreira04
October 20, 2024, 10:38

"hardware/pwm.h" behaving unpredictably

Hello, I'm doing a project on a Raspberry Pi Pico WH, using the Arduino IDE 2.3.3. My goal was to use the hardware/pwm.h library to create a PWM signal of 35 Hz and 50% duty cycle on one of my GPIO pins, to drive the trigger of an ultrasonic sensor. To check whether or not I have the desired trigger signal, I'm detecting its falling edge and printing out some values with Serial.print() once every 35 times (at 35 Hz, this should print something every second). The problem is that my prints come with the wrong frequency and, even worse, they seem to come at completely irregular periods. In the picture of the breadboard, you can see the circuit. From top to bottom: Grey is ground; Yellow is echo (it's between the resistance and the diode that goes to 3.3V just to reduce the echo signal voltage from 5V to about 3.9V (which the board should be able to handle)); Red is the trigger; Blue is Vcc (5V). I posted pictures of what I think are the critical parts of the code, but I've also included it fully in the txt file. It's quite small and simple. There's an interrupt timer that's blinking the builtin led, but I can't imagine that's related to my problem. Can someone please help me? I've failed to gather much information online about how this library works, and I just can't seem to figure this out... Thank you in advance



supercell_psycho
October 18, 2024, 13:52

SDR weather station graph

Hey, so I am making a weather station work on my RPI3 and I am getting confused on this. Could I have like a more in depth tutorial or maybe even better a video tutorial? Here is the link in what I’m doing. https://www.agri-vision.nl/portal/projects/25-rtl-sdr-based-weather-station-on-raspberry-pi thanks for any help I get.
dethress
October 16, 2024, 12:18

RPI Pico with SHT30

Hey, I'm trying to get my SHT30 to work with my Pi Pico using those libraries: https://github.com/rsc1975/micropython-sht30/blob/master/sht30.py https://github.com/n1kdo/temperature-sht30/blob/master/src/temperature/sht30.py But with both I run into errors. The way I have SHT30 connected to my Rpi Pico: SDA -> GP4 SCL -> GP5 GND -> Physical Pin 23 (GND) VIN -> 3v3(OUT) I also tried with 10kOhm pull-up resistors SDA->3v3(OUT) + SCL->3v3(OUT) I tried doing an I2C scan but it seems it doesn't even see the device using the following code:
py
from machine import I2C, Pin
i2c = I2C(0, scl=Pin(5), sda=Pin(4))
devices = i2c.scan()

if devices:
    print("Found I2C devices:", devices)
else:
    print("No I2C devices found")
The code I'm trying to test SHT30 with is:
py
from sht30 import SHT30

sensor = SHT30()

temperature, humidity = sensor.measure()

print('Temperature:', temperature, 'ºC, RH:', humidity, '%')
The errors I get: 1. First lib error
MPY: soft reboot
Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
  File "sht30.py", line 40, in __init__
TypeError: 'id' argument required
2. Second lib error
MPY: soft reboot
[Errno 110] ETIMEDOUT
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "sht30.py", line 140, in measure
  File "sht30.py", line 104, in send_cmd
TypeError: 'int' object isn't iterable
3. (after adding i2c_id=0 in first lib)
MPY: soft reboot
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "sht30.py", line 136, in measure
  File "sht30.py", line 101, in send_cmd
SHT30Error: Bus error
4. (after adding i2c_id=1 in first lib)
MPY: soft reboot
Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
  File "sht30.py", line 40, in __init__
ValueError: bad SCL pin
blockysumo
October 13, 2024, 13:05

RPI Crashes after connecting with RealVNC locally

https://cdn.discordapp.com/attachments/1174423942669279303/1294946781980921898/20241013_115517.mp4?ex=670cdcab&is=670b8b2b&hm=0c91a1614dbe0b72b57f29c105560541fc3a41c1d4efb7fce8a26ff67c08214b& Hdmi port is not accessible easily so can't try that, I did try to access console with Putty, and that worked ✅ . But since i'm kinda of a beginer with RPI's idk what to do even to fix this Issue. It first occurred today after running the PI continuously for ~4 days. On boot it is running my python script that makes all the compounents work, and there is python script reset every 48h. Before today there were no issues connecting to it with RealVNC
thumperz1
October 12, 2024, 23:21

PiHole will not Install!

I keep getting the following image, any tips?
long4466
October 12, 2024, 20:17

Pi 4 not booting after installing vulkan

I was trying to install vulkan last night to try and test some ps2 emulation but when I tried to reboot my machine it booted to the welcome to raspberry pi desktop but then it went to a blank screen with an flashing underscore it’s been on it for hours. Please help I’m very new to this

oops.se
October 11, 2024, 19:32

use two rfid 522 readers

There are many different RFID readers...