Hi Friends,
Here is an implementation of Artificial Neural Networks (ANN) on Arduino Nano board, that I have done recently.

The steps below will explain how a sample ANN program can be trained to learn the XOR truth table outputs very efficiently.
This can further be extended to any truth table .
Thanks to these resources I have referenced and they are so amazingly easy to learn.
Check these for your reading!
ANN for Arduino : http://robotics.hobbizine.com/arduinoann.html”

Link