Python • Re: CPU Temperature Test Not Working; Need File Format
I ran locale and got:LANG=en_USYour locale is set to use ISO-8859-1 encoding. That will set the default for most text editors, while Python3 always assumes UTF-8, so you need to declare the coding in...
View ArticlePython • Re: Python Script keeps Exporting after Finally Statement
For declaring the variable as global, wouldn't I just put global rg in every function where it uses it? Eg. close_audio() record_audio() and main()?Yes. Just like you have with stream and frames in...
View ArticleGeneral • Re: RP2350 SSP/XIP Block Transfer Examples
Leave the voltage as default 1.1VFrom CMake:Code: PICO_EMBED_XIP_SETUP=1PICO_FLASH_SPI_RXDELAY=2PICO_FLASH_SPI_CLKDIV=2PICO_CLOCK_AJDUST_PERI_CLOCK_WITH_SYS_CLOCK=1The last one is optional, you need...
View ArticleBare metal, Assembly language • Re: SDHOST block read returns CRC in data
I am now reading the card and its MBR but have found the read block command (CMD17) returns a 64 byte data block before the actual 512 bytes of the requested sector. I assume this is CRC relatedthe SD...
View ArticleGeneral • Re: Current measurement with rpi PICO
I would suggest, as @carlk3 mentioned, to look for electrically isolated sensors. Pololu has a good selection of Allegro boards for precisely what I think you are after:...
View ArticleGeneral programming discussion • Re: 24 Minute Sun Simulation
I have encountered a problem already. I can't seem to get the Pico to communicate with the computer. I downloaded Thonny and it seems to function but it won't acknowledge it.I did plug the Pico in the...
View ArticleFor sale • Laser cut Pi4 & 5 covers (minimalist case)
I've started making different projects with my laser cutter and came up with making these Pi covers. I didn't like having a plastic case sitting on my mid century TV/Stereo cabinet so I got creative...
View ArticleAdvanced users • Re: Soft temperature limit throttle *increases* CPU frequency
The throttling code on Pi5 is different to Pi4ah, didnt notice this thread was on a CM4Statistics: Posted by cleverca22 — Tue Oct 08, 2024 12:34 am
View ArticleGeneral discussion • Re: [Pi 4] Peripheral Extension Board
hubs actually being several four ports hubs in a daisy chaintrue. You can sometimes see that in lsusb. The most I see on one chip is 8 ports. So 8 * 8 * 8.Statistics: Posted by peterlite — Tue Oct 08,...
View ArticleC/C++ • Re: PWM with C++
you could use the sysfs '/sys/class/pwm'First you need to add the overlay into the config.txt (/boot/firmware/config.txt)Code: dtoverlay=pwmAfter you need to set the pin12 to alternate function...
View ArticleHailo • Re: I have Questions about the AI-Kit.
AI kit is Hailo8L chip and it does not run any LLM, but in the future hailo8H can run LLM. And they are trying to make Whisper work on AI kit.Statistics: Posted by jiahaoli — Tue Oct 08, 2024 2:15 am
View ArticleGraphics, sound and multimedia • Re: Switching from 3.5 inch hdmi touch...
Looking at that script, it makes a backup copy of config.txt. You should be able to copy /boot/config.txt.bak to /boot/config.txtStatistics: Posted by AndyD — Tue Oct 08, 2024 2:29 am
View ArticleMedia centres • Re: Need help turning RPi5 into a simplistic media player
No reply from the OP but the request did say:I don’t necessarily want to turn my RPi5 into a streaming deviceThat sounds like adding media to the Pi without losing the desktop. Kodi direct in Pi...
View ArticleGeneral discussion • Re: Rpi4&5 Can't connect to 5Ghz WiFi, but can to...
Is your Wireless access point (router?) sold for Brazil use?What range is it between your device and access point and what obstacles are in the way?What channel is your access point saying it is using...
View ArticleTroubleshooting • Re: Pi5 Completely (permanent) locks up when CPU reaches 100%
Hey guys - for those of you wanting to see activity monitor / htop at time of freezeHere's some screenshots of htop (ssh terminal from my MAC) and activity monitor from the actual pi GUI moments after...
View ArticleTroubleshooting • Re: Pi 5 Ethernet port not working, but Wifi is
Just out of curiosity, what's your kernel version and OS?You can check kernel version by running Code: uname -aHere is the OS version: Code: Linux raspberrypi 6.6.51+rpt-rpi-2712 #1 SMP PREEMPT Debian...
View ArticleC/C++ • Re: Discrepancy between datatypes performance
Some people, when confronted with a problem, think “I know, I'll use regular expressionsthreads.” Now they have two problems.With apologies to jwz.Statistics: Posted by ame — Wed Oct 09, 2024 1:18 am
View ArticleGeneral programming discussion • Run Chromium from Desktop bash file
I'm able to run chromium from a terminal prompt.However, if I create a bash file on the desktop and try same as the command line, nothing happens.bash file #!/bin/bashchromiumAny...
View ArticleTroubleshooting • Re: Am I running root from my SSD or SD Card?
Boot (/boot) should always be the SD partition 1, surely?Pi5 supports booting from SD, USB, NVME, or Ethernet. You can set the boot order preference. Unless you have done this, the default will be to...
View ArticleGeneral discussion • Re: Raspberry Pi Zero 2 WH
It didn't show up on rpilocator. But I did get the ones you pointed out, thank you. Although I think pi hut installed those themselves, which suggests that the standard factory zero 2 W's with...
View Article