Agriculture students’ use of generative artificial intelligence for microcontroller programming
Open Access
- 12 August 2024
- journal article
- research article
- Published by Wiley in Natural Sciences Education
- Vol. 53 (2) , e20155
Abstract
Microcontrollers are widely used in agriculture, yet most undergraduate agriculture students do not have the programming skills necessary to make use of these devices in their academic programs or careers. However, generative artificial intelligence (AI) chatbots, such as ChatGPT, have the ability to write complex microcontroller programs when properly queried. The study was conducted to determine the effects of undergraduate agriculture students’ (n = 22) use of ChatGPT to write a microcontroller program on their programming task performance, self‐efficacy, and attitudes toward generative AI. Nine of 11 (81.8%) student pairs were successful in the ChatGPT‐assisted programming activity, requiring between one (33.3%) and six (11.1%) queries to develop their programs. The two unsuccessful pairs used either one or two queries and produced somewhat functional programs that did not fully operate as specified. Pre‐ and posttest surveys indicated significant (p < 0.001) increases in self‐efficacy for writing microcontroller programs, for using ChatGPT to write microcontroller programs, and attitudes toward generative AI. This research confirmed that undergraduate agriculture students can successfully use generative AI chatbots to write microcontroller programs and that successful task completion increases student self‐efficacy. Further research is needed to determine best practices for using generative AI in teaching and learning microcontroller programming.Keywords
Funding Information
- National Institute of Food and Agriculture (1024473)
- University of Arkansas
This publication has 14 references indexed in Scilit:
- Development and validation of the AI attitude scale (AIAS-4): a brief measure of general attitude toward artificial intelligenceFrontiers in Psychology, 2023
- Do AI chatbots improve students learning outcomes? Evidence from a meta‐analysisBritish Journal of Educational Technology, 2023
- A review of microcontroller design in future industrial revolutionAIP Conference Proceedings, 2023
- Arduino in agriculture and the teaching of mathematicsHorticulture International Journal, 2023
- Exploring AI chatbot affordances in the EFL classroom: young learners’ experiences and perspectivesComputer Assisted Language Learning, 2022
- Designing Arduino Instruction for Novice Agriculture Students: Effects on Interest, Self-efficacy, and KnowledgeApplied Engineering in Agriculture, 2022
- Acceptability of artificial intelligence (AI)-led chatbot services in healthcare: A mixed-methods studyDigital Health, 2019
- Drones for Smart Agriculture: A Technical ReportInternational Journal for Research in Applied Science and Engineering Technology, 2018
- Precise Placement and Variable Rate Fertilizer Application Technologies for Horticultural CropsHortTechnology, 2010
- A Meta-analysis of Pretest Sensitization Effects in Experimental DesignAmerican Educational Research Journal, 1982