The Inclinometer project is a simple Python application using OpenCV to simulate an inclinometer or pitch and roll indicator. It provides a visual representation of the orientation of an object in two dimensions.
- Simulates pitch and roll movements based on user input.
- Interactive controls for adjusting orientation.
- Visual representation with a compass-style display.
The project includes integration with the MPU6050 accelerometer and gyroscope sensor through Arduino and Python.
The Arduino code (imu.ino
) reads data from the MPU6050 sensor and communicates the pitch and roll values to the Python script via serial communication.
youtube
The Python code (test_digi_inclinometer_mpu6050.py
) receives data from the Arduino, processes it, and updates the inclinometer display accordingly.
- Python 3.x
- OpenCV (
cv2
) - NumPy
- Math
- Arduino IDE (for uploading the Arduino code)
- MPU6050 Library for Arduino
- pyserial
- Navigation and Orientation
- Robotics
- Earthquake Monitoring
- Construction and Surveying
- Geophysics
- Aerospace and Aviation
- Marine
- Off-Road Vehicles
- Medical Devices