DEV Community

Cover image for I've got a Raspberry Pi 4 B, what can I do with it?
Thomas Bnt
Thomas Bnt

Posted on • Updated on

I've got a Raspberry Pi 4 B, what can I do with it?

I know some projects like Pi-hole and Kodi, but what super cool on Raspberry Pi 4 to install?


Relevant post 'What can I do with a Raspberry Pi 3' :


Edit of the 6 June :

The same post by @madza "What's your use of Raspberry Pi?" for more responses if you want 😎

Tips: If you want to obtain a Raspberry Pi, check this website to see the stock across some websites, and their prices. ✨🚀

Discussion (45)

Collapse
highasthedn profile image
highasthedn

Mine is directly connected to my router, measures my Internet connection every five minutes and sends the report to one of my servers. Every time I'm facing connection problems and the focking support of German Telekom doesn't believe me I make a beautiful Excel report from my collected data.
Pretty german right 😄

Collapse
thomasbnt profile image
Thomas Bnt Author

Excellent 🤣🤣

Collapse
primo profile image
Primo

That's great.
Can you share the tool you are using to measure the internet connection?

Collapse
highasthedn profile image
highasthedn

npmjs.com/package/speedtest-net

That's the package I'm using to measure the connection. I built a HapiJS server which is running a cronjob. After the test the result is sent to a MongoDB on my web server

Thread Thread
primo profile image
Primo

great, thank you ^__^

Collapse
fredlag profile image
fredlag

Since many years my raspberry run yunohost yunohost.org/ and i can do self hosting for emails documents and many other things

Collapse
bacloud22 profile image
aben • Edited on

that's amazing !! I saw you have a discussion forum as well, ghost I believe?. do you even run that on it ?

Collapse
thomasbnt profile image
Thomas Bnt Author

Yeah you can see nice apps here (Ghost is present)

Thread Thread
bacloud22 profile image
aben • Edited on

Gigantic!! Could it holds the whole Mongodb database?!?!

Thread Thread
thomasbnt profile image
Thomas Bnt Author

Ow I don't know for that sorry :/

Thread Thread
bacloud22 profile image
aben

Are you hosting such a solution and don't know where is your data residing?!

Thread Thread
thomasbnt profile image
Thomas Bnt Author

No I know where I put my data, I just don't know if there is a MongoDB app on Yunohost.

Collapse
thomasbnt profile image
Thomas Bnt Author

I really like Yunohost, I hesitated to use again this good project. Maybe on my other Raspberry Pi 😁

Collapse
rdfilippo profile image
Filippo Ferrando Damillano

Well, you can install over it portainer and docker and start your homlab!
Or use OpenMediaVault and create a NAS for your home.
Look at this website if you want, it has a lot of interesting projects!

pimylifeup.com/

Collapse
thomasbnt profile image
Thomas Bnt Author

thanks!

Collapse
rdfilippo profile image
Filippo Ferrando Damillano

No problem man

Collapse
iamschulz profile image
Daniel Schulz

The best thing I ever did with a raspberry was set up a pi hole for a network wide ad block, and Nextcloud to switch my cloud storage, pictures, contacts and calendar from google to my own domain.

I can also see a email server, small-scale webserver or a NAS come in handy.

If you've got something to monitor (Website Analytics, Page Speed, Server logs, 3D Printer, Plant water status) and visualize, Pis are the perfect tool for that.

Or take a look at all the weird black magic Jeff Geerling does.

Collapse
deciduously profile image
Ben Lovy

The PiHole is an instant quality-of-life boost and couldn't be easier to get running.

Collapse
jzombie profile image
jzombie

I'm making a system called "Host Bridge" which is intended to bind a system of headless servers to a UI I'm building.

The UI is a React project and is open-source. Here's a demo: speaker.app/

Collapse
thomasbnt profile image
Thomas Bnt Author

Cool system!

Collapse
jzombie profile image
jzombie

Thanks!

Collapse
cjsmocjsmo profile image
Charlie J Smotherman

1 is running a music server (I wrote)
1 is running a movie server (I wrote)
An old phone is my remote control.
2 security cameras (pycamera and opencv)
1 security camera hub (use ML to tell if the garage door is open)
1 I use as a desktop for app development

And there is sooooo much more you can do with them

Happy Coding

Collapse
chrisgreening profile image
Chris Greening • Edited on

Haven't played with mine in a while but I was usually using it for automated webscraping and simple bots

Three projects that stick out in my mind:

  • Twitter bot that would watch Elon Musk's Twitter and send me a text whenever one of his tweets mentioned a particular keyword
  • Bot that would enter every giveaway on a book website (usually a couple hundred a day) Had to turn that bot off because I was winning literally dozens of books and it was taking over my bookshelf 😅
  • Girlfriend was looking for a pair of rollerskates during the shortage in 2020 so I wrote a bot that would watch the product listing she wanted and text us as soon as they were back in stock - it worked!
Collapse
thomasbnt profile image
Thomas Bnt Author

Soo good projects!

Collapse
drsensor profile image
drsensor

As portable mini PC for a dev work where it can be hooked to a car dashboard/monitor or some random monitor when traveling. Also, scavenging a monitor from unused/broken laptop works too. Just need LVDS-to-HDMI which bridge between the monitor and RPi mini HDMI slot. As for keyboard, using smartphone or $5 mini wireless keyboard+touchpad (usually for tv box) works but it need some time to get used to this setup.

Collapse
viperey profile image
Victor Perez

Mine holds:
Airsonic
Transmission daemon
Amule daemon
Nextcloud
Tor
PiHole
FressRss
Wireguard
3 calibre instances (one per library)

All dockerize except for transmission (due to file administration needs).
It suffers when rebooting and when doing heavy work with nextcloud or airsonic, but for the rest, all good.

Collapse
dante_inferno profile image
Akash

I am from India and I work at Singapore, so my raspberry pi is a vpn server connected to my home router in India. So I can connect to it and watch Indian shows from Singapore 😛

Collapse
thomasbnt profile image
Thomas Bnt Author

Oww goood usage ! 👍🚀

Collapse
iayanpahwa profile image
Ayan Pahwa

Hi Thomas, you can drop by to balenaHub (hub.balena.io) an app-store for IoT projects which you can deploy on your raspberry pi 4 computer with ease. The applications on balena devices works as individual docker containers so you can host like say :

  • Pi hole ad blocker
  • A private VPN
  • Home automation server
  • NAS
  • media player etc on same device.

There are a lot of projects submitted by community like converting your raspberry pi to multi-room audio streamers, or apple airplay server.

Check it out and let me know if that helps, cheers :)

Collapse
thomasbnt profile image
Thomas Bnt Author

Ooooh I already tested Balena with Pi-hole, very simple to start the software. I recommend to using that ✨👍

Collapse
madza profile image
Madza

Good topic, did a discussion on this a while ago too 👍✨

Collapse
thomasbnt profile image
Thomas Bnt Author

Oooh yeah I already read your post. Thanks for bumped here !

Collapse
eljayadobe profile image
Eljay-Adobe

I've got mine hooked up to my 4k TV. I use it to program on. And I enjoy the irony of having an inexpensive Raspberry Pi connected to an expensive TV.

Collapse
bacloud22 profile image
aben

Make a web server for LAN or even for the internet.

Collapse
andrewbaisden profile image
Andrew Baisden

Some great ideas here.

Collapse
adam_cyclones profile image
Adam Crockett

Build an RC car and program a controller?
Home automation with he assistant

Collapse
warwait profile image
Parker Waiters

Something that hooks up to a real-world API and then does something physical. Like a sign that flashes every time such and such happens. It's a kernel of an idea, but I find all of those really fun.

Collapse
thomasbnt profile image
Thomas Bnt Author

yeah pretty cool idea!

Collapse
sachagennari profile image
Sacha Gennari

I have the 8GB version and i run pimox, best decision ever.

Collapse
ho3einwave profile image
Ho3ein

Automate your home

Collapse
jmau111 profile image
jmau111

destroy E corp :)

More seriously:

  • your first robotics projects
  • connect it to measuring instruments and a custom APIs
  • turn it into a basic console you can connect to your TV to play with it
Collapse
blitzstudio profile image
Ionut Alexandru Tudor-Pricop

I configured mine, for web hosting with cloudflare tunnels and ngnix. The web servers are running in docker containers. I have the 8 gb model but i will run out of storage.

Collapse
peteole profile image
Ole Petersen

Bitcoin mining. Not.

Collapse
iayanpahwa profile image
Ayan Pahwa

Monero Mining : Yes -> github.com/iayanpahwa/monero-miner

Collapse
crinklywrappr profile image
Daniel Fitzpatrick

adguard home is a nice alternative to pi-hole. github.com/AdguardTeam/AdGuardHome

also look into slack nebula as an alternative to tailscale. github.com/slackhq/nebula