Page 1 of 2

Embedded AI

Posted: Mon Jul 20, 2026 8:19 am
by 17712885438
It is hoped to add the automatic generation component for the AI model of the sensor. Subsequently, a model training component can also be added.

Re: Embedded AI

Posted: Mon Jul 20, 2026 9:42 am
by BenR
Hello,

Currently if you give AI some of the component sources (available from the wiki) of similar components as references to work from then it should be able to do this already. Throw in a Github C library for the sensor and you're good to go.

Note that you will get mixed results, sometimes it can do a good job and sometimes it gives you hallucinations. So you always need to thoroughly test things both work and make sense and then fix any issues you find.

Out of interest what sensors are you looking at and we can get them on the list for official support.

Re: Embedded AI

Posted: Tue Jul 21, 2026 8:19 am
by 17712885438
It is hoped that FlowCode can add neuron components.

Re: Embedded AI

Posted: Tue Jul 21, 2026 6:13 pm
by BenR
Ok thanks, can you elaborate further on this?

Re: Embedded AI

Posted: Wed Jul 22, 2026 1:09 am
by 17712885438
It is hoped that FLOWCODE can add the following components: Z = W*X+B, the weights W of the neuron, the bias B, the activation function RELU(Z), Y = RELU(Z), etc. The number of neurons and parameters can be set by oneself or generated through data training. Such FLOWCODE will lead the cutting-edge technology of embedded AI. The market will be booming.

Re: Embedded AI

Posted: Thu Jul 23, 2026 10:01 am
by BenR
OK thanks for the clarification. I'll investigate for you.

Re: Embedded AI

Posted: Thu Jul 23, 2026 10:09 am
by 17712885438
Thank you very much, looking forward to your further feedback.

Re: Embedded AI

Posted: Thu Jul 23, 2026 8:58 pm
by BenR
Would you like to have a go with this and see how you get on.

You can add the component to your version of Flowcode by copying the file below into your "C:\ProgramData\MatrixTSL\FlowcodeV11\Components" folder.
Neuron.fcpx
(4.21 KiB) Downloaded 198 times
The source code for the component is available here.
Neuron.fcfx
(31.2 KiB) Downloaded 215 times
(view online)
If your happy with the functionality then I'll release it as an official component in the library updates.

We could also potentially build on this and provide higher level functionality that has n numbers of these Neurons as subcomponents.

Let us know how you're getting on.

Re: Embedded AI

Posted: Fri Jul 24, 2026 1:48 am
by 17712885438
I will conduct numerous examples to verify it and inform you of the results. Thank you very much!

Re: Embedded AI

Posted: Sun Jul 26, 2026 3:28 am
by 17712885438
There is an error in the macro command.
error.png
error.png (266.73 KiB) Viewed 8624 times