Added board ESP32 DOIT DevKit V1 with SX1278 module Ai-Thinker Ra01 (#1411)
* Added board ESP32 DOIT DevKit V1 with SX1278 module Ai-Thinker Ra01 Gateway using RTL_433_ESP library, need SX1278 ESP32 DOIT DevKit V1 & external Ai Thinker Ra01 Loraboard SX1278 on VPSI and (DIO0=15, DIO1=4, DIO2=16 and RST=17)
This commit is contained in:
1 parent
44a4e963f2
commit
9687f605c8
4 files changed
+87
-31
No files matched your search
@@ -642,6 +642,59 @@ board_upload.speed = 1500000
|
||||
custom_description = Compact enclosure ESP32 with BLE gateway
|
||||
custom_hardware = M5 ATOM Lite
|
||||
|
||||
[env:esp32doitv1-aithinker-r01-sx1278]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32doit-devkit-v1
|
||||
board_build.partitions = min_spiffs.csv
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager32}
|
||||
${libraries.rtl_433_ESP}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
; *** OpenMQTTGateway Config ***
|
||||
;'-UZmqttDiscovery' ; disables MQTT Discovery
|
||||
'-DvalueAsATopic=true' ; MQTT topic includes model and device
|
||||
'-DLOG_LEVEL=LOG_LEVEL_TRACE'
|
||||
'-DGateway_Name="OpenMQTTGateway_rtl_433_ESP"'
|
||||
; *** OpenMQTTGateway Modules ***
|
||||
'-DZgatewayRTL_433="rtl_433"'
|
||||
'-DZradioSX127x="SX127x"'
|
||||
; *** rtl_433_ESP Options ***
|
||||
'-DONBOARD_LED=LED_BUILTIN'
|
||||
; '-DRTL_DEBUG=4' ; rtl_433 verbose mode
|
||||
; '-DRTL_VERBOSE=58' ; LaCrosse TX141-Bv2, TX141TH-Bv2, TX141-Bv3, TX141W, TX145wsdth sensor
|
||||
; '-DRAW_SIGNAL_DEBUG=true' ; display raw received messages
|
||||
; '-DMEMORY_DEBUG=true' ; display memory usage information
|
||||
; '-DDEMOD_DEBUG=true' ; display signal debug info
|
||||
; '-DMY_DEVICES=true' ; subset of devices
|
||||
; '-DPUBLISH_UNPARSED=true' ; publish unparsed signal details
|
||||
; '-DRSSI_THRESHOLD=12' ; Apply a delta of 12 (default 9)
|
||||
; '-DOOK_FIXED_THRESHOLD=0x50' ; Inital OOK Threhold - Only for SX127X (default 5A)
|
||||
; '-DAVERAGE_RSSI=5000' ; Display RSSI floor ( Average of 5000 samples )
|
||||
; '-DSIGNAL_RSSI=true' ; Display during signal receive
|
||||
; *** RF Module Options ***
|
||||
'-DRF_SX1278="SX1278"' ;
|
||||
'-DRF_MODULE_DIO0=15' ; SX1278 pin DIO0
|
||||
'-DRF_MODULE_DIO1=4' ; SX1278 pin DIO1
|
||||
'-DRF_MODULE_DIO2=16' ; SX1278 pin DIO2
|
||||
'-DRF_MODULE_RST=17' ; pin to be used as hardware reset
|
||||
; '-DRF_MODULE_INIT_STATUS=true' ; Display transceiver config during startup
|
||||
; *** Heltec module requires non-standard SPI Config ***
|
||||
'-DRF_MODULE_CS=5' ; pin to be used as chip select
|
||||
; '-DRF_MODULE_MOSI=23'
|
||||
; '-DRF_MODULE_MISO=19'
|
||||
; '-DRF_MODULE_SCK=18'
|
||||
; *** RadioLib Options ***
|
||||
; '-DRADIOLIB_DEBUG=true'
|
||||
; '-DRADIOLIB_VERBOSE=true'
|
||||
custom_description = Gateway using RTL_433_ESP library, need SX1278
|
||||
custom_hardware = ESP32 DOIT DevKit V1 & external Ai Thinker Ra01 Loraboard SX1278 on VPSI and (DIO0=15, DIO1=4, DIO2=16 and RST=17)
|
||||
board_upload.speed = 921600
|
||||
board_upload.port = /dev/cu.usbserial-0001
|
||||
board_monitor.speed = 921600
|
||||
board_monitor.port = /dev/cu.usbserial-0001
|
||||
|
||||
[env:esp32dev-rtl_433]
|
||||
platform = ${com.esp32_platform}
|
||||
board = esp32dev
|
||||
|
||||
Reference in new issue
Block a user