semperblue
December 9, 2023, 19:06

Processor Scheduling

Having trouble scheduling the processor to perform two long running tasks. I could simplify this to using the second core, but I am trying to achieve it using a single core chip in the end. If anyone has any good resources for mcu scheduling please share.
itsssmiixy
December 9, 2023, 16:19

Raspberry Pi 3B+ issues

I have been given a 3B+ from one of my teachers at my school. My goal is to get it running again. Ive tried 3 different os install types (NOOBS, 64bit full, and 64bit standard) and a different Micro sd. It could possibly be a dead Pi but I’m not fluent with Pi boards. I have power to the board, a os on the sd card from the Pi imager software, and still get no sign of life from the board. Power light comes on but activity light doesn’t come on/flash. I’m not seeing any physical damage or burnt/fried parts. Can anyone here help? (Ethernet has been connected and the hdmi cord does work)
duckersmcquack
December 9, 2023, 19:06

Use corsair RGB strips for pi 4?

Hoi, i wanna use my spare corsair RGB strips for a project, and just read they are powered over 5v, do you think the pi can handle supplying amps enough to 1 or 2 RGB strips through lightning node?
ziggy00000
December 9, 2023, 19:08

RPI 5 JST cable ports?

recently picked up 2pin jst cables to connect a batter via USB LiIon/LiPoly charger but theres no ports on the 5 theyr all small is there any specific jst pin variant available
oops.se
December 9, 2023, 18:40

Rpi3B NAS HELP!

It depends on how advanced NAS you want. Just installing Raspberry Pi OS and add Samba so you can share files with Windows/Linux/Mac computers is quite trivial, 10-30 minutes work. See https://www.raspberrypi.com/tutorials/nas-box-raspberry-pi-tutorial/ If you wish a more advanced NAS you can pick a NAS distribution and then you get Web management and more features integrated in one place, the Web interface.
doeyo
December 9, 2023, 19:06

Nuanced question about USB/MIDI Controllers + Arduino/Raspberry Pi

I'm no beginner to software, but when it comes to hardware I am mostly an outsider. I enjoy leveraging Pi 4B for various projects, but I have wanted to take on a larger project more recently. I want to make a USB/MIDI controller of various potentiometers, slide pots, buttons, etc. and connect the controller to a raspberry pi with an LCD screen running software that reads the USB/MIDI arduino controller. My questions are: 1. Can a single Raspberry Pi 4B be capable of running Pi OS on a 7"+ LCD, outputting sound via RCA or 3.5mm output, and simultaneously also read digital/analogue ins from knobs, faders, buttons, and switches and convert them to USB MIDI for software on Pi OS to interpret or would I be better off using an Arduino in addition to the Pi as the usb midi controller handling the inputs 2. How can a Raspberry Pi 4B output sound via stereo RCA and 3.5mm simultaneously? How would I leverage a DAC breakout while still being able to use the 4-pole 3.5mm audio jack already on the pi? 3. In the case that I have both an arduino & raspberru pi 4b, what type of power supply situation would be needed to both power the Pi + LCD and the Arduino? Can I power it from a single power cable? Apologies if a lot of these questions are naive, I am simply interested in taking on a larger hardware project, but most of my tacit knowledge really exists in software so I'm looking for help, thanks! :)
donedecker
December 9, 2023, 19:06

How to install 3.5 inch display on pi 4?

Hello can someone help me install a 3.5 inch display on the pi 4 64bit pi os? I've already tried the script but it doesn't work: https://github.com/tux1c/wavesharelcd-64bit-rpi When I run it the Rasberry pi restarts but the image is not displayed on the 3.5inch display. It just changes from white to black.
melanie3046
December 9, 2023, 19:05

raspberry pi program autostart

I want to run two scripts in the autostart file for the raspberry pi. .config/lxsession/LXDE-pi/autostart. I want to run two scripts here such as shown below
bash
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@sh ~/etc/ .startupsh2.sh
@sh ~/etc/ .startupsh1.sh
The scripts themselves have been tested and run, but they don't run on autostart. Does anyone know where I could be going wrong, or another method of doing this?
formal09
December 9, 2023, 16:18

Remote Screen Access with Pi zero

Hello! I am looking to create a project that acts as like a message box. Whereas I open a box and a screen is inside displaying what I have put onto it wirelessly from say across the world. Could someone please guide me to what else I may need as im not sure what I really need! I believe these are the main components I will need : Raspberry Pi Zero W https://www.amazon.co.uk/OSOYOO-Monitor-Raspberry-480x320-Interface/dp/B085TC5YMR/ref=sr_1_3?keywords=raspberry%2Bpi%2Bzero%2Bscreen&qid=1701016437&sr=8-3&th=1 ----------------------------------- LED that blinks when a new message is sent to the screen and stops blinking once the box is opened (detecting motion) PIR Motion Sensor Module Diffused 3mm LED Pack - 5 LEDs each in 5 Colors - 25 Pack Mini Breadboard - White ----------------------------------- I have basic coding skills in HTML and Python and technical skills but nothing with Pis and the sort. Many thanks, Ryan.
dv3d_printservice
December 9, 2023, 19:04

LOLIN C3 pico RGB_LED(pin 7

how can i make the led work, i whant to make it red but how
desyncdd
December 9, 2023, 19:04

MicroSD shows up as Boot and Recovery Drives

I’m not sure if this is normal but whenever I plug the default MicroSD to a computer it shows up as Recovery and Boot drives. Also whenever I try to download something to the drive it tells me there is not enough space.
andersson4003
December 9, 2023, 19:08

Raspicam not working

My raspberry pi camera is getting detected but i can not use it.
berrygt_
December 9, 2023, 19:05

External led not working

I’m so stressed out rn I suck at doing this and I’ve been doing it all day! I’m trying to control my Christmas lights via Pico, the code is executing but not the lights. Is it a problem with the bread board, the lights or the code?
shanedora
December 9, 2023, 19:04

Getting a helloworld app installed in a yocto image, not having much luck

I have successfully got a helloworld app/recipe built and installed in my qemu image. However, when I try to take the same helloworld app/recipe and install it in my raspberrypi image I just don't see it down in /usr/bin/. Anyone really good w/ yocto here? Here's my recipe ...
# File: app-hello_0.1.bb
SUMMARY = "Simple Stupid Helloworld"
DESCRIPTION = "Simple stupid helloworld recipe using a github repo"
HOMEPAGE = "https : // github.com/rogueWookie/c-pjx-yocto-app-hello "
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1c036f239adde3d3505c1d394ed5d246"
SRC_URI = "git://github.com/rogueWookie/c-pjx-yocto-app-hello.git;protocol=https;branch=main"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
do_install () {
    install -d ${D}${bindir}
    install -m 0755 ${S}/bld/main ${D}${bindir}
}
Here's my <build dir>/conf/local.conf ...
# I added this
MACHINE ?= "raspberrypi4-64"

# Stuff that was added for me
DISTRO ?= "poky"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
CORE_IMAGE_EXTRA_INSTALL += "openssh"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    HALT,${TMPDIR},100M,1K \
    HALT,${DL_DIR},100M,1K \
    HALT,${SSTATE_DIR},100M,1K \
    HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"

# More stuff I added
ENABLE_UART = "1"
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
IMAGE_INSTALL:append = " app-hello"
Based on this I'm expected a binary called main to be placed in /usr/bin/ but it's no where to be see.
nomebreak
December 9, 2023, 19:07

Best SD Card or USB for raspberry pi 5?

Im planning of getting raspberry pi 5 4gb ram and i've got all the components i need sorted out but i've just got one problem. im not sure that storage medium to use. I'm aiming for something that is fast and holds around 128gb or less
leonardo10._.
December 9, 2023, 19:08

Wich Raspberry Pi board?

hello i have a question, what board are better for controlling some light and alternating casually? Pi pico wh or arduino mini?
tjfrags
December 9, 2023, 19:03

Cant connect to Bluetooth dongle

Hi I'm trying to wirelessly connect to a Bluetooth dongle on my raspberry pi 4.The problem is, when I scan the pi doesn't show the dongle. I tried monitoring Bluetooth with Wireshark. It seems like there is no signal from the dongle, although it works fine with Bluetooth handsets. My ultimate goal here is to connect my pi to my ps4 and stream the audio from my ps4 to my raspberry pi. Some research gave me the ideas of using OTG or Bluetooth. I don't know enough about either topics to know if any of this is possible. the USB dongle can be found here: https://www.takealot.com/bluetooth-adapter-dongle-for-sony-playstation-4-ps4/PLID54548261 Questions 1. Is using this dongle possible, if not then why? 2. Are there other ways to approach this?
k9t33n
January 1, 2024, 17:12

Raspberry pi 4 cursed app overlays via XRDP

> yeah this is a recurring problem, you need to add a new user then use that user from now on
koukatsuwu
December 9, 2023, 19:02

Arduino eval() / parse() function

Hey, does anyone know any libraries for Arduino that contain a function similar or equal to eval/parse? One that supports things like pi & trigonometric functions would be ideal.
semperblue
December 9, 2023, 19:03

usb rp2040 programming? atmega instead?

Hi guys, new here, sorry for my lack of knowledge, I have years of software coding experience but not much with rp or arduino. Kind of expecting to get roasted for asking about arduino here in the first place hahaha So I have a small project built using a pico pi. I have the goal of converting it to cheaper parts, as the pico costs me roughly 11 dollars here. I originally looked into using the rp2040 chip after learning about ics and avrs, however I was told it would be difficult to program the chip for use in a breadboard, and that I would be better off using an avr programmer. Went to the store, purchased a programmer as well as an atmega328P U. After a week of tinkering, I am now being told in an arduino server that I should be using the rp2040 😂 Can anyone help me to understand a bit about what kind of architecture and chipset I should use for my project?
frost_spark
December 9, 2023, 19:05

Raspberry pi 4B display intermittent ONLY ON PI OS

Hi there I come here in search of answers (I'm aware there may not be any). First off the basics: I have 2 pi 4b's and both have the same issue. The issue: I have done multiple installs across multiple MSD cards and it still happens, I'm using the generic PI OS 64X from the PI imager and to get a display across both raspberry pi's I have to hold a cable to the side, this has been tested with about 5 brand new and used cables and I still get this issue. The second I let go of the cable the display will either wig out or straight up stop displaying, so I began to think maybe I keep getting cables that are faulty (unlikely but possible) or both of my pi's across all 4 micro HDMI ports are faulty (also unlikely yet also possible). The really weird part: I had a random thought, I plugged in an MSD card with Retropie installed on it AND THE ISSUE ISN'T THERE! I can wiggle the micro end of the HDMI cable all I want, nothing, zilch, nada. It just works and this has got me entirely stumped is there something I'm doing wrong with the pi OS install? because I never had this problem previously. Regards - FrostSpark I will attach videos below ignore the mess on my desk.
planetstrike
December 9, 2023, 19:03

Raspberry Pi 5 Power Light both Green + Red Lights (Yellow)

I have one Raspberry Pi 5 that has just the Green light lit when it's on. However, I have another Raspberry Pi 5 that has both Red + Green lights lit when it's on. I can't find any documentation on what this means when it's both Red + Green (Yellow?). As far as I can tell, it seems to operate OK.
PogMonke
December 9, 2023, 19:03

Raspberry pi 3 won’t display on tv

The tv says no signal, when I plug the hdmi cable into it, it turns on, it just says no signal though. This is what the config file looks like, uncommenting does nothing though.


jeremymuller
December 9, 2023, 19:02

Need help making a wireless router and/or wireless server on Pi 4 (no internet)

I am trying to accomplish two things separately to try them out and see which seems to perform the best. Currently I am working on a project where my computer runs a Nodejs server and connects to tablets via web sockets. This works fine when I'm on my home network of course. What I'd like to do is first: Make a wireless router with the Raspberry Pi 4 with no need for internet. I want to run the nodejs server on my computer, wirelessly connected to the Pi and all the tablets connected to the Pi. Second: I'd like to eventually run the nodejs server directly on the Raspberry Pi and connect to the tablets wirelessly. So basically turning the Pi into a wireless router and server (with no internet). I search for these things and what I find often refers to connecting to the internet with wifi or overwhelming results. So if anyone could just point me in the right direction I would much appreciate it!
nomebreak
December 9, 2023, 19:01

Cooling RPI 5

I plan on getting a Raspberry Pi 5 and also plan on overclocking it. Theoretically would i be able to remove the fan out of the fan case and use the active cooler with the case instead? would it fit?
xeefromcc
December 9, 2023, 19:01

Lineage OS boot up black screen

I am having trouble with my raspi with Lineage OS on it it is able to be booted up but it is not showing up on the 7" screen but when plugged into HDMI it is perfectly fine is there a way to fix this. The person who made the is didn't give me anything since he stopped working with the raspi 3b+
dodgeydave_
December 9, 2023, 19:00

retro pi

Hi I’m building my retro pie and want to know if it’s possible to monitor cpu temps and fps on a lcd display
purpledalek
December 9, 2023, 18:58

can't empty the trash on headless pi?

i have no folder called Trash inside ~/.local/share. is the trash automatically deleted on Raspbian OS Lite, or is the trash folder located somewhere else?
chekbrek
December 9, 2023, 19:00

Controlling xRDP with wireless keyboard

Hey there. I bought a chinesium keyboard & trackpad combo, which comes with it's own tiny USB receiver. It works just fine while using it connected to HDMI. The problem is that I want to use it while using my phone as a screen thru xRDP, and use the keyboard to control the Pi. I have yet to find a way to make this happen. As far as I understand, every rdp/vnc session is a different "display" and I would somehow need to make either the keyboard apply to ALL screens, or make it so that I always connect to the main :0 screen. Any ideas?
theredminer0p
December 9, 2023, 18:55

Windows Problems

Hey! First of all, i do know, that this is a Raspberry Pi server. But I do need some help with my Windows 10 Laptop! So I bought a Win11 Laptop, but I didn't want Win11, so i installed win10. But when I am trying to open the microsoft store, it does not work properly. When i open it up, the Feed will be shown as normal, but when I click on a App, to download it, i get the error "0X00000005". I've been trying to fix it, using the wsreset cmd, but it still doesn't work. When i try to open the tab, where I could see my downloads, I get an error that says something like "Unknown Layout specified in mainfest". It would be nice if anyone could help me out with this, even though this is a Raspberry Pi Community!