Design of Microcontroller-Based Color Detection Device

Authors

  • Diyajeng Luluk Karlina Universitas Sultan Ageng Tirtayasa

DOI:

https://doi.org/10.62951/ijeemcs.v2i3.313

Keywords:

Arduino Uno, Automatic Classification, Color Detection, RGB Frequency, TCS3200 sensor

Abstract

This research presents the design and testing of an automatic color detection system using TCS3200 color sensor integrated with Arduino Uno microcontroller. The system was developed and tested using Wokwi virtual simulation platform before physical implementation. The TCS3200 sensor converts RGB light intensity reflected from objects into frequency signals, which are processed by Arduino Uno to classify colors into red, green, and blue categories. The system incorporates audio feedback using DFPlayer Mini module to provide sound notifications for detected colors. Testing results show that the system can accurately detect and classify primary colors with frequency-based thresholds: red (R<48 &R>37 & G<95 & G>85), blue (G<75 & G>65 & B<33 & B>23), and green (R<55 & R>40 & B<25 & B>5). The simulation validation demonstrates stable performance with consistent color recognition capabilities, making it suitable for industrial sorting applications and assistive technology for visually impaired individuals.

References

Chaudry, A. M. (2020). Using Arduino Uno Microcontroller to Create Interest in Physics. The Physics Teacher, 58(6), 418-421. https://doi.org/10.1119/10.0001841

Chowdhury, I., & Ahmed, T. (2021). Design and Prototyping of Sensor-based Anti-Theft Security System using Microcontroller. 10(03), 58-66. https://doi.org/10.17577/IJERTV10IS030019

Duhi, S. (2025). Sistem Monitoring Lokasi dan Data Gangguan Satu Fase Menggunakan Esp8266 via Blynk dan Telegram Location and Single-Phase Fault Data Monitoring System Using ESP8266 via Blynk and Telegram. 7.

Hadiati, S., Bely, K., Pramuda, A., & Angraeni, L. (2023). Bibliometric Analysis of Microcontroller-Based Learning Media. 9(2), 152-160. https://doi.org/10.25273/jpfk.v9i2.20945

Jie, L. W., Sen, T. P., Maniha, N., Ghani, A., & Abas, M. F. (2021). Automatic Control of Color Sorting and Pick / Place of a 6- DOF Robot Arm. 54(3), 435-443. https://doi.org/10.18280/jesa.540306

Khanh, H. Q., Ngon, N. C., Nguyen, T., Lan, P., Nguyen, V., & Phuc, H. (2022). Evaluating the optimal working parameters of the color sensor TCS3200 in the fresh chili destemming system. February 2023. https://doi.org/10.22144/ctu.jen.2022.004

Nuratch, S. (2017). A universal microcontroller circuit and firmware design and implementation for IoT-based real-time measurement and control applications. 2017 International Electrical Engineering Congress, IEECON 2017. https://doi.org/10.1109/IEECON.2017.8075906

Pembangunan, U., Budi, P., & Sumatera, N. (2025). Automatic Classification System Color Of Bottle Detection Tool Using TCS3200 Sensor Based On Arduino. 13(02), 452-464. https://doi.org/10.58471/infokum.v13i02

Penderia, P., Tcs, W., & Uno, A. (2024). Development of TCS3200 Colour Sensor based on Arduino Uno Microcontroller for Determination of Capsaicin Level in Sauces. 53(12), 3339-3348. https://doi.org/10.17576/jsm-2024-5312-17

Raikar, M. M. (2023). Color based Classification of Products Using Internet of Things. November. https://doi.org/10.1007/978-981-99-2710-4

Revansa Arya Pradhana, D., Ichsan Pradana, A., & Hartanti, D. (2024). Implementasi Internet Of Things Pada Sistem Kontrol RC-car Pemantau Area Berbasis ESP32 cam. Jurnal Teknologi, 11(2), 149-159. https://doi.org/10.31479/jtek.v11i2.306

Swathi, K., Sandeep, T. U., & Ramani, A. R. (2018). Performance Analysis of Microcontrollers Used In IoT Technology. International Journal of Scientific Research in Science, Engineering and Technology, 4(4), 1268-1273.

Timer Modes for ATmega328P. (n.d.). 0-2.

Vicananda, L. P., Prahasti, S. N., Maruf, K., & Setiawan, R. J. (2024). Design and Implementation of a Candy Color Sorter Device using Microcontroller-Based Color Sensor TCS3200. 8(1), 1-8. https://doi.org/10.18196/jet.v8i1.20346

Wadly, F., Ramadhan, Z., & Rosan, K. (2025). Integrating the NodeMCU ESP8266 Microcontroller with the DHT11 and MQ-135 Sensors Enables IoT-Based Air Quality Monitoring. International Conference on Artificial Intelligence, Navigation, Engineering, and Aviation Technology, 2(1), 272-277.

Downloads

Published

2025-09-30

How to Cite

Diyajeng Luluk Karlina. (2025). Design of Microcontroller-Based Color Detection Device. International Journal of Electrical Engineering, Mathematics and Computer Science, 2(3), 33–40. https://doi.org/10.62951/ijeemcs.v2i3.313