Download data by WiFi and draw it


#1

Hi there,

I’m totaly new on the forum and I need help on my new project with XY plotter.
I would like to download weather data from the web (maybe with a Wi-Fi module) and send it directly in the plotter to draw it.

For example, if it’s 30°C, sunny, no wind, when I press a button (or something else to update), the plotter go on internet, download data, and draw 30°C, a picture of a sun, and write “no wind”.
Is it possible ? If yes, how ? :slight_smile:

Thanks for your help,
Vykel


#2

Hi,

Finally I have done it with Python ! It works very well :slight_smile:
I can share the code if someone is interested.

Vykel


#3

Hey,
i’d love to have that code.
What python version did you use?

Ellelein


#4

Hi Ellelein,

I made a tutorial that you can follow here : Tuto
I use Python 2.7, you will find the code on the tuto.

Keep me in touch if you have any problems, enjoy :slight_smile:

Vykel


#5

Thanks a lot. Finaly i found time to get it working today. :slight_smile:

Haye you tried the XY-Plotter version with Laser? Do you Know the G-Code to set the Power of the Laser?

And how did you make the different G-Code files? With inkscape?

Thanks so much!
Ellelein


#6

I’m glad to read it :stuck_out_tongue:

No unfortunately I don’t have the laser, but I want to try it. I can’t help you about it :confused:

Yes I used Inkscape, I wrote a tutorial, where you can find how to proceed -> Link

Keep me in touch !
Vykel


#7

Ah thank you so much.
Maybe it helps me with what i’m trying to do.

I’d like to be able to resize the picture the plotter is drawing with python-code. Any idea?


#8

I know that you can change the size of the picture, I did it but I don’t remember how. Maybe have a look in option in Inkscape, you should be able to change the size, of the picture before save.


#9