matthias-bs / BresserWeatherSensorReceiver

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver for Arduino based on CC1101, SX1276/RFM95W or SX1262
MIT License
116 stars 21 forks source link

Added MAKERGO_C3_SUPERMINI and Heltec sx1262 shielded HT-RA62 #195

Open tonbor opened 8 hours ago

tonbor commented 8 hours ago

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

No support voor de ESP32 C3 (mini) and Heltec sx1262

elif defined(ARDUINO_MAKERGO_C3_SUPERMINI)

//ESP32 C3 SUPERMINI

pragma message("ARDUINO_MakerGO_ESP32_C3_SuperMini defined; this is a generic (i.e. non-specific) target")

define USE_SX1262 //use Heltec sx1262 shielded

#pragma message("Cross check if the selected GPIO pins are really available on your board.")
#pragma message("Connect a radio module with a supported chip.")
#pragma message("Select the chip by setting the appropriate define.")

elif defined(ARDUINO_MAKERGO_C3_SUPERMINI)

    #define PIN_RECEIVER_CS   7
    // CC1101: GDO0 / RFM95W/SX127x: G0 / SX1262 DI01
#define PIN_RECEIVER_IRQ  1

// CC1101: GDO2 / RFM95W/SX127x: G1 / SX1262: BUSY
#define PIN_RECEIVER_GPIO 2

// RFM95W/SX127x - GPIOxx / CC1101 - RADIOLIB_NC / SX1262: RESET
#define PIN_RECEIVER_RST  3

Describe the solution you'd like A clear and concise description of what you want to happen. please add

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. none

Additional context Add any other context or screenshots about the feature request here.

tonbor commented 8 hours ago

1000084494 1000084493

tonbor commented 8 hours ago

Working: 10:46:21.658 -> ------------------------------------------ 10:46:21.658 -> GPIO : BUS_TYPE[bus/unit][chan] 10:46:21.658 -> --------------------------------------
10:46:21.658 -> 1 : GPIO 10:46:21.658 -> 2 : GPIO 10:46:21.658 -> 3 : GPIO 10:46:21.658 -> 4 : SPI_MASTER_SCK[0] 10:46:21.658 -> 5 : SPI_MASTER_MISO[0] 10:46:21.658 -> 6 : SPI_MASTER_MOSI[0] 10:46:21.658 -> 7 : GPIO 10:46:21.658 -> 8 : I2C_MASTER_SDA[0] 10:46:21.658 -> 9 : I2C_MASTER_SCL[0] 10:46:21.658 -> 18 : USB_DM 10:46:21.658 -> 19 : USB_DP 10:46:21.658 -> 20 : UART_RX[0] 10:46:21.658 -> 21 : UART_TX[0] 10:46:48.628 -> start publishWeatherdata 10:46:48.628 -> [ 59771][D][RainGauge.cpp:194] prefs_load(): lastUpdate =1730108783 10:46:48.628 -> [ 59772][D][RainGauge.cpp:195] prefs_load(): startupPrev =0 10:46:48.628 -> [ 59772][D][RainGauge.cpp:196] prefs_load(): rainPreStartup =887.900024 10:46:48.628 -> [ 59772][D][RainGauge.cpp:197] prefs_load(): tsDayBegin =1 10:46:48.628 -> [ 59773][D][RainGauge.cpp:198] prefs_load(): rainDayBegin =887.900024 10:46:48.628 -> [ 59773][D][RainGauge.cpp:199] prefs_load(): tsWeekBegin =1 10:46:48.628 -> [ 59774][D][RainGauge.cpp:200] prefs_load(): rainWeekBegin =887.900024 10:46:48.628 -> [ 59774][D][RainGauge.cpp:201] prefs_load(): wdayPrev =1 10:46:48.628 -> [ 59774][D][RainGauge.cpp:202] prefs_load(): tsMonthBegin =9 10:46:48.628 -> [ 59775][D][RainGauge.cpp:203] prefs_load(): rainMonthBegin =887.900024 10:46:48.628 -> [ 59775][D][RainGauge.cpp:204] prefs_load(): rainPrev =887.900024 10:46:48.628 -> [ 59775][D][RainGauge.cpp:205] prefs_load(): rainAcc =0.000000 10:46:48.628 -> [ 59776][D][RainGauge.cpp:280] update(): rainDelta: 0.0 10:46:48.628 -> [ 59776][D][RainGauge.cpp:325] update(): t_delta: 0 10:46:48.628 -> [ 59776][D][RainGauge.cpp:345] update(): hist[7]=0 (upd) 10:46:48.628 -> [ 59777][D][RainGauge.cpp:383] update(): hist[]={-1, -1, -1, -1, -1, -1, -1, 0, -1, -1, }

tonbor commented 8 hours ago

17301109398099158973078200889189 17301109696786970226572919446606