Skip to content

Commit bdaf097

Browse files
NorthernMan54Northern Man
andauthored
Resolve incorrect wiring instructions (#984)
As identified in this forum post ( https://community.openmqttgateway.com/t/rtl-433-esp32-bme280-but-what-ra dio/1563) , the default builds have incorrect connections for the RTL_433 module. This fixes the default build configuration and crispness the documentation. Co-authored-by: Northern Man <sgracey@Heisenberg.local>
1 parent 4467ef9 commit bdaf097

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/setitup/rf.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Connect the Emitter and Receiver to a 5V (**3.3V** for CC1101) supply source, an
2525
|Board|Receiver Pin(GDO2)|Emitter Pin(GDO0)|SCK|VCC|MOSI|MISO|CSN|GND
2626
|-|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
2727
|ESP8266|D2/**D3**/D1/D8|**RX**/D2|D5|**3V3**|D7|D6|D8|GND
28-
|ESP32|**27**/26|12|D18|**3V3**|D23|D19|D5|GND
28+
|ESP32|**D27**|D12|D18|**3V3**|D23|D19|D5|GND
2929

3030
To use the CC1101 module, `ZradioCC1101` must be uncomment in the `User_config.h` or added to the `build_flags`.
31-
More information about the [CC1101 wiring](https://github.com/LSatan/SmartRC-CC1101-Driver-Lib#wiring).
31+
More information about the [CC1101 wiring](https://github.com/LSatan/SmartRC-CC1101-Driver-Lib#wiring). ( Please note that with OMG we are recommending CC1101 GDO2 to be connected to ESP32 D27 and GDO0 to be connected to D12, this is different than the LSatan diagram. This is due to the ESP32 using D2 as part of the boot process. )
3232

3333

3434
## Arduino Hardware setup

platformio.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,6 @@ build_flags =
561561
'-DZradioCC1101="CC1101"'
562562
'-DZgatewayRTL_433="rtl_433"'
563563
'-DGateway_Name="OpenMQTTGateway_rtl_433_ESP"'
564-
'-DRF_RECEIVER_GPIO=4' ; CC1101 - GDO2
565-
'-DRF_EMITTER_GPIO=2' ; CC1101 - GDO0
566564
'-DvalueAsASubject=true' ; mqtt topic includes model and device
567565
; '-DPUBLISH_UNPARSED=true' ; Publish details of undecoded signals
568566
; '-DRTL_DEBUG=4' ; enable rtl_433 verbose device decode
@@ -586,8 +584,6 @@ build_flags =
586584
'-DZgatewayPilight="Pilight"'
587585
'-DZradioCC1101="CC1101"'
588586
'-DGateway_Name="OpenMQTTGateway_multi_receiver"'
589-
'-DRF_RECEIVER_GPIO=4' ; CC1101 - GDO2
590-
'-DRF_EMITTER_GPIO=2' ; CC1101 - GDO0
591587
'-DvalueAsASubject=true' ; mqtt topic includes model and device (rtl_433) or protocol and id ( RF and PiLight )
592588
; '-DDEFAULT_RECEIVER=1' ; Default receiver to enable on startup
593589

0 commit comments

Comments
 (0)