/r/raspberry_pi

3,196,470 Subscribers

1

Need help setting up a camera.

All I want is to be able to turn on this project, and have it stream the camera (8mp v2 NoIR) to an attached display.

I can’t figure anything out and am very confused. I don’t have anything to control the desktop gui, so I’ve mostly been using ssh to control it. Currently I’ve been stuck trying to get the camera to do anything. Since despite running a brand new flash of bullseye; every single rpicam command just returns “not recognized”. And libcamera commands work but return “preview window unavalible”

so yeah not sure what i need help with but please help!

1 Comment
2024/03/15
07:12 UTC

1

Chicken egg incubator with a Pi Pico (W)

So I made an egg incubator with a pi pico. I used a styrofoam box, an incandescent ligh bulb, a fan, a DHT22 temperature/humidity sensor and a dual relay module.

I need some suggestions on how to improve upon it.

Currently, the sensor measures every 2 seconds. If the temp is over 37.9 it turns off the lamp, and if it goes below 37.5 it turns it on. Theoretically, this should have an average temperature of 37.7 degrees, correct?

The fan is always on unless the humidity is below 60%. It is there to help spread the hot humid air, and also draws some air through some small holes to help regulate humidity.

Currently the lamp turns every 40-60 seconds for a couple of seconds and then turns off again.

I'm worried about the wear and tear on the lamp and relays. If I set it to 37.7 exactly then the lamp turns on and off every couple of seconds as you can imagine, so this is why I let if fluctuate between 37.9 and 37.5. Is this the correct way to solve this issue (besides the obvious solution, a dimmer or any kind of pwm control).

1 Comment
2024/03/15
07:03 UTC

8

Pi-Powered Boba Fett Helmet (w/ thermal vision and more...)

1 Comment
2024/03/15
05:24 UTC

1

Imager not launching on Windows 10

I'm not sure if I am asking this in the appropriate place, but I would really appreciate the help. This is a troubleshooting question. I am trying to download and run the Raspberry Pi Imager on my Windows 10 PC so I can copy an image onto my Raspberry Pi 4. Everytime I download the Imager, it installs, and when it comes time to run the program, I get an error message. I have deleted and redownloaded the imager program multiple times to no avail. The messages that I get are the following: " C:\Program Files (x86)\Raspberry Pi Imager\Qt5Core.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media. Error status 0xc0000020." , "C:\Program Files (x86)\Raspberry Pi Imager\Qt5Gui.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media. Error status 0xc0000020.", "C:\Program Files (x86)\Raspberry Pi Imager\Qt5Network.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media. Error status 0xc0000020.", "C:\Program Files (x86)\Raspberry Pi Imager\libcrypto-1_1.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media. Error status 0xc000007b." Any assistance in this matter would be helpful, and if I am asking in the wrong place, a point in the right direction would also be extremely appreciated. Have a great day.

3 Comments
2024/03/15
01:14 UTC

1

My raspberry pi 4 model B does not give an image

My Raspberry Pi 4 does not display an image. It remains blank after executing the installation commands. Additionally, it displays a warning message, which is as follows

CMaki Warning (dev) in CMakeLists.txt:

No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project (ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project (Project)" command on the first line.

This warning is for project developers. Use-Wno-dev to suppress it.

I tried installing raspbian again and trying other drivers and the same warning and the same result

please I'm frustrated and I don't know what to do

These are the commands I used

sudo rm -rf LCD-show sudo apt install git git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ sudo ./LCD35-show

1 Comment
2024/03/15
01:43 UTC

2

Weather station reporting help

Hi So I have my rasp weather station. A python script outputs the data every 15 min, via Matt to a home server broker. However I've noticed after about 36hrs the python script seems to stop working... nothing in logs of note. Also is there a better way than matt of outputting the results? I can't seem to find a solution that keeps working for months, rather than hours.

3 Comments
2024/03/15
00:17 UTC

1

Celebrating Pi Day with my Pi

Happy Pi Day at 3/14 1:59PM! Here's the video of my project to have a Raspberry Pi calculate Pi and show the digits on a scrolling LED clock display.

I used the Spigot algorithm to generate the digits of Pi and here's more about how Spigot works: https://jasonawells.org/math/piday2022/

This was a fun learning project for me. The calculation of Pi was the easy part! This was my first time working with the 7-segment LED display, so I spent lots of time starting at a blank display wondering what was wrong. But I stuck with it and finally understood how common anode electronics work.

There's no other control chips involved. My code directly controls the display, managing the animation on my own. I wrote my code in C using the pigpio library: https://github.com/revjawells/piday2024/blob/main/pi.c

0 Comments
2024/03/14
21:45 UTC

1

Raspberry pi storage

I’ve got a raspberry pi 4b 4gb, that is currently running on a 256gb ssd. I’ve gotten a 2tb and 500gb hdd now, but I have no idea how to connect them to my raspberry pi. The ssd is connected with usb, but I doubt I can have the other two attached as usb aswell, as I dont think the raspberry will deliver enough power to them?

So ive got some different and hopefully not difficult questions.

First one is, what is the best approach, should I buy something like a usb hub, and if so, which one would y’all recommend?

Second one, should I merge these two drives and if so, how?

Third one, is it possible to mount all of the drives to the same folder? I’ve got a folder with movies and shows, where I would love to store all of them on the ssd and hdds.

Hope y’all can help!

6 Comments
2024/03/14
21:11 UTC

0

Why buy the camera V3 if it's still widely unsupported?

I recently bought the Camera Module 3 and it's not officially supported for both of the things I was interested in using it for - RPI Web Interface and Motioneye. Though with motioneye, there is a workaround.

Is there anything like RPI Web Interface for the Module 3?? I want to use it as kind of like a DVR I can control and view from other devices on the network - so, view a semi-decent live stream and stop/start recordings to device.

Just seems backwards to buy a much older camera to do RPI Web Interface.

1 Comment
2024/03/14
18:53 UTC

0

Is a LM2596S power supply appropriate for powering a Pi Zero 2?

I'd Like to run the Pi off 2 x 3.7v cells. The power module I'm looking at is:

LM2596S DC-DC Step-down Power Supply 3A Adjustable Buck Converter Module.

Is there a common method for making a Pi portable with a small battery pack?

2 Comments
2024/03/14
20:53 UTC

0

Bluetooth/Homebridge/Switchbot

Hi all,

Go easy; I’m not very good at coding, though I am computer literate and happy entering commands in terminal, even if I don’t know exactly what they do!

My problem: I have a RPi 3b (I think) with Homebridge (HOOBS) installed. I also have a SwitchBot ‘Bot’. I’ve tried various SwitchBot Bluetooth plugins for Homebridge, but none even once setup, there is no communication between the Pi and my Bot. I’ve run a command that was given to me by a HOOBS dev, allegedly to install/activate Bluetooth things, but still no joy.

I’m pretty certain that this isn’t a plugin issue, and most likely is either a HOOBS or hardware issue.

Any help or advice that can be offered would be massively appreciated, as I’m tearing out what little hair I have left!

1 Comment
2024/03/14
20:45 UTC

0

How can I use PCIe Cards on Pi 5

I have an old DVB PCIe card which I use in another machine which I use for watching satellite TV with, and I'd like to try and get it working with my Raspberry Pi 5.

I've had a look, but I'm struggling to find adapters which will let me plug a standard PCIe card into, which can then be connected to the Raspberry Pi.

Does such a thing exist?

For reference, this is what I'd like to get working.

3 Comments
2024/03/14
20:42 UTC

0

Raspberry Pi Build Advice for a Total Noob!

Hi all- I am absolutely new to this and been doing a ton of research, but I figured many of you might have some advice and point out the flaws in my thinking.

I'm mostly doing this to get my feet wet while also building something that is actually useful. Please forgive my total noobness!

For starters, I have basic knowledge of python but have access to a ton of people that can possibly guide me with the coding aspect. I'm also pretty good at learning as I go so not too concerned about the problems that need to be solved. I am also pretty limited when it comes to working with hardware, the most I have done is build PCs.

The Idea: Build a PM and VOC monitor for air quality analysis. I'll be using it while 3d printing filaments that release gases that you probably will regret inhaling in 15 years.

Parts List:

  • Raspberry Pi 4 Model B
  • Power supply
  • BME680 sensor for VOC detection
  • SDS011 sensor for PM detection
  • Small display for a basic air quality dashboard + HDMI cable
  • MicroSD
  • Breadboard
  • Jumper wires
  • Tools for soldering, wires, multimeter etc.

Feel free to roast me, and I'd appreciate any advice or direction. I know that this is probably not the best first project for a total beginner but what's the worst that can happen, right?

4 Comments
2024/03/14
20:34 UTC

0

Powering GPIO pins w/ slightly more than 5v

Hi all, I'm powering my pi 5 with an external 12v power source via the GPIO pins. I used a buck converter to try to drop the voltage to 5v before connecting, but it's more like 5.3. Will this blow up my pi, or is it ok to be slightly over 5v? Thanks in advance.

11 Comments
2024/03/14
19:59 UTC

0

What should I do with this RPi 3B+?

I don’t know if it works right. How can I find out?

I had it running Octoprint for a couple cheap 3d printers for 4 years, then moved and stored it (at room temp) for a couple months. After that, I had issues getting it to connect to wifi, which resolved itself after an Octoprint update. I was trying to use it again to control a Creality printer , but I never got the RPi to see the printer. The old printers are gone, so I can't test with them. I was using the same physical cable that I had used previously, with kapton tape over the power pins. I could connect to the printer with a laptop, so I didn’t really suspect the port on the printer being the issue. I have tried connecting the RPi to one other printer since, and still nothing.

USB dongle for mouse/keyboard works. What diagnostics should I do next?

6 Comments
2024/03/14
17:27 UTC

2

Cloning RPi5 SD Card to NVME Drive

Hey everyone,

I have RPi 5 with some software and scripts installed on Micro SD Card, and just bought the Pimoroni NVME module and want to copy/clone everything from my SD Card to new m.2 drive. I’m bit inexperienced in this and if anyone could give me some direction on how to do it, would be greatly appreciated.

I’ve found some old articles on how to clone on older versions of RPi (3/4), but as there wwas no official support of an SSD drives back then, I don’t think it would work on RPi5.

I’d install it anew, but some scripts and configs will take too much time and if there’s any faster way to do it, please let me know.

Thanks in advance 🫶

5 Comments
2024/03/14
16:51 UTC

0

New Pi 5 AI project!

Hiya y’all! I‘m pretty new to everything Raspberry Pi related but I really wanna get into it as I like the thought of a tiny computer in general. I’ve had some experience with running a pi-hole on a Pi 3 and decided to create a Pi that will run a private chat ai without a permanent internet connection. I’ve decided that I wanna go with the Pi 5 (8GB RAM + 256GB w/ 150MB/s) as it’s barely a price increase from the 4 considering how much better it is, and while I feel prepared to take on all the software stuff, I’ve been wondering if there are good ways of powering Raspis on the go! This would be something further down the project where I (ideally) would be able to use the Ai on the Raspi with a touch display anywhere on the go. Less for productivity and more as a fun project. Also if there are any suggestions regarding the overall project I’m more than happy to answer them ^^

2 Comments
2024/03/14
16:27 UTC

150

[Pico] Bluetooth Adapter for Atari 2600!

So since I find the Atari Joystick very awkward to use, and the Pico W now supports bluetooth, I made this little adapter that plugs straight into the controller port. It also needs no external power as the Atari Controller port supplies 5V. So it’s literally plug and play!

I’m planning to add more retro console supports, by either soldering multiple plus at the same time or manage to come up with a switchable plug system lego style, with a push button to select the target console and a small LCD to display the selected console.

However I currently only made it for the 2600 and tested only the Series X controller, but I’m planning to update it soon.

Anyways, for whoever is interested in building one I have posted all the instructions as well as the uf2 file on a GitHub repository

2 Comments
2024/03/14
15:55 UTC

2

RaspiOS upgrade to kernel 6.6.20 breaks ZFS DKMS module

checking whether proc_ops structure exists... yes
checking whether bops->check_events() exists... yes
checking whether bops->release() is void... configure: error: 
	*** None of the expected "bops->release()" interfaces were detected.
	*** This may be because your kernel version is newer than what is
	*** supported, or you are using a patched custom kernel with
	*** incompatible modifications.
	***
	*** ZFS Version: zfs-2.1.11-1
	*** Compatible Kernels: 3.10 - 6.2
	

Building module:
Cleaning build area...(bad exit status: 2)
make -j4 KERNELRELEASE=6.6.20+rpt-rpi-2712...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.20+rpt-rpi-2712 (aarch64)
Consult /var/lib/dkms/zfs/2.1.11/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.6.20+rpt-rpi-2712 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.6.20+rpt-rpi-2712 (--configure):
 installed linux-image-6.6.20+rpt-rpi-2712 package post-installation script subprocess returned error exit status 1
Setting up raspi-config (20240313) ...
dpkg: dependency problems prevent configuration of linux-headers-rpi-v8:
 linux-headers-rpi-v8 depends on linux-headers-6.6.20+rpt-rpi-v8 (= 1:6.6.20-1+rpt1); however:
  Package linux-headers-6.6.20+rpt-rpi-v8 is not configured yet.

dpkg: error processing package linux-headers-rpi-v8 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-6.6.20+rpt-rpi-2712:
 linux-headers-6.6.20+rpt-rpi-2712 depends on linux-image-6.6.20+rpt-rpi-2712 (= 1:6.6.20-1+rpt1) | linux-image-6.6.20+rpt-rpi-2712-unsigned (= 1:6.6.20-1+rpt1); however:
  Package linux-image-6.6.20+rpt-rpi-2712 is not configured yet.
  Package linux-image-6.6.20+rpt-rpi-2712-unsigned is not installed.

dpkg: error processing package linux-headers-6.6.20+rpt-rpi-2712 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-rpi-2712:
 linux-image-rpi-2712 depends on linux-image-6.6.20+rpt-rpi-2712 (= 1:6.6.20-1+rpt1); however:
  Package linux-image-6.6.20+rpt-rpi-2712 is not configured yet.

dpkg: error processing package linux-image-rpi-2712 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-rpi-2712:
 linux-headers-rpi-2712 depends on linux-headers-6.6.20+rpt-rpi-2712 (= 1:6.6.20-1+rpt1); however:
  Package linux-headers-6.6.20+rpt-rpi-2712 is not configured yet.

dpkg: error processing package linux-headers-rpi-2712 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.6.20+rpt-rpi-v8
 linux-headers-6.6.20+rpt-rpi-v8
 linux-image-rpi-v8
 linux-image-6.6.20+rpt-rpi-2712
 linux-headers-rpi-v8
 linux-headers-6.6.20+rpt-rpi-2712
 linux-image-rpi-2712
 linux-headers-rpi-2712
7 Comments
2024/03/14
15:03 UTC

0

Library Installation

I just got my first Pi (RPi5 8Gig) and I want to install my first library (https://github.com/mytechnotalent/rp5-proj?tab=readme-ov-file). Is sending “sudo apt install gpiod” like it says in the README really all I have to do to download and install?

5 Comments
2024/03/14
14:30 UTC

0

Need Help Designing a Bus Detection Alert System for My 1st Floor Apartment

Hi everyone,

I'm embarking on a unique little project and could use some advice or guidance from this community's vast knowledge base. I live on the first floor, with a window that offers a perfect view of the street below, which happens to be the turnaround point for the local double-decker bus that I take every day. These buses are not only the tallest vehicles on the road but also have a distinctive light blue color, making them quite noticeable.

Here's the interesting part: every time the bus passes my window on its way up the street, I know I have exactly 4 minutes before it comes back down, which is when I need to catch it. What I'd like to do is rig up some kind of detection mechanism that could alert me when the bus passes by my window on its way up. This would give me a heads-up to start getting ready to leave without having to constantly watch out the window.

I'm considering options like a laser tripwire or some form of computer vision system that could recognize the distinctive bus passing by. The key requirements are that it must be able to distinguish the bus from other vehicles (considering its unique height and color) and trigger some kind of alert (like a sound, a light, or a notification on my phone) with enough reliability.

I have a basic understanding of tech and DIY electronics, but I'm not sure where to start with this project. Would something like an Arduino or Raspberry Pi be suitable for this? Is there an existing solution or sensor that could be repurposed or adapted for this use? How complex would it be to set up a system that uses computer vision to recognize the bus?

I'm eager to hear your thoughts, suggestions, or any advice on how to approach this project. Links to resources, guides, or similar projects would be incredibly helpful. Thank you so much for taking the time to read and for any help you can provide!

4 Comments
2024/03/14
10:56 UTC

0

Have a quick question, need help

Is it possible to retrieve the model or any other data about the Raspberry Pi at a low level using register addresses, and how can I determine the offset and base address?

7 Comments
2024/03/14
09:54 UTC

2

Just to confirm that I'm not the only experiencing issues with bookworm + pi 5 + touchscreens

None of the touchscreens work right with the PI5 , no matter what document I follow, but if I use bookworm on the pi4. it works perfectly.

This is using the usb touch or the gpio from elecrow. ads7846

I noticed that if I plug the usb touch, and I do an lsusb, it will briefly show the mtouch driver, but then it unloads.

the pi5 has the CanaKit 45W and switched to X11 instead of Wayland. latest everything (apt)

I know the pi5 has all working USB, since other USB devices work fine, usb stick, mouse, HDD, etc.

I know the monitors work fine, since they work great on the computer and the pi4.

Something is up with the pi5, as if some drivers crash, they load, but crash and won't list anymore.

I did try FydeOS on the pi5, and the screens don't work there either, but I don't know FydeOS official support for Mtouch drivers or ads7846 drivers.

Anyone lucky with pi5 and touchscreens?

How would I even debug this?

Thank you

Update: the 2nd lsusb shows that it discovered the driver for Mtouch, but 2 seconds later, it stops the xhci and you can see lsusb shows that Mtouch is gone, and it even took my Logitech USB keyboard dongle with it .

https://preview.redd.it/xud2xsfv2doc1.png?width=1426&format=png&auto=webp&s=5ba0a9696cd3ee29f861fed47d6298743f21bbfe

12 Comments
2024/03/14
05:48 UTC

2

Weird glitchy sound every second

I used a small c script to playback an mp3 on my pi zero, but every second a weird glitch sound appears. When using a similar python script, I don't get such a sound. Here is the script:

#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <alsa/asoundlib.h> #include <mpg123.h>

#define BUFFER_SIZE 1024

int main(int argc, char *argv[]) { if (argc != 2) { printf("Usage: %s <mp3_file>\n", argv[0]); return 1; }

char *mp3_file = argv[1];

mpg123_handle *mh;
unsigned char *buffer;
size_t buffer_size;
size_t done;
int err;

int driver;
snd_pcm_t *handle;
snd_pcm_sframes_t frames;
int rate, channels, encoding;

mpg123_init();
mh = mpg123_new(NULL, &err);
buffer_size = mpg123_outblock(mh);
buffer = (unsigned char*) malloc(buffer_size * sizeof(unsigned char));

mpg123_open(mh, mp3_file);
mpg123_getformat(mh, &rate, &channels, &encoding);

printf("Decoding MP3 file: %s\n", mp3_file);
printf("Rate: %d, Channels: %d, Encoding: %d\n", rate, channels, encoding);

snd_pcm_open(&handle, "default", SND_PCM_STREAM_PLAYBACK, 0);
snd_pcm_set_params(handle, SND_PCM_FORMAT_S16_LE, SND_PCM_ACCESS_RW_INTERLEAVED, channels, rate, 1, 500000);

while (mpg123_read(mh, buffer, buffer_size, &done) == MPG123_OK) {
    snd_pcm_writei(handle, buffer, done);
}

snd_pcm_drain(handle);
snd_pcm_close(handle);
mpg123_close(mh);
mpg123_delete(mh);
mpg123_exit();
free(buffer);

return 0;

}

1 Comment
2024/03/14
02:44 UTC

3

CM4 Carrier board portable solution 3.7 - 8v UPS Solution

Hi all,

I'm working on a portable RPI system designed around the CM4 and am having some difficulty figuring out the power management for the project. The main issue is due to the carrier board I chose which only accepts 8-24 v DC as a power input. There may be a way to skip over the step down circuit on the carrier board but I won't know till it comes in from China.

My goal is to make a relatively thin portable system so I am hoping to use either 3.7 or possible 7.4 v LiPo's. This was one option I was looking at, it is relatively thin but I don't understand how I would be charging it while also having it output power. I am new to battery management for projects like this so any help would be greatly appreciated.

Something like the PowerBoost and Type C Breakout from Adafruit are what I was looking at if I go 3.7 V. Any suggestions on good suppliers for lipo batteries would also be super helpful.

If I can't tap into the 5v on the carrier board I was planning to use a 5v-8v boost converter such as this

To summarize:

- Does anyone have tips on making a thin lipo based UPS for Raspberry Pi's?
- Should it be possible to skip the step down circuit on the carrier board and just use the Adafruit stuff?

- Where should I be looking for good thin LiPo's?

Thanks!

3 Comments
2024/03/13
23:36 UTC

2

How to hide the mouse cursor on Pi 4b

I got a Pi 4b to constantly display a webpage. I installed the system with Raspberry Pi Imager and default settings. I used the chrome with -kiosk to render the webpage. Then I found the mouse cursor annoying and googled for several solutionsto hide the cursor but no luck. What I have tried:

  1. install unclutter and add @unclutter -d :0 -idle 0.5 -root to /etc/xdg/lxsession/LXDE/autostart
  2. create ~/.config/lxsession/LXDE-pi/autostart and add the unclutter command here.
  3. add xserver-command=X -nocursor to /etc/lightdm/lightdm.conf
  4. add the same command to /etc/X11/xinit/xserverrc
  5. write a python script to automatically move cursor to the corner using Xlib.display and auto start it by adding a file at ~/.config/autostart

None of these work. I also tried directly run unclutter or my python scripts in the command line but nothing happened.

7 Comments
2024/03/13
22:56 UTC

1

Audio controlled LED strip project

Hi all, I’m am working on a LED project and need some help. I have an LED strip behind my desk that I want to control from an audio signal using a pi. The goal is to send an audio signal from my guitars multi-fx board to the pi and then have the pi control the brightness of the lights based on the audio signal. The pi will not be responsible for actually playing the audio I use a different output in the multi-fx board to send audio to speakers and the pi will have a dedicated 3.5mm audio cable just for controlling the lights. Does anyone know of any python scripts already available that could help me accomplish this. I have an extremely basic coding knowledge so doing something like this from scratch would be very difficult for me. Any advice would be greatly appreciated. Thanks!

4 Comments
2024/03/13
22:28 UTC

3

Can't control GPIO through python or C

Hello nice peeps of Reddit, I'm struggling with even the most basic RPI project and I hope someone can help me see what I cannot.

The end goal is to use my old RaspberryPi 2 to control about 250 LEDs through about 16 TLC5940. With that in mind I installed a clean Gladys Assistant, then WiringPi, then tlc5940_raspberry, whipped up a breadboard, my bench PSU, done the connections according to the example in tlc5940_raspberry, run the program and... nothing. So I thought maybe I was too ambitious, as I have done some Arduino in the past to some much more advanced stuff but raspberry maybe is different? So I got the most basic project I could find, the blinking led, run the python script, and... nothing. I added some debug output, double checked the wiring (yes, I connected to the right GPIO pin, GPIO 4, not pin 4), changed GPIO pin, run as sudo... absolutely nothing, I get the output to the terminal but nothing happens to the LED.

By chance I discovered the gpio command, which as far as I understand is part of WiringPi and gave it a gpio toggle 4 and low and behold, we have light! I even tried the gpio blink 4 and it worked perfectly. Tried with other GPIO pins and it all worked with the command from terminal, but it absolutely doesn't from any python script or program in C.

I wiped the SD card, installed raspian, same result. Reinstalled Gladys, same result. I made sure everything was up to date. I even asked chatGPT!

I am now at my wits end.

Can someone please help?

EDIT: I corrected some typos.

21 Comments
2024/03/13
21:19 UTC

0

Raspberry pi 5 os lockscresn bypass

Hi, I am new to the world of raspberry pies (:)) and I am using mine to power a basic Minecraft server at University. Everything was fine until I discovered I have no lock screen button on my power options. Searched some tutorials, found out i can manually add one using dm-tool lock. Again, everything fine until i found out it can easily be bypassed, right into my desktop pressing ctrl+alt+f8 (the f key may vary from user to user). This doesn't apply on startup and if logged out, there it works as intended. Also when idling the screen goes gray.

2 Comments
2024/03/13
19:45 UTC

Back To Top