14. Joystick:bit V2(EF08231)#

14.1. Introduction#


Joystick:bit V2 is a game board based on micro:bit. It contains a 4-direction joystick and 4 undefined buttons. At the same time, it enhances the game experience with its on-board buzzer and vibration motor. Joystick:bit V2 can also be used as a remote control with a good apperance and comfortable feels.

../_images/joystick_v2_01.png

Note: There are two versions of Joystick bit V2

Joystick bit V2:#

../_images/joystick_v2_02.png

Joystick bit V2 Plus:#

../_images/joystick_v2_03.png

14.2. Characteristic:#


  • Language: Javascript / Makecode / Microsoft Touch Develop / Python.

  • Load with buzzer.

  • Support vibration feedback.

  • Compatible with the MakeCode packages .

  • Power off automacticly after unplugging the micro:bit.

14.3. Outlook and dimension#


../_images/joystick_v2_15.png

../_images/joystick_v2_04.png

14.4. Main parts introduction#


Handle#

../_images/joystick_v2_05.png

X and Y connect to the P1 and P2 port on the micro:bit accordingly.

../_images/joystick_v2_16.png

The coordinate information of X&Y

Buzzer#

../_images/joystick_v2_06.png

The buzzer connects to the P0 port on the micro:bit.

Vibration Motor#

../_images/joystick_v2_07.png

It connects to the P16 port on the micro:bit

Buttons#

../_images/joystick_v2_08.png

C、D、E&F connect to the P12、P13、P14 and P15 ports on the micro:bit accordingly.

Installment#

Install two pieces AAA batteries and insert the micro:bit.

Add “joystick:bit” package.

Go to MakeCode and create a new project, then click “Extensions”.

../_images/joystick_v2_09.png

Search with “ joystickbit” to add it.

../_images/joystick_v2_10.png

14.5. Programming#


Once you press the buttons on the joystick:bit, it comes about vibration feedback with buttons sign showing.

../_images/joystick_v2_11.png

Link: https://makecode.microbit.org/_YUaM2rdcFFYx

You may also download it directly below:

14.6. Result#


After downloading, turn on the power switch and you will hear the system tone.

Push any one button on the Joysitick bit, it vibrates once.

14.7. Project 1: Electronic organ#


../_images/joystick_v2_12.png

Link: https://makecode.microbit.org/_DHgcRfb6oJp5

You may also download it directly below:

14.8. Result#


It plays tones through the handle and the buttons.

14.9. Project 2: Direction indicator#


../_images/joystick_v2_13.png

Link: https://makecode.microbit.org/_YVdggwifHWEm

You may also download it directly below:

14.10. Result#


The direction of the arrow on the micro:bit is controlled by the handle.

14.11. Project 3: LED Controller#


../_images/joystick_v2_14.png

Link: https://makecode.microbit.org/_KPMW36Pq0aLm

You may also download it directly below:

14.12. Result#


The on/ff status for each LED on the micro:bit is controlled by the handle.

14.13. Below are cases of remote control:#


Remote control cutebot

Remote control TPBot

14.14. More Info#


More info pls visit: http://www.elecfreaks.com