5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Joystick Breakout Board module for BBC Micro:Bit

Regular price $9.78

Shipping calculated at checkout.

Introduction

Micro bit is an entry level development board designed by BBC for teens programming education. It supports the PXT graphical programming interface developed by Microsoft and can be used under Windows, MacOS, IOS, Android and many other operating systems without downloading the compiler.
Joystick breakout board for micro:bit comes with AMS1117 chip. You can also connect external DC 4.75-12V to power for micro bit development board.
It can be used to simulate the mouse keyboard. On-board 3V,G,P0,P1 are connected to microbit main board to imitate the serial port, thus connect the Bluetooth devices.
This board consists of 6 buttons and a joystick. Connect the button and joystick to micro bit pins.
Connect SELECT button to P7; MODE button to P6; UP button to P10; LEFT button to P11; RIGHT button to P9; DOWN button to P8. Connect joystick X axis to P4; Y axis to P3; Z axis to P5. You can control the external devices by reading the above interface states.

Parameters

  • Input Voltage:DC 4.75-12V

Wiring Diagram

Keyestudio Joystick Breakout Board module for BBC Micro:Bit

Test Program

You can write the code below on micro:bit MakeCode editor: https://makecode.microbit.org/#editor
Downloaded the code you wrote well, send it to your micro:bit main board.

thumb

Test Result

Insert the micro bit development board into Keyestudio joystick breakout board, powering up, 2 LEDs will display as below:

  • Both joystick and buttons have no operation, 2 LEDs are off.
  • Press down any buttons ( include joystick Z axis button), red LED is on; release the button, LED will be off.
  • Joystick upward, red LED on; joystick downward, yellow LED on; joystick leftward, yellow LED on; joystick rightward, red LED on.

    thumb

    Shield Experiment

    In the experiment, we can insert a micro:bit control board on the shield, upload the corresponding test code, and set it as the Bluetooth host. We take a micro:bit control board, connect to the external device, upload the corresponding test code, set it as a Bluetooth slave. When both micro:bit control boards are powered up, the Bluetooth of two micro:bit control boards connect to the communication. We can control the external devices (such as LED buzzers, etc.) connected to the Bluetooth slave via external devices connected to the Bluetooth host (buttons on shield, joystick).
    Here, we use this shield connected to a micro:bit control board to control the movement of a micro:bit smart car (KS0426). When using it, we only use the UP, DOWN, LEFT, RIGHT and SELECT buttons on the shield to control the smart car forward moving, backward moving, left turning, right turning and stopping. The dot matrix of the control board on the smart car displays the current motion status pattern.

    thumb

    Test Code Of Micro:bit Control Board Connected The Shield:

    thumb