In this article, which is part 3 of a larger machine learning series, you will learn how you can change the color of an RGB LED by just saying the color. We will use the Wekinator software as the machine learning platform, and after training Wekinator, we will use processing to get Wekinator’s output, from where we will send it to the Arduino.



Catch up on the rest of the Wekinator Machine Learning series here:

Circuit Diagram

Connect the longest leg of the RGB LED to the ground of Arduino. Connect the other legs to pins 9, 10, and 11 of Arduino through the 220-ohm resistor as shown in the below circuit diagram.