Color-translate

Introduction: Color-translate

Color-translate

This instructable explains how to map RGB readings into texts and vibration, and output to a screen and a vibration motor using Arduino. The translator classifies the colors nearby, generates corresponding texts that associate with the detected color, and vibrates according to the color.

Step 1: Hardware Components

In addition to an Arduino board, the project requires an RGB sensor, an OLED screen, and a vibration motor.

Step 2: Example Codes and Libraries

Color Recognition Module Example Code:

https://github.com/YahboomTechnology/croco_color/t...

Oled Display Example Code:

https://randomnerdtutorials.com/guide-for-oled-dis...

Vibration Motor Example Code:

Include Adafruit GFX and SSD1306 Libraries

Step 3: Customize Code

vibrate_mode() maps the rgb readings into color range, and returns a mode of vibration.

word_data maps the rgb readings into color range, and returns a random word that corresponds to the detected color.

Step 4: Testing Codes and Sensors

Test the hardware separately and in the customized codes

Step 5: Wiring & Physical Forms

Be the First to Share

    Recommendations

    • Pi Day Speed Challenge

      Pi Day Speed Challenge
    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Sculpt & Carve Challenge

      Sculpt & Carve Challenge

    Comments