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

Compute Module • Re: GPIO cannot read Magnetic Reed Door Sensor

That code works OK on a pizero2 running Bullseye 32-bit with Desktop.I simulate the reed switch on GPIO16 using raspi-gpio with the script already running:Code: pi@pibull32:~ $ raspi-gpio set 16 op...

View Article


Camera board • Re: Dead lock on ScalerCrop control with Picamera2

Hi again, yes, you have to use eitherCode: with camera.controls as controls: # ...orCode: camera.set_controls(...)but you can't put the latter inside the former because they will fight over access to...

View Article


Troubleshooting • RPi4 Not Booting Correctly

Hello,I recently set up 6 Raspberry Pi 4Bs as media players in a museum, and am having issues regarding booting every morning. The red light is solid with no green light. I have to manually unplug and...

View Article

Other projects • Re: Vintage Phone Pi4

A vintage phone is very likely to have a carbon microphone. You should consider replacing that with a modern electret type compatible with the audio card (HAT or USB) that you also require to get...

View Article

Networking and servers • Re: Ideas for controlling a Raspberry Pi 5 via...

If the Pi has been previously paired then unpair via Settings/Bluetooth. The old pairing will not be recognised by btferret which uses its own custom pairing process. On my HP tablet, if the Pi is...

View Article


General discussion • Re: RP2350 and Pico 2 released!

The RISC-V implementation is clever.Is that a unique approach?Statistics: Posted by Paul Webster — Thu Aug 08, 2024 3:39 pm

View Article

SDK • Re: acknloweging IRQs created by irq_set_pending()

I think I have found the problem. https://www.raspberrypi.com/documentati ... 7ab37233efCode: void irq_set_pending ( uint num ) Force an interrupt to be pending on the executing core. So it seems that...

View Article

Troubleshooting • Re: USB Camera Detects but video won't work?

As it says it hasn't found a USB camera....Try this and show me the output Code: # find USB cameraimport osx = 0while x < 42: txt = "v4l2-ctl -d " + str(x) + " --list-ctrls >...

View Article


General discussion • Re: Mosquitto -h option

mosquitto_pub sends a message to a mqtt server. The -h tells the command the address of the server to send that message to.Meanwhile mosquitto.conf is the configuration file in the mosquitto server...

View Article


General • Re: Pico 2, RP2350A & -B, RP2354A & -B

There's a second QSPI CS in GPIO bank 0 (QMI CS1n).Statistics: Posted by horuable — Thu Aug 08, 2024 3:49 pm

View Article

HATs and other add-ons • Re: Could PyBricks be up and running on BuildHAT..

Yes, the bootloader is open source and hosted on github, here:https://github.com/muzkr/hachiHaven't figured out what I'm going to do next, or what I can do. There is a vague idea of introducing Lua...

View Article

Troubleshooting • Re: Pi5 more susceptible to glitches on Vdd

Don't switch the supercapacitor power, connect the diode to the main supply instead of the switched supply.Having not looked at the data sheet ....I'm not sure you need the supercapacitor at all,...

View Article

SDK • Re: SDK2.0.0 - all web include links failing

Post the entire output of a fresh "cmake` invocation in a clean build directory - that prints lots of helpful informationStatistics: Posted by kilograham — Fri Aug 09, 2024 3:47 pm

View Article


General • Re: irDA in rp2040/2350 ?

iRDA isn't supported. The registers are just part of the ip block that was imported to the datasheetStatistics: Posted by dp11 — Fri Aug 09, 2024 3:50 pm

View Article

Beginners • How can I drive a vibrating motor by GPIO?

What I want to implement is driving a vibrating motor for second when the user presses the screen of the PI, just like the Taptic Engine of iPhone.I have prepared a vibrating motor and its motor...

View Article


Troubleshooting • Re: raspberry pi 5 gpio connection error

"I tried creating (venv) but it didn't work" - here is what I do on a Pi5, then python with gpiozero works in that venv:Code: mkdir my_projectcd my_projectpython -m venv --system-site-packages...

View Article

SDK • Re: Link doesn't complete with SDK 2.0.0 on W11, blocks on picotool.exe

Not sure why we have to build it in the first placeI would guess because there's no 'Official Raspberry Pi Windows SDK 2.0.0 Installer' yet which provides it pre-built - And I am not sure if there...

View Article


Advanced users • Re: Dual boot a headless pi

Seperate boot media or all OS on a single drive?Which model Pi?For separate media, shutdown (for models prior to Pi5 use the gpio_shutdown overlay), swap media, boot. About as simple as it gets.Next...

View Article

Beginners • Re: How can I drive a vibrating motor by GPIO?

Usually we would use a transistor (or a MOSFET) connected to the GPIO to drive the external device.What is the "motor controller board" ? Can you post a picture (using Attachments)?Statistics: Posted...

View Article

Python • Re: Running PyAudio Script On Startup Issue

Hmm... maybe that means that I have Bullseye not Bookworm?Statistics: Posted by Henrik Gill — Fri Aug 09, 2024 4:00 pm

View Article
Browsing all 5991 articles
Browse latest View live


Latest Images