reprage
A close up shot of an accelerometer and ESP8266 mounted on a small protoboard.

DanceDanceSense is an economical sensor that can be worn to track movement. Accelerometer readings are sent as OSC messages via WiFi. The sensor is fitted with a small infrared LED that can be tracked with external cameras.

Bill of Materials:

  • 1 x NodeMCU ESP8266 amzn
  • 1 x ADXL345 Accelerometer amzn
  • 1 x 60mm * 80mm Protoboard amzn
  • 1 x 3.7V LiPo Battery & charger amzn
  • 1 x 1.4V Infrared LED amzn
  • 2 x 4.7kΩ Resistors amzn
  • 2 x 10Ω Resistors amzn

Consumables:

Construction:

  1. Cut the protoboard down 80mm x 28mm.
  2. Solder the header pins for the accelerometer at one end of the board.
  3. Fit the NodeMCU at the other and connect the 3v3 and GND to the accelerometer
  4. Solder 10Ω resistors and LED into place.
  5. Solder SDA and SCL to D2 and D1.
  6. Solder 4.7kΩ pullup resistors for SDA and SCL lines.
  7. Make a battery connector out of 2 header pins and hookup wires.
  8. Follow the source code link below to configure the onboard software.

Breadboard:

Breadboad layout for a wearable dance dance sensor.

DanceDanceSense powered performances:

  • ‘CloudSound’, 2017-08-25 at KickArts Contemporary Arts, Cairns.

Source Code:

Acknowledgements:

Development commissioned by Bonemap.

License:

Copyright (c) Clinton Freeman 2017

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Comments:

You can join the conversation on Twitter or Instagram

Become a Patreon to get early and behind-the-scenes access along with email notifications for each new post.