Browse Source

arduino frsky telemetry images self-hosted, no longer on imgur

Thomas Buck 2 years ago
parent
commit
b9d93e3248

+ 12
- 16
input/blog/2016/2016_11_05_frsky_telemetry.md View File

@@ -16,11 +16,11 @@ To output the telemetry data, the FrSky transmitter module has an RS232 serial p
16 16
 
17 17
 To display the received data with the Arduino, I'm using [this cheap I2C OLED display from HobbyKing](https://www.hobbyking.com/en_us/multiwii-oled-display-module-i2c-128x64-dot-mwc.html).
18 18
 
19
-<div class="lightgallery">
20
-    <a href="https://i.imgur.com/4W3O9zr.png">
21
-        <img src="https://i.imgur.com/pa8UJW8.png" alt="Schematic">
22
-    </a>
23
-</div>
19
+<!--%
20
+lightgallery([
21
+    [ "img/arduino_frsky_telemetry_1.png", "Schematic" ]
22
+])
23
+%-->
24 24
 
25 25
 The FrSky telemetry protocol transmits two ADC values and a serial data stream. Currently, the received serial user data is simply displayed but not used further. One of the two ADC values can be converted to a voltage using a simple algorithm: Just apply two different (known) voltages to the ADC input and note the ADC output value received (it's displayed on the OLED). Then enter these two voltage-value datapairs in to the `options.h` file and all intermediate values will be interpolated. For example:
26 26
 
@@ -39,17 +39,13 @@ The FrSky telemetry protocol transmits two ADC values and a serial data stream.
39 39
 
40 40
 This means, for Model 1 a value of 231 equals 3.88V, and for Model 2 a value of 169 means 9.00V. As you can see, multiple models with different voltage dividers and battery ranges can be used this way, and each one can have individual alarms set.
41 41
 
42
-<div class="lightgallery">
43
-    <a href="http://i.imgur.com/U6wNsI4.jpg">
44
-        <img src="http://i.imgur.com/Uuro1FN.png" alt="Photo 1">
45
-    </a>
46
-    <a href="http://i.imgur.com/cExsBPu.jpg">
47
-        <img src="http://i.imgur.com/MOI2jv5.png" alt="Photo 2">
48
-    </a>
49
-    <a href="http://i.imgur.com/C18T33u.jpg">
50
-        <img src="http://i.imgur.com/ve6bCwT.png" alt="Photo 3">
51
-    </a>
52
-</div>
42
+<!--%
43
+lightgallery([
44
+    [ "img/arduino_frsky_telemetry_2.jpg", "Photo 1" ],
45
+    [ "img/arduino_frsky_telemetry_3.jpg", "Photo 2" ],
46
+    [ "img/arduino_frsky_telemetry_4.jpg", "Photo 3" ]
47
+])
48
+%-->
53 49
 
54 50
 I've used an Arduino Pro Mini and could easily fit it, the OLED, beeper, switched and LED into my existing RC transmitter. The sketch should run without changes on any Arduino based on the Atmega328.
55 51
 

BIN
static/img/arduino_frsky_telemetry_1.png View File


BIN
static/img/arduino_frsky_telemetry_1_small.png View File


BIN
static/img/arduino_frsky_telemetry_2.jpg View File


BIN
static/img/arduino_frsky_telemetry_2_small.jpg View File


BIN
static/img/arduino_frsky_telemetry_3.jpg View File


BIN
static/img/arduino_frsky_telemetry_3_small.jpg View File


BIN
static/img/arduino_frsky_telemetry_4.jpg View File


BIN
static/img/arduino_frsky_telemetry_4_small.jpg View File


Loading…
Cancel
Save