Raspberry Pi Stack Exchange
448 FOLLOWERS
Q&A for users and developers of hardware and software for Raspberry Pi.
Raspberry Pi Stack Exchange
2d ago
I am following this tutorial to establish tftp on my rpi: https://bootlin.com/blog/tftp-nfs-booting-beagle-bone-black-wireless-pocket-beagle/. But I cannot make u-boot start usb ethernet gadget. I have enabled this additional lines in .config:
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_LAN78XX=y
CONFIG_USB_ETHER_SMSC95XX=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="U-Boot"
CONFIG_USB_GADGET_VENDOR_NUM=0x2E8A
CONFIG_USB_GADGET_PRODUCT_NUM=0x000E
CONFIG_CI_UDC=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_ETHER=y
CONFIG_USB_ETH_RNDIS=y
CONFIG_USBNET_DEV_ADDR="f8:dc:7a:00:00:02"
CONFIG_USBNE ..read more
Raspberry Pi Stack Exchange
2d ago
I have a Raspberry Pi 5. I want to get chromium to run on it. I want to build Linux via Yocto.
I'm using the Kirkstone branch of Yocto.
My local.conf relating to chromium
IMAGE_INSTALL:append = " xserver-xorg xf86-video-fbdev xf86-input-evdev glew freeglut"
IMAGE_INSTALL:append = " kbd chromium-x11 xkeyboard-config-locale-en-gb"
IMAGE_FEATURES:append = " hwcodecs x11 x11-base"
DISTRO_FEATURES:append = " opengl x11 systemd pam"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
I build with the command
bitbake core-image-minimal
The build comple ..read more
Raspberry Pi Stack Exchange
2d ago
So i am making a microcontroller rc car at home i need your thoughts on this.
There will be 4 parts in this project: A) RC car:
The RC car is powered by a 12 V battery.
there are 4 x nema 17 stepper motors attached to 4 x mecanum wheels for omnidirectional movement.
the stepper motors are connected to 4 x A4988 stepper motor drivers which are connected to an Arduino Uno.
for communication, a Nrf24l01 module is connected to the Arduino Uno.
B) Remote controller 1 :
2 joysticks and 4 buttons will be used.
Arduino nano will be used to read the inputs from the joysticks and buttons.
Nrf24l01 mo ..read more
Raspberry Pi Stack Exchange
2d ago
I am trying to get the falling edge of a HB100 doppler radar with a Lm358 amplifier module.
The error is RuntimeError: Error waiting for edge
It was working great and stopped suddenly.
I have already tried with another radar and amplifier modules and the error continues. I have tried to switch the GPIO pins with no success.
The code is below
I am using Raspberry-Pi 4 and Python11
import RPi.GPIO as GPIO
import time
GPIO.cleanup()
AMPLIFICADOR_INPUT_PIN = 23
GPIO.setmode(GPIO.BCM)
GPIO.setup(AMPLIFICADOR_INPUT_PIN, GPIO.IN)
MAX_PULSE_COUNT = 10
MOTION_SENSITIVITY = 10
def count_frequency(G ..read more
Raspberry Pi Stack Exchange
2d ago
I am loosing my patience with this and I just need it to work! I would even be willing to pay someone to help me get this going. Ok, here is the back story. I have a Haas VF2 Machine center that only has an ethernet port for file sharing. So my Haas logs into Samba using a username and password through the ethernet port connected directly to the raspberry pi. That part of the system seems to work well. Now my raspberry Pi connects to my WIFI. This is how I would like to save the files to the raspberry pi from my computer. So, quick overview. I am saving NC files to my Raspberry Pi over wifi fr ..read more
Raspberry Pi Stack Exchange
2d ago
I'm planning on buying an 8GB Pi 5 and was wondering if there was any way to connect the Pi 5 to a Chromebook for use as a monitor. I've tried looking for info online but couldn't find much. Thanks ..read more
Raspberry Pi Stack Exchange
2d ago
Should connecting to my.public.real.ip/24 from another device on a different network connect me to my PIs hosted web page if I have installed apache+gave it static ip+port-forwarded? Is using DNS mandatory? If not what am I missing?
I have been trying to set up my Raspberry Pi as a simple server for about a day now. I followed this tutorial.
My understanding of how servers work is very limited. I get to the step where I set up my static IP (but take it from another tutorial) which seems to be working since every time it boots it picks 192.168.0.111/24 (which is what I picked). And I think I do ..read more
Raspberry Pi Stack Exchange
5d ago
When I try to connect my Zorin OS PC with my Raspberry and I enter the correct password it it's just telling me "Permission denied, please try again." I don't know why it is doing this, but the password it typed in is defenetly correct. Now I tried every single instruction I found on the internet (also keyboard layout changing) but still nothing. Please anyone help qwq ..read more
Raspberry Pi Stack Exchange
5d ago
I currently have a raspberry pi 4 set up as a astrophotography rig, i capture the images directly to an external storage device to protect the internal storage and to avoid any possible performance losses due to the accumulation of images.
All of this is run by an app i made, but i was hoping to add a selector to help me choose if i want to send the images through the LAN instead or maybe save to both at the same time.
The thing is that i dont really know much about managing networks or FTP or any sort of protocol, so i could use a hand with figuring out what it is that i need to learn here.
S ..read more
Raspberry Pi Stack Exchange
5d ago
So the new Pi has a built in RTC and for $5 I can attach a rechargeable battery that lets the RTC tick on even when the power is cut. This is great because I want to emulate the wake up behavior of an additional device like the often out of stock PiJuice (but at a fraction of the cost).
I learned how to set wakeup alarms with code like this:
$ sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
$ sudo sh -c "echo `date '+%s' -d '+ 3 minutes'` > /sys/class/rtc/rtc0/wakealarm"
which will set an alarm to turn the pi back on. But I can't find many more details about using this wake alarm ..read more