How make fuzzy logic coding for arduino UNO?


dear sir, make coding of fuzzy logic arduino uno, coding aeroponic system,i have 2 input variabel, there temperature , humidity, , output duration of pump. so, rules 15 rules. please me making coding arduino. thx sir :)

this rules of fuzzy:

1. if (humidity lembab) , (temperatur dingin) (duration c)
 
2. if (humidity lembab) , (temperatur sedang) (duration s)

3.if (humidity lembab) , (temperatur hangat) (duration as)

4.if (humidity agaklembab) , (temperatur dingin) (duration

s)
5. if (humidity agaklembab) , (temperatur sedang) (duration

as)
6. if (humidity agaklembab) , (temperatur hangat) (duration

sd)
7. if (humidity normal) , (temperatur dingin) (duration as)

8. if (humidity normal) , (temperatur sedang) (duration sd)

9. if (humidity normal) , (temperatur hangat) (duration al) 
10. if (humidity agakkering) , (temperatur dingin) (duration

is sd)
11. if (humidity agakkering) , (temperatur sedang) (duration

is al)
12. if (humidity agakkering) , (temperatur hangat) (duration

is ly)
13. if (humidity kering) , (temperatur dingin) (duration

al)
14. if (humidity kering) , (temperatur sedang) (duration

ly)
15. if (humidity kering) , (temperatur hangat) (duration l)


Arduino Forum > Using Arduino > Project Guidance > How make fuzzy logic coding for arduino UNO?


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code