Python • Re: Convert Integer to Hex Byte for use in I2C comms
This may help https://docs.python.org/3/library/stdty ... t.to_bytesWhen I have a whole packets of data to process for serial communications, I prefer to create a struct for the packet and use...
View ArticleTroubleshooting • Re: Slightly damaged RPi 3 B+ board (knocked off components)
Those capacitors are part of the WiFi antenna. You'll probably find that wifi doesn't work, or has a very reduced range.Everything else should work normally.So would I be better off bridging it with a...
View ArticleTroubleshooting • Re: MPG123 module not found when script ran at root level
Also, omxplayer is available provided you are using a sensible version of RaspberryPi OS.Seriously, if there is no critical reason why you have to be running the latest version, and assuming this is a...
View ArticleInterfacing (DSI, CSI, I2C, etc.) • DE9 Connection using Serial Hat on...
Hi, I am trying to use a Serial Pi Plus hat on my Raspberry Pi5 to try and communicate with an ancient machine that only offers a DE9 and DB25 port. As troubleshooting and control methods, I have...
View ArticleTroubleshooting • Re: VLC Player not working when included in startup script
For anyone having the same issue- (for reference I was using Bookworm OS)Apparently, VLC does not like to work at start up. I'm not saying it can't be done, but I tried every possible way I could...
View ArticleBeginners • Updating to the newest libgpiod
Hey guys, So i decided to go with the libgpiod library, currently im running version 1.6.3. from my understanding from the kernel website https://git.kernel.org/pub/scm/libs/lib ... bgpiod.git , the...
View ArticleTroubleshooting • Re: KEY_POWER not acting as expected
whenever i'm testing something like that, i use "evtest --grab"the --grab flag means every keystroke on the selected device, goes only to evtest and nothing elseany special actions like the power...
View ArticleGeneral discussion • Re: I build a linear PSU for the RPi5 for use in high...
If you're routing the DAC's power from a linear regulator, and that causes a measurable difference , then the filtering on the DAC's input to internal supplies is inadequate.That may be true,...
View ArticleInterfacing (DSI, CSI, I2C, etc.) • Serial data parse and save in file...
Hey,my program stops after writing 200-300 lines in the file and i can not find the problem. Has somebody an idea?Code: #include <stdio.h>#include <stdlib.h>#include...
View ArticleTroubleshooting • Re: Sudden unexplained measured Internet bandwidth reduction
For the moment, perhaps take the .local version out the equation.Thanks. I had already tried that and it made no difference.I think the problem is with the Ookla Speediest repository:Code:...
View ArticleGaming • Re: Geforce Now on Rasperry Pi
Wow I never thought I'd see the day that a $60 computer can run the latest AAA games.You haven't. The games are streamed to the Pi. All the $60 computer does is decode and display a video/audio stream...
View ArticleNetworking and servers • Unreliable WiFi on RPi5
I recently purchased a RPi5 from CanaKit. It is 8GB with aluminum case.My use for this is to manage astronomical equipment in my back yard. I run a 64-bit Linux-based system called AstroArch that was...
View ArticleBeginners • Re: Updating to the newest libgpiod
According to the README once you have downloaded and extracted the source -Code: ./autogen.sh --enable-tools=yes --prefix=<install path>makemake installI don't know what the '--prefix=' should...
View ArticleNetworking and servers • Re: Unreliable WiFi on RPi5
disable wifi power saving.can't remember how it's done in archStatistics: Posted by kerry_s — Tue Apr 30, 2024 11:51 pm
View ArticleOther programming languages • Re: Rust-language in Raspberry Pi OS
Its definitely worth considering the Rust-language when writing programs for the Raspberry Pi OS. Also read that the Linux Foundation are planning to rewrite the core in Rust-language. Fascinating...
View ArticleTroubleshooting • Jumping Mouse
I've been having a problem on my PI 5 8GB. It doesn't show on my PI 4 8GB so it must be something exclusive to the 5. If I'm reading articles on something like Reddit, or Hack-a-day, as I scroll down...
View ArticleNetworking and servers • Re: Gadget Mode SSH
That is based off of this thread: viewtopic.php?t=316528Unfortunately that guide is A. probably the wrong one, and B. not up to date for Bookworm. Updating is on my to do list but I've not yet got...
View ArticleTroubleshooting • Re: ALL USB PORTS Not Working on RPI 5
After a few days of my car being off but still connected to its main power, when I turned it on, I noticed that none of the USB ports were working. I don't understand what your car has to do with...
View ArticlePython • Re: Issue with 2 python scripts running simultaneously
That is normal, your script is running in a loop which does not allow the CPU to "breathe" and that causes a lot of CPU-time. I've made some untested modifications to your "File1.py" which will allow...
View ArticlePython • Re: 5V fan wont turn on using code
Can't tell from your diagram what your circuit looks like.However, I believe, if your fan is 5V you will not be able to control it with a 3.3V GPIO pin without using a transistor or MOSFET that the...
View Article