All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
53 views

DIY power indicator LED stays half-on when system is off; shared GPIO conflict?

This is my first foray into Raspberry Pi (and these kinds of electronics in general) as well as asking questions about it here. My goal: Attaching a power indicator LED along with a fan (Pimoroni Fan ...
-1
votes
1answer
43 views

Raspberry Pi 4 not recognised by KVM switch

I have recently been given a PWAY 4 way KVM switch (Model PW-SH0401B) so I can use one screen/mouse/keyboard with 4 Raspberry Pi I am using for some research work. Although it works when I attach my ...
0
votes
0answers
8 views

Debugging / analyzing: no sound output on Pi Zero. Running PyAudio

I have written a python-based audio servo controller that runs on a Raspberry Pi. It takes input from either .wav files or a microphone, analyzes the chunks of the stream to get the volume of each ...
0
votes
2answers
55 views

adduser command does not create home directories [closed]

i ran sudo adduser dummyuser and followed the prompts to create the password etc. After logging in to the dummyuser account, it does not create any of the home sub-directories (such as Documents, ...
0
votes
1answer
36 views

Trying to cd into c89 directory in my Raspberry Pi 4 [closed]

I am a beginner to raspberry pi. So, I am trying to put a sample code using C in raspbian in my RP4 I was successfully able to cd into /usr, and then /bin. So now my bash shows up as: "pi@...
0
votes
3answers
43 views

Power Raspberry Pi 4 with a phone charger [duplicate]

I've got a phone charger that delivers 4.5 A at 5 V (Huawei SuperCharge), which should be enough to power the the Pi 4. Can I use this charger or do I have to buy the original one? Thanks in advance
0
votes
0answers
14 views

How do I fix my crashed bluetooth? [duplicate]

After an apt update today, my bluetooth menu disappeared from the menu bar. Even the services are not running anymore. Whenever I am trying to fix something(with systemctl and apt), this message ...
0
votes
0answers
28 views

day / night motion alarm

I am going camping in a few months and I want to build a motion sensor alarm for my tent entrance for while I am asleep. Chances are nothing will set off the alarm, but if a bear or coyote comes ...
2
votes
2answers
51 views

Can't run python script on startup. Raspberry Pi 4

I am trying to run a python script when my Raspberry pi 4 boots. THis python script works when I run it directly, with no errors. I have edited the crontab file to do this as can be seen below: # ...
1
vote
2answers
35 views

Unable to auto livestream when booting - enable .service does not work (failed to enable unit: Invalid argument)

I want to set up a service that starts a livestream when booting the rasp. I have been following this tutorial: domoticproject.com/creating-raspberry-pi-service This is what my .service in /lib/system/...
0
votes
2answers
216 views

How can Rpi change Neo-6M GPS update rates?

Hi i'm tryng to change the update rate of my gps tracker(neo 6m ublok) i know the byte that i need to send are 0xB5,0x62,0x06,0x08,0x06,0x00,0xC8,0x00,0x01,0x00,0x01,0x00,0xDE,0x6A i've tried echo -e &...
1
vote
1answer
37 views

Bluetooth adapter can't be found after the latest upgrade of Raspbian

After the latest upgrade of Raspbian buster everything seems to be falling down. Softwares are crashing. And bluetooth adapter is missing. Also the bluetooth menu is missing. How can I fix this ...
0
votes
0answers
26 views

RPI4 Ubuntu 20.04 touchscreen

I have a Raspberry Pi 4 with Ubuntu 20.04 installed attached to a 22" hannspree touchscreen that reports as a "Weida Hi-Tech CoolTouchR System" USB device to /proc/bus/input/devices ...
0
votes
0answers
29 views

Gestures not working on FT5336

I'm new to the CM3+ module, but I've worked extensively with other RPi products. I'm currently trying to implement my own FT5336 driver, but I'm having some slight problems, as the "Gesture" ...
0
votes
1answer
51 views

problems lighting up LED on pi 3

HI i am new tp pi and python and wanted to create something that simply turns on and off a led. It does not seem to work and not sure why? here is the python script: from gpiozero import LED, ...
0
votes
2answers
24 views

RPi.GPIO Cleanup() only specific pins?

Im using the Pi to control some relays, that in turn switch some light bulbs. some code for clarification: def do_work(job): try: duration = int(job.Duration) gpioPort = int(job....
1
vote
1answer
67 views

Power Raspberry Pi 4 (4GB) In any Car [closed]

Hey , so here's the dilemma , I want to use My yet-unused Raspberry Pi 4 (4GB) in my car , providing it works , as it seems this one was from the first batches manufactured and people reported it ...
0
votes
3answers
70 views

copy sd card through terminal

I'm trying to back up my retro pie SD card in case of corruption, but Retro pie does not have a desktop environment, so can't use the sd card copier tool. Is there some terminal command to do this? I'...
0
votes
1answer
30 views

Performing multiple separate actions in Python with callback to main class instance

I am making a smart nightstand using a Raspberry Pi and Python. It should be able to: Have settings being controlled by a mobile app communicating through TCP requests to the Raspberry Pi Have an ...
1
vote
1answer
33 views

3.5 Inch RPi LCD with colors problem

I've just installed a 3.5 Inch RPi LCD (A) V3 (XPT2046 Touch Controller) on my Raspberry Pi 3 Model B+ and I'm having problems with the colors of the display. I'm attaching an image to show you. I'm ...
0
votes
0answers
14 views

Use PiCamera V2 is surprisengly working without picamera module and using OpenCV in python

I was convinced that in order to use the picamera V2 with openCV I needed to pass by picamera module in python or libraries such as raspicam in C++. However today I saw the following code working in a ...
0
votes
1answer
18 views

Raspberry Pi DPI Colour issues

I have a DPI screen with an interface, I have setup DPI on the pi following this guide: https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/README.md I am getting an image but the ...
1
vote
1answer
20 views

Exceptions not caught properly in while loop [closed]

I am trying to implement a RESET button, so when pressing the button, the code restarts. However, I am getting some strange behavior. First I tried raising a custom Reset Exception: class Reset( ...
1
vote
1answer
19 views

Rasberry Pi 3 Pi4j does not work for digital pins other than RaspiPin.GPIO_07

I am trying to get a led working with the Raspberry Pin 3 model B+ with Raspbian. I am using Java Pi4j library this way: GpioPinDigitalOutput digitalOutputPin = GpioFactory.getInstance()....
0
votes
0answers
14 views

DTOverlay for Focaltech ft6336c touchscreen

I have a touchscreen which uses the ft6336c driver for the touch (the video is sorted via a DPI interface). I have found that there is a kernel driver, edt-ft5x06.ko but I can't find an overlay. Does ...
1
vote
0answers
32 views

How can Rpi4B use multiple on board and USB based UART / serial ports?

there. I am trying to use rpi 4 to access my own device through UART. However, the number of UART port isn't enough for me since I'm trying to access more device in same time. Thus, I want to know if ...
0
votes
0answers
25 views

Raspberry Pi Zero Kernel Error Messages

Today I took my raspberry pi zero off the shelf to install the new camera which arrived yesterday. I first run: sudo apt update sudo apt full-upgrade It updated 41 packaged, I don't now what exactly. ...
0
votes
1answer
27 views

Clock problem when programming ATMega328P over ICSP pins

I'm following this example from Adafruit that shows how to program an AVR such as ATMega328P from a Raspberry Pi, using the AVR's ICSP pins. I run all the steps and it is working fine except a single ...
1
vote
1answer
42 views

Install pure debian on raspi 4B

I'd like to install "pure" Debian (not Raspberry Pi OS/Raspbian) in a Raspberry Pi 4B. This is because Raspberry Pi OS diverges too much and makes some stuff in FreedomBox not work fine. Is ...
1
vote
0answers
14 views

What clock does the SPI SCLK use?

I would like to set the PWM and GPCLK pins to use the same clock source as the SPI bus uses, As mentioned by an answer to a previous question The PWM and GPCLK can be set to the following sources: 0 ...
1
vote
1answer
39 views

Is it possible to run a NGINX server alongside with Pi-hole on a Raspberry Pi 1 B?

I already have Pi-hole 5.0 and PiVPN installed. I plan to install an NGINX server to serve one PHP script for personal use. Here's the example script: //voicefax2text.php on myserver.com <?php $...
3
votes
1answer
69 views

Can I boot with any arm64 OS?

I don't know much about the workings of operating systems besides CPU architecture. I have a raspberry-pi 3 B+, which apparently has an ARM64 architecture (the wiki page for raspberry pi says ARMv8-A ...
0
votes
1answer
16 views

How can I get Raspbian Lite to support TrueColor, or change default terminal away from LXTerminal?

I have Raspbian Lite installed, which defaults to LXTerminal. This states that LXTerminal supports truecolor if I can run it with a flag https://gist.github.com/XVilka/8346728 --enable-gtk3 I was ...
0
votes
1answer
25 views

Booting from USB using a CM3+

i would like to use an usb stick to boot from my CM3+, because i would like to test the eMMC with different file systems I edited /boot/config.txt adding program_usb_boot_mode=1 but nothing changed. ...
0
votes
1answer
43 views

Setting up Raspberry Pi 4B as a routed access point

Setting up Raspberry Pi 4B as a routed access point Hi guys I want to set up my Raspberry Pi 4B as a routed access point. Many IoT-devices in the subnetwork 192.168.7.x should connect to my RasPi over ...
1
vote
1answer
32 views

Can Rpi GPIO pins be used to drive a DC motor? [closed]

I tried to GPIO pin to high and I cannot see output voltage. I try every solution but no one works for me. import RPi.GPIO as g g.setmode(g.BOARD) g.setup(16, g.OUT) g.output(16, g.HIGH) I look GPIO ...
0
votes
0answers
30 views

How can I send input from my laptop mic to raspberry pi?

I have a raspberry pi 3 and it is hosting a web server and want to send audio input to it from my laptop mic to the web server that it is hosting for some task to be accomplished. Problem is, it is ...
0
votes
0answers
12 views

Forward camera commands through raspberry pi to camera

I have a raspberry pi with raspbian installed on it. I have a camera, which I wish to control from a Windows PC as the software seems to only run on windows. But the problem is I will not be able to ...
0
votes
1answer
32 views

Fixed IP on phone (Android) hotspot

I'm trying to fix the IP address of my Pi Zero W when it connects to my mobile phone hotspot. From what I have gathered, the way to do this would be to specify a static ip_address entry in /etc/...
0
votes
0answers
17 views

How to display an image full screen on my second monitor (raspberry pi 4)

I am using RPi 4 and running two monitors. I want to display an image on the second screen using Python or Linux command line. I have tried but I couldn't do this with fbi(it displays on the both).
1
vote
2answers
64 views

Raspberry Pi w/Buster dynamic AP and Wi-fi client

I have managed to setup my Raspberry Pi Zero W to work in both AP and Client mode simultaneously using this great guide. Using wpa_cli -iwlan0 (no sudo), I am able to scan, connect and save networks ...
0
votes
1answer
43 views

PiCamera 1.13 docs MMAL example problem

I am trying to lower the time to capture a still image from the Pi camera (I have a V2 and HQ). To this end, I have found my way to the PiCamera 1.13 docs, specifically chapter 16 dealing with the ...
0
votes
1answer
26 views

Kiosk GUI not appear after boot

I wrote a python GTK Kiosk program for the Raspberry pi and when I execute it from terminal it works properly. I want to run it automatically after booting and I tried several ways to do that (.bashrc,...
0
votes
1answer
44 views

Setting up Raspberry Pi as wireless access point with static IP config

I am trying to set up my raspberry pi to act as a router. The set up is the following: The Raspi receives its connection to the internet through Ethernet, with a static IP address setting. The subnet ...
1
vote
1answer
39 views

File Manager issue after recent update

I recently updated my raspi which is running debian buster (version 10). After the update/upgrade cycle - which took a while since I have not updated my device in quite some time - I noticed an issue ...
0
votes
1answer
63 views

CRON schedule to run a .py file [closed]

Im trying to follow this blog about setting up a CRON service to run a .py file every 15 mintes In the blog it states to place your .py file in the /home directory and then make sure you can execute ...
0
votes
2answers
48 views

Use GND as GPIO?

I've found a 5v relay board which is twice cheaper in comparaison with a board with 40 pin stacking header. I can wire the Pi to the relay board using jumper cables but it look like messy. My wish ...
0
votes
2answers
58 views

powering a pi 3B using two 18650 batteries in series. what circuits do I need? [closed]

I have an raspberry pi 3B I want to use as the brains for a robot car. In my initial setup I used a power bank for the Pi and a powered the motors using a seperate pack of two 18650 batteries in ...
1
vote
1answer
35 views

Make raspberry pi to recognize usb0 as eth0

I have CAT.m1 device that connected by USB. It connects raspberry pi to the network. In raspberry pi it is perceived as 'usb0'. It can get ip address, and works well. But I wish raspberry pi perceive ...
0
votes
1answer
25 views

Create a wifi accesspoint (sharing wifi) with traffic routed over VPN

I know we can create a wifi hotspot, sharing ethernet over wifi but is there a way I can create a new wifi hotspot while staying connected to a wifi. So something like sharing wifi. My use case is I ...

15 30 50 per page
1
4 5
6
7 8
613