jannik44
December 9, 2023, 17:33

How much power can you draw from the Raspberrypi pico w?

surprisingly i didn't find anything about this: i have a device that needs 5v 480mAh, can i connect that to VBUS or do i have to install a completely separate micro usb port just for that?
cpogfrey
December 9, 2023, 17:32

How can you run an interactive script on boot with no monitor plugged in?

I feel like this should be a common use case for a raspberry pi, I'm surprised how hard it is. I have a raspberry pi 3a+ and a python script that runs auxiliary hardware plugged into the pi (I don't think the specifics of those are too important). Then I have one of these three-key USB mini-keyboards plugged directly into the PI, and based on the input from those keys, the python script does things with the auxiliary hardware. The only problem is that it requires booting up a terminal and manually running the script. Ideally, as soon as the pi turns on, the script would run and start polling for input with just the usb keyboard and auxiliary hardware plugged in, no monitor necessary. [Tried] Using a cronjob with @reboot seems to be a deadend because they run in the background and can't take user input [Tried] Using rc.local seems to fail for a similar reason [Tried] Putting the script in .bashrc seemed like it failed, but I was having trouble finding the logs to figure out what might've gone wrong [Haven't tried] Using systemctl by specifying StandardInput=tty seems like it might work, though I'm concerned that there is no tty to connect to since there's no monitor/ssh connection (I don't know the details of how this works) * [Haven't tried] Using openvt to create a new VT as mentioned at https://superuser.com/questions/584931/howto-start-an-interactive-script-at-ubuntu-startup seems promising Ideally, I could just go through all these option. The issue is, I'm helping a friend work this out virtually, which means I'm telling them what to do and that makes the debug process painfully slow. I'd like to hear some advice from the people here on what seems feasible, or if there's a different approach altogether that might be better.
.aussiew
December 9, 2023, 17:33

Linux running in RAM

Hi, Does anyone know of any Linux distros for the Pi that load into RAM on boot and then don't read from or write to the SD card? I am aware of a couple PiCore TinyCore and possible Alpine. Are there any others? Thanks aussieW
Hol
December 9, 2023, 17:32

Smart Calculator W/Raspberry Pi

Hi all, I'm new to working with Raspberry Pi's, but I figured they would be useful to use on a new project I'm working on. I'm planning on working on making a smart(er) calculator that uses the Raspberry Pi camera to allow my calculator to be able to take a picture of an equation, and then using a Raspberry Pi, send it to a math website (probably Photomath), and then send back the websites results. I'm mostly just curious if this is something that I can do with Raspberry Pi's, since as I mentioned, I'm new to working with them, and am not sure of their capabilities. If anyone can give some clarification, I'd appreciate it a bunch. Thanks!
sharioken
December 9, 2023, 17:29

Changing the polarity on an school model electric motor.

Hi, I´m working on a project were i have to create a new control method to change the polarity on a motor without using a commutator. I already implemented a bridge circuit and that part works fine. I just wanna now how i could get the program to activate and deactivate my relays after exactly half of a rotation
misterbishi
December 9, 2023, 17:30

Can’t SSH over Wi-Fi

Hi, I have a pi running Debian and it is connected to my network via Ethernet. I want to SSH into it from my iPhone over the Wi-Fi. How do I do this? I’ve tried everything within my scope but nothing works.
arcticyeti1
December 9, 2023, 17:30

Which Raspberry Pi model to choose?

thanks for all the info btw I really appreciate it
fatalzan
December 9, 2023, 17:30

A project with SSDs

I've currently got two 2.5 inch SSDS both 250gb attached to my Raspberry Pi4B 4GB with a 64gb SD CARD. Im currently trying to figure out the best way to run each SSD seperately, one as a NAS and the other as a KODI/OSMC media centre. Whats the best way to do this? I've thought of using NOOBS on the SD card to access the SSDs but I figure seeking some advice before putting in the effort would be good.
omarizakaria.omarent
December 9, 2023, 17:29

what measurement is this

the documentation for the rp2040 doesnt specify if the resistor is 27.4 Ω or 27.4 mΩ
intentionallyblank_
December 9, 2023, 17:31

Can't get the fan program to operate correctly

I got this tower kit for my pi https://wiki.52pi.com/index.php?title=ZP-0130-4wire , and can not figure out why the fan is not operating correctly. Admittedly I know very little about programming or python for that matter. Before I even installed any of the software for the tower kit, the fan started working as soon as I started the Pi up. Following the instructions I created the file pwn_fan.py. When I execute the CLI just starts displaying the cpu temp refreshing every .1 sec, and I can only get it to stop by closing the shell window and relaunching. From what I understand, the script controls the fan through PWM so that depending on CPU temp it will vary the speed of the fan. Am I executing the program in the wrong place, is it bad code....or?

omarizakaria.omarent
December 9, 2023, 17:28

which one do i select

so I'm trying to make a PCB with the rp2040 and don't know which capacitor category to select. let me just speedrun the names of the categories real quick
andy_s
December 9, 2023, 17:27

Calibre installation throws "not installable" dependency errors

install android on your pi
adrokk
December 9, 2023, 17:27

Is it worth trying to connect a random, thrift store find LCD screen to a Pi?

Like many noobs to this hobby I watched a guy on YouTube break open an old portable DVD player and use the LCD inside as a screen for his Raspberry Pi. Hours later I grabbed one for $10 at a thrift store and was elbow deep in tiny screws and IC boards. I know it is not easy at all but I'm thinking if there was a semi-simple way for me to connect them I'd love to get pointed in the right direction. The DVD LCD does not have a video in capability so I know would need a control board. I have another screen from a photo frame that has a double ribbon coming out of it. I've looked up the part #'s and I just can't find the right info on them. Anyway, I'd be happy to buy a screen out in the world which is fine but the whole point is I want to make a scratch-built, DIY portable computer and buying it all off the shelf feels wrong! But yes - it would definitely work then!
Johann
December 9, 2023, 17:25

connecting two devices to the same 5V power pin

I'm unsing the raspberry pi 4 model B for a project and we need to power two 5V servos, 1 ultra sonic sensor, 1 soil moisture sensor and also a control device for a stepper motor. the pi has two 5V and two 3,3V pins but we need 1 more. Thats why I wanted to ask if it's possible to power something from the above with the same pin?
wandern.
December 9, 2023, 17:24

Looking for a tiny joystick (max 12mm in length and 3.5mm in height excluding the plastic part)

in extreme heat
paradisaeaimmaculatus
December 9, 2023, 17:24

LED Bonnet help on a RPI3A+

Hi! I am NOT a tech person first of all and am doing this project with a friend of mine (<@224985825744650240>) as we scour for help~ Also a new Raspberry Pi user hi But basically I have a adafruit Bonnet and been trying to get it working tonight for my 64x32 RGB matrix board, but it seems only half of it is working. Tried putting the bonnet on again and applied pressure, also tried code. Some forums are saying perhaps this is a bad bonnet (I’m really hoping not, kinda need this to work by Saturday for a cosplay competition)… All help is appreciated and apologies for how niche this might be. Thanks! Hopefully these tags are appropriate…
cronnerdk
December 9, 2023, 17:24

Boot nvme from usb3

I'm trying to boot my Home Assistant from usb 3 but it only works on usb 2, i've googled and tried: usb-storage.quirks=152d:0578:u any ideas?
littlescarlet
December 9, 2023, 17:25

Help Creating A Universal Remote hub

I'm trying to create a universal remote to replace a harmony hub and I have no idea how to start.
ssyrus
December 9, 2023, 17:26

Raspberry Pi 3b+ LED broken

I found a raspberry pi (3b+)lying around in the house without a proper psu(this is my first time using a pi) I stuck raspbian onto a sd card and put it in the pi and it booted up and i did the setup. I powered it off because I had to go. Later that day when I tried to power it on again it refused to turn on the green light. I thought it might be polyfuse and left it for 48 hours before trying again with a phone charger and now no matter what the green light doesnt come on. help?!
sinishadow
December 9, 2023, 17:23

Tiny Programmable LED lights?

I want to work on a hand-held globe where different countries can be lit up using programmable LED lights. Does anyone know if there are programmable LED lights small enough for this purpose? I tried to google around but most results I get are for consumer lights using a light remote.
zerefslayer
December 9, 2023, 17:46

problem with opencvstream

Hi I using a raspberrypi 4 b where I need to stream video from picam and the video will stream on the specific server that I create but when I run the coding it always show this error and I already stuck right now here the error message : Warning! No module named 'sounddevice' Warning! No module named 'tensorflow' Traceback (most recent call last): File "/home/spartanpi/Desktop/spartan/opencvstream.py", line 2, in <module> import pyshine as ps # pip3 install pyshine==0.0.9 apa File "/home/spartanpi/.local/lib/python3.9/site-packages/pyshine/__init__.py", line 8, in <module> from .convenience import putBText File "/home/spartanpi/.local/lib/python3.9/site-packages/pyshine/convenience.py", line 42, in <module> from socketserver import ThreadingMixIn File "/home/spartanpi/Desktop/spartan/socketserver.py", line 7, in <module> server_socket.bind((LOCALHOST,port)) OSError: [Errno 98] Address already in use
fragginright
December 9, 2023, 17:20

trying to program my pi pico using arduino ide. for some reason, i can't get digitalRead to work.

I've got it printing the value of digitalRead to the serial. even if i take a jumper wire and connect it directly to my input pin, i get nothing. it still reads as low.
callisto_casale
December 9, 2023, 17:21

Raspberry PI won't start?

Hello, I turned my PI on after a few months and it won't get past some screen with a lot of information. I will post a photo of the screen in here
that1lightingguy
December 9, 2023, 17:23

Raspberry pi and artnet (DMX)

I have a pi 3 B+ and a 3 A+ and was wondering how I could connect them to my unreal dmx console using artnet. I would like one of them to emit the solid colour received through the projector that is connected via hdmi.
n___2008
December 9, 2023, 17:17

Raspberry pi Project Piano Led Strips lightshow

I want to make a LED strip working that when I press a key on the Piano, the LED there shine up. I have everything set up and the LED's are working (WS2812B) So i just have to find someone to help me "program" it I think? If anyone can help pls here! Thanks 😉
noah25011
December 9, 2023, 17:16

SPI problem spidev library to interface with one sensor and it requires to send 32 bits of data.

I want to send 32 bits of data (lets say 0X128932). But, xfer2 sends just 8 bits of data or list of 8 bits of data. So, I am sending 32 bits of data in list as [0x12,0x89,0x32] as I have saleae and i am checking the spi waveform on the logic analyser. So, I want to ask is 0x128932 same as [0x12,0x89,0x32] ??
YellowDot
December 9, 2023, 17:15

pi 3B 4K upscale?

Hey guys, is a 3B good enough to upscale photos into 4k? If so, is it even possible to add that upscaler script into a html file so I could do it from like my phone or other pcs purely in LAN?
deitysupreme
December 9, 2023, 17:15

Raspberry pi pico noise issue while mp3 is playing through speaker

I hooked up a low pass filter to my raspberry pi pico, I thought it removed the noise but it turns out it was just the audio file playing, Its not an issue with the file its all the right sample rate, I did the math and made sure the frequency was okay as well, I'm not sure why its still making noise and it only happens while audio plays and discontinues once the power to the amplifier as stopped.
YellowDot
December 9, 2023, 17:17

SSH stopped working

Hey guys, so I was testing pm2 commands to keep my server running 24/7 and I just ssh into my pi from my windows pc by this format in terminal: ssh [email protected] I also login this wаy: ssh name@hostname What I have realized is that it works sometimes and it’s driving my crazy!! How do I fix this?
sherpapsu
December 9, 2023, 17:14

Sound Options through RP4

Working on a hockey siren project that activates a rotating beacon if a selected hockey team scores. Curious of the best option to play custom audio (e.g. horn sounds, goal music, etc.) through a RP4. I have an 8ohm speaker & LM386 chip, but now I'm thinking that can only be used to process the most basic of sounds through PWM (am I wrong?). Trying to not send the audio over bluetooth to a speaker to avoid having an additional peripheral (which decreases portability of the device). Any other options y'all can think of?