2. sensor:bit Introduction

2.1. Introduction


Sensor:bit is a breakout board based on micro:bit. It has extended all available IO ports on micro:bit, and lead out them in the form of GVS. With this board, we can extend various 3V electric brick modules like LED light, photocell, etc.. On the board, it has integrated a buzzer and an audio jack, which allows us to hear music from the buzzer or with our headphone.

../../_images/urCCzAZ1.jpg

2.2. Features


  • Extend most IO ports by GVS terminal.

  • Independently lead out IIC interface. Enable to plug in IIC components like OLED, BME280, etc..

  • Integrated a buzzer and an audio jack.

  • Support Lego interface.

  • Mark out each IO port with silk printing.

2.3. Parameters


../../_images/vfejZke1.png

Dimension

../../_images/4SpGBG61.png

2.4. Definition of Pins


../../_images/GyigPRt1.png

2.5. Introduction of Major Components


Audio Jack

../../_images/0iA1JlU1.png

Headphone is controlled by P0 port. Plug in your headphone, the buzzer will disconnect automatically.

Buzzer

../../_images/TyBn9U61.png

The buzzer is controlled by P0 port. Plug in your headphone, the buzzer will disconnect automatically.

16 Channel Standard GVS Port

../../_images/lu64mbc1.png

This is a standard GVS interface with 16 channels. It can extend 3V electric brick module.

I2C Port

../../_images/AzBhRRS1.png

This is a group of I2C female header, which can connect with OLED module directly.

../../_images/VEl3AeH1.png

This is a group of I2C male header.

2.6. Quick Start


Hardware Assembly

Plug your micro:bit into sensor:bit.

../../_images/WLLJgP21.jpg

Software

Navigate to the programming interface of Makecode online editor. Write your code to make the buzzer on sensor:bit play music.

You can see the whole program from the link here: https://makecode.microbit.org/_3At2iE5Ue3XK

Or you can download it from the page below:

Result

Press button A on micro:bit, the buzzer starts to play music. Plug in your headphone to sensor:bit, the buzzer stops playing music, and you can hear the music with your headphone.

2.7. FAQ