mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 01:06:52 +01:00
mcu-eworkbench: AT6668 (Cap LoRa-1262) on the casic platform in place of the NEO-6M
This commit is contained in:
1 parent
71c31035e5
commit
aa3e59bb0a
1 file changed
+25
-25
+25
-25
@@ -3,14 +3,14 @@
|
||||
# Pinout:
|
||||
# GPIO0 Grove A pin 4, UART TX -> uart_m10 (uart tx_pin)
|
||||
# GPIO1 Grove A pin 3, UART RX -> uart_m10 (uart rx_pin)
|
||||
# GPIO18 Grove B pin 4 (USB D-), UART TX -> uart_neo6m (uart tx_pin)
|
||||
# GPIO19 Grove B pin 3 (USB D+), UART RX -> uart_neo6m (uart rx_pin)
|
||||
# GPIO18 Grove B pin 4 (USB D-), UART TX -> uart_at6668 (uart tx_pin)
|
||||
# GPIO19 Grove B pin 3 (USB D+), UART RX -> uart_at6668 (uart rx_pin)
|
||||
# GPIO20 UART0 RX (on-board USB to UART), unused: logger is API only
|
||||
# GPIO21 UART0 TX (on-board USB to UART), unused: logger is API only
|
||||
# Grove pin order: GND, 5V, signal, signal
|
||||
# Receivers:
|
||||
# Grove A XYZ GNSS YM-250, u-blox M10 (ROM SPG 5.10, PROTVER 34.10), 38400 baud -> gnss_m10 (ubx)
|
||||
# Grove B APM NEO-6M, u-blox 6 (7.03), 9600 baud -> gnss_neo6m (nmea)
|
||||
# Grove B M5Stack Cap LoRa-1262 GNSS, AT6668 (CASIC), 115200 baud -> gnss_at6668 (casic)
|
||||
substitutions:
|
||||
device: eworkbench
|
||||
name: Electronics Workbench
|
||||
@@ -38,9 +38,9 @@ packages:
|
||||
ipv6_only: !include common/ipv6_only.yaml
|
||||
|
||||
external_components:
|
||||
# geolocation hub + nmea and ubx platforms, esphome/esphome#23301 (stacked on #23293)
|
||||
- source: github://pr#23301
|
||||
components: [geolocation, nmea, ubx]
|
||||
# geolocation hub + nmea, ubx and casic platforms: esphome/esphome#23301 (stacked on #23293) + casic, not upstream yet
|
||||
- source: github://randybb/esphome@geolocation-casic
|
||||
components: [geolocation, nmea, ubx, casic]
|
||||
|
||||
logger:
|
||||
# The C3 has two UARTs and both receivers need one; logs go over the API only
|
||||
@@ -104,19 +104,19 @@ uart:
|
||||
}
|
||||
i += 5 + len;
|
||||
}
|
||||
- id: uart_neo6m
|
||||
- id: uart_at6668
|
||||
rx_pin: 19
|
||||
tx_pin: 18
|
||||
baud_rate: 9600
|
||||
baud_rate: 115200
|
||||
|
||||
geolocation:
|
||||
- platform: ubx
|
||||
id: gnss_m10
|
||||
uart_id: uart_m10
|
||||
update_interval: 10s
|
||||
- platform: nmea
|
||||
id: gnss_neo6m
|
||||
uart_id: uart_neo6m
|
||||
- platform: casic
|
||||
id: gnss_at6668
|
||||
uart_id: uart_at6668
|
||||
update_interval: 10s
|
||||
|
||||
sensor:
|
||||
@@ -157,33 +157,33 @@ sensor:
|
||||
type: vertical_accuracy
|
||||
name: M10 Vertical Accuracy
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: latitude
|
||||
name: NEO-6M Latitude
|
||||
name: AT6668 Latitude
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: longitude
|
||||
name: NEO-6M Longitude
|
||||
name: AT6668 Longitude
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: altitude
|
||||
name: NEO-6M Altitude
|
||||
name: AT6668 Altitude
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: speed
|
||||
name: NEO-6M Speed
|
||||
name: AT6668 Speed
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: course
|
||||
name: NEO-6M Course
|
||||
name: AT6668 Course
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: satellites
|
||||
name: NEO-6M Satellites
|
||||
name: AT6668 Satellites
|
||||
- platform: geolocation
|
||||
geolocation_id: gnss_neo6m
|
||||
geolocation_id: gnss_at6668
|
||||
type: hdop
|
||||
name: NEO-6M HDOP
|
||||
name: AT6668 HDOP
|
||||
|
||||
time:
|
||||
- platform: geolocation
|
||||
|
||||
Reference in new issue
Block a user