|
Klyith posted:If you need the GPIO pins of the Pi for a project, there's the Libre Computer Pi clones on amazon. Those are like a Pi 3 not a 4, and don't have wifi. And I guess not every hat or Pi accessory will work with them. $45 is kinda a ripoff, but less of a ripoff than $100 for a Pi 4. https://shopgoodwill.com has everybody's old-but-functional work laptop starting around $9. Most come ready to go, but it's still cheaper to buy a $11 laptop and a separate AC adapter from Amazon than to find a pi in the wild.
|
# ? Mar 24, 2022 19:53 |
|
|
# ? May 23, 2024 12:20 |
|
double nine posted:not really my question, let me rephrase
|
# ? Mar 25, 2022 10:28 |
|
I'd like to set up a portable Pi "workstation" consisting of a pi4, a small screen of some sort, and a compact keyboard (maybe my old HHKlite with a usb adapter). I'm not yet decided if I want to make it battery-powered or not; that sort of depends on what I end up doing for a screen. I have access to a 3d printer which can make 7"x7"x7" prints, so I'd actually kind of like to find a small "bare" (no bezel) screen which can fit in 7"x7" and print an enclosure for screen+pi. The Pimoroni 8" HDMI screen (https://shop.pimoroni.com/products/hdmi-8-lcd-screen-kit-1024x768?variant=12559868133459) looks pretty promising, has anyone heard good or bad about their products? Any other suggestions?
|
# ? Mar 26, 2022 00:01 |
|
somethingawful's arduino subforum ladies and gentlemen
|
# ? Mar 28, 2022 00:25 |
|
PokeJoe posted:i want to do some low latency video streaming via ethernet on a pi. i also want to be able to draw text and maybe some static images on the video stream. there appears to be a lot of ways to do this, from streaming to a local web page to using gstreamer and/or VLC. anyone have any experience and or recommendations for how to do this? Depends on the resolution you are going for. If it is 4K the Pi won't be able to do much with it. You would just dump a raw stream to some other machine and do the processing there. For Full HD you can probably do some Gstreamer stuff on the Pi itself. Gstreamer is fast but you need to really to do some testing. Make sure you are on a 5Ghz band as well, Wired would be best.
|
# ? Apr 3, 2022 08:49 |
I tried about 10 different ways to do it and settled on an open web socket to a simple http page as it makes drawing the text on the video feed pretty easy. It can do 1080p at close enough to 30 fps. It usually has a delay of less than a second, which is good enough. Lots of the libraries I tried have ~5 to ~10 sec delays which was pretty bad
|
|
# ? Apr 3, 2022 21:23 |
|
This just was announced: https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/ AWS Lambda Function URLs: Built-In HTTPS Endpoints for Lambda Basically what this does is allow you to split things up in to two parts, for example: raspberry pi: record an audio clip "turn on the lights" curl an aws lambda https endpoint with a couple of headers and an auth token and binary blob of the audio aws lambda: runs an advanced CPU heavy voice transcription thing returns audio transcription raspberry pi: runs the lights on command for your living room That might be slower than just letting the raspberry pi do it locally, but not 100% sure. You could also do something for advanced face detection, or whatever. I guess what my point is, this is an easy way to offload heavy duty processing to the cloud and then act on the output of said processing in an async but near real time way. AWS has had lambdas forever, but you had to call them using an IAM account from inside the cloud. This allows you to determine your own auth method (like a 128+ char auth token) and hit it from anywhere on the public internet
|
# ? Apr 7, 2022 00:15 |
|
Methinks you could pretty quickly rack up enough costs to cover a dedicated module/system if you’re not careful.
|
# ? Apr 7, 2022 17:49 |
|
Hadlock posted:This just was announced: The “easy buttons” for deploying lambdas add an api gateway to your lambda since forever. With the AWS SAM CLI it’s just done for you using the hello world templates. Zappa also does it if you’re deploying Python.
|
# ? Apr 8, 2022 00:06 |
|
Warbird posted:Methinks you could pretty quickly rack up enough costs to cover a dedicated module/system if you’re not careful. Lambda costs are so close to zero it might as well be
|
# ? Apr 8, 2022 01:31 |
|
Heads up: there's no default username/password as of last night. This bit me in the rear end and I wound up reading through a ton of source code trying to get my Pi Zero to boot headless and let me log in. You can now drop a file called "userconf.txt" in the boot partition to set up a username/password. I did not discover this last night, and gave up after 4 hours of trying to hack up the undocumented first boot shell script. Anyway. Hope this saves someone else some frustration. https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/
|
# ? Apr 8, 2022 15:37 |
|
cruft posted:Heads up: there's no default username/password as of last night. This bit me in the rear end and I wound up reading through a ton of source code trying to get my Pi Zero to boot headless and let me log in. This is a really good idea and well past due for them to have fixed, but it's crazy that they didn't give more of a warning or a transition release that did both.
|
# ? Apr 9, 2022 18:14 |
|
Great I picked up some free 4:3 dell monitors from work because they make good retropie projects and went to check pi prices and wtf. After waiting a year to buy a reasonably priced gpu...
|
# ? Apr 25, 2022 14:21 |
|
Also posted this in the arduino thread in the crafts subforum, so apologies if I ended up spamming to the same crowd, but as a beginner I have a real problem figuring what hardware exactly would I need for the little learning project I'm thinking of doing - and I'd rather pester fellow goons than end up buying something I misjudged. A couple days ago I've used a MIDI translator to use a piano keyboard as a stickless arcade controller for fighting games on a lark. Then I found I actually really like it and started training with it and coding own SOCD cleaners (rules for handling opposing directional directions to be ~tournament legal~). Now, while I don't really need it, I've started talking with some friends about making a for-funsies project of grabbing an arduino or something similar to make my own plug'n'play adapter to be able to just roll up to some local meetings or something. The thing I'd need this thing to do: - Read MIDI inputs, preferably through a USB cable. - Translate them to other key presses internally, so I don't have to install poo poo on target machine running the game and output them by another USB connection. - Be able to swap between modes of pretending to a PC or Playstation controller - I know the consoles have some different I/O standards, but I have no idea if it has any hardware/connector implications. - If it could just mooch power through these USB connectors and not require it's own power plug, it'd be super sweet. - Some case to be able to just chuck in into a backpack. Any considerations for Stuff To Fit Inside I should be aware of? What would I need to grab to possibly get such a gizmo to work?
|
# ? Jun 9, 2022 19:33 |
|
I have a Pi 3 B+ with Kodi running on it. I want to somehow set it up to dual boot into both Kodi and Raspbian so I can use it as a Parsec client for my PC. Is there a way to set up dual boot capabilities without wiping the SD card first? My Kodi install is finally (mostly) customized to how my wife and I like it and I really don't want to have to re-set it up.
|
# ? Jun 28, 2022 20:12 |
|
Oldstench posted:I have a Pi 3 B+ with Kodi running on it. I want to somehow set it up to dual boot into both Kodi and Raspbian so I can use it as a Parsec client for my PC. Is there a way to set up dual boot capabilities without wiping the SD card first? My Kodi install is finally (mostly) customized to how my wife and I like it and I really don't want to have to re-set it up. Is there a reason you can't physically swap the microsd card?
|
# ? Jun 28, 2022 20:26 |
|
There's a crazy boot mechanism called "gpio boot mode" that has big red flashing light caveats and could completely make your rpi unusable but it could fit the bill if you want to put kodi on the sd card and raspbian on a usb thumb drive. but it will brick your rpi without significant work so I really don't recommend it let us know if you actually try it though. It looks dope.
|
# ? Jun 28, 2022 20:46 |
|
cruft posted:Is there a reason you can't physically swap the microsd card? I only have one SD card and didn't really want to buy another one just for this. "gpio boot mode" looks like Linux nerd poo poo that I'm way too stupid to understand.
|
# ? Jun 28, 2022 21:45 |
|
Oldstench posted:I only have one SD card and didn't really want to buy another one just for this. Far be it from me to diss somebody else's hobby project for being unnecessarily obtuse, unnecessarily obtuse is my jam. Oldstench posted:"gpio boot mode" looks like Linux nerd poo poo that I'm way too stupid to understand. I think you should reconsider getting a second SD card. E: a non-snarky answer: The Raspberry Pi doesn't have anything like a boot loader. It does some funky thing where it uses the graphics chip to boot a ROM that reads the first FAT on the first partition of the SD card, parse the configuration file, and then hands things off to the kernel. Nobody's really put the time into having multiple kernels/root partitions, because it's so much easier to just buy another SD card. But if you wanted to do it, I think your first step would probably be to write a chain loader that allows you to select which kernel to boot, and then you can pass in the partition path for the rootfs, and that ought to do it. You might have to mount the same /boot in both operating systems, which could be problematic, so your next step will be to add filesystem code to mount the right boot fs and read the kernel from that. So at a minimum you're going to be writing something like LILO from scratch. Mmmmaybe you can take an existing project like dasboot and hack it into service as a chain-loader. To get this looking something like GRUB is going to take a whole lot of work in ARM64 instructions, and your "Linux nerd poo poo" comment makes me think this might be a hobby project you're not going to have the stomach for. But maybe you do! That would be an awesome contribution to the world and a lot of people would probably find a lot of reasons why they actually preferred this to buying a second SD card. Specifically industrial applications might find this extraordinarily useful. cruft fucked around with this message at 22:44 on Jun 28, 2022 |
# ? Jun 28, 2022 22:34 |
|
Oldstench posted:I have a Pi 3 B+ with Kodi running on it. I want to somehow set it up to dual boot into both Kodi and Raspbian so I can use it as a Parsec client for my PC. Is there a way to set up dual boot capabilities without wiping the SD card first? My Kodi install is finally (mostly) customized to how my wife and I like it and I really don't want to have to re-set it up. Could you add Parsec to your Kodi install? That specific project hasn't been updated in 2 years so might no longer work (I don't keep up with Kodi), but it suggests there's at least other people out there who are solving/solved this problem 🤞
|
# ? Jun 28, 2022 23:44 |
|
Having 2 SD cards seems like a crap way to do things. Means you have to keep the pi in an accessible spot, and do an annoying song-and-dance of shutting down cleanly, swapping cards, and turning on again. (Then remember to do it again when you're done with parsec so your wife gets kodi when she turns on the TV.)Oldstench posted:"gpio boot mode" looks like Linux nerd poo poo that I'm way too stupid to understand. So some linux nerd poo poo that you might find far easier: everything about how kodi is configured is stored in regular files, all in one place. You can probably learn how to copy that to a USB stick from basic linux tutorials, and then put it back onto a new kodi. So here's what I'd do: 1. Save an image of your current kodi install on your PC as a backup so you can revert if needed. You can use Win32DiskImager for that. 2. Learn how to SSH into your pi's current OS 3. Copy the data folder to a usb stick or similar 4. Image your sdcard with the dual-OS thing that probably led you to ask the question in the first place 5. SSH in and copy all the data back
|
# ? Jun 29, 2022 00:41 |
|
Can't you just load kodi aa an executable from the main os?
|
# ? Jun 29, 2022 00:49 |
|
First, thanks everyone for the advice. Second, if the linux nerd poo poo comment rubbed anyone the wrong way, I apologize. I just meant it as in "I'm as stupid as a bag of grass clippings" and know I won't be able to do any serious clever poo poo to make this work. Klyith's suggestion seems the most straightforward, so I'll give that a shot.
|
# ? Jun 29, 2022 04:03 |
|
Comedy option - set up netbooting from different images. (I actually looked at this a year or so ago and gave up because it was all too complicated)
|
# ? Jun 29, 2022 04:12 |
|
Yeah, I got butthurt. It's been a week. Thanks for being cool about it. As spazzle mentioned, you should be able to run both UIs with just a plan Raspbian install. If I were doing this as my hobby project, that's the way I'd try to pull this off. Big advantage here is not having to maintain two operating systems. The Kodi plugin for parsec makes it seem like maybe you can use LibreElec though? Or at least could... Worth investigating. LibreElec updates itself to some degree so it's ideal for a set top box that you want to just watch movies and not screw around installing security patches. Anyway my advice is still to get that second SD card, but use it to try and figure a way to run both UIs without messing up the Kodi setup you've spent so long tuning. The pi is really well suited to this type of tinkering because it's so easy to swap out the "hard drive" for experimenting. Screwed something up big time? Just put the Kodi SD card back in and watch a movie to unwind.
|
# ? Jun 29, 2022 04:26 |
|
Someone in this thread got that working iirc… and gave really awesome, clear instructions on how he did it. I still managed to gently caress it up and gave up soon after. But it was awesome that he got it to work. I’m on my phone or I’d search for it E: should have mentioned it was netbooting he had working
|
# ? Jun 29, 2022 04:28 |
|
Oldstench posted:First, thanks everyone for the advice. Second, if the linux nerd poo poo comment rubbed anyone the wrong way, I apologize. I just meant it as in "I'm as stupid as a bag of grass clippings" and know I won't be able to do any serious clever poo poo to make this work. Klyith's suggestion seems the most straightforward, so I'll give that a shot. To be honest, I would have felt really bad if you really did try "gpio boot mode" and end up turning your raspberry pi 3b+ into a paperweight. Especially because they're still hard to find nowadays!
|
# ? Jun 29, 2022 05:51 |
|
Oldstench posted:First, thanks everyone for the advice. Second, if the linux nerd poo poo comment rubbed anyone the wrong way, I apologize. I just meant it as in "I'm as stupid as a bag of grass clippings" and know I won't be able to do any serious clever poo poo to make this work. Nobody should be offended by the linux nerd poo poo comment because getting a Pi to dual boot is some real linux nerd poo poo. Just lucky that someone's packaged it into a pre-made image utility. (Note: I have no idea how well the 2 installs provided on that website will work, particularly if and when they want to update themselves. I could easily see a major update to raspbian wrecking the bit that allows libreElec to boot from it.) However, a good lesson in how to ask for help in tech stuff: at the start, give a calibration of how much you know and stuff like "I've googled and the only thing I feel able to do is these automatic utilities that are the top hits for dual boot pi. Everything else is linux nerd poo poo that I can't understand because I know nothing about linux." The best way to find good answers is to think about what the problem actually *is* (in thing case, keeping your kodi setup) and get off a track that's going nowhere.
|
# ? Jun 29, 2022 13:38 |
|
People don’t consider “huge Linux nerd” a complement? Probs should have called them a “Unix nerd” instead I suppose.
|
# ? Jun 29, 2022 17:50 |
|
Warbird posted:People don’t consider “huge Linux nerd” a complement? I've been dieting, okay? Trying to make it down to "large Linux nerd".
|
# ? Jun 29, 2022 17:58 |
|
cruft posted:I've been dieting, okay? Trying to make it down to "large Linux nerd".
|
# ? Jun 29, 2022 21:21 |
|
cruft posted:I've been dieting, okay? Trying to make it down to "large Linux nerd". I’m headed in the opposite direction, and don’t even have the benefit of being a “Linux nerd” yet… Sorta like “Huge Linux n00b,” the worst of all worlds…
|
# ? Jun 29, 2022 22:58 |
|
New Raspberry Pi Picos announced: https://www.raspberrypi.com/news/raspberry-pi-pico-w-your-6-iot-platform/
|
# ? Jun 30, 2022 18:01 |
|
Island Nation posted:New Raspberry Pi Picos announced: Is there any reason to buy one of these over an ESP32?
|
# ? Jun 30, 2022 18:11 |
|
Inept posted:Is there any reason to buy one of these over an ESP32? Now? No, not really unless you are married to the Pi Pico ecosystem. A year ago when ESP32s were hard to get in some areas? Absolutely, but they missed their mark. From what I understand the Deep Sleep still isn't great on Pico and the W doesn't have BT. The wifi module they are using does have BT, and they hinted at adding in the future. ESP32 can do a deep sleep at like 10uA and theres a few boards that get there, deepest Pico sleep I've heard is 1mA and that was with some trickery. RP2040 itself can do 180uA deep sleep so that's the best case it could have. I use a Pico in a small keyboard I made since it has native USB support, but I probably could have used an ESP32 S2 instead.
|
# ? Jun 30, 2022 18:58 |
|
I still don't really get the Pi Pico stuff. There are so many good microcontrollers out there already. Plenty of established brands, with big communities, good tools, and an excellent migration path from cheap low end to expensive high end, as well as from hobbyist to professional. The Pi microcontrollers just seem like a dead end as a result. At least with a proper Pi you can move to a different Linux computer with not that much effort, so it isn't a dead end for hobbyists only.
|
# ? Jul 1, 2022 12:21 |
|
That's how capitalism works. You continually expand your product line to compete with other companies to try and get a bigger slice of all the money in the industry. I think it's stupid too, only microcontroller I'll buy is a teensy, but that's just me. I assume Pi knows how well they'll sell.
|
# ? Jul 1, 2022 13:15 |
|
I buy atmels for hobby stuff because Arduino saves so much time and ST for work stuff because they're cheap and the toolchain is very very good. Both are suitable for both hobby projects and serious product design. Pi stuff is super vulnerable to supply crunches and also has that embarrassing hobbyist vibe when you see it in a proper product(like the Atmel328P)
|
# ? Jul 1, 2022 13:23 |
|
I think the big advantage of the Pico over the ESP32 is that you can connect it to a PC, mount it like a flash drive, and drop a Python program on it. No looking for COM ports. No need for an IDE even. Write some Python in a text editor, copy the file onto the Pico, make some lights flash. I think it also has some stuff that makes creating a custom USB HID device pretty easy.
|
# ? Jul 1, 2022 17:59 |
|
|
# ? May 23, 2024 12:20 |
|
PBCrunch posted:I think the big advantage of the Pico over the ESP32 is that you can connect it to a PC, mount it like a flash drive, and drop a Python program on it. No looking for COM ports. No need for an IDE even. Write some Python in a text editor, copy the file onto the Pico, make some lights flash. That describes half the boards sold by Adafruit
|
# ? Jul 1, 2022 18:15 |