Step 5: Integration of the Servos and Accelerometer and Accelerometer values

We decided that by mounting the circuits on the cap, we would be able to get the accurate values.

We needed to combine both circuits on a stripboard as small as possible as we wanted to place it between both motors. We connected the output pins of both the servo motors into one pin.
Here is the schematic of the combined circuit.

We took advantage of one the few acrylic boards we found lying around in our FYP lab, using it mount our circuit and motors. Using the glue gun , we glued the motors and circuit board on the acrylic board and the acrylic board on the hair band. Securing the hairband to the cap using cable ties.


Now that the accelerometer is firmly placed, we can get accurate values. Using the accelerometer code from the previous step, here are the values we collected. Wearing the cap,we took note of the values when we turn left, right and the original position.
Here are our findings :

 
Remove these adsRemove these ads by Signing Up
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!