Quantcast
Channel: Raspberry Pi Forums
Browsing all 5948 articles
Browse latest View live

Beginners • Re: Raspberry Pi with Door sensors

More questions than answers this time.Starting with the big one, is this a real life application or education assignment?If real life, its time to share ALL the relevant information, please.If its for...

View Article


General discussion • Re: Installing OS in an SD Memory Card for Raspberry Pi 5

I've used 256GB SD cards on Pi 4Bs. I tend to install a card just to make use of that slot for file backups even if I'm booting from an SSD.Statistics: Posted by Eirikur — Tue Jan 16, 2024 6:25 pm

View Article


Beginners • Re: How to rename root partition on Rpi5

Maybe there is an ugly solution, if you have a limited number of scripts which need to access df, and if these scripts use bash https://linuxize.com/post/how-to-create-bash-aliases/Before invoking df...

View Article

Troubleshooting • Re: Pi 5 UART connectivity via GPIO or dedicated JST-HS socket

Check your wiring?Try swapping TX and RX round at one end?Statistics: Posted by thagrol — Tue Jan 16, 2024 6:28 pm

View Article

Compute Module • Re: Rpi cm4 usb gadget performance issue related to...

Is there a way to have usb interrupt moderation on the cm4 in device mode? No.What endpoints are you using, and how are you delivering buffers from your application to the gadget layer?Hi jdb, thanks...

View Article


Graphics, sound and multimedia • Re: Question about v4l2 bcm2835-codec...

Thanks for the answer and explanation. But I tried this input format, without luck, nothing changed.Code: struct v4l2_format inputFormat = {0}; inputFormat.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;...

View Article

MicroPython • Re: Memory allocation failed (OV5640 VGA format, RGB565) with...

Modifying it to do partial frames won't be trivial.One trick which can make things easier is to read multiple frames and only store a few bytes from incrementing offsets each time. That can often be...

View Article

MicroPython • Re: Setting NTP time on Pico W issue

Or maybe this:Code: def connect(): sta_if.active(True) # seems more reliable to start with a fresh connect() if sta_if.isconnected(): sta_if.disconnect() print ('started in the connected state, but...

View Article


General • Re: Static IP on Raspberry Pico

I don't know if this is relevant to micropython - i.e. if there are equivalent functions, but using the SDK I found that this works...Code:...

View Article


Gaming • Re: Help to build a Pi Jukebox

Using fruitbox v2 https://github.com/chundermike/rpi-fruitbox-v2 you can use a keyboard for initial testing.More dicsussion here from the author: viewtopic.php?p=1188358#p1188358The fruitbox user...

View Article

Troubleshooting • Re: Rpi4 only boots certain OS !!??

on your first screenshot, see that EDID data is not "OK" (it says None) . So, given the new KMS driver, the pi does not know what resolution to set, so it sets none.this explains the black screen:"Now...

View Article

HATs and other add-ons • Re: PoE for Pi 5

A month on, is there any further news?Statistics: Posted by dickon — Tue Jan 16, 2024 7:09 pm

View Article

Beginners • Re: Installing OS in an SD Memory Card for Raspberry Pi 5

Currently using a 512 GB uSD on a Pi 5. Not by choice, but it's what I had on hand until an SSD arrives.The bigger they are, the more stuff you'll lose when the go kaput.SSDs will last much longer and...

View Article


MicroPython • Re: callback from a timer ?

I wrote just this type of code a few years ago for an 8pin microchip pic processor..https://github.com/WKTodd/Coil-WinderIt is serial controlled and does acc dec limit cycling braking...

View Article

Camera board • Re: IMX290 / IMX462 HGC mode

Hey 6by9,wow, thank you - sounds great. So cool!I will try the new driver. So just for my understanding: 1) At gain 80 it switches the mode2) The parameter "--hcg_threshold 60" (will set this...

View Article


Troubleshooting • Re: RPI 400 trouble installing or using matplotlib

Excuse me, but unless very new and shiny features are needed, matplotlib is a python packagehttps://packages.debian.org/bookworm/python3-matplotlib (I am very satisfied with it; I used google with...

View Article

Raspberry Pi 400 • Re: RPi400 reboots when UPS hands back to mains supply

Are you using the official power supply for the Pi 400? I have a 20 year old or so APC BK650MI (new battery 2 years ago) feeding my Pi 400 and it never reboots when I switch between mains and battery....

View Article


Advanced users • Re: GPIO Interrupt asserting continuously

And that's because you need to tell the GPIO controller that you have dealt with the interrupt - to acknowledge it.Statistics: Posted by PhilE — Wed Jan 17, 2024 7:08 pm

View Article

Beginners • Re: How to tell when headless Pi 5 has fully shut down

You can use a script that runs on a schedule, say every 20 seconds or so, that blinks the led 10 timesor you can just turn on the heartbeatCode: root@raspberrypi:/sys/class/leds/ACT# echo heartbeat...

View Article

C/C++ • CMake DISTRO_ID= different for 32 bit and 64 bit Bookworm

I've been looking for a way to recognize a raspian build in my CMake project.Most of my machines are now running 64 bit, but I recently built my project on a 32 bit machine and realized it reports...

View Article
Browsing all 5948 articles
Browse latest View live


Latest Images