Muhammad Ansar
Published

LED Spirit Level

How to make a LED Spirit Level using Arduino and MPU6050 | LED Spirit Level

ExpertFull instructions provided4,566
LED Spirit Level

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
6 DOF Sensor - MPU6050
DFRobot 6 DOF Sensor - MPU6050
×1
LED, Blue
LED, Blue
×1
5 mm LED: Red
5 mm LED: Red
×1
5 mm LED: Yellow
5 mm LED: Yellow
×1
5 mm LED: Green
5 mm LED: Green
×1
Resistor 100 ohm
Resistor 100 ohm
×1
Slide Switch
Slide Switch
×1
9V battery (generic)
9V battery (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Materia 101
Arduino Materia 101

Story

Read more

Custom parts and enclosures

Components

Components Details () {
Veroboard 9cm x 15cm,
Arduino nano,
MPU 6050,
100R Resistor x 4,
Blue LED,
Red LED x 4,
Yellow LED x 4,
Green LED x 4,
on/off switch,
Battery 9v,
Battery clip
}

how_to_make_a_led_spirit_level_with_mpu6050_lFSZwen0jQ.jpg

Schematics

Schematics and circuit diagrams

Code

Code and Schematics

Credits

Muhammad Ansar

Muhammad Ansar

108 projects • 276 followers

Comments