Go Down

Topic: eFLL (Embedded Fuzzy Logic Library) - Fuzzy Logic on Arduino (Read 71119 times) previous topic - next topic


I have same problem about 45 rules and I am not able to run more than 4 rules when I convert the file to Arduino. Is there any restriction on the number of rules? I'm running this code in a Arduino Mega the code runs properly up to 4 rules but when I add the 5th rule no awnsers in the monitor, no errors or warning. Just nothing appears.


I have tried doing fuzzy simulation in MATLAB, so I got the expected output which later would be the same for arduino execution by using fuzzy library. However, in MATLAB, they got another option for defuzzification and fuzzification method such as MOM, LOM, SOM, and centroid.

So, how can I do the same for Arduino code? I would like to have the MOM defuzzification using Mamdani type of inference.

Go Up