1

I have a BG96 Arduino Shield module connected to an OpenMV Cam H7. I need to send the image to the cloud for further processing. I send each pixel of the image, and I can use HTTPS, UDP or MQTT. My questions are:

-Is it possible to use my own computer as a cloud environment?

-I will only send a couple of pictures for documenting, so do I need to set up something like a virtual machine?

2 Answers2

2

Assuming your Arduino has Wi-Fi, you can send the image using HTTP to a Web Server running on your own computer.

So you would need:

  • a Wi-Fi shield (or an Arduino with built-in Wi-Fi)
  • an HTTP client library running on the Arduino
  • a Web Server running on your computer (I recommend python's Flask)

As for how to encode the image, my suggestion is base64 + JSON.

geonnave
  • 76
  • 2
1

Your question is a bit confuse for this forum, however we can provide you some pointers so that you can rephrase your question and progress in the topics.

You do not need any kind of VM, however to do that you need:

  • A webserver and an open port on your machine. By default webserver bind themselves to the port 80, but on most computer and routers the port is closed by default. So you need to choose a webserver technology, my personal favourite is nodejs because it's very easy to learn and every thing you need exist the nodejs framework (uploading/downloading files, sending emails, templating html...). But as geonnave python is a good candidate too.

  • Then this webserver needs a machine to run on, since you seem to be a beginner I would suggest installing a linux distribution (probably ubuntu) in your personal computer.

  • Last but not least you need to send the data from arduino, you can choose any technology you want to do that but I'm not advising mqtt since it don't seem to be really fitting your usecase. But classic tcp over an open port will be perfect and simple. Just send binary data or json file or whatever your most confortable with.

YCN-
  • 473
  • 2
  • 10