Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2513

General discussion • [HELP] Sending images from Raspberry Pi to Django Server (for free if possible)

$
0
0
Hello everyone, 👋

I'm working on a project where I want to capture images with my Raspberry Pi and send them to my Django server automatically.

Here's the current setup:

Raspberry Pi 4B

Camera module attached

Django server hosted locally (for now)

I successfully capture images using libcamera-jpeg, and I was originally sharing them using a local HTTP server (python3 -m http.server 8000) over the same Wi-Fi network.

Now, I want to move to using mobile data instead of Wi-Fi:

I connected a SIM5216J (3G module) to my Pi to have mobile data access.

My questions:
What is the best free method to make my Django server publicly accessible for image uploads?

Is there a better way to send images automatically from the Pi to the Django server (using mobile data)?

What protocol/method would you recommend for simple and reliable image upload? (HTTP POST? FTP? Something else?)

Thanks!

Statistics: Posted by anis_ghabarou — Mon Apr 28, 2025 10:49 am



Viewing all articles
Browse latest Browse all 2513

Trending Articles