FreshRSS

Zobrazení pro čtení

Jsou dostupné nové články, klikněte pro obnovení stránky.

Raspberry Pi 4 assisted autopilot for fixed wing aircraft

Hello there,
this idea came to my mind recently. I am building a large scale autonomous fixed wing drone and wanted to implement some kind of autopilot. My first thought went to the arduino, because of its real-time computing, but not far into development it turned out no to have enough juice. I am a bit scared of solely using a computer with OS as the main flight computer tho, since I experienced some weird hickups with the Pi before, and this would be a large security risk. Like if the Pi hangs while executing a simple curve or worse an obstacle avoidance maneuver, its basically over.
My question here is, would it be feasible to implement a hybrid approach, where the arduino handles following basic flight profiles set by the pi. So the autopilot has to work a bit different by generating a profile for the next few seconds to have a buffer for the arduino. Does this approach even make sense? What do you think? Are there better (?) alternatives to this?

TYIA for you opinions
(Disclaimer: I am aware of LOS flight restrictions in my country, have a active license and agreements with local farmers to allow me to develop this legally)

submitted by /u/InstructionKey2075 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Battery Handheld Ethernet IP tool

At my company we deal with a lot of HVAC controllers. They often have 2 ethernet ports designed to daisy chain from device to device. A lot of these controllers are up ladders and in the ceiling where 2 cat cables will come into an enclosure (from unknown origin) plug into the 2 ethernet ports and if the cables are good and the device on the other end of those cables is powered up and online the network will continue and everything is hunky-dory. But if there is an issue with either of the cables, cable ends, or controllers they are connected to the network breaks. Some of the newer model of controllers I work with don't have link lights on them so trying to figure out where the problem is quite a chore. I'm looking to try and build a battery powered tool that I can plug into one cat cable at a time to see if I can ping or some sort of network scan to see if anything is at the other end of the cable. A small screen with just some basic info is what I am imagining. Fluke and Netally make handheld tools that do way more things for way more money lol. LinkRunner AT is an example.

submitted by /u/Fatcat87 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

My First Raspberry Pi Lab Server

My First Raspberry Pi Lab Server

I thought it might be a good Idea to share my First Lab Server that i Just build and im courious what you Guys think about it. I set up a 12 node k3s cluster with 7 rpi4 and 5 rpi5. I also build a NAS with 16 TB storage capacity, a 3 node docker swarm cluster with zima blades and a opnsense in my APU Board.

All of the rpi are powered over POE fron my Netgear Switch. Any ideas what i could try run in it despite some web applications? Any suggestions for improvements?

submitted by /u/Least_Share2533 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

My first fully modularized program, a Pi Alarm Clock

My first fully modularized program, a Pi Alarm Clock

I finally went through with breaking my most used program into modules. It’s been through over 15 iterations of changes, adding features, and recoding, but I’ve finally added all the features into one program and made it modular.

The original code no longer exists, but it has been over two years working on it here and there whenever new ideas would come to mind.

Swing into my Git Hub and check it out: /B-Boone/alarm_clock

I’ve seen a lot of posts on Reddit with recommendations to others about best practices and troubleshooting, so I finally put my best foot forward and decided to put the finishing touches on my public access version.

It is coded specifically for Raspberry Pi, due to the GPIO use, but it could be recoded for general use on a PC.

Enjoy! Let me know what you think, and anything you would personally add or change. I’m always open to good suggestions, and I could use the practice.

I don’t do coding full time, but I do enjoy my share of coding and electronics projects in my spare time.

submitted by /u/No_Can_1808 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

playing Roblox on raspberry pi

With the raspberry pi's increased performance, roblox just about runs on the pi, albeit some games run better than others.

I tried it by installing lineageOS on the pi, and then installing roblox.

(I was using a pi 5 8GB, with official cooling case)

I changed some options in settings related to the CPU, putting the cpu governer to performance and increasing the maximum CPU frequency.

I have written a full tutorial on my website, which goes through every step from start to finish.

Please take a look, and try it if you like it, and feel free to leave a comment on the tutorial, or even join the website!

submitted by /u/Mushfik088 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Radio controlled prank speaker

So, I've got an idea for a small pi project but I'm not sure where exactly to start. I've got a bunch of pi3s 4s and 5s about that I've used for OMV and Volumio and a bunch of other docker and networking applications, and had a silly idea for my old pile - a remote control speaker board.

I live in the ground floor flat on a small road with my wall directly onto the pavement (welcome to London) and we've been having issues with people coming down and urinating on our wall. In these summer months, it gets a bit gross, and I've been trying to find... deterrents. Usually, I just go out and ask the guy to go to the public loo around the corner, but my other half doesn't always feel safe confronting these people.

So I was thinking of making some kind of radio controlled sound board with some pre-recorded sounds that you can activate remotely. I did consider just sticking a Bluetooth speaker outside, but the signal gets lost in the walls, and WiFi won't work outside the house either - the construction of the flat acts as a sort of Faraday cage.

I'm guessing that, with some simpleish coding, 2 raspberry pi units (master and slave), some mini RF modules, a power bank, and a bit of fiddling, I could get something like this to work with relative ease.

Anyone here got any starting point ideas?

submitted by /u/CrazyHa1f to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Can Hay Question not seeing any Data

I have a Waveshare 485 Can Hat on a Raspberry Pi 5. I've done any and all suggestions in the /boot/config.txt file I can see it reflecting can0 when doing ip a command and it sees the mcp2515 spi when looking for it using dmesg command. I have an OBD2 cable with pins 6 (can-h) and pin 14 (can-l) from the obd plug connected to the hat. I've brought the interface up with what I believe to be the correct frequency. However I am still NOT seeing any can traffic when doing candump can0. This with the engine running. I have a Thinktool Pro scanner that works and reads from this very same OBD2 port without issue. My vehicle is a 2011 Honda Accord, from articles I've read online the can bus frequency should be 500000. Is there possibly something I'm overlooking which would stop me from seeing data when using can dump?

submitted by /u/bfpa40 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Creating A Smart Kitchen Application

Hey yall! This is my first time really experimenting with a raspberry pi, my friend gave me this one for free. It is a raspberry pi 2 model B. I just wanted to ask some general questions to see if I am heading in the right direction. I have an OK coding background at best, but I feel like C++ and Python are my two best known languages. I am trying to have this application do about five things. Inventory of my kitchen, inventory management, weather (I feel like I could just make a call to an API for this one or something) , spotify(might be able to just download it onto the pi), and I'd like to connect notion to it. Now I guess I am a little confused of where to start. I'm thinking of starting with the inventory functionality. Are they any frameworks yall think would work best for this? Django?

I plan to have the pi connected to an LCD screen I will either mount to the wall or the fridge. Any help would be appreciated. Thanks yall!

Additionally, I plan to document this entire process. The plan is upload it to GitHub and possibly a tutorial on here once I am finished. :D

submitted by /u/TheNateNightShow_ to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Circular CSI-2 cable instead of ribbon?

I am building a project with a RPi Zero and I need to use the CSI-2 port for a camera because the usb port is taken by another camera.

The problem is, a ribbon cable really isn’t suitable as it will be located 2 metres from the RPi through small vibrating parts. A circular cross-section cable is essential.

I want it to go from one CSI-2 port, into circular form then back to ribbon form to connect to the camera module 3.

Does this product exist? I can’t seem to find any information on it online.

submitted by /u/batbug to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Help setting up an HID keyboard device for the pico.

Anyone able to help get me started on sending keypresses with the pico? I integrated the pico sdk and called some of the tinyusb libraries, but honestly the tinyusb documentation is pretty lackluster so I struggling to get the header files and everything working properly. Was able to flash the pico and read stdout and control lights, buttons, encoders, etc. For the life of me I cannot get it to send a keypress though.

Any help would be greatly appreciated I feel like I am banging my head against the wall.

Writing the code in c++ not micropython.

submitted by /u/travmonkey to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Need to power multiple modules

Right now I'm building a Pipboy 2000 from fallout 76 with a Raspberry Pi A+. The pipboy is going to have a Pico for the buttons, an amp for the radio and a arduino nano for the clock and date wheels.

I want to know what can I use to power the modules, the Pico already is going to use the power from the USB but I need something that can feed 5v to the Raspberry Pi, Arduino, the waveshare screen and the amp and some led lights that the pipboy is going to have.

The pipboy is going to grab energy from a Powerbank

submitted by /u/AtomicBeaver93 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Unable to connect via vnc viewer after attaching Inky Phat (HELP!)

Unable to connect via vnc viewer after attaching Inky Phat (HELP!)

Okay I've got a proper head scratcher here I've begun a project in which for context I've already fried a pi zero in process however I'm assuming that was from my poor soldering not the Inky Phat display.

Nonetheless I find myself setting up a new raspberry pi zero again for context via the headless method (installation of pi image on Sd Card,followed by putty ssh access then remotley access the device via vnc viewer) additionally I made sure to download the Inky library via the terminal command like suggest.

This brings me to my problem, after making sure that everything is set up with my raspberry pi and the pins are soldered correctly I unplug the power from the device attached the the Inky Phat display and I can see that the device appears on my wifi network however im unable to use the vnc viewer to remotely access the device. Is this a problem relating to the headless method I chose to set up the device I don't want to go any further without consulting someone first.

Current theorys are

  • The headless method I have chosen should have been carried out differently

  • The inky phat display is busted and bricked this device (and with the same logic the first device)

  • I'm a idiot (most likely, but how)

Tldr: I think the Inky Phat I purchsed has bricked my raspberry pi zero.

submitted by /u/sir-wright to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Recommend power supply for rpi zero 2w /emulation - retrograming?

Recommend power supply for rpi zero 2w /emulation - retrograming?

recalbox os

Well I have like a week playing games on mi pi 2w, and actually is quite good. I also installed heatsinks and a 5v - 0.1A - 30mm fan to it (3d printed case).

But I have a few questions, first of all, I overclocked my pi a bit (1.3ghz, gpu to 540, over voltage 7 wich I think its a bit high, and the other things) and I really see no difference between before and after...

But I was thinking that it may be because my power supply is only 5v and 2Amps ? Well, before it, it was 5v and 1.75Amps, and it worked well (maybe better but both chargers are samsung originals).

And I know n64 is the top system playable on rpi zero 2w (and rpi 3 but I'm not sure).

1) So the questions are, due I don't have a usb device to measure power consumption, do I need to increase my power supply from 2 to 3 Amps?

2) And, if I use a fan, directly plugged to 5v an gnd from the same power supply, is it secure to use a capacitor to avoid input voltage interference? (little peaks that appears whe you see voltage input through a oscilloscope)?

submitted by /u/InsectOk8268 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

OS and automated configuration script

Hi all,

I have 4 raspberry pi's and would like an install script that first installs the OS and then configures it. The first question is which OS is recommended, in terms of the most automated setup possible. CLI is sufficient, I want to run NextCloud and paperless-ngx, plus a few small scripts of my own. About the configuration: everything should be able to be set up headless. User, password, ssh, wifi, firewall, settings, programs should be installed automatically.

Are there already templates for this?

submitted by /u/Exidi0 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Any OS recommendations for a travel-router running some docker containers and also acting as a small NAS?

Long story short I'm trying to turn a raspberry pi 5 into a travel router NAS type thing.

I've been mostly looking at OpenWRT that can in practice do everything but figuring out upgrade shenanigans is breaking my spirit...

While I'm a couple of months away from needing it, I've already put in a lot of time to understand a bit of OpenWRT and Linux and kernels and drivers and I still don't know how far away I am to what I need my rasp5 to do. I'd probably need a custom build environment (and learn about all that from scratch) and a better understanding of what data is maintained between upgrades.

So I was wondering if anyone's done anything of the sort, what OS were you using?

RaspAP looks interesting but seems to have a lot of more advanced routing and literal access point functions locked behind the monthly sponsor donation.

submitted by /u/N19h7m4r3 to r/RASPBERRY_PI_PROJECTS
[link] [comments]

Use car horn as speaker using raspberry pi

Hi, I am tempted to buy my first raspberry pi and create my first project and I need some help to get started.

I have this car horn laying around thought about buying a raspberry pi zero 2 w and use it to maybe play music or something stored onto the microsd card. I guess I can use some AAA batteries for the power or something, but I have no idea how to make the pi output sound to the thing. Do I need to buy some special module that would let me connect those 2 wires to the pi? What kind of software would I have to look into to make this "portable speaker". As for the sound playing, I am ok with connecting the pi to wifi and playing sound over ssh commands, as not to complicate things with added buttons for the moment.

submitted by /u/bortan12 to r/RASPBERRY_PI_PROJECTS
[link] [comments]
❌