B
B
B1ackGh0st2016-01-27 02:42:44
Arduino
B1ackGh0st, 2016-01-27 02:42:44

Is it worth implementing this: Logic on the server that throws arduino commands?

Damn, I tried to make the title more informative ...
Hello.
I want to transfer all the logic of the program to banana pi (the python program will spin). And the arduin will send a command to the port what needs to be done. I'm tired of flashing the controller every time I make a change to the program. I want to do something like csada. Is it worth it to do so.
If there are links, throw.
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AntHTML, 2016-01-27
@anthtml

In principle, it is possible to simply make a serial-to-parallel converter and no one interferes, but why use an arduino when a banana has its own GPIO ports, if not enough, you can simply add expanders and you won’t have to drive anything anywhere.

G
GreyPhantom, 2016-01-27
@GreyPhantom

Here if you want

do something like csada
, then it’s just not worth it to transfer the logic to the server from "SCADA" - SCADA is no longer needed to display information in a convenient form (although in many industrial systems there is the ability to control equipment without a controller at all - you only need a computer with SCADA and a set of interfaces, in practice, this is very rarely used), and for a convenient and centralized change of parameters (you will agree: it is much easier and more convenient to move the slider labeled "Water level in the bath" on the screen than to climb under the bath, open the drawer and change the value with two or three buttons parameter "LHA2" which is not only not clearly named, but also buried at the fifth level of the settings menu, in addition, information output is on a seven-segment indicator, and navigation / changing values ​​\u200b\u200bis buttons like "+", "-", "OK ","Exit"). In the industry, the following practice has now developed: despite the fact that many SCADA can take on the functions of the controller, and the controllers have built-in visualization (often WEB in addition), the tasks are divided: the controller performs all or most of the logic (polling sensors, calculation of control actions, control of actuators, etc.), and SCADA receives information from the controller about the "state of affairs", displays it in a form convenient for the operator and "translates" the operator's commands to the controller.calculation of control actions, control of actuators, etc.), while SCADA receives information from the controller about the "state of affairs", displays it in a form convenient for the operator and "translates" the operator's commands to the controller.calculation of control actions, control of actuators, etc.), while SCADA receives information from the controller about the "state of affairs", displays it in a form convenient for the operator and "translates" the operator's commands to the controller.

A
Ai Lab, 2016-01-27
@vpuhoff

Partially, it can help that the arduino can, if desired, be sewn over the air via bluetooth. Or switch from arduino to esp, it can be flashed natively on air

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question