Other Projects

DIY Digital Spirit Level

In this project we will have a closer look at accelerometer ICs and find out how we can use them with an Arduino. Afterwards we will combine such an IC with a couple of complementary components and a 3D printed enclosure in order to create a digital spirit level. Let’s get started!

Step 1: Watch the Video!

The video gives you all the information you need to create your own digital spirit level. During the next steps though I will present you some additional information.

Step 2: Order Your Components!

Here you can find a parts list with example seller (affiliate links):


1x Arduino Nano: https://s.click.aliexpress.com/e/_dULoNXh

1x MPU9250: https://s.click.aliexpress.com/e/_d8hQS0C

1x Slide Switch: https://s.click.aliexpress.com/e/_dVn7Jlz

1x 128×32 SSD1306 OLED Display: https://s.click.aliexpress.com/e/_dSxLQku

1x LiPo Battery: https://s.click.aliexpress.com/e/_dV4FScY


1x Arduino Nano: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x MPU9250: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x Slide Switch: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x 128×32 SSD1306 OLED Display: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…

1x LiPo Battery: http://rover.ebay.com/rover/1/711-53200-19255-0/1?…


1x Arduino Nano: http://amzn.to/2pmIEQr

1x MPU9250: http://amzn.to/2GG00ju

1x Slide Switch: http://amzn.to/2poJBI3

1x 128×32 SSD1306 OLED Display: http://amzn.to/2FKkXNh

1x LiPo Battery: http://amzn.to/2pqt6vp

Step 3: Build the Circuit and Upload the Code!

Here you can find the schematic and code for the circuit. Use them to create your own circuit. Also do not forget to include the SSD1306 Library from Adafruit.

Step 4: 3D Print the Enclosure!

Here you can find the .stl files of my designed enclosure. Feel free to use them to 3D print your own housing.

Step 5: Success!

You did it! You just created your own Digital Spirit Level!

Feel free to check out my YouTube channel for more awesome projects: http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:


Source: DIY Digital Spirit Level


Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button