Can i setup a server on raspberry pi pico?

April 13, 2024, 21:11

leqitnyy

I'm thinking about buying a Raspberry Pi Pico W, my intentions are to make a website that my girlfriend can access and a minecraft server i could play with her on. Its nothing serious, also I have very basic knowledge on the topic, please let me know if it is possible and if I would need anything other than Raspberry Pi Pico W, my computer and my wifi to run the 2 servers. Thank you for help.

k9t33n

You could host the server but would find it difficult to host Minecraft especially at the same time

k9t33n

A raspberry pi zero is the minimum because it has an os but it probably won't be enough for a Minecraft server

k9t33n

Depending on the players and the activity

leqitnyy

thank you for theh answer. i am thinking about only 2 players, and i just wanna host 1 server at a time

leqitnyy

why cant i host a minecraft server without an os?

k9t33n

It's like trying to use your computer without windows or your phone without iOS or android

k9t33n

Just nothing

leqitnyy

so how would i host a website without an os then?

k9t33n

Because the Pico is a microcontroller which means it can run a single script but nothing else

leqitnyy

so a website is a single script but a minecraft server isnt?

k9t33n

If you managed to get the code for Minecraft and put it in one script it could work but Minecraft isn't open source and you couldn't host them at the same time

leqitnyy

alr i understand

leqitnyy

but a website i could host with no problem?

leqitnyy

and what does signel script mean? is hosting a website essentialy uploading a html file?

k9t33n

Yeah if you can code it

leqitnyy

thats not a problem

k9t33n

*single sorry. Actually this maybe wrong the Pico might be able to do more I'm not entirely sure

leqitnyy

haha grammar police?

k9t33n

Yeah just the same as you would code it on a pc. The Pico would host it like your pc would but without windows or anything in place.

leqitnyy

okay

leqitnyy

im aware i cant host a "website" but with the address being something like 192.0.0.0 or something

leqitnyy

i have no idea about networking but i know people from other cities cant see my website

leqitnyy

so can i make it something like mypicoproject.com?

leqitnyy

so others can see it?

leqitnyy

sorry if its a stupid question

k9t33n

You should be able to yeah

k9t33n

Pico's aren't amazing for website hosting though

leqitnyy

i understand but i dont wanna spend a lot of money

leqitnyy

and 10usd is great

k9t33n

Yes it's great if it's not professional

k9t33n

Also btw if you do need an os the pi zero is like 12$ and has an os whilst being like 3x more powerful

leqitnyy

so basically pi zero w is more like an acutal computer, and it will be actually decent for hosting?

leqitnyy

also u mean pi zero w right?

leqitnyy

its 20usd in my country :(

k9t33n

There's multiple versions

k9t33n

Ohh. Well there should be a cheaper one like the none W version

leqitnyy

dont i need a wireless conection?

k9t33n

You do for a pi zero yeah. Do you not have WiFi?

leqitnyy

true, it is 14usd

k9t33n

Yes

leqitnyy

i do, but im confused

leqitnyy

how do i connect my pi zero to my computer?

k9t33n

All pis come with WiFi

leqitnyy

oh

leqitnyy

what does W mean then?

k9t33n

ssh Normally or you can use a display

k9t33n

Or vnc

k9t33n

Google those two terms

k9t33n

Ssh and vnc

leqitnyy

ive used ssh

leqitnyy

but a pico cant use a display right?

k9t33n

No that plugs into your computer

k9t33n

USB

k9t33n

And you code on it there

leqitnyy

oooh

leqitnyy

that makes more sense now

leqitnyy

thank you

leqitnyy

and pi is basically a computer on its own?

k9t33n

Every pi but a Pico is it's own computer yes

k9t33n

But the Pico requires another computer to do it's job

leqitnyy

thank you for your help:)

k9t33n

np

k9t33n

Its my pleasure

oops.se

Raspberry Pi Pico - Doesn't have WiFi Raspberry Pi Pico W - Have WiFi. Raspberry Pi 1-2 - Doesn't have WiFi. Raspberry Pi 3 to 5 - Have WiFi. Raspberry Pi Zero - Doesn't have WiFi Raspberry Pi Zdero (2) W - Have WiFi

oops.se

The correct name for a Pico is microcontroller. And that is because it hasn't a OS and CPU, RAM and I/O is in one chip, aka MCU (Micro Controller Unit).

k9t33n

I didn't actually know that. I stand corrected. So the base zero does not have WiFi. How would you normally connect to it?

oops.se

USB, you can transport, serial and IP over USB.

k9t33n

Ah I see now yes

leqitnyy

thank you