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

Python • Re: Entering digits without pressing "Enter'

Here is a Python implementation of my earlier C code post. The C code is run from Python via a system call. It's not pretty, but it works.Code: 1. Download the two programs below: C code key.c Python...

View Article


General discussion • How to analyze if the output of adc is right or wrong

Hello,I recently started working with Raspberry Pi, python and ADC. I am currently using adc ADS1115 to convert a 1hz sine wave to digital values. I configure the register of the adc using the...

View Article


Troubleshooting • Re: RasPi 4 Model B 4G HDMI0 display black screen 1st time...

I'm first time RasPi user. I know lot of people ask similar topic and I have been through most of them and still unlucky to resolve my problem. I bought CanaKit Raspberry Pi 4 4GB start Pro kit this...

View Article

Troubleshooting • Re: Raspberry Pi 4 Not working

Hi I have been using my Pi 4 as a headless machine and using my pc to ssh into it. I was using it for a couple days and then I stopped for about 5 days, I go to power it on today. I can no longer ssh...

View Article

Compute Module • Custom Device Tree Model Property

I'm working on a project that needs a custom device tree. I have a custom carrier board for the CM4 that has a lot of on board devices that needs to be configured and it doesn't make a lot of sense to...

View Article


Graphics, sound and multimedia • Re: Can not get udemy drm protected videos...

If you go here, does it show as "using widevine" and play the test video?widevine should work out of the box on chromium and firefox on RPiOS (without needing to adjust settings or install...

View Article

Compute Module • Re: Custom Device Tree Model Property

Yes, the bootloader sets the model string so that it includes the board revision, etc. I can't think of a way of preventing that.Statistics: Posted by PhilE — Fri Jul 26, 2024 1:50 pm

View Article

General discussion • Re: Discount on multiple pi4 order?

I don't particularly like such contracts as I consider them to be fundamentally anti-competitive, market interference, bad for resellers and consumers. It's often done to stop resellers under-cutting...

View Article


SDK • Re: How can I profile basic functions for the RP2040?

Learning about the disassembly file really helps!I can now at least see what the compiler is generating. In fact, I will be starting a new topic on what I *thought* would have been optimized code but...

View Article


Other • Re: Booting issue with SD Card

My original debian trixie imag before updating works fineMy Raspberry bookworm image works fine also.Should I start over?Statistics: Posted by maybl8 — Fri Jul 26, 2024 2:04 pm

View Article

General discussion • Re: When will there be a Raspberry Pi with at least 16GB...

Just noticed there is nothing in the official Raspberry Pi documentation that tells you how to increase the amount of swap allocated on Raspberry Pi OS. The default is 200MB (100MB on older releases)....

View Article

C/C++ • Re: DHT11 code works with python but not C++

If it makes a difference, the specific sensor I have is the Pi Hut DHT11 Temperature-Humidity SensorStatistics: Posted by AntiRix — Fri Jul 26, 2024 2:14 pm

View Article

SDK • I'm curious why my sloppy code is actually smaller than optimized code...

My apologies for posting so much code here. Please let me know if this frowned upon.I wanted to start a new thread that is related to my previous "How can I profile basic functions for the RP2040?"...

View Article


Image may be NSFW.
Clik here to view.

Interfacing (DSI, CSI, I2C, etc.) • Re: CM4, DSI data append one pixel every...

Are you sure you're power-on sequence is correct?I'm under the impression you're missing something.One can find a RM69330 data sheet here https://ifan-display.com/wp-content/upl ... ersion.pdfHad a...

View Article

Beginners • Re: Help with connecting libraries

To be precise, the correct name is 'python module', not 'libraries'. Noproblem with this; many people use these words quite sloppy. Python has a number of modules which are build-in; there is a...

View Article


MicroPython • Re: How to receive large (>1024 byte) UDP datagram packets?

Huh, I only see your replies now while revisiting this thread - I somehow didn't get notified about them.Since I figured that I'll run into memory management issues with µpython, I am now in the...

View Article

Advanced users • Re: log voltages from 0 to 5 volts at an adjustable rate per...

Those DuPont cables will be fine.The “short” cables in the tutorial are just drawn like that for convenience.For the logging, you will read the MCP3008 output using the SPI interface of the Pi, the...

View Article


General discussion • Re: How to use Raspberry Pi as OFFLINE Server?

Have a look at setting the Pi up as an "Access Point" https://www.raspberrypi.com/documentati ... spberry-piThe mobile phone/ipad will connect to the Pi via Wifi.The Pi can be running Apache2 web...

View Article

Image may be NSFW.
Clik here to view.

Troubleshooting • Re: Unable to connect to RasPi

Does the TV have a HDMI input?Yes it does https://ibb.co/V9HfMtjThe Pi connect to the wifi i setup in the OS but somehow im still unable to ssh.Sorry for the low quality image, i cant screenshot a TV...

View Article

HATs and other add-ons • Re: Raspberry Pi DAC + does not work with Rasbperry...

Are you actually using Raspberrry Pi OS Bookworm, as the cat /proc/version says ubuntu?My Pi5 Bookworm has: Code: cat /proc/versionLinux version 6.6.31+rpt-rpi-2712 (serge@raspberrypi.com) (gcc-12...

View Article
Browsing all 4886 articles
Browse latest View live