element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents How to Make a Basketball Auto Score Keeper Using Colour Sensing -- Episode 579
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
EMI-Reduction-Techniques
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 28 Nov 2022 3:37 PM Date Created
  • Last Updated Last Updated: 2 Dec 2022 8:24 AM
  • Views 16482 views
  • Likes 8 likes
  • Comments 12 comments

How to Make a Basketball Auto Score Keeper Using Colour Sensing -- Episode 579

Everything is a competition at Lorraine’s home and work, especially when it comes to throwing balls into basketball hoops. Watch as she upgrades it to automatically detect who has scored a basket using a colour sensor, a micro:bit and multi-coloured balls.

Watch the Video:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Supplemental Content:

  • Episode 579 Resources
  • Adafruit micro:bit tutorial
  • Adafruit colour sensor code

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
micro:bit version 1 BBC 2 Buy Now
DF Robot Sensor Board, RGB Colour DFROBOT 1 Buy Now
RGB LED strip 1 metre MULTICOMP PRO 1 Buy Now
Male to female jumper wires MULTICOMP PRO 1 Buy Now
Pin Header AMP _ TE CONNECTIVITY 1 Buy Now
Kitronik Edge Connector Kitronik 1 Buy Now
 

Additional Parts:

Basketball hoop
Coloured balls

element14 presents

element14 presents  |  About Lorraine |  Project Videos

  • micro:bit
  • e14p_LU
  • Basketball score keeper
  • Colour sensing
  • colour sensor
  • basketball
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • beacon_dave
    beacon_dave over 3 years ago

    You could perhaps link your previous giant 7-seg display to the hoop as the scoreboard.

    However, if you replace the LED RGB strip with LED RGB pixel strip, you could also keep score by displaying the percentage of baskets scored by proportion of colour displayed on the strip.

    With pixel strip you could also do some fancy swishy animation effects when the ball goes into the basket or during periods of inactivity or proximity / sound detection. Or perhaps have it act as a countdown timer for timed games.

    (In basketball, I thought it was pretty normal to aim for the small square on the backboard as opposed to the hoop?)   

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago

    I recall back in the TAOS days (before AMS / Osram), there were various papers presented about those colour sensors which talked about the transform matrix required to get meaningful colour data out of them. This one is aimed at the TCS230 but still referred to by the TCS34725 documentation.

    https://ams.com/documents/20143/36005/ColorSensors_AN000518_1-00.pdf/16f9c551-6778-1a39-d775-e53ed5b9af3f

    I was looking at these sensors a while back as a cheap way to build a colorimeter device for colour calibration workflows involving projection.

    You may also want to try masking off the ambient light if possible so that the sensor is only illuminated by light originating from its own white LED light source. 

     

    The sensor if I recall correctly, has a sleep mode state upon power up, so might be what you are experiencing if the LEDs are causing a sufficient power drop.      

    With all the recent rain then a Florabrella type project may be more appropriate.

    /challenges-projects/design-challenges/get-closer/b/blog/posts/the-florabrella-finale

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube