Artificial intelligence tools such as ChatGPT show promise as a useful means in agriculture to write simple computer programs for microcontrollers, according to a study published this month.