mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
mcu-rf: rework RF pin wiring and unify transmit/receive frequency
Move rx/tx off the shared gdo0 pin (21) onto dedicated pins, drop the now-unneeded allow_other_uses/gdo0_pin workarounds, and align tx/rx frequency to 433.92MHz. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
13a5bf04cc
commit
c895c821ea
1 file changed
+6
-13
+6
-13
@@ -21,41 +21,34 @@ packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
spi:
|
||||
clk_pin: 25
|
||||
clk_pin: 23
|
||||
mosi_pin: 19
|
||||
miso_pin: 22
|
||||
|
||||
cc1101:
|
||||
cs_pin: 33
|
||||
frequency: 433.92MHz
|
||||
gdo0_pin:
|
||||
number: 21
|
||||
allow_other_uses: true
|
||||
|
||||
infrared:
|
||||
radio_frequency:
|
||||
- platform: ir_rf_proxy
|
||||
name: RF Proxy Transmitter
|
||||
id: rf_proxy_tx
|
||||
remote_transmitter_id: rf_tx
|
||||
frequency: 433MHz
|
||||
frequency: 433.92MHz
|
||||
- platform: ir_rf_proxy
|
||||
name: RF Proxy Receiver
|
||||
id: rf_proxy_rx
|
||||
remote_receiver_id: rf_rx
|
||||
receiver_frequency: 433MHz
|
||||
frequency: 433.92MHz
|
||||
|
||||
remote_receiver:
|
||||
- id: rf_rx
|
||||
pin:
|
||||
number: 21
|
||||
allow_other_uses: true
|
||||
pin: 25
|
||||
dump: all
|
||||
|
||||
remote_transmitter:
|
||||
- id: rf_tx
|
||||
pin:
|
||||
number: 21
|
||||
allow_other_uses: true
|
||||
pin: 21
|
||||
carrier_duty_percent: 100%
|
||||
on_transmit:
|
||||
then:
|
||||
|
||||
Reference in new issue
Block a user