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

Advanced users • Re: Bash script SECONDS is wrong

Code: START=$SECONDSThe script may be called by a parent script. install-php may be called by install-web-server.I suspect you are running the script soon after bootThe code is run after the desktop...

View Article


Advanced users • Re: Image File Utilities

I am trying to send myself an e-mail with the final lines of the image-backup output as visible in the terminal, the one with the 6 or 7 steps at the end and final remarks. I want to see if everything...

View Article


General • Re: HD44780 16x2 character LCD 5V with Pico

The HD44780 indicator has a 5 volt pin VDD supply voltage.All other pins have TTL standard. TTL standard logical unit voltage is more than 2.4 volts.The RP2040 has a 3.3 volt power supply and a CMOS...

View Article

Beginners • Persistent FTP connection

I've created a FTP connection from my Pi to a windows machine on the same network via GO>Connect to server.How do i ensure this is available every time i reboot my Pi?ThanksStatistics: Posted by...

View Article

MicroPython • Re: How do you get a Pico W to sleep?

hippy, thanks for your feedback. As you noted, the code in RP2-PowerCtrl is all in micropython.It was relatively easy because currently the pico-sdk does not access with the underlying registers.And...

View Article


Troubleshooting • Re: Pi 5 video playback on YouTube fails.

Can you provide a link to the failing YouTube video?This occurs on any YouTube video I attempt to play, but the first video to have this error was this one:...

View Article

Advanced users • Re: Cronjob help! (please)

2) Among other failings, cron runs jobs with /bin/sh (which is a primitive, limited shell) rather than the /bin/bash that you are used to.Why not set the shell to bash withCode: SHELL=/bin/bashin your...

View Article

Interfacing (DSI, CSI, I2C, etc.) • Re: MCP2515 Module with Raspberry zero 2W

The problem is solved. And this issue is as old as mammoth dung.I found the solution in these two discussions from 10 years ago:viewtopic.php?t=7027&start=650#p729436...

View Article


General discussion • Re: New Raspberry Pi Products

People constantly post trouble with typical USB-C power supplies not working well with a Pi 5. I now find myself in the same position, wondering if a USB-C iPad charger will damage it.You can run a...

View Article


Troubleshooting • Re: Can't boot my Pi 400 from a usb hard drive (mechanical)

I'm using the Ubuntu OS. I installed the Pi Imager and tried to run it by which to switch my boot order per instructions on Tomshardware.com, which says to launch the Pi Imager and then put a new...

View Article

Python • Re: Send email from python

The text files are not idea, as I don't know if something is wrong with scripts being run unless I check the text filesalso crontab has the "MAILTO" option that I have had sent to a email address...

View Article

Troubleshooting • Re: Raspi-config menu not navigating correctly

How are you connecting to the Pi?- USB keyboard- wifi or bluetooth keyboard- remote connection via SSH from a PC with a USB keyboard and terminal emulator (e.g. PuTTY)- something else?Statistics:...

View Article

Troubleshooting • Re: Freshly imaged SD for Zero2W won't connect to wifi

No ideas? Anyone?I figure this is not a configuration issue, since since it's just the configuration created by the imager specifically for a Zero2W, and when I boot a Pi 3B from said SD card, it...

View Article


Advanced users • Talking RS485 over UART on the raspberry pi 5

I've been unable to get a RS-485 transceiver to work from the Raspberry Pi 5 UARTs. The comm works using a USB to RS485 cable. The UART pins are functioning properly. They were tested with a working...

View Article

MicroPython • Re: Using DMA and PIO to stream to GPIO on Pico 2, like...

Here's how I did something similar for one of my projects:Code: from machine import Pinfrom rp2 import DMA, StateMachine, PIO, asm_piofrom array import arrayimport uctypesdata = bytes([0x0, 0x1, 0x2,...

View Article


Compute Module • Re: CM5 trouble with 7inch display on DSI

I doubt that because the same OS image and cable work in my pi5 and not in my cm5.https://www.amazon.com/Treedix-Flexible ... =sr_1_3_ppWhen the new cables and adapter show up, I will know...

View Article

Troubleshooting • Re: Wi-fi Issues

Is the WiFi 2.4GHz?What happens if you install stock Raspberry Pi OS on a spare microSD card using Imager, and use Imager OS Customisation settings to set the user, password, WiFi details, country...

View Article


Networking and servers • Re: Raspberry pi with ethernet module

In addition to the 'Zero' range of boards, the RPi 1 Model A/A+ also lack a cabled Ethernet interface. (But although not formally obsoleted, they are not part of the current product range.)Also the...

View Article

Raspberry Pi OS • Re: etc/rc.local does not exist

OP if it's still not working, make sure that you've gotCode: #!/bin/bashas the first line in /etc/rc.localYou could but the traditional incantation isCode: #!/bin/sh -eStatistics: Posted by thagrol —...

View Article

Troubleshooting • Re: PI5 doesn't turn on after trying a NVME hat

Start here: viewtopic.php?t=58151Statistics: Posted by thagrol — Tue Jan 07, 2025 10:13 pm

View Article
Browsing all 5284 articles
Browse latest View live