1 vs 1 Basketball

From Microduino Wiki
Jump to: navigation, search


1 vs 1 Basketball.jpg

Want to find out who's better at shooting hoops? Challenge a buddy.Keep scoring until you're ahead by 5 points!

Modules List


Module Quantity Function
Core 1 Core
mBattery 1 Program download and power supply
Hub 1 Sensor adapter
Crash 1 Switch
Color LED 2 Color LED
Line Finder 2 Detect the grayscale of an object's surface
Buzzer 1 Produce sound

Other Equipment

  • USB Cable*1
  • Sensor Cable*6
  • Sensor shell*6
  • Building blocks or other fixation structures

Modules Setup

Basketball Connection.png
 We recommend you use the same Sensor Cable colors as in the diagram.
  • Assemble modules and sensors together:
    • Stack Core and Hub on mBattery;
    • Connect Color LEDs in serial and then connect them to pin 12/13 on Hub;
    • Connect the two Line Finders to pin A0/A1 and A2/A3 on Hub;
    • Connect Crash to pin 6/7 on Hub;
    • Connect Buzzer to pin 10/11 on Hub;
    • Insert one end of USB cable into mBattery and connect the other to computer.

Program Download

See Software Setup: Arduino

Technical Specifications