All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Sample code for interfacing multiple IMUs [closed]

I am attempting to read 6 IMUs using a Raspberry Pi 3B, and estimate the pose. I would like to use the excellent RTIMULib to get the fused pose. To use 6 IMUs, I plan to use a 1:8 multiplexer to do ...
0
votes
1answer
29 views

OSMC - Mount / from a USB

i'm having troubles in a RaspberryPi2 mounting a USB as the / partition. I modified /boot/config.txt adding (also tried with original cmdline.txt, but I think that's the cleaneast way): cmdline=my-...
0
votes
2answers
33 views

Can preserve LVM partitions while changing sd card and os?

I want to make a NAS storage with Raspberry Pi and attached drive. I would like to create partitions on my drive with LVM, but I'm afraid, that once my sd card with os breaks, I will lose my all data, ...
0
votes
0answers
15 views

Powering HDMI splitter from Raspberry Pi Zero W

I have a base zero W that I want to turn into a receiver for spotify connect and some old speakers that connect via a 3.5mm jack. I want to get audio out of it that isn't horrific sounding (such as $5 ...
1
vote
0answers
36 views

GPIO input, keep high after button press

Hi was just wondering if there was a way of making a GPIO INPUT (connected to a momentary switch) stay high (for a certain amount of time), no matter how long the switch has been pressed for? The ...
0
votes
0answers
26 views

RPI actual SPI communication speed

I tested my RPI 3B's actual SPI communication speed using the time stamp and spidev of Python. Then, I got the 353.2k bitrate per second when I set the SPI clock as 30MHz. Then, the real SPI ...
0
votes
2answers
38 views

rc.local not able to execute python script with network code

(Disclaimer, this is a crosspost from my Unix & Linux Overflow question, however I got no answers) To introduce my problem, I'm running Raspbian Stretch on a RPi 3 model B+, and I have two scripts ...
0
votes
0answers
18 views

Program stops running while accessing MongoDB in python program triggered using udev rules

I have udev rules file to run a program on usb mount. I am running a bash script automount.sh when USB is connected to Pi. #! /bin/sh cd cd /root chmod 777 /media/USB chmod 777 create_report.py ...
0
votes
1answer
28 views

How to connect an Android phone and a raspberry pi through wifi direct programmatically

so I have been working on the task of connecting a pi to an android via wifi direct for a while, and I was able to get it to work, using the information given in this question: Issue connecting ...
1
vote
1answer
21 views

Raspberry pi won’t run Noobs installation

I bought a preinstalled sdcard with noobs, due to my manually created noobs sd not working and still have same problem with the pi. Without the sdcard it boots fine to the boot loader screen but when ...
2
votes
1answer
79 views

Trouble getting sg-90 servo to work with R-PI 4

I have read several answers and approaches to controlling an SG-90 servo with a raspberry pi and I have tried the following approaches, with varying but never satisfactory results. Wiring Setup: ...
0
votes
2answers
30 views

wiringPi.h not found by gcc. Works in Raspian, not Ubuntu Mate

This is my first time posting on stack exchange so I apologize if this is too much or not enough info on the problem. A few months ago I installed Ubuntu Mate 18.04 on a Raspberry Pi 3B+ and tried to ...
2
votes
1answer
47 views

Power multiple add-ons on one 5v pin

I have multiple add-ons connected to my Pi that currently use all of the 5v pins. I want to run more add-ons to the Pi that need 5v power. The 5v pins are connected using male to female GPIO jumper ...
0
votes
0answers
23 views

Repeated SD Card failures

I have a couple of Raspberry Pi 4s now running docker, and some lightweight-usage containers for Flask and PostgreSQL. They run 24x7, and it's absolutely fine - apart from what appears to be repeated ...
0
votes
1answer
35 views

Read serial data from multiple arduino

Please help me find problem in this code: import serial ser=serial.Serial("/dev/ttyACM0",9600) ser.baudrate=9600 ser1=serial.Serial("/dev/ttyUSB0",9600) ser1.baudrate=9600 ser2=...
-1
votes
1answer
26 views

How to handle two networks (one for Smart devices and another to access internet) in a home automation setup?

I want to use my Raspberry Pi 4 as a secure home automation server that can handle two networks: one for accessing smart devices (over WiFi) and another for accessing the internet. This setup should ...
0
votes
0answers
16 views

4k option isn't available on 4b

Hey so I just recently tried out the desktop version of raspberry os (32 bit). I also just used the raspberry pi imager on a windows pc. Before I had just used it for a minecraft server and basic cmd ...
1
vote
0answers
33 views

I2C instability between a pair of Raspberry Pi

I have a connected a Raspberry Pi Zero (1.3, no W, running Raspbian 10 (buster) lite) as an I2C slave (clock:GPIO18,data:GPIO19) to a Raspberry Pi 3b (running Ubuntu 20.04.1) as an I2C master(clock:...
0
votes
0answers
16 views

Ultra-wide monitor support - Screen resolution, Video and Audio Raspberry Pi 4 B

Ultra-wide monitor specs: 34 inch WHFD (2560 x 1080) IPS Display (21:9) - HD 10 AMD Free sync OS: Arch linux with Openbox (lightdm) Issues: Managed to get 2560x1080 pixels with "...
0
votes
0answers
15 views

Is it possible to display image from buffer to framebuffer?

Looking for a way to display image from buffer (without writing image to filesystem) to the framebuffer. The idea is to compute and display QR codes without needed a desktop environment. Possible?
1
vote
0answers
23 views

Raspberry Pi hdmi black screen (SSH works fine)

My raspberry pi will boot fine and I can access via SSH however when connected to HDMI it is just a black screen that appears. I notice that the display screen resolutions are alternating back and ...
1
vote
0answers
19 views

Is it possible to enter USB-C Gadget Mode using only dhcpcd?

I've been following tutorials like this one to make USB 'Gadget Mode' work on the Pi: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ However the other day I had an issue getting it ...
0
votes
1answer
21 views

How to change the brightness of the video output?

I bought a monitor that has a "minimum" brightness that is still quite bright. How can I change the brightness of the video output of the Raspberry pi, so that the signal going to the ...
0
votes
1answer
34 views

How do you stream audio from one RPi to another?

I have a RPi Zero W running Stretch and equipped with an Adafruit speaker bonnet. I have followed these instructions including points 1 and 2 mentioned in the comments. The result is a functioning ...
0
votes
1answer
18 views

USB Ethernet / RNDIS is working over my desktop computer but not from my android phone

After following some guides, I was able to get a USB SSH connection working from my Windows 10 computer into my Raspberry Pi 4. It won't work on my phone though, even though my phone is capable of ...
0
votes
0answers
30 views

Need help in connections and code of a gsm module to trigger a call with a raspberry pi 3

Hello so i need the code and connections for a gsm module triggering a call i have searched like ton of sites and youtube and found no help if you could help me and explain the code and connections ...
1
vote
1answer
33 views

How to write a C++ wireless communication to control my raspberry pi over network

I have a raspberry pi and I want to convert it into a RC car which I will control through my PC. I know C++ programming and I intend to use that to write the software stack. I want to create a C++ ...
0
votes
2answers
37 views

Is there any battery for Rpi that can be charged and used at the same time? [closed]

I'm making a security camera using Raspberry Pi 3B+ . I want suitable battery to power my rpi. Is there any suitable battery pack that can power Rpi at the same time recharge the battery? I also found ...
0
votes
2answers
50 views

Raspberry Pi does not connect via ethernet or wireless. Remote connection isn't working

Until recently, my Pi 3B was working perfectly fine on VNC using ethernet with my windows 10 laptop. The problem started after I took out my SD card one day I believe. The IP was still showing up on ...
0
votes
1answer
16 views

How do I manually start/stop the motion service from a program?

I have successfully set up motion to run at boot up on a Raspberry Pi running buster Debian Linux. Now I want to start and stop the service from within my Python program. I started by changing the /...
0
votes
0answers
13 views

USB Webcam not working with browser

I am attempting to use a USB webcam with a web browser. Specifically, the webcam is a Logitech HD Webcam C615 (which is listed as compatible at https://elinux.org/RPi_USB_Webcams), and either ...
0
votes
2answers
58 views

How NOOBS OS boots? (in recovery mode)

I am trying to implement something which requires me to learn this:- How Raspberry pi NOOBS OS boots in recovery mode while holding SHIFT key? Can anyone help me regarding this?
1
vote
1answer
17 views

Raspberry pi zero W not connected to WPA enterprise school network

I have been trying to connect my Raspberry pi Zero W to the school network. So far, it seems like I have it connected since the wifi icon is in blue, and the school network has a checkmark, although ...
0
votes
0answers
68 views

Start-up message : Reset USB port-power 1000ms

I run Raspbian on a RPI, and last night I executed a CURL command - it hung, and then the RPI was offline. I've repeatedly restarted the RPI, but this comes up every time. If I swap the SD card, it ...
0
votes
1answer
26 views

Installing OpenCV fails for missing header files

I am trying to install opencv 3.0.0 on my raspberry pi 2b but I keep running into erros... currently, it complains about the following missing header files when I run the following cmake command: ...
1
vote
2answers
40 views

My applications clock(date and time) is too fast?

I have an electron.js application installed in a raspberry pi. The app displays date and time, the initial date and time is taken from a server and is incremented on the application using setInterval ...
0
votes
0answers
32 views

Powering Raspberry PI 4 from powerbank

I have a Raspberry PI4 and i want to include it in an embedded system so I decided to power it with a power bank but the only power banks I find are 5V 3.5A or 6V 3A.Is it ok to use one of them or ...
0
votes
0answers
20 views

pip install fbprophet

Can the facebook time series algorithm called prophet be installed on a rasp pi? It requires pystan (I think its Cython) and my B+ pi upgraded to Buster fails on the install with pip Im also noticing ...
0
votes
0answers
18 views

How to access a ffserver stream from an external network?

I am using Gphoto2 library to get live preview from a DSLR, encoding it to a feed using FFmpeg, and am using a FFserver to create an SWF stream. The stream works perfectly on my raspberry pi and I am ...
1
vote
1answer
32 views

RPI reading random values from SPI 10-bit ADC MCP3008 problem [closed]

I have used the Adafruit's simpletest.py to test out the MCP3008. The supposed result shows '0' for channel 2-7 and '0' for channel 0-1 if touch sensor is untouched. However for mine, the returned ...
0
votes
1answer
22 views

Notify Raspberry Pi from external server

I'm trying to set up a build server so that every time it completes a build, it notifies/pings my Raspberry Pi, which will then run some scripts and do some testing stuff. My first idea was to set up ...
2
votes
0answers
27 views

Difficulty executing command when raspberry pi loads

I have a raspberry pi 4B attached to a 7" raspberry pi touchscreen via the provided ribbon cable. In my application, I have my touchscreen rotated 90° by using display_rotate which is working ...
1
vote
1answer
26 views

Raspberry PI 3B: Problem connecting to SSID

I am using raspberry pi 3B with Jessie OS. I connect it to wifi by changing the network setting inside the /etc/network/interfaces the file. The setting looks like something like: source-directory /...
0
votes
0answers
15 views

Fast video recording with webcamera

I want to connect at least one webcamera to RPi3 and record smooth 1080p 30fps video. RPi camera is capable of that even on RPi Zero. But everything I tried on RPi 3 gives maximum 8 fps on 720p. Is ...
0
votes
2answers
43 views

USB tethering: Raspi loses it's ip if the host is restarted

currently I'm playing with USB tethering between a raspi and a Linux PC. On the Linux pc I configured the USB interface to get a static ip once it's connected. This is managed by the Networkmanager ...
0
votes
1answer
37 views

RPI4 missing 'pieeprom.bin' file?

I'm trying to edit the bootloader config following the rpi official instructions (https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711_bootloader_config.md). However, when I try rpi-...
0
votes
1answer
22 views

How to debug raspberry pi 4 connected fan

I'm completely new to this stack exchange, I've recently purchased a new case for my pi and a fan. It's a 5V fan which i connect the red wire to pin 4 and the ground to pin 6. While in power my fan ...
1
vote
0answers
23 views

DS18B20 stopped recently

I have read a few posts here on my issue, notably DS18B20 not detected by Raspberry Pi, but unfortunately none of the suggestions worked for my issue. I am seeking advice on additional troubleshooting ...
1
vote
2answers
47 views

Turn off external LEDs on Raspberry Pi 3

I see there are quite a few posts about this already but none seem to work for me. I am running a pihole server on my RPi 3 and I would like to turn off the external power and LAN LEDs (green and ...
1
vote
0answers
28 views

how to use MCP23S17 pin expander via SPI

I'm working on a custom sensor that is wired to a couple of MCP23S17 gpio expanders, which are in term connected to a Raspberry Pi 4 via the SPI pins i.e. SPI_MOSI, SPI_MISO, SPI_SCLK and CE0 pin. I'm ...

15 30 50 per page