mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
nrf-ant, nrf-dk: two-way UART on the DK default pins, wires crossed
Both boards use UART1 RX P1.01 / TX P1.02 so Home Assistant data can reach the ANT+ node's transmitters; on the default pins the ANT+ node no longer needs the RX pin workaround.
This commit is contained in:
1 parent
3f9a8c3117
commit
2e8b678072
2 files changed
+9
-7
No files matched your search
+5
-6
@@ -4,8 +4,8 @@
|
||||
# P0.06 UART0 TX -> logger (J-Link VCOM)
|
||||
# P0.13 LED 1 (active low) -> ANT+ Connected (a configured device is received)
|
||||
# P0.14 LED 2 (active low) -> ANT+ Unknown Device (an unconfigured one is in range)
|
||||
# P1.01 UART1 TX -> mcu-nrf-dk UART1 RX (P1.01), packet_transport; plus GND
|
||||
# P1.02 UART1 RX (unused)
|
||||
# P1.01 UART1 RX <- mcu-nrf-dk UART1 TX (P1.02), packet_transport
|
||||
# P1.02 UART1 TX -> mcu-nrf-dk UART1 RX (P1.01), packet_transport; plus GND
|
||||
# Radio: ANT+ receiver (RadiANT), no network of its own; values go to mcu-nrf-dk
|
||||
# ANT+ devices:
|
||||
# 655730 Garmin HRM-Pro heart rate
|
||||
@@ -147,10 +147,9 @@ ant_plus:
|
||||
uart:
|
||||
id: link
|
||||
port: UART1
|
||||
tx_pin: P1.01
|
||||
# unused, but must be set: the fork otherwise keeps the board's default RX, which on
|
||||
# the DK is P1.01 too, and the UART hears its own transmissions
|
||||
rx_pin: P1.02
|
||||
# the DK's default UART1 pins, same on both boards, wires crossed
|
||||
tx_pin: P1.02
|
||||
rx_pin: P1.01
|
||||
baud_rate: 115200
|
||||
|
||||
packet_transport:
|
||||
|
||||
Reference in new issue
Block a user