micro:Touch Keyboard - Math & Automatic Touch Keyboard for micro:bit

SKU: MBT0016

The Math & Automatic Expansion Board for micro:bit is designed for interactive math games and automation control, integrating touch keyboards, RGB LEDs, motor ports, and more, suitable for educational environments and supporting makecode and Mind+ platforms.

Front of touch keyboard expansion board for micro:bit with buttons and microcontroller-DFRobot product sku:MBT0016 image.

Downloadable Resources

  • Docs
  • Tech Specs
  • 1. RGB LEDs

    This article guides users on programming RGB LEDs with micro:bit, detailing hardware and software setup, wiring, and sample code for controlling LED colors and brightness.

    2. Read Keyboard Value (Basic mode)

    This article provides a comprehensive guide to reading keyboard values using micro:bit in basic mode. The guide covers hardware and software preparation, including the installation of the Makecode library and integration with the Mind+ platform. It offers a clear wiring diagram and showcases sample code for reading numerical values from key inputs. The result section demonstrates how pressing a key on the micro:bit board will return its corresponding numerical value, making it an excellent resource for beginners looking to explore the capabilities of the micro:bit and expand their programming skills.

    3. Detection Function (Trigger Event)

    The article provides a step-by-step guide on using example code to detect key touches on a micro:bit and trigger events, with instructions on hardware and software setup, including Makecode and Mind+ platforms.

    4. Read Key Value (Math mode)

    The article provides detailed instructions on using the micro:bit to read key values in Math mode, utilizing Makecode graphical programming and Mind+ platform. It includes hardware and software preparation, library installation, and sample code for key value reading, emphasizing the integration of touch keys on the automatic expansion board.

    5. Detection Function (Query)

    This guide demonstrates how to use Makecode to detect key touches on a micro:bit and display a heart pattern on its LED matrix when key 2 is touched, including necessary hardware and software preparations.

    6. Motor

    This article provides a comprehensive guide on setting up and programming a motor with a micro:bit using a Math & Automatic expansion board, including hardware requirements, wiring diagrams, and Makecode programming instructions.

    7. Servo

    This article offers a detailed guide on integrating a servo motor with the micro:bit using Makecode and Mind+. It covers hardware and software preparation, wiring setup, and provides a sample code to execute the servo's rotation when a key is touched.

    8. Vibration Motor

    This article provides a detailed guide on setting up a vibration motor with a micro:bit using Makecode, covering hardware and software preparation, wiring instructions, and sample code execution.

    9. Colorful Waterfall Light

    This article provides instructions and code to create a colorful waterfall light effect with micro:bit using Makecode graphical programming, detailing hardware and software preparations, wiring diagrams, and sample code for vibrant LED displays.

    10. Countdown Timer

    This article provides detailed instructions on setting up a countdown timer using micro:bit and Makecode, including hardware and software preparation, with integrated RGB LEDs showing random colors as part of the timer operation.

    11. Touch Music

    This guide offers a step-by-step approach to creating interactive touch music projects using micro:bit, a buzzer, and Makecode programming. It covers essential hardware and software preparations, wiring diagrams, and provides sample code to facilitate the creation of sound-responsive projects.

    12. Motor Control System

    This guide provides an example code for controlling a motor using micro:bit, detailing hardware setup, software preparation, and wiring diagrams to adjust motor speed from 0 to 255 using touch keys.

    13. Remote Wireless Handle

    This guide offers a step-by-step tutorial on using two micro:bit boards to create a remote wireless handle for a Maqueen car, utilizing the Makecode platform, Mind+ software, and the Math & Automatic expansion board. It includes hardware and software preparation, installation of necessary libraries, wiring instructions, and sample code to program the car's movements using a touch keypad.

    14. Lucky Number

    This article guides you through creating a Lucky Number game using micro:bit, involving hardware setup, software preparation, wiring, and executing sample code to display random numbers with interactive LED and buzzer feedback.

    15. Anti-thief Lock

    The article offers a detailed guide on constructing a micro:bit-powered anti-thief lock, including necessary hardware components, software tools like Makecode and Mind+, wiring instructions, and example code to program the lock. Users can learn how to set up the system, enter passwords through a touch key, and receive feedback via LED patterns and buzzer sounds, ensuring a practical and effective security solution for various applications.

    16. Number Guessing

    This article guides readers through setting up and coding a number guessing game using micro:bit, providing hardware/software preparation, wiring diagrams, and sample code to create an interactive project.

    17. Comparing Number

    This article provides a comprehensive guide on using micro:bit for comparing numbers, featuring detailed hardware and software preparations, including installation of the Makecode library, and sample code that allows users to interactively display results on an LED panel based on random number comparisons.

    18. Whack a Mole

    Math Game Application: Whack a Mole.

    19. Blackjack (Twenty-One)

    The article offers a comprehensive guide to setting up and playing Blackjack on micro:bit, including hardware and software preparation, wiring instructions, library installation, and example code for a two-player mode.

    20. Addition Operation

    This article offers a detailed guide on executing addition operations using the micro:bit and Makecode platform, focusing on hardware and software setup, code implementation, and result display on the micro:bit LED matrix.

    Specification

    Parameter Details
    Power Supply 1. PH2.0, 3.5-5V(three 4.5V battery box or 3.7V li-ion battery); 2. External power via USB (3.5-5V)
    Buzzer ×1
    Vibration Motor ×1
    Servo ×2
    Motor ×2
    Touch Key ×16
    RGB LED ×16
    UART ×1
    I2C port ×2
    IO Expansion P0, P1, P2, P8, P12, P16
    Dimension 136×65mm/5.35×2.56"
    Programming Platform Mind+, makecode

    Pinout

    IO Expansion: P0, P1, P2, P8, P12, P16

    Was this article helpful?

    TOP