Arduino Color Sorter Project With Pc Control Application

2,604

26

2

About: Mechanical engineer, Entrepreneur, Maker, robotic systems expert and founder of Robimek and RobiBot

Intro: Arduino Color Sorter Project With Pc Control Application

In this project, I chose the TCS34725 color sensor. Because this sensor performs a more accurate detection than the others and is not affected by the light change in the environment.The product debugging robot is controlled by the interface program I designed in visual basic.The program takes instant data via arduino and prints the amount of products transferred to the containers on the screen. In addition, the system automatically stops when the extraction process is completed.

Step 1: ​Materials:

Materials:

  • Arduino Uno (you can also use another model)
  • TCS34725 Rgb color detection sensor
  • 2 Pieces sg90 servo motor
  • Jumper cables
  • 3d Printing Stl Files

Step 2: Mechanical Parts

3d Printing Stl Files >> download

List of parts to be output from 3d printer multiple times:

  • side parca1.STL >> 2 pieces
  • bardak.STL >> 6 pieces
  • support.STL >> 4 pieces
  • pul.STL >> You can print as much as you like for the colors defined in the system. Each cup contains an average of 8 stamps.

If you do not want to redo the color calibration in the code, you can print from the following color filaments.

  • Red
  • Peak
  • Green
  • Yellow
  • Light blue
  • Orange
  • Pink

Step 3: Circuit Diagram:

Step 4: Software:

With the interface program developed with Visual basic, products are instantly followed up. Run the application. Select the port the Arduino is connected to and click the Connect to device button. Leave the stickers in the funnel and the system will start working when you click on the device start button. The upper servo motor moves to take the pulley into the chamber and align it with the color sensor. the sensor detects the color of the pulp and sends the angle information of which cupola the lower servo motor is facing. The upper servo motor moves the pulley and sends the ball. In the interface program, it is instantly printed on the screen as to what color of the separating stamps are. When all stamps are removed, the interface program automatically closes the system and sends an information message to the screen.

Arduino and visual basic codes can be found here >> Arduino and visual basic code

Share

    Recommendations

    • Furniture Contest 2018

      Furniture Contest 2018
    • Fix It! Contest

      Fix It! Contest
    • Tiny Home Contest

      Tiny Home Contest

    2 Discussions

    0
    None
    gm280

    8 months ago

    Nice project. I was wondering how close in shades is this RGB sensor capable of discerning? It always makes me wonder how close colors can be for the microcontroller/code/hardware to differencuaate.

    1 reply
    0
    None
    sezgingulgm280

    Reply 8 months ago

    It reads clearly from a distance of about 5 millimeters.Color rgb values write to serial monitor. Whichever color you are printing, you can add that color value to the code.