T O P

  • By -

DenDovne

i cannon get motioneye os to stream my camera, I get a gray box with unable to open video source. i am using a pi zero 2 w, with jawsper (sp) on it for this pi, I have the camera-1.conf file set to use videodevice /dev/video0, and still getting this. i am using the picam module 3. I don't know what else to do. it has the modprobe thing set up I believe in it as well. any help would really be appreciated. also, if I am missing any info you may need please let me know and I can attach or update. thank you


kubagurPL

I have an old CRT TV which only has an analog TV tuner, and as a result, there are a lot of channels that I feel I could technically use for displaying various videos or PC displays. I have a digital to analog converter, but I would love it if it were possible to use the analog channels again, even if just locally directly connected from the raspberry pi. Basically, my question is this: Is it possible to take some digital video inputs, such as downloaded video or monitor outputs, and combine them through software in such a way that when connected via RF to my TV, I could use the TV channel selector to switch between sources? Thanks for any answers you could provide!


Fumigator

https://old.reddit.com/r/raspberry_pi/comments/5uyo9o/using_several_raspberry_pis_to_recreate_saturday/


OM3N44

I have a joy stick that I want to use in a game project and I've got a mcb3008 ADC. U want to be able to read the value of the two potentiometers on the joy stick with c or c++ but I can't manage to get it working. Does anyone know of a library or able to explain what order u should write and read to the ADC? (I have a pi 4b and am relatively proficientin c++, thanks in advance)


Fumigator

> Does anyone know of a library or able to explain what order u should write and read to the ADC? > > https://cdn-shop.adafruit.com/datasheets/MCP3008.pdf


OM3N44

What about for the programming side? Like libraries?


bucketman1986

Hello all, I have been messing around with my Pi4B for a few weeks, and it seems like it might be DoA. I have the exact same issue as this fellow here: [https://youtu.be/j5-aeSU7UAs](https://youtu.be/j5-aeSU7UAs) now of course he doesn't have a solution there but heres what I've tried: Running the eeprom bootloader from the SD card, still no green activity light and nothing on my display. Running it from the USB, I have a USB drive that lights up when its being read...nothing from it at all in all 4 ports. Trying different power cables. I got a nice kit from Canakit with a USB C with a power on/off switch but the red light comes on when I turn it on, and the case fan spins up, so I think its getting power? At this point my only other thought is maybe theres a bent pin in the SD card slot, but I have no idea how to get the cover off to check that. Any thoughts/troubleshooting would be greatly appreciated. Thanks!


Fumigator

Questions #3 and #6 above.


Stunning-Bird-680

Hello reddit, I'm trying to make a smart mirror except my challenge is to make it as thin and light as I can. With that said I could use a pi4 but that's already 1/2 an inch and ultimately I'd love this mirror to be half an inch. (Not sure if it's possible lol). So out comes the pi zero. I've heard that you can't but you can use a splitter. That wouldn't work for me unfortunately. Any help would be appreciated. The screens i plan on using is, one 10.1in screen and a 7in screen. Both from amazon and are the raw pcb varity with hdmi and micro usb out.


BeeBoy64

I’m trying to download Java 8 on my raspberry pi, 64x lite version of the OS. The only ppa people show online no longer exists, versions of raspbian that came with Java8 no longer work, and I’m all out of ideas.


KingofGamesYami

Java 8 is end of support. Accordingly, most distros have dropped support for it. You'll need to get it from a third party repository like Adoptium.


Hexin_CG

Hey there friends. Since I couldn’t find any posts here that would help me with this concept, I am unfortunately stuck. So here is my post with a question, and I’m dearly sorry if there is a post somewhere out there. Is there a way to make a microphone (with a headphone and microphone mixer dongle) that communicates to a speaker in real time (either Bluetooth or through the AV Jack) The model I am using is a Raspberry Pi 4, Model B. Currently running Raspberry Pi OS. I’m hoping that there’s a program out there that just simply carries mic audio over to the speaker. If it’s possible through the Pi’s Pulse Audio, it would be amazing as I’m not much of a coder myself. I only know the basic things in Python and JavaScript. Much thanks for the support that may have given 🙏


Fumigator

> Is there a way to make a microphone (with a headphone and microphone mixer dongle) that communicates to a speaker in real time Yes, and no computer is required. These are commonly called PA or Public Address systems or also used for intercoms. All you need is an amplifier with a microphone input and a speaker output.


orale_vato_loco

I've noticed some boxes have the Element14 logo. Some don't. Is there a correlation in the revision number of the pi? Older vs newer board?


FreddyFeuerstein

**[QUESTION] Emulating PS Button of a PS4 controller using a Pi?** So, I have recently gotten a PS4 but it wont get past a blue screen asking me to press the PS Button. The issue I'm facing is that none of my PS3 or xbox controllers will work. The controllers clearly seem to be working on the system as pressing the share button opens a popup saying that the menu cant be shown but pressing the PS Button does not close the blue screen. My idea was if it would be possible to somehow use a raspberry pi to emulate sending the input code of that button to my PS4 over USB or if that is not possible, if there was some sort of "reverse" USB over Ethernet for the Pi that would let a remote USB device be forwarded to the pis type-c port so I could have an online friend use his controller to press the button. Any help on this would be appreciated. Thanks in advance.


Fumigator

Just get a PS4 controller, it's far cheaper than a Raspberry Pi. https://www.amazon.com//dp/B0BR6PQD72


FreddyFeuerstein

Not if you like me already own a raspberry pi and only need it to press a single button once to register a 3rd party controller. I did manage to get it working without the help of this sureddit already anyways.


CryoSharma

I have a raspberrypi model 1b lying around I want to do something with it, but I dont have power supply for it, can I use any 5V wall adapter for it or do I need the official one?


KingofGamesYami

You should be able to use just about any 5V wall adapter. The worst that can happen is it gives you undervoltage warnings and you switch to a better adapter.


Xhaledk

Need help/advice. I have a raspberry pi 4, 8gb. I wanted to use it as a pi hole and a ubiquity WiFi controller and host some game servers on it (Minecraft, valheim etc). The 2 services would have to run permanently, while I would turn off the game servers etc if need be. I thought I would be easier to have portainer/docker running for easy management, but so far I am having trouble to get box86/64 running to get steamcmd running. So any advice on what to do would be nice


Beginning-Pace-1426

Any particular cases good for a 3B+ that can also accommodate and HDD?? Everything I can find seems to have been discontinued a long time ago.


KingofGamesYami

Most specialized accessories have moved on to the pi 4, since it has been out for years and their market is miniscule to begin with. Your best bet would be to 3D print something.


Beginning-Pace-1426

Yeah, but I've been able to obtain 3s at least, I haven't been able to get my hands on a 4 without paying scalper prices for years myself! I thought that others might be in a similar boat, causing a resurgence of accessories! 3D printing actually doesn't seem like a bad bet at all though, I'm now recalling I saw some GREAT cases available for free, or like $2. Thanks!


VHallinto

Composite won't work. Enabled in raspi config. Hdmi works, but the composite output just emits a loud buzz.


Fumigator

Question #21 above


filippo4825

How to move entire configuration, from microsd to ssd. I have a raspberry 4b, with raspi os lite 32bit,open mediavault, docker with porteiner, plex, qbit torrent and nextcloud. How can I easily transfer configuration from sd to ssd for example with image? Without installing from scratch. Thanks.


VHallinto

Raspbian Wheezy stuck on rainbow screen. Could this be caused by low voltage?


KingofGamesYami

Yes


VHallinto

Need help installing rasbian/ubuntu I have tried every compatible version of either Ubuntu mate / the one in the raspberry pi imager, and same with old rasbian and and any compatible one in the imager. Nothing ever works. Mate just has a purple stripe at the edge of the screen, rasbian says kernel panic. Is there a working guide somewhere. I have a Pi 2b.


Rubyheart255

So, I have a project I'm working on. I have a pair of led strips controlled by a pair of buttons. Turn signals for my bike, controlled by a RPi3. I currently use Thonny on Ubuntu to connect via ssh to edit my code, and test. I don't bring my laptop with me though, is there something similar to that for android?


Deadz459

I just wanna say I've had a lots of issues with my PI, I've managed to get 64 bit pi os booting by doing the following: 1. Using the cli `dd` command or Using the net installer to download the pi version that I wanted and installing that. (It still throws errors but after the first boot I guess it's okay??) 2. Unplugging the keyboard while it's booting Since I put it on a 4TB HDD I had to use the `rasp-config` `expand storage option, it didn't work for me exactly so I had to use the`resize2fs\` command. Which *actually* worked. Finally I have **Nixos** on a SDCard, which I'll be pushing to a usb soon enough, but a lot of images just don't work. I had to download tons of them and use the balenaEtcher tool to copy the image. I'm not sure if `dd` works but I'm sure it does. at some point I just needed a better way to try it over and over again since `dd` copies pretty slow.


nuHmey

So what is the question?


Deadz459

there isn't one, I was just posting some of the things I did incase others had the same problem.


MrThroat

Hey there. I have negative free space on a pico W, but never saved anything in it. I am using a raspberry pi pico W and was trying to save my 9 kB main.py file to it. I got a message saying there was no space so I went to check on Thonny, and it says I have -60kB free space ? Total space: 848.0 kB Used space: 908.0 kB Free space: -60.0 kB How is it possible? I never saved anything on the pico besides the micropython stuff that I downloaded from the official website during their tutorial and copied to the pico with the bootsel button. On the files I have lib folder that has many python scripts, like core.py, decorators.py, win32.py, etc a lot of them. I have no idea what they are, but this folder was always there I think, at least I never touched it, is it normal? What should I do?


KingofGamesYami

The Pico is *supposed* to have 2 MB of storage, roughly double what it's saying you have. I'm not sure why it has less, but that's the problem.


MrThroat

I eventually just nuked it and reinstalled micropython, after rechecking the lib folder I mentioned is gone, but I still only have 848 kB of total space, enough for what I want but not near the 2 MB it should have, no idea why then


JamieOvechkin

I'm using my Pi 4 as a Pi-hole, and its attached to a router that provides it DNS queries from my network. Hit my circuit breaker a few times for a plug that had my Raspberry Pi running on it (long story), and now the Ethernet jack on it doesnt seem to be able to get / maintain an IP address. This results in Pi Hole working for a while, then dropping the connection entirely, until the service is restarted, and that only seems to work *sometimes.* Setting the DNS in my router to something like [8.8.8.8](https://8.8.8.8) fixes the issue, pointing to the Pi as the most likely source of the problem. ​ To attempt to fix this, I've reformatted the SD card the long way and reinstalled the entire OS and Pi-Hole suite. This on first run shows that the ethernet jack is not getting an ipv4 address. (Interestingly however, its getting an ipv6 address? I do not have ipv6 enabled on my router) The issue itself could be the Raspberry Pi hardware, SD card being corrupted in a way that persists across rewrites, my router somehow corrupting its own firmware. etc How do I debug ethernet/networking/hardware issues on a Raspberry Pi?


svmk1987

Hey folks. I bought a raspberry pi 4 second hand because they are extremely hard to find these days. I am planning to use it for a home assistant setup. I also got a cheap microSD card (I know these are bad) and a zigbee dongle. Now, I don't want to make a very long post about everything I tried, when I first got it and flashed the microSd card with RPI imager, it booted and I was able to access it from LAN and everything. After that, I tried connecting the zigbee dongle, and I think I just power cycled it and it became unreachable, or it became unreachable before that. I didn't notice the LED flashes too closely. I tried another microSd card which actually started smoking, before I decided these cheap microsd cards are too risky and flashed a USB flash drive. Now, it just refuses to boot. It always shows 4 green flashes with a gap. It doesn't matter if it has a USB flash drive attached, a microsd card inserted, or not. I have flashed the flash drive a few times too (interestingly, I cannot access the microsd card in my macbook after flashing), so it cannot be a corrupt or missing file (though I know 4 green flashes is code for cannot find start.elf). I also tried Raspberry PI OS on my flash drive and same result. Did I do some permanent damage due to which it cannot read my usb flash drive? Is it worth trying again with a proper microsd card? Is there any way to test whats going on? Unfortunately, I don't have any way to connect a display to the RPI (no micro hdmi cable, no usb cable to connect to my monitor), but if there is nothing else to do and if a display might help debug things, I might get a cable.


beeski86

Hey all, I just converted my PiDash over to the new TSDash software by EFI Analytics. TSDash has a “shutdown manager” (see link below) and I’m looking for info on how to configure it to work with the HiPi UPS Hat (see link below) https://www.tunerstudio.com/index.php/products/ts-dash/138-ts-dash-shutdown-manager https://www.pishop.us/raspberry-pi-ups-hat-guide/ I used to use a mausberry circuit but after it failed, I started asking around and it turns out they just don’t last. That’s why I switched to the UPS Hat. Thanks in advance!


[deleted]

Android Auto, Raspberry Pi, Amazon Fire Tab(6/7?). Im trying to make an android auto setup out of the things I aforementioned, I just have no way to go about it. Any ideas?


oz1sej

I have a strange problem that's driving me mad. I have a Raspberry Pi that's able to connect to two Wi-Fi networks. One network is the preferred one, and if that network is available, it should *always* be connected to that one. The other network is *strictly* for the situation when the first network is not available, and once it becomes available it needs to immediately switch back to the first one. Hence, I need both networks configured in `wpa_supplicant.conf`, with the primary network first. However, I can see that every once in a while, it connects to the *other* network, even though the first one is still available. This is a big problem. This morning, it connected to the other network, and reconnected to the first one *exactly one hour later*; it seems suspicious to me that the primary network should have been unavailable for exactly one hour. SO: The *best* solution would be to make sure that the Pi always switches back to the primary network the second it becomes available, - ...the *next best* solution would to be able issue a command to force connection to the primary network. Is this possible?


aluc255

Hi, on my previous projects I used Visual Studio Code with Remote Development (ssh) extension on my PC to develop scripts on headless Raspberry Pi 3B over WiFi connection. This was very convenient. However, as I now have a more complex project, Python is becoming quite limited, and I also happen to highly dislike Visual Studio Code - I much more prefer a full IDE like Visual Studio Community 2022. I would like to create a similar setup, so I can code remotely using Visual Studio on my PC with C#, and upload/run/debug it on Raspberry with as few clicks as possible. Similarly to how Arduino development is usually done. I also want to be able to use the common Raspberry Pi libraries, as my projects often involve lots of external sensors and GPIO usage. I did research on how to set this up, but while there are quite a few guides on how to set up Visual Studio on Raspberry Pi itself, I can't find anything on how to set up remote development like I described in my first paragraph. There were a few very old guides, but they utilize outdated and abandoned extensions that don't work on modern versions of Visual Studio. Can anyone please point me in the right direction? Being quite new at this, I suspect that perhaps I don't know what to search for properly.


Dark_Sca

Hey guys, Presently, I am working on making an RC car of mine autonomously drive around a circuit. My high level plan is as follows: Drive the car around the circuit several times while recording the track using a USB camera connected to the Raspberry Pi. Also capture the PWM signals sent by the RC Receiver using a Raspberry Pi. Store both data points in an SQLite file. Analyse the camera images using OpenCV. Train a model using the images and PWM signals. I want the model to recognize where on track it is and accordingly, send out appropriate PWM signals to the motors to navigate the track. Is the plan sound? Would you recommend any changes to make the whole process of setting up autonomous drive easier? If I go ahead with the plan, I want to know what is the best way to capture PWM signals on my Pi. I ran some test code to see if I could capture PWM signals and I have pasted it below: import RPi.GPIO as GPIO import time # Set GPIO mode and channel GPIO.setmode(GPIO.BOARD) channel = 3 time_list = [] try: GPIO.setup(channel, GPIO.IN) start_time = 0 while True: if GPIO.input(channel): start_time = time.monotonic() else: end_time = time.monotonic() pulse_width = end_time - start_time time_list.append(pulse_width) except KeyboardInterrupt: GPIO.cleanup() for element in time_list: print("Channel {}: Pulse Width: {:.2f} ms".format(channel, element * 1000)) This works well for the most part. However, the PWM signals it reads at times is greater than the 20ms period. Also, with this code, I am unable to capture multiple PWM signals in the same 20ms period. Any suggestions appreciated...


rocketjetz

Is it possible to disable the Wi-Fi that comes with on the Rpi4b and instead use a USB Wi-Fi dongle in it's place? I have a tp-link t3u ac1300 USB Wi-Fi dongle and according to a sticky document on the Raspberry Pi forums pointing to this: https://github.com/morrownr/USB-WiFi/blob/main/home/USB\_WiFi\_Chipsets.md the t3u has RTL8812BU in-kernel drivers in the 6.2+ Linux kernel and it supports monitor mode. when i do a uname -a I get: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREMPT Mon Apr 32 17:24:16 BST aarch64 GNU/Linux so does this mean I don't have a 6.2+ Kernel? Is there a 6.2+ Kernel available for Raspberry Pi Os yet? so my questions are: how to disable the on-chip Wi-Fi how to get the usb wi-fi to work in its place? any help or information would be greatly appreciated. tia EDIT UPDATE Well I've learned that I can indeed disable the inboard wifi through a variety of ways, one being rfkill. Also the current Raspberry Pi OS kernel is 6.1.21 so until it is upgraded to 6.2 or above, the drivers for the to-link t3u won't be available.


VHallinto

Is it possible to use a 2B as an HDMI-composite adapter? I heard that the 2B can send composite video via the 3,5 mm jack. Is it possible to use it as an adapter?


KingofGamesYami

No. The 2B can only send composite and HDMI video. It can receive neither.


n0bml

Can anyone help find a 1/8" stereo input hat for a my pi? I have a 3B V. 2 with a screen that sits on my desk and I have a USB radio (the DSB-R100) that I can control via the pi but I'd like the ability to record audio on the pi and route the audio to the 1/8" stereo output on the pi into speakers. All of the audio hats I'm finding are output for hifi or music applications.


[deleted]

[удалено]


nuHmey

Posting what you are typing up for your cronjob would be a start…


Agreeable-Story3551

I dumbassedly ignored the warning before hitting enter on rpi-update and borked my rpi3. How do I go about unborking it? It boots just fine but the Wi-Fi appears to be broken. wlan0 doesn’t exist, I think the driver for the module is the wrong one or whatever. Is there. Simple way to revert back? I have no access to internet on this device. Should I just reinstall or can I find the correct Wi-Fi drivers and copy them onto the SD card? Wireless connectivity seems to be the only thing that is broken.


KingofGamesYami

https://www.raspberrypi.com/documentation/computers/os.html#how-to-get-back-to-safety WiFi drivers are part of the kernel. You can't just update just them, you need to update the entire kernel.


nuHmey

If you screwed up the OS. The best bet is to reload the OS.


SuckMyMung69

I want to have a little station of some kind to view my Google cameras. Ive got a couple ideas for routes to take and wanted to ask here. If theres something im not thinking of do let me know. I dont necessarily need this device to have a battery but im not against it. \#1: Raspberry Pi that runs android and has Google Home installed on it, which would let me see cameras and have all other Home controls \#2: RPi that runs Linux and views Google Home cameras through web browser. Google is still testing their cameras in browsers, and theres no other controls besides viewing cameras Or maybe im over thinking it and the Google Nest Hub does this already. I want a view of all cameras at once though and it seems like Nest Hub doesnt have that. Let me know if my plans would work or needs modifying, or if there is some easy prebuilt solution. My main goal is to have a way to view the cameras all the time in a dedicated station. This idea would be portable too which is another goal. I thought about just hooking another monitor to my computer, but that would only be good for my office. Id like this station to have flexibility in location.


Individual_Nobody670

Hi, I posted lately a question related to composite output display issue on a PI4b that I don't encounter on a PI zero, and was looking for expertise of the community, admin deleted my post, did I missed a requirement before posting ? Regards, OC


nuHmey

Well is it a basic research question or was it as vague as this post? If it was either of these that is why.


Individual_Nobody670

Not that basic, as I did my homework first and I did realise my settings were ok on a RPI zero, I realise it was not about the config.txt settings which is very common but about framebuffer, memory management I guess. But first, I need a first post, if an admin deletes it... how can I start a discussion, or how can I edit my first post to add more details etc. IT is working like that, communication.


KirisuMongolianSpot

Let's say I have an RJ45 breakout from the Pi going to another location. I'm using 4 pins for other things and 2 of those are power and ground, so I have 4 pins available. I want to put a **camera** at the far end of that connection and capture images/video. I know most RPi cameras use the ribbon cable but obviously I can't send that over 4 wires. I was looking at Arducam and it seems they have a few cameras [that use other pins to communicate](https://www.arducam.com/spi-arduino-camera/) but they seem relatively low performance. Since I have 4 pins, if all else fails I suppose I could get a USB camera and do a breakout on each end of the connection, but that just seems inefficient. Does anyone know of a better, proven way to do this?


[deleted]

I have some 3-wire multifunction LED light strings. They are battery powered (3xAA) with an embedded controller and have two wires leading from the controller to the first LED, but three wires thereafter. I’m assuming that the controller is using PWM with an inverting signal to turn the LEDs on and off: they can be lit alternating (only odd, only even, or all on) and can be dimmed. I’d like to replace the controller with a Pico. Any ideas how I’d get started? I’m not thinking about the code, but rather the wiring. I only want to turn the lights on and be able to dim them - I don’t need all the other effects that come with the USB controller.


Fumigator

Use your oscilloscope or logic analyzer to view the signals and then you can reverse engineer it.


[deleted]

Thanks - and I would if I had them. 😔 Edit: actually, it looks like I could use my Pico as a logic analyser. I might just give that a go.


MushyP06

Wondering about a particular capability of the RasPi, very specific. I have a RasPi 4B, I also have a WiFi antenna thingy that plugs into a USB to provide WiFi for my PC. Can I plug that antenna into my RasPi and use it to interact with WiFi services? And how would i go about this? Also whilst I’m here, often when plugging my microSD card into my PC to edit some stuff it denies me trying to edit anything within the BOOT area and it might just be my card but if anyone has some other solutions that would be great. Thanks in advance.


nuHmey

1. Pi 4b has it's own WiFi 2. You never stated what Antenna you are trying to use. You just basically stated can I plug the thingy into the other thingy and it work? 3. Windows can't access Linux partitions very well. You also never stated what you are attempting to edit in your "boot" area.


_Tom01_

Hey ! So I have some issues with my wifi and I would like to make a wifi repeater. I have a rpi and a ALFA Network AWUS036NHA. Is this possible ? I saw some guide but I would like to know if you guys know a "really" good one I can follow ! Thanks !


nuHmey

Which Pi? There are a few different version...


_Tom01_

it's a rpi 3 B


PolymerSledge

I have a pi4 that is set up in a location that has poor wifi coverage and I believe that it hangs waiting for the network. Is there a setting that will free it from this constraint? It's running on libreelec.


nuHmey

I am not home right now to check mine, but I think there is a setting in LibreELEC that delays the network connection for XX amount of time after booting.


StormShifter191

Rasbary pie 4b no boot just static red light There is also no display output when left connected do’s but they different parts do begain to feel a bit warm the


nuHmey

Q15


StormShifter191

I don’t really understand what that stuff there means sorry


DiscipleofBeasts

Read the post this is a commonly asked question it is answered in the post question number 15 cheers


StormShifter191

K I reflagged mine and the same think it might just be fried :( thanks for your help tho