Arduino gets AI framework, from Fraunhofer

sensor data can be processed directly in the device. Training data can be captured directly on the device and used for training.

Called AIfES, “the high optimisation of the framework allows even the 8bit controller of the Arduino Uno to implement an artificial neural network that can be trained in moderate time,” according to “This enables the creation of customizable devices that can adapt to the task at hand by means of training without using an external computer.”

It integrate directly into the Arduino IDEs through the Arduino library manager.

Fraunhofer IMS has been using AIfES internally in AI research and development, proving an effective development tool for customer-specific AI solutions, said Arduino. Demonstrators include a handwriting recognition, gesture recognition and a wireless current sensor.

“AIfES is very similar to and compatible to Python ML frameworks such as TensorFlow, Keras or PyTorch, but its functionality is significantly reduced,” according to the Fraunhofer. “In the current version, feed-forward neural networks are supported, which can be configured completely freely. Also the popular activation functions like ReLU, Sigmoid or Softmax are already integrated. Model development is oriented to the Python frameworks. The common algorithms for training like the gradient descent optimiser or the Adam optimiser are also included.”

There is a choice of licences:

Free of charge for open-source software under the GNU General Public License (GPL) version 3.

For commercial products, through license agreement with Fraunhofer IMS.