mcu-eworkbench: AT6668 (Cap LoRa-1262) on the casic platform in place of the NEO-6M
CI / YAML lint (push) Successful in 7s
CI / ESPHome config validation (push) Failing after 55s

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