Fuzzy Logic using Matlab/Simulink and prototyping on an Arduino