Skip to content

Commit 46c6294

Browse files
Merge branch 'develop' of https://github.com/OpenAstroTech/OpenAstroTracker into develop
2 parents bb17286 + 21605db commit 46c6294

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

Addons/DigitalLevel/Readme.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
1-
* Electronic Level
2-
** General
1+
# Digital Level
2+
#### Contributed by Marcel Isler
3+
4+
## General
35
This is a replacement for the bubble level with the aluminium extrusion body.
4-
It uses a Gyro/Accelerometer board using the MPU6050 chip (e.g. https://www.amazon.com/gp/product/B019SX74TE/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1)
6+
It uses a Gyro/Accelerometer board using the **MPU6050 chip** (e.g. https://www.amazon.com/gp/product/B019SX74TE/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1)
57

6-
** Supported Axes
8+
## Supported Axes
79
Only two axis are used, roll and pitch.
8-
- Roll is the rotation about the front to back axis of the mount, so it is changed by turning the front two M14s in different directions (tilting the mount).
10+
- Roll is the rotation about the front to back axis of the mount, so it is changed by turning the front two M14s in different directions (tilting the mount sideways).
911
- Pitch is the rotation that results when you raise or lower the back of the mount.
1012

1113
Pitch is not critical to polar alignment, but roll is (unless you are plate solving and syncing the mount).
1214

13-
**Wiring
14-
The module is only supported on Arduino Mega out of the box, but you could probably make it work with the ESP32.
15+
## Wiring
16+
The module is only supported on **Arduino Mega** out of the box, but you could probably make it work with the ESP32.
1517
Only 4 wires need to be connected, VCC, GND, SCL, and SDA. SCL is connected to pin 21 and SDA ic onnected to pin 20.
1618

17-
**Code changes
18-
In order to use the digital level we need to enable it in the code, recompile and deploy.
19-
In the configuration_adv.hpp file, search for GYRO_LEVEL and set it to 1.
19+
## Code changes
20+
In order to use the digital level we need to **enable it in the code**, recompile and deploy.
21+
In the configuration_adv.hpp file, search for `GYRO_LEVEL` and set it to 1.
2022

21-
If your level is mounted such that the roll and pitch axis are swapped, set the GYRO_AXIS_SWAP variable to 1.
23+
If your level is mounted such that the roll and pitch axis are swapped, set the `GYRO_AXIS_SWAP` variable to 1.
2224

23-
**LCD support
25+
## LCD support
2426
There are two new menu items in the LCD CAL menu, Roll Offset and Pitch Offset.
2527

26-
**Calibration
28+
## Calibration
2729
Before using the digital level, we need to tell the mount what horizontal is. To do this, set the mount on a level surface and level the mount with the bubble level or just make sure the screws are all at the same point (fully unscrewed, for example). Then go to the LCD menu and into the Roll Offset and hit Select. This stores the current value as level. Do the same for the Pitch Offset.
2830

29-
**Usage
30-
When you setup the mount, go to the LCD Roll menu and use the front M14s to make it level. Press the LEFT button (NOT SELECT) to quit the menu.
31-
If you want to level in pitch, repeat, but this is not neccessary.
31+
## Usage
32+
When you setup the mount, go to the LCD Roll menu and use the front M14s to make it level. Press the **LEFT** button (**NOT SELECT**) to quit the menu.
33+
If you want to level in pitch, repeat, but this is not neccessary.

0 commit comments

Comments
 (0)