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

Troubleshooting • Re: dnsmasq refuse SOA <Root> requests

Changed toauth-server=mypi.domain.local,wlan0/4 then SOA <Root> was not refused- Beats me whyStatistics: Posted by MatsW — Sat Oct 26, 2024 7:40 am

View Article


Python • Re: Detect motion with pi camera v1

This example from the excellent github picamera2 repository captures motion: https://github.com/raspberrypi/picamer ... _motion.pyStatistics: Posted by neilgl — Sat Oct 26, 2024 8:30 am

View Article


Bare metal, Assembly language • RPi 5 always-on GPIO (bcm2712 gio_aon)...

I'm making a simple blink bare-metal example program for the Pi 5, and I wanted to blink the on-board green (ACT) led.According to the linux kernel files, the ACT led is connected to GPIO 9 of...

View Article

Image may be NSFW.
Clik here to view.

Bare metal, Assembly language • Re: RPi 5 always-on GPIO (bcm2712) control

I think it's actually starting from 0x107d517c00 (having the "0x10 prefix") according to this reddit post: https://www.reddit.com/r/raspberry_pi/c ... are_buttonCode: $ sudo grep -i gpio...

View Article

Automation, sensing and robotics • Re: 2 Relays Module with JD-VCC

The referenced pdf file shows the schema of the board. Compare with the schema in viewtopic.php?f=91&t=83372&p=1225448#p1225448 Do not use the jumper shown in the image on J5. Connecting relay...

View Article


Python • Re: Pygame on Raspberry Pi looks very weird

Try this:Code: #!/usr/bin/env python3import pygameimport sysred = (255,0,0)black = (0,0,0)test_box = pygame.Rect(10, 130, 80, 60)pygame.init()screen = pygame.display.set_mode((0, 0),...

View Article

Troubleshooting • Re: I want to use ky-013 for raspberry pie pico.

... and the constant 65335 in "temp = math.log(10000.0 / (65335 / read - 1))" should be 65535 == 0xffffThank you for the correct information.As you said, I modified it as the code below.But among what...

View Article

Camera board • Re: "Or Better"?

In mergeviews, I'd put it round here:Code: request_2 = cam2_request if request_2 is None: return request_2.acquire()and in save_request it probably only needs to go round "cam2_request.release()", but...

View Article


Image may be NSFW.
Clik here to view.

Bare metal, Assembly language • Re: RPi 5 always-on GPIO (bcm2712 gio_aon)...

Just wanna say that it works perfectly! Thanks a lot For anyone who stubles upon this, there's two relevant registers: GIO_IODIR (at 0x107d517c08; sets the GPIO direction - 0 is output, 1 is input)...

View Article


Raspberry Pi OS • Re: how to make apt (-install) work again for Stretch?

WHY do you WANT to use apt on Stretch? There will NEVER be any updates and it is unclear WHAT you want to do. If you explained you might get more helpful responses.It is quite simple to run apt if you...

View Article

Camera board • Re: How to optimice low latency video streaming from Picamera2...

I have tested with different settings all the result is about the same delay of 500 ms.Tests:create_video_configuration set to buffer_count=1, Delay of 500 mscreate_video_configuration set to...

View Article

General • Re: How to setup FreeRTOS for RP2350

I haven't tried it myself, but this video from Dr. Jon EA Ltd appear to be a very good starting pointRunning FreeRTOS Kernel on RP2350 and Pico 2Statistics: Posted by AndyD — Sun Oct 27, 2024 8:43 am

View Article

Compute Module • Re: Camera unable to capture image on compute module 4 with...

I am using a Compute Module 4 with an external PCI connection. I have attached a USB camera to the PCI and am observing the issues mentioned above. I have also checked the kernel logs and other logs...

View Article


Beginners • Re: ws2812 pwm and wled

So you want to replace ten LED on an existing device with a more colorful implementation using a raspberry pico and ten ws2812 ?Just for curiosity, how will you 'tap' the existing device to acquire...

View Article

Troubleshooting • Re: how to force rpi3 (Bookworm) to output 1080p?

Did you look in the mamual/documentation?https://www.raspberrypi.com/documentati ... d-rotationStatistics: Posted by bensimmo — Mon Oct 28, 2024 6:16 am

View Article


MicroPython • Re: v1.24.0 released

Oh, the coprodis_command function (line 5656) looks utterly brutal. From:Code: https://github.com/raspberrypi/picotool/blob/master/main.cppThe regex while (true) loop has massive amounts of string...

View Article

General • Re: output(printf()) does not show in the serial monitor

@Vineethad, you should use the code tags (you can edit the posting and make the change), otherwise it will be very difficult for anyone to decipher the code.Statistics: Posted by katak255 — Mon Oct...

View Article


Interfacing (DSI, CSI, I2C, etc.) • Re: I2C1 stopped working, others act funny

Just a quick reflection on the schematic. Is it really 4.7 Ohms? Shouldn't it be like 4700 Ohms for the high level pullups? In other words, check the level converter, it might have fried if you really...

View Article

Python • Re: Reading Photoresistor Values on LCD

Just look to your code how the temp and humidity sensor values are measured and placed on the LCD, and then do this similar with the photoresistor values.Or post your code here and perhaps someone...

View Article

Python • Re: Detect motion with pi camera v1

Update: running it on a Pi 3B+ (Bookworm 64-bit) with a V2 camera module it all worked fine.I transfer the captured video to my PC (ftp) and look at it in VLC on the PC - all good.The problem was...

View Article
Browsing all 5781 articles
Browse latest View live