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

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

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

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

After adding this below code in multicore.c file./****************************************************** * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause...

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

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


Advanced users • Re: NUMA Testing

I've done some additional testing on my 8GB board. I've been comparing results from my initial testing of this board back when it was released, trying to replicate conditions as best as I could. I've...

View Article

Troubleshooting • Re: Comparison of Periodic Processing on RPi4 and RPi5

On a pi5 I used libgpiod cloned from github:Code: git clone https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.gitAlso lg.https://abyz.me.uk/lg/https://github.com/joan2937/lgThanks for reply. I...

View Article


Raspberry Pi OS • Re: LABWC and XWayland

For clarification. Everything worked on my Pi4 with Buster & Bullseye.But this involves a Pi5. Bookworm.I use Wayland as X11 caused problems with some other commercial software that I was using.I...

View Article

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

One last question. What is the temperature of the sensor when you are getting those readings (read: 48843 Temperature: 2.64975 °C)? Presumably it's ambient, so you are expecting to see about 20...

View Article

Image may be NSFW.
Clik here to view.

Deutsch • Re: Pico W als VPN Lösung um mein Handy über das Hausnetz (Fritz)...

Du bist auf dem Holzweg Der Pico ist eim Microcontroller. Was du brauchst ist ein Raspberry Pi Zero 2 W.Statistics: Posted by smartifahrer — Tue Oct 29, 2024 7:00 am

View Article
Browsing all 4894 articles
Browse latest View live