Skip to main content

01 Accelerometer

Module Introduction​

image.png

  1. Jacdac Edge Connector
  2. Jacdac Communication Indicator
  3. Boot Button
  4. Product QR Code
  5. Jacdac Standard Through Hole

Components used​

  • 1x MicroUSB Cable
  • 1x MicrobitV2
  • 1x Jacdaptor
  • 1x Cable
  • 1x Accelerometer

Connection​

PC-〉MicroUSB -〉MicrobitV2-〉Jacdaptor-〉Cable--〉Accelerometer

image-20230908122602638

Coding Platform​

Microsoft MakeCode for micro:bit (microbit.org)

Create a new project​

jacdac05.png

Establish a connection​

webUSB.png

Extensions——Jacdac

jacdac扩展.png

Add Jacdac Accelerometer Block​

image.png

Program and download​

image.png

The Result​

When the accelerometer is tilted to the left: image.png

When the accelerometer is tilted to the right: image.png