I am completely new to Arduinno, so please forgive if the question is stupid.
Here is the problem: I have a project where I want an Arduino (or similar microchip board) to handle some sensors and actuators. But I need very advanced "artificial intelligence" to handle the data provided by those sensors. There are two major obstacles for placing this intelligence on the Arduinno, according to my researches.
- First, the Arduinno is coded in a language similar to C: I could of course find a way to write the intelligence, but it will be a time-consuming task for the developper
- Second, I might encounter a problem with memory: I will store heavy matrix of data, do complicated calculation, and this might be too much for an Arduinno
- Third, I read on stackexchange that there are some ways to compile Python code on Arduinno boards, such as the Arduinno Mega. So I can code this intelligence in Python (which is an easy task), and compile the resulting code on Arduinno. However, I will reach a caveat: some libraries I will use will be entirely compiled, and this will take too much memory on an Arduinno (such as the second issue I mentionned)
So I have another solution, but I am not sure if it is state-fo-the-art, or even a feasible solution: I would like to separate two tasks:
- Write an Arduinno code to handle the sensors and create numeric data
- Write a Python code on my computer and compile it as an executable file on my computer
- Then somehow, I "extract" the processor of my comouter (Intel, by the way) and I plug it on the Arduinno board. The Arduinno sends the data to the processor, and the processor runs permanently the Python file and gives back data
- Is it possible overall?
- Was it ever made?
- What communication links are good for exchanging data between processor and Arduinno microchip: USB, Serial, Ethernet?
- How can I handle the input of the processor, so that it collects data from the Arduinno and then uses it in the Python code?