bkdiwakar34 / Romiumeter

3 stars 1 forks source link

Romiumeter: An open source device for measuring range of motion using an inertial measurement unit.

This project aims at providing an opensource platform for measuring range of motion using an inertial measurement unit.

This document provide information on the components needed to build the Romiumeter, how to program, assemble and use them.

Set Up

Required/useful skills to have:

In addition to this component access to the following is required:

(back to top)

Uploading Firmware Onto The SEEEDUINO XIAO


Once the Arduino IDE has been set up, open the Romiumeter.ino file.

Connect the Seeduino XIAO to your computer, select the correct com port and press the upload button. The project may take a while to compile

(back to top)

Hardware

Soldering The Components


Use the wiring diagram below to solder the components together.
The wires need to be long enough to reach the components but short enough to fit in the case.

WMORE_wiring_diagram
Figure 1. Romiumeter wiring Diagram

At this stage if you have soldered a Romiumeter it is a good idea to test them before putting the components in the case. To do so follow the steps outlined in the Using the Romiumeter section.

(back to top)

Assembling The Case


Before assembling the case, 3D print the models in. It is recommended to use a semi-see-through material when 3D printing the case so that the led's are visible from the outside. Once printed and all the components soldered place them in to the case as follows:

  1. Place the PCB with soldered Seeeduino XIAO,IMU, and HC05 Bluetooth module inside the bottom half of the case (see Figure 5) with the Seeeduino XIAO and IMU touching the bottom of the case.
  2. Place the Slide Switch in their respective frames.
  3. Place the TP4056 charging module inside the top half of the case with the type C port fitting into the hole partly.
  4. Place the battery between the TP4056 module and the Bluetooth module.
  5. Join the two halves of the case.
    Make sure the wires are not stuck in between the top and the bottom half of the case.

Case_Mechanical_Drawing
Figure 5. Romiumeter 3d model

(back to top)

Software

For convenience, a python program was written to record and save the data in respective folders. The source code is available in the Software folder. This code can be run from python.