Skip to content

Commit ae82bda

Browse files
committed
Add RTK data flow diagram
Add a diagram that shows the data flow from the antenna through the GNSS (ZED-F9P), through the ESP32 to the various external connections such as: * USB Serial (Config ESP32) * USB Serial (Config UBLOX) * Radio port * Data port
1 parent 45e5d75 commit ae82bda

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,78 @@ uint32_t max_idle_count = MAX_IDLE_TIME_COUNT;
431431
uint64_t uptime;
432432
uint32_t previousMilliseconds;
433433

434+
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
435+
/*
436+
+---------------------------------------+ +----------+
437+
| ESP32 | | GNSS | Antenna
438+
+-------------+ | | | | |
439+
| Phone | | .-----------. .--------. |27 42| | |
440+
| RTCM |--->|-->| |--------->| |-->|----->|TXD, MISO | |
441+
| | | | Bluetooth | | UART 2 | | | UART1 | |
442+
| NMEA + RTCM |<---|<--| |<-------+-| |<--|<-----|RXD, MOSI |<----'
443+
+-------------+ | '-----------' | '--------' |28 42| |
444+
| | | | |
445+
.---------+ | | | | |
446+
/ uSD Card | | | | | |
447+
/ | | .----. V | | |
448+
| Log File |<---|<--| |<--------------+ | | |47
449+
| | | | | | | | D_SEL |<---- N/C (1)
450+
| Profile # |<-->|<->| SD |<--> Profile | | | 0 = SPI |
451+
| | | | | | | | 1 = I2C |
452+
| Settings |<-->|<->| |<--> Settings | | | UART1 |
453+
| | | '----' | | | |
454+
+------------+ | | | | |
455+
| .--------. | | | |
456+
| | |<----------' | | |
457+
| | USB | | | |
458+
USB UART <--->|<->| Serial |<-- Debug Output | | |
459+
(Config ESP32) | | | | | |
460+
| | |<-- Serial Config | | UART 2 |<--> Radio
461+
| '--------' | | | Connector
462+
| | | | (Correction
463+
| .------. | | | Data)
464+
Browser <--->|<->| |<---> WiFi Config | | |
465+
| | | | | |
466+
+--------------+ | | | | | USB |<--> USB UART
467+
| |<--|<--| WiFi |<---- NMEA + RTCM <-. | | | (Config UBLOX)
468+
| NTRIP Caster | | | | | | | |
469+
| |-->|-->| |-----------. | |6 46| |
470+
+--------------+ | | | | | .----|<-----|TXREADY |
471+
| '------' | | v | | |
472+
| | .-----. | | |
473+
| '----->| | |33 44| |
474+
| | |<->|<---->|SDA, CS_N |
475+
| Commands -------->| I2C | | | I2C |
476+
| | |-->|----->|SCL, CLK |
477+
| Status <--------| | |36 45| |
478+
| '-----' | +----------+
479+
| |
480+
+---------------------------------------+
481+
26| |24 A B
482+
| | 0 0 = X0, Y0
483+
V V 0 1 = X1, Y1
484+
+-------+ 1 0 = X2, Y2
485+
| B A | 1 1 = X3, Y3
486+
| |
487+
| X0|<--- GNSS UART1 TXD
488+
| |
489+
| X1|<--- GNSS PPS STAT
490+
3 <---|X |
491+
| X2|<--- SCL
492+
| |
493+
| X3|<--- DAC2
494+
Data Port | |
495+
| Y0|----> ZED UART1 RXD
496+
| |
497+
| Y1|<--> ZED EXT INT
498+
2 <-->|Y |
499+
| Y2|---> SDA
500+
| |
501+
| Y3|---> ADC39
502+
| |
503+
| MUX |
504+
+-------+
505+
*/
434506
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
435507

436508
void setup()

0 commit comments

Comments
 (0)