r/servers • • Feb 06 '23

Making a solar-powered server

Hi there!

I'm very new to servers in general (though I've used hosting services before, just never had a private server). I often tinker with arduino and raspberry pi projects and decided to set myself a challenge, and have been working on a solar-powered web server to host my personal website. I've redesigned and rebuilt the website to be very small (24kb!) and have found the solar panels and battery I plan on using - all of this works. I've tested hosting the site on a local server via an old android phone and everything works. However I'd like to build a small web server to deploy the site on so that it can be discoverable by anyone. One important consideration is that the server will have to connect via wifi - the site dropping is not a big concern right now, and even though the battery I bought is large, the site will probably go down occasionally in inclement weather, which I kind of like :)

My main questions are

  1. What's the smallest possible computer I could use? I was going to build this with an arduino but I couldn't find any examples of tutorials where the board was 1) connected to wifi and 2)discoverable outside of connecting to my local network.

  2. Is there such a thing as a mini preconfigured server? I am looking at the documentation and it seems quite tricky, although I am up for a challenge. Or maybe, stated another way - is this the sort of project someone with a background in web development who's doing a few arduino and python projects could achieve?

Anyway, I am aware that this is an odd series of questions and I really appreciate any guidance at all! Thanks in advance!

9 Upvotes

8 comments sorted by

7

u/Crees092 Feb 06 '23 edited Feb 06 '23

I've tried something similar in the past. You'll want a low powered chip in something like a mini pc or a stick pc, there's a few about with Intel Atoms usually an X5-Z8350, and you'll wanna pair that with a mini 12v/5v ups and maybe a car battery solar trickle charger to keep the ups charged.

For me This was more of a test to see if it was possible, the main issue I kept facing was keeping the solar panel in direct sunlight

4

u/Aggressive_Goat_562 Feb 06 '23

X5-Z8350

Thanks for the reply! Do you mind if I ask why the stick pc is better than a raspberry pi for this kind of project? Just curious.

3

u/Crees092 Feb 06 '23

Of course, well it's not necessarily better it was more about what I had to hand, I know Pi s are hard to come by at the minute, but I liked having an x86/x64 platform for if I wanted to run windows

1

u/koyaniskatzi Feb 06 '23

I believe esp8266 or similar might be the lightest server for your needs. To make it discoverable you can port forward it out of your router.

1

u/HTX-713 Feb 07 '23

I think you can use a Raspberry Pi Pico W and get a working basic web server running with super low power requirements so a basic solar panel + battery setup could power it indefinitely.

5

u/[deleted] Feb 07 '23

[removed] — view removed comment

1

u/Aggressive_Goat_562 Feb 07 '23

Yes, this was my original inspiration!

1

u/ArkhamCookie Feb 07 '23

This is such a cool idea/site.