Measurement of Tartrazine Levels in Children’s Snacks in Banda Aceh Using an Arduino Uno-Based TCS3200 Color Sensor

Open

Khairi Suhud, Zuhratul Ula, Meri Dayanti, Muhammad Syukri Surbakti, Muhammad Daffa Hadistya, Sitti Saleha, Saiful Saiful, Andriy Anta Kacaribu, Muhammad Rifki Fauzan Damanik

2025 International Journal of Design and Nature and Ecodynamics Vol. 20 Issue 1 Article Cited by 2 SDG 12SDG 17 Quartile

Abstract

This study aims to develop and validate a low-cost method based on TCS3200 color sensor and an Arduino Uno microcontroller with integrated development environment (IDE) software for the determination of tartrazine levels in children’s snacks. The measurement results will be compared with the standard UV-Vis spectrophotometer method. Samples were prepared by heating and extracted using wool yarn, from which the attached samples were collected. The sampling technique was conducted on 6 types of snacks sold in Banda Aceh City. The analysis results showed that tartrazine levels ranged from 1.34 to 4.65 ppm using the TCS3200 color sensor, which were consistent with those obtained using UV-Vis spectrophotometer (1.32-4.64 ppm). Linearity (R2) and accuracy obtained in this study were 0.987 and 93.2 to 109% for the TCS3200 color sensor, and 0.988 and 93 to 115% for UV-Vis, respectively. The intraday and interday relative standard deviations (%RSD) did not exceed 2%. Based on the t-test calculation, it was shown that the measured tartrazine levels using the TCS3200 color sensor were not significantly different from those obtained using the UV-Vis spectrophotometer. ©2025 The authors.

Affiliations

Department of Chemistry, Faculty of Mathematics and Natural Sciences, Universitas Syiah Kuala, Banda Aceh, 23111, Indonesia; Department of Physics, Faculty of Mathematics and Natural Sciences, Universitas Syiah Kuala, Banda Aceh, 23111, Indonesia; Doctoral Program of Agricultural Science, Postgraduate School, Universitas Syiah Kuala, Banda Aceh, 23111, Indonesia; Department of Biology Education, Faculty of Teacher Training and Education, Universitas Syiah Kuala, Banda Aceh, 23111, Indonesia

Research at a Glance

Premium content — register to unlock

Research at a Glance

Register to unlock

Topics & SDG Alignment

Premium content — register to unlock

Topics & SDG Alignment

Register to unlock

Collaboration

Premium content — register to unlock

Collaboration

Register to unlock

Author Profile (Selected)

Premium content — register to unlock

Author Profile (Selected)

Register to unlock

References Overview

Premium content — register to unlock

References Overview

Register to unlock

Journal & Source

Premium content — register to unlock

Journal & Source

Register to unlock

Metadata & Integrity

Premium content — register to unlock

Metadata & Integrity

Register to unlock