Weather station V4.0.1 PCB

Replies
9
Voices
4
Thijs Slotboom

Was building the V3.0 version from the instructables page, the project was delayed and never finished. Lately I found some time and motivated myself to finish the project.
However I could remember some issues with deep sleep from the comments.

So I started to check your investigation and attempts to get things working

Have been reading the pages related to the weatherstation on both Github and ‘Tunneldistrict’ website.

Am I correct that the original design will never work as intended?

@Thomas, where do you order your PCB’s for a reasonable price?
Last time I ordered in China, minimum is 5 pieces, long time for shipping to Europe.
Understood you are located in Germany, I’m located in The Netherlands.

Is a through hole version of the board available, as I never soldered SMD components and don’t have the equipment.

Keep up the good work !

Kind regards,

Thijs

  • Edit
    admin

    The design can work, but may have issues with occasional RESET (bummer if it is raining). All subsequent PCB designs have been dedicated mainly to support getting rid of the dev board and trying to get the sleep current to a bare minimum. Thomas has done PCB designs and I have been focused on software.

    Why remove the dev board? It's difficult to comprehend deep sleep math calculations when you have a POWER LED drawing mA of current.

    James

  • Edit
    Thomas Krebs

    Hi Thijs, I order my PCB's from JLCPCB and there are always 5 pieces. Shipping to Germany with FedEx takes about 8 days. But I still have a few PCB's and the components. If you want I can make you one ready.
    Since we have expanded the PCB with some additional functions, an SMT variant is only possible.

    There will be another version, but SMT components are also used there, but unfortunately it doesn't work without it

    Thomas

    • Edit
      Jim Miller

      Hello Thomas,
      I had been trying the code and revisited this project since we last spoke, I see a version of the PCB (4.0) you have done. Since I still have weird rebooting issues, I believe I have the proper parameters for the esp32 dev board from the original project setup properly but still struggling. I am thinking I would purchase your board either from JLCPCB or from you I am in Chicago, USA and at this point willing to spend what it takes..lol,
      Jim

      • Edit
        admin

        Hey, James on this end. Talk to me about your reboot issues. I want to ensure it's from the underpowered LDO and not something else. I have various PCBs from Thomas and Debasish both. Thomas did a full SMD solution and Debasish did a through-hole with SMD for the new LDO and ESP32. I'm in Colorado so it's easy to send one.

        I also have a son in Hanover Park and am out that way 2-3 times a year.

        • Edit
          Jim Miller

          This is the actual error ...it connects and actually starts giving me values and then the reboot....
          Weather station - Deep sleep version.
          Version 1.2.1

          Wakeup reason: 0
          Wakeup was not caused by deep sleep: 0
          Connecting to WiFi
          Connecting to BLYNK
          Date:03 04 2022 Time: 06:33:34
          Time to next wake: 121 seconds
          No Wind dataWindSpeed: 0.000000
          Analog value: 4095 Wind direction: 0
          Requesting temperatures...
          DONETemperature for the device 1 (index 0) is: 23.6 C: 74.4 F
          LUX value: -3.00
          photoresistor value: 0 photoresistor
          BME barometric pressure: 29.37 BME temperature: 77.20 BME humidity: 27.24
          Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
          Core 1 register dump:
          PC : 0x400d58bf PS : 0x00060e30 A0 : 0x800d59a1 A1 : 0x3ffb1e50
          A2 : 0x00000000 A3 : 0x3ffb1e9e A4 : 0x00000001 A5 : 0x00000000
          A6 : 0x00000000 A7 : 0x00000000 A8 : 0x80087630 A9 : 0x3ffb1ca0
          A10 : 0x3ffcd244 A11 : 0x00000000 A12 : 0x3ffb8234 A13 : 0x00000000
          A14 : 0x00000000 A15 : 0x00000001 SAR : 0x0000001f EXCCAUSE: 0x0000001c
          EXCVADDR: 0x0000000c LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffeb

          ELF file SHA256: 0000000000000000

          Backtrace: 0x400d58bf:0x3ffb1e50 0x400d599e:0x3ffb1e70 0x400d583e:0x3ffb1e90 0x400d5859:0x3ffb1ec0 0x400d1314:0x3ffb1ee0 0x400d19e0:0x3ffb1f00 0x400d2bcb:0x3ffb1f20 0x400d2ce7:0x3ffb1f80 0x400d7d16:0x3ffb1fb0 0x4008a612:0x3ffb1fd0

          Rebooting...
          ets Jun 8 2016 00:22:57

          rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
          configsip: 0, SPIWP:0xee
          clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
          mode:DIO, clock div:1
          load:0x3fff0018,len:4
          load:0x3fff001c,len:1216
          ho 0 tail 12 room 4
          load:0x40078000,len:10944
          load:0x40080400,len:6388
          entry 0x400806b4

          I have tried to back track unplugging sensors but seems to continue , and cool Colorado.....Hanover Park is North of me Im in Homer Glen and Midlothian (swap time taking care of family)
          Jim

          • Edit
            admin

            Do you have a UV sensor installed? Last sensor reading is the BME.

            Let's get you past these errors before you worry about a new PCB. New PCB supports real deep sleep current and drops the dev board.

  • Edit
    Thijs Slotboom

    Hi Thomas,

    Tried to contact you by e-mail a couple of times since your last message.
    Had some issues with my mail server not properly synchronizing.

    Understood you got the PCB finished?

    I'm sorry for the delay that the communication hick ups on my side caused, and would like to fulfill my debt.

    Kind regards,

    Thijs

  • Edit
    Thijs Slotboom

    Hi Thomas,

    Have passed you a couple of messages by e-mail (also my GMail account) for the PCB.
    Did you receive my messages? Didn't find any reply, also checked the spam folder.

    Kind regards,

    Thijs

  • Edit
    Thijs Slotboom

    Hi James & Thomas,

    Received the PCB v4.0.1 but I'm a bit strugling with beginners issues probably.

    Was trying to take the latest version from github, 1.3.1.
    Added library's for the sensors etc. according to Debasisish; https://www.opengreenenergy.com/solar-powered-wifi-weather-station-v3-0/

    Made the changes to sec.h (renamed to sectrets.h), however I run in to some issues.
    Think they might be related to the library's used and boardmanager.

    Loaded espressif boards ( https://dl.espressif.com/dl/package_esp32_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json )

    Are you willing and able to guide me in the right direction?

    Errors:

    In file included from C:\Users\tslot\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\cores\esp32/Arduino.h:36,
    from c:\Users\tslot\Documents\Arduino\libraries\OneWire\OneWire.cpp:142:
    c:\Users\tslot\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeInput(uint32_t)':
    c:\Users\tslot\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:191:38: error: 'esp32_gpioMux' was not declared in this scope
    ESP_REG(DR_REG_IO_MUX_BASE + esp32_gpioMux[pin].reg) = pinFunction;
    ^~~~~~~~~~~~~
    C:\Users\tslot\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\cores\esp32/esp32-hal.h:73:47: note: in definition of macro 'ESP_REG'
    #define ESP_REG(addr) *((volatile uint32_t *)(addr))
    ^~~~
    c:\Users\tslot\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h: In function 'void directModeOutput(uint32_t)':
    c:\Users\tslot\Documents\Arduino\libraries\OneWire\util/OneWire_direct_gpio.h:232:38: error: 'esp32_gpioMux' was not declared in this scope
    ESP_REG(DR_REG_IO_MUX_BASE + esp32_gpioMux[pin].reg) = pinFunction;
    ^~~~~~~~~~~~~
    C:\Users\tslot\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\cores\esp32/esp32-hal.h:73:47: note: in definition of macro 'ESP_REG'
    #define ESP_REG(addr) *((volatile uint32_t *)(addr))
    ^~~~

    Compilation error: exit status 1

    Files are available, let me know howto share, e-mail, download link?

    Kind regards,

    Thijs