All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
7 views

why doesn't spi1 in pi4j work?

I'm trying to connect raspberry with another pcb via spi. It is connected via spi1 port and I can't change it. So I have a python script that works well, so I can send and receive data. The python ...
0
votes
0answers
4 views

Can't get Pi 4 8gb to boot Octopi

Followed the tutorial using the Raspberry Pi Imager and installed the latest Octopi O/S onto first a Sandisk 64gb card then a 32gb Sandisk card Both flashed green a few times on and off then the red ...
0
votes
0answers
7 views

Touch Diaply, GPS pHAT and Pi4 voltage amps needed

Have configured a Pi4 5.5 touchdisplay and a sparkfun GPS-RTK Dead Reckoning ZED-F9R. Looking to power this from a 12V supply. Been using a stepdown converter like this. DC 5V Step-Down Converter Buck ...
0
votes
0answers
12 views

Scrolling text on MAX7219 dot display is lagging occasionally, not sure how to fix

I am using the max7219 library from luma.led_matrix.device import max7219 However, if I use 12 8x8 dot displays in series, the scrolling font lags on random occasions. It looks like it lags for some ...
3
votes
1answer
36 views

raspberry pi 4 using SPI 4 & 5 at the same time causes kernel oops and crashes the whole system

intro i want to use multiple SPI busses at the same time. but when i use to use SPI 4 and SPI 5 at the same time it crashes the whole system it doesn't crash instantly sometimes it takes 10 seconds ...
0
votes
0answers
14 views

RPi 2B - Ubuntu Server 20.04 LTS fails to boot, but Raspbian works. How to further troubleshoot?

I'm trying to flash Ubuntu Server 20.04 LTS using the Raspberry Pi Imager for my Raspberry Pi 2B, but boot fails on the blended colors / rainbow screen and blinks the green LED seven times. As I ...
1
vote
1answer
32 views

SSH disconnects after ~10 mins and can't reconnect

After around 10 minutes of starting up my Raspberry Pi (Model 4b) and being SSH'd into it, it freezes. If I try to reconnect I just get connection timed out. I've connected it to a monitor and it ...
0
votes
1answer
15 views

Detecting connection between two arbitrary GPIO pins on Pico

I wrote a code that I run in Thonny which detects if a connection is made between the 3.3V output and a GPIO pin on the Raspberry Pico: print("Hello World!") import time import digitalio ...
0
votes
0answers
10 views

Reading MCP23S17 port expander with pigpio

I'm trying to read from a handful of switches connected to a MCP23S17 port expander using pigpio, however I'm not getting any useful results. Whatever my switch values, I have 0 returned. I've checked ...
0
votes
1answer
17 views

Can't wakeup Raspberry Pi if unused for more than a day

I'm using Raspberry Pi to run Onion Share and ProtonVPN on a CanaKit Raspberry Pi 4. I check it once a day. Moving the mouse wakes it up. But if I miss a day, moving the mouse does not wake it up. ...
0
votes
2answers
239 views

My raspberry pi is dead?

I have a raspberry pi 3 B that apparently stopped working after a thunderstorm. When it's plugged the red power led turns on but I can't boot the OS. I checked the voltage on GPIO pins and I get: 2....
0
votes
0answers
26 views

Creating an OS for the raspberry pi in rust, booting from it

I was following this tutorial on how to make your own basic OS for an x86_64 system in rust, but wanted to do it for an ARM64 target, specifically, the raspberry pi 4. I am at the point where I have ...
0
votes
0answers
11 views

Remote controlled rpi soundboard (sound clips)

I'd like to trigger audio clips remotely on a rpi. This is for a Halloween decoration. ~20 audio clips, all of which can be whatever format (wav) and in a folder local on the rpi. I can record and ...
0
votes
0answers
23 views

Access point works with cell and tablets but not other computers nor other raspberry pi

I have two weird situations. I configured my pi4-4gb to be an access point for a private network. The goal is to allow multiple pi-zero-w to connect to this access point and also allow, when connected ...
0
votes
1answer
21 views

Increasing my Raspberry pi Access point connectivity with a USB travel router

I want to use a travel router to increase connection of my raspberry pi AP. How can I use the USB travel router as wlan1. Then Use wlan1 as my AP interface.
0
votes
1answer
57 views

Almost every GPIO input pin is showing up as pin 22 [closed]

EDIT: The problem ended up being that the ribbon cable going to my breadboard was rotated 180º. I was taking this into account, but doing so incorrectly. Once I correctly labeled the rotated pinout, I ...
0
votes
0answers
15 views

can not disable text to speech function on a pi 400 [duplicate]

I purchased a pair of Logitech S150 USB speakers for my pi 400. When I booted up the pi, I immediately started hearing a digital voice reading the web page I brought up. I removed the USB connection ...
0
votes
0answers
14 views

kdiff3 for Buster

The kdiff3 on Stretch worked okay, but the new version on Buster crashes, says it cannot scan files, etc and does not work for me. Is there an alternative to kdiff3 for comparing large directory trees ...
0
votes
0answers
25 views

How te execute bash commands in Java [closed]

I dont know why, but I can only execute a very small pallet of commands (I cane even execute echo) For some reason, 99% of the commands that you would normally be able to do in the terminal itself, ...
0
votes
1answer
28 views

When To Use a Level Shifter (Arduino Uno + Pi SPI)

I was following this guide from Adafruit to flash an Arduino with a Pi using AVR-Dude over SPI: https://learn.adafruit.com/program-an-avr-or-arduino-using-raspberry-pi-gpio-pins?view=all I noticed ...
0
votes
0answers
6 views

is that a way we can boot Fast Compute module 3+ using QT5 Application on start

i am working on compute module 3 plus. and os is respbian buster. I need only wifi and usb services . so please could you please help me how can i boot the fast. because compute takes more than 20 sec ...
0
votes
0answers
33 views

raspberrypi.local on putty not working for raspberry pi Zero 1.3

I followed the following steps to set up my sd card to make a raspberrypi zero W connect via usb cable. Initially I always received the error message "Unable to open connection to raspberrypi....
0
votes
1answer
26 views

Checking which GPIO pin is high

In my program, I have 10 push buttons In a certain function of my program, I need to check if a particular push button is pressed. If it is pressed, function A should be called, while if any other ...
1
vote
2answers
134 views

is dtoverlay a general linux concept or RPi specific?

With all the raspberry pi hats popping on and off, dtoverlay and /boot/config.txt is a very nice method to quickly tell the kernel that you've got new device tree information. But I've never seen this ...
0
votes
1answer
21 views

What's the normal flow for pigpiod.service?

I inherited a Python code from a former coworker that uses pigpio library to control Raspberry Pi pins. This code is running inside a Docker on the Raspberry Pi I am now experiencing a problem in ...
0
votes
1answer
13 views

Can ioctl(file,I2C_SMBUS,&args) be used to read MCP3221?

I've been using C code based on a convenient linux_i2c-dev.h, but there seems to be no function to read 2 bytes without sending a command byte first. I want the code to work on both PI3s & PI4s. ...
0
votes
1answer
32 views

Raspberry Pi Pico 5V output using VBUS?

there! I'm planning to use the Raspberry Pi Pico for a project and I'll be using a SCA60c tilt sensor with it. I know that the Pico only has a 3.3V output but the SCA60C needs 5V to power it. I was ...
0
votes
1answer
30 views

Open matchbox-keyboard on top of existing applications

I have a Tkinter script running in fullscreen mode. I have a function which calls the matchbox-keyboard command using the subprocess module when clicked on an input field. This works fine, but the ...
0
votes
0answers
21 views

Slideshow with images and videos on a schedule

I'm building a display/kiosk for a nightclub and would like a slideshow of images and videos that can be scheduled. For example: On a Friday night, a slide show of a selection of images / video is ...
2
votes
3answers
81 views

Raspberry pi cannot synchronize clock

I have bought three raspberry pi's with the intention of using them as temperature sensors throughout the building. I have bought the following models: 1 raspberry pi 4 model b 2gb 2 raspberry pi 4 ...
0
votes
1answer
31 views

RPi.GPIO library limitation - add_event_detect cache

How many callback events is cached in add_event_detect function? In my example below start_thread is executed just twice, but it is fired up five times (by the loop). To me it looks, that GPIO library ...
0
votes
0answers
40 views

GPIO - which is a correct register to read state?

Which of BCM GPIO registers - datasheet page 89 - is correct to verify register register state ? - high / low and does it depends how the register is configured? register function ? is register ...
1
vote
0answers
22 views

HQ Camera: Save as BMP file not working consistently

I've been working on a project using the HQ camera where I want to take a small bitmap image (100x100), do some analysis on the bmp file, and using that information determine whether that exposure ...
1
vote
0answers
61 views

How to set up communication between two Raspberry Pi without internet [closed]

I was trying to learn how to set up communication between two raspberry pi in close proximity in a remote area without a router. I am new to raspberry pi and started trying to figure out MQTT/...
0
votes
2answers
57 views

Sensor gives different results using GPIO and USB

I have a RPi4B, MH-Z19C CO2 sensor and a UART to USB adapter. When I connect to the sensor using USB I get stable readings: {'co2': 1001, 'temp': 19, 'S': 0, 'U': 0} {'co2': 1006, 'temp': 19, 'S': 0, '...
0
votes
0answers
12 views

Bridging a wireless accessible ip to ethernet

I have 3 CCTV cameras connected to a DVI. The DVI is accessible through its own wifi hotspot(ssid+password). I can connect to the wifi of DVI and see the camera feeds. The DVI is not connected to the ...
0
votes
0answers
18 views

perf_event_open on kernel 5.10.60

I am trying to run the perf_event_open documentation example (below) but it returns "Error opening leader 1". I am on a Rasp B+, ARM1176JZF-STM, Raspbian GNU/Linux 10 (buster), kernel 5.10....
0
votes
1answer
40 views

Trying to install Minecraft server - can't install the correct JAVA version

My goal is to install a Minecraft server on my Raspberry Pi 4B with 8GB RAM. I mainly followed this guide which includes a script to install all of the components quickly. The main commands are: wget -...
-3
votes
2answers
48 views

Can I take out my sd card?

I'm wanting to run different os (raspberry os, kail, etc...). What i'm wanting to know is it safe to remove the sd (turned off) and can I use other sd card in the same pi?
0
votes
0answers
23 views

Raspberry Pi 4b i2c detection problems [closed]

I am getting in trouble with the i2c detection with raspberry Pi 4b . Sometimes it is detecting multiple devices on the same bus. And sometimes nothing detected.
-2
votes
0answers
14 views

Trying to run auto start command ( after Boot)

If the script is run then ds64-shell will popup. another command will be run after i exit ds64 shell how can i run this command Result after running :
-2
votes
0answers
26 views

Resistor pins are to small to fit into the breadboard [closed]

I purchased a RPi Starter Kit and decided the breadboard wasn’t large enough. I got new ones and uhh... The sockets don’t grab on to resistors. Only real thing I can do is this: There’s probably not ...
1
vote
0answers
14 views

Raspbian Lite does not load rndis_host driver for Tethering

I have a Pi4 running latest and completely fresh Raspbian, I'm trying to connect a 4G LTE modem through USB to setup a link so I can use the Raspberry Pi as NAT to enable multiple devices to use the ...
0
votes
0answers
13 views

Switch between Bluetooth Inputs

I have a phone and a tablet that I would like to connect via Bluetooth to an Amplifier in my car. I would like to be able to easily switch the audio between the two devices. eg, quickly switch from ...
0
votes
0answers
29 views

SSH remote connection working "every other reboot"

Latest raspberry pi os lite installed on a raspi4 4gb, customized to my needs. I can normally SSH into it, everyhing works. I then reboot (sudo reboot) and raspi won't respond to SSH connection ...
0
votes
0answers
19 views

SSH from Windows STOP working abruptly to RPi 4

I am not able to connect to my RPi4 via SSH (Open SSH) from windows abruptly. it was working fine and stop working suddenly. I am able to ping to RPi from windows successfully. SSH from this windows ...
0
votes
0answers
24 views

Raspicast: Google Chromecast on Raspbian

OS: RetroPie 4.7 I want to use my Raspberry Pi as a Chromecast stick and followed this tutorial: https://www.instructables.com/Raspberry-Pi-As-Chromecast-Alternative-Raspicast/ When i enter the 'git ...
0
votes
0answers
20 views

Unable to create hotspot on external wifi dongle, using hotspot lib

Using this lib: https://github.com/rudiratlos/hotspot I would like to create the AP on wlan1 (wifi dongle), instead of wlan0 (internal wifi), but looks like I cannot do it for some reason. The command ...
-1
votes
0answers
34 views

during install of Raspberry PI OS I shouldn't have pressed button to elimanate the border around the edge of the screen

During the installation of the Raspberry Pi OS on the Raspberry 4, I could see a small border around my video display so I pressed the button designed to eliminate that border. I shouldn't have done ...
0
votes
2answers
39 views

38kHz, 50% duty cycle PWM output on GPIO

I'd like to generate 38kHz & 50% duty cycle PWM signals on multiple GPIO pins. Hence hardware PWM won't work for me. Does anyone have a chance to generate this signal by using python or node.js? ...

15 30 50 per page
1
2 3 4 5
686