How to send data from Linino to Atmega with a python script


I want to control my robot from internet with a protocol that i want to make myself like the picture below. I don’t want to use something like temboo.

the master is the linino and it manages the transfer of the information and compute the data.

My Atmega is just something like a gateway, it get the data and redirect the information.

My problem is that i don’t know how to send data from a python script and get this into the atmega.

A lot of tutorials explain when the master is the atmega but not when it’s the linino

the most useful topic is:

but nothing explain how to use

index.html (7.2 KB) (5.22 KB)

ok lol

I don't be aware of the 1 after Serial1.begin()

it's work now