|
1 |
| -* Electronic Level |
2 |
| -** General |
| 1 | +# Electronic Level |
| 2 | +## General |
3 | 3 | 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) |
| 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) |
5 | 5 |
|
6 |
| -** Supported Axes |
| 6 | +## Supported Axes |
7 | 7 | 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). |
| 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 sideways). |
9 | 9 | - Pitch is the rotation that results when you raise or lower the back of the mount.
|
10 | 10 |
|
11 | 11 | Pitch is not critical to polar alignment, but roll is (unless you are plate solving and syncing the mount).
|
12 | 12 |
|
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. |
| 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 | 15 | 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.
|
16 | 16 |
|
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. |
| 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. |
20 | 20 |
|
21 |
| -If your level is mounted such that the roll and pitch axis are swapped, set the GYRO_AXIS_SWAP variable to 1. |
| 21 | +If your level is mounted such that the roll and pitch axis are swapped, set the `GYRO_AXIS_SWAP` variable to 1. |
22 | 22 |
|
23 |
| -**LCD support |
| 23 | +## LCD support |
24 | 24 | There are two new menu items in the LCD CAL menu, Roll Offset and Pitch Offset.
|
25 | 25 |
|
26 |
| -**Calibration |
| 26 | +## Calibration |
27 | 27 | 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.
|
28 | 28 |
|
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. |
| 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. |
0 commit comments