Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
BLE_accelerometer.ino
MKR1010_accelerometer_bb.svg updated images for MKR1010 example Nov 15, 2018
MKR1010_accelerometer_schem.png
MKR1010_accelerometer_schem.svg updated images for MKR1010 example Nov 15, 2018
README.md Update ArduinoBLE_library_examples/BLE_accelerometer/README.md Nov 15, 2018

README.md

MKR1010 Bluetooth LE with Accelerometer

This example shows how use an Arduino MKR WiFi 1010 to make a Bluetooth LE peripheral that offers an accelerometer service. It uses the ArduinoBLE library.

You will need to upgrade your MKR 1010 to firmware version 1.2.0, using the Firmware updater tool in the Arduino IDE. Here are instructions to upgrade the firmware of the MKR 1010. This was built using an ADXL337 accelerometer was used for this example because it is simple; Any of the ADXL accelerometers can be substituted (the drawing shows an ADXL335). This family of accelerometers has three analog voltage outputs for the three axes.

Accelerometer connected to MKR board, Schematic view:

Accelerometer connected to MKR board, schematic view

Accelerometer connected to MKR board, Breadboard view:

Accelerometer connected to MKR board, breadboard view

You can use this with this p5.js Web Bluetooth example.

References:

Parts:

You can’t perform that action at this time.