How to Make a Color Sorter Project With Microbit?

Introduction: How to Make a Color Sorter Project With Microbit?

Project goals

After downloading the program, we can see that the micro:bit LED dot matrix shows a “heart”, initialize the servo 90°.

When we put blue or yellow things on the color sensor, the servo will turns different angles, classify some different colors products.

Step 1: Preparation

  • 1 X Micro:bit Board
  • 1 X Micro USB Cable
  • 1 X Diamond breakout
  • 4 X Alligator clip
  • 1 X Servo
  • 1 X Color recognition module
  • 1 X PC

Mode 1 online programming: First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL in the USB flash drive: http://microbit.org/ to enter the programming interface. Add the Yahboom package: http://microbit.org/ to program.

Mode 2 offline programming: We need to open the offline programming software. After the installation is complete, enter the programming interface, click【New Project】, add Yahboom package: https://github.com/lzty634158/Croco-Kit , you can program.

!Note: S1 be set to the ON, S2 be set to the IO, and S3 to the NC.

Step 2: Connection

Step 3: Search for Blocks

Step 4: Combine Blocks

Be the First to Share

    Recommendations

    • Arduino Contest

      Arduino Contest
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Barbecue Speed Challenge

      Barbecue Speed Challenge

    Comments

    0
    seamster
    seamster

    1 year ago

    Nice, thanks for sharing! : )