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
121 stars 23 forks source link

Added MAKERGO_C3_SUPERMINI and Heltec sx1262 shielded HT-RA62 #195

Closed tonbor closed 1 month ago

tonbor commented 1 month 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 1 month ago

1000084494 1000084493

tonbor commented 1 month 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 1 month ago

17301109398099158973078200889189 17301109696786970226572919446606

matthias-bs commented 1 month ago

Hi @tonbor,

Thank you for the contribution, I will add it. I'm just curious: Are there any specific reasons/features why you selected the MAKERGO_C3_SUPERMINI?

Regards, Matthias

tonbor commented 1 month ago

Small to use as a receiver for the sx1262 just enough pins, can put it in foot of a case for the ESP32-8038s43. The ESP32-8038s43 has not enough pins free for connecting the sx1262, besides there is a problem to use the spi for two devices.

Op di 29 okt. 2024 17:53 schreef Matthias Prinke @.***>:

Hi @tonbor https://github.com/tonbor,

Thank you for the contribution, I will add it. I'm just curious: Are there any specific reasons/features why you selected the MAKERGO_C3_SUPERMINI?

Regards, Matthias

— Reply to this email directly, view it on GitHub https://github.com/matthias-bs/BresserWeatherSensorReceiver/issues/195#issuecomment-2444837127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKD7IIUW6WGIAU2A34LFLTDZ564QJAVCNFSM6AAAAABQXBFFKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUHAZTOMJSG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

matthias-bs commented 1 month ago

It seems the Heltec HT-RA62 is quite a bargain, good catch! But I personally don't like the 1,27 mm pitch.