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

Troubleshooting • Re: DHT 11, not working how I need it to work

I have this DHT22 code that works, I started with DHT11, so if my memory is right you only need to change DHT22 to DHT11. It's based on micropython which has the dht...

View Article


Beginners • Re: Making a desktop alias/program for an "sh" command

I didn't get a reply to my request for more specific direction, so I have been studying a bit, and while I have learned some things (about shebang, for instance), I am still not sure how to write this...

View Article


General • Re: Multicore access to global variables

The RP235x has mutex support in assembly, while RP2040 does not. That is technically unrelated to instruction interpretation.I should also clarify a possible implication of my previous comment:The...

View Article

SDK • Re: FreeRTOS overclock/underclock?

Higher tick rates actually reduce the efficiency of the CPU. All timing is relative to ticks.Most people use CoS queues with RTOS. Basically there are priorities which will run first. Then the lower...

View Article

Troubleshooting • Pi 4Bs Rather Sudden USB Camera Failures

I have three Pi 4Bs all running Buster. One is at my home the other two at a different location. All have virtually identical generic USB cameras. Each one captures an image once every two minutes,...

View Article


Image may be NSFW.
Clik here to view.

Off topic discussion • Is Floating Solar the Future of Renewable Energy or...

I recently came across an interesting article comparing floating solar farms to traditional solar farms, and it got me thinking about the future of renewable energy. With climate change and the need...

View Article

Troubleshooting • Re: USB ports not working after reinstall to newest Bookworm

Code: # set USB/ACM serial port with parameters copied from Arduino IDE serial port handlingstty -F /dev/ttyACM0 115200 min 0 -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon...

View Article

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

Why is there such a difference between lgpio and libgpiod? Both are doing the same process, also in C.Difficult to say without more detail on how you are using them.What kind of information would...

View Article


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

Where is the PCIe interface involved in this?I have used Compute Module 4 and attached PCI externally in which I have connected USB Camera. Is there any known problem with PCI interface?Statistics:...

View Article


Beginners • motionEyeOS camera switch

Hey all, was wondering if anyone knows whether it's possible to have a sensor/switch activate a camera connected to a pi0w, rather than running constantly or motion activation? The idea would be to...

View Article

General programming discussion • Can not read from serial port, but sudo cat...

Trying to hook up a GPS for a quick and dirty autopilot. I have tried a number of examples of writing and read serial port in C. I finally settled on one, but at first no data out. I tried a number of...

View Article

Python • Re: MicroPython: How to wake Pi Pico / Pico W / Pico 2 from sleep...

Look here. I found this looking for something else.https://docs.micropython.org/en/latest/ ... e.Pin.htmlThis under the "Methods" section.Code: Pin.irq(handler=None, trigger=Pin.IRQ_FALLING |...

View Article

General • Trace FIFO and TPIU with ITM

Hello,I am impressed by the new trace features of RP2350 (Section 3.5.7), but I am not able to make it run with ITM ....I configured ITM/DWT as known e.g. from Cortex-M3 based chips and write some...

View Article


Troubleshooting • Re: SOLVED: Raspberry Pi5 running plasma/KDE with Wayland...

RED ALERTActually, no longer do it this way. It'll bork the system.Statistics: Posted by StevenDJaques — Wed Nov 06, 2024 5:40 am

View Article

Teaching and learning resources • Re: Advent of Code 2023

Here it is October 2024 and I'm wondering how to make Advent 2024 more fun. My theory is doing all the programs in Julia last year--useful since I'm teaching a course with Julia--made the puzzles too...

View Article


Beginners • Pigpio initialization error while try to run LoRa c codes

Hello,I am trying to send data from an Arduino UNO to a Raspi3 via a LoRa module Ra-02. I have already done a test with two Arduino UNOs and it worked.Now I have downloaded and installed this...

View Article

General • Re: [overclocking] RP2350 at 600 MHz, with Flash, PSRAM, ARM,...

Hey, very interesting results, thanks for sharing!Would you mind sharing the source code you used as well? Especially this part: "There is a loop doing some integer and float garbage, first is the...

View Article


Raspberry Pi OS • Re: Debian GNOME Ubuntu NO SNAP

Thanks for everything Wobbo! Actually, I had installed ubuntu desktop from the start, but I guess it wasn't installed. Could it be because I created a new user? Tonight I will try to switch to X11...

View Article

Python • Re: Send email from python

Have a look at this. It is COMPLICATED. That's why like 'bls' I haven't tried to use it yet.https://medium.com/@manojkumardhakad/py ... de606ecfa1Statistics: Posted by MarkDH102 — Wed Nov 06, 2024...

View Article

Troubleshooting • Re: Pi 4Bs Rather Sudden USB Camera Failures

For the Pi4, the USB3 ports are handled by a separate chip, which has issues for certain USB3.0 equipment (USB3-SATA adaptors). But USB2 ports no known issues.The v7l kernel flavor is used when 32-bit...

View Article
Browsing all 4802 articles
Browse latest View live