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

Python • Re: PID controller help

It took me a while to figure it out.Maybe this will help. Put this print statement as the very last line of your code where my example prints "All finished"..Code: print("Releasing all program, data...

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


Beginners • Re: ws2812 pwm and wled

There are libraries for MicroPython that make it easy to control WS2812 LEDs. The `neopixel` library is designed specifically for this purpose and will allow you to dynamically control the color and...

View Article

Advanced users • Re: Pi-Hole No Router Access

OpenWRT for example is router software you could use to turn a Pi or other computer into a router.Statistics: Posted by redvli — Mon Oct 28, 2024 3:52 am

View Article

Networking and servers • Re: "Fake" WiFi Captive Portal on Zero W?

I'm running the full version with a desktop environment (32 bit debian bookworm with raspberry pi desktop). From what I read, NetworkManager cannot create a captive portal. The only thing I need is to...

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

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

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

The chances of being compromised has to be a lot less then the millions of Android devices out there that have next to no support and an amazingly short update and security update cycle, are still...

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

Sure, here are comparison links:GB5: https://browser.geekbench.com/v5/cpu/co ... e=21923528GB6: https://browser.geekbench.com/v6/cpu/co ... ne=3448484Some hefty boosts there. Like:HTML5 Browser...

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 5692 articles
Browse latest View live