bagai mana pembuatan program kadar air gabah

hi, anyone can help me. I want to make a grain detection sensor for grain, based on Arduino, but I still don't know how to make the program. someone wants to share the program

but I still don't know how to make the program

You've come to the wrong place for help, since you have no requirements for the program.

Exactly what sensor are you using to detect grain? I've never heard of a grain sensor, and I'm not familiar with one that you could adapt.