Table of Contents

3D print WX station (OBSOLETE)

Web page

Instaled stations - OK1HRA-6 OK1KPA-6 OK1IRG weewx CR3DX-6


Electronics



Interactive BOM
Schematics

For incomplete PCB, need

  1. U10, U12, U15 soldered from side of PCB - order
  2. soldered U14 order
  3. rev 0.4 issue - change resistors to 100R or soldered over existing
  4. soldered P1 order
  5. soldered P2 order
  6. soldered EXT1, EXT2 order
  7. connect ESP32-POE order
  8. POE injector order
    1. Warning: do not connect POE and USB cable in same time!

After PCB assembly

  1. Test if works
    1. Upload firmware to ESP32-POE, connect usb terminal and test sensor with neodyme magnet.
    2. hall efect sensor detect only north pole of neodyme magnets, therefore try to attach for find north pole and sign it with permanent pen. The output of the closed sensor can be monitored in the CLI on line (1 is open)remoteqth.com_img_wiki-wx-station-03.jpg
       RpmPin 0 | Rain1Pin 1 | Rain2Pin 1
  2. Mask all connectors and sensors (U13, U14) and appply protective acrylic
    remoteqth.com_img_wiki-wx-station-04.jpgremoteqth.com_img_wiki-wx-station-05.jpg



Hardware

part pieces order URL
M3x10mm 7x https://www.tme.eu/cz/details/m3x10_d912-a2/srouby/kraftberg/
M2x10mm 4x https://www.tme.eu/cz/details/m2x10_d912-a2/srouby/kraftberg/
brass threaded rod M6x250mm 1x
brass M6 nut 2x
bearings 61802 2x https://www.zkl-loziska.cz/vyhledavani/?string=61802
https://www.tme.eu/cz/details/bb-6802-b180-30-es/valiva-loziska/igus/
neodymium magnet 12x6x2mm 4x https://www.unimagnet.cz/kv-12-06-02-n_z401/
neodymium magnet 5x3x1mm for rain sensor (NOT TESTED) 2x https://www.unimagnet.cz/kv-05-03-01-nh_z375/
magnet glue (or another) 1x https://www.unimagnet.cz/499-lepidlo-UHU-plus-endfest-300.html
cable tie with a metal clasp >2x https://www.tme.eu/cz/details/bt2s-c0/stahovaci-pasky/panduit/
PCB protective acrylic (optional) 1x https://www.tme.eu/cz/details/70_400/ochranne-a-stinici-povlaky/kontakt-chemie/74313-004/
stainless steel threaded rod M6x+-125mm 1x for balacing wind azimuth
External outdoor DS18B20 temperature sensor 1x optional



3D print


part filament weight
1,3,4,5,6.stl WHITE PETG 100g
0,2,7-14.stl NO-WHITE PETG 350g

Download 3d models
Part #2 designed for mounting tube with 58 mm diameter
For another diameter change value in OpenScad and export new .stl

        MountDia             =   58;   // tube size for mounting



Firmware upload

  1. Install Arduino IDE
  2. Install ESP32 support from GitHub
    1. prefered via board manager
    1. PubSubClient
    2. Adafruit_BMP280_Library
    3. Adafruit_HTU21DF_Library
    4. Adafruit_Unified_Sensor
    5. OneWire (optional if use external DS18B20 temperature sensor)
    6. DallasTemperature (optional if use external DS18B20 temperature sensor)
  3. Download firmware from GitGub
  4. Select menu Tools/Board:“OLIMEX ESP32-POE”
  5. Connect micro USB between ESP32-POE and PC
    1. WARNING: not connect USB cable and POE in same time!
  6. Select menu Tools/Port/YOUR-CONNECTED-PORT
  7. Upload firmware
  8. After firmware upload you can upload next version of the firmware via IP, if you computer in same network. In Arduino IDE shows another choice Network ports
  9. password for OTA upload is remoteqth
  10. After first upload also available upload binary via web

    - binary available on release page
    - web form find on http port 82 on WX station IP and /update foleder [WXstationIP]:82/update

Configure CLI

First step need get IP addres and telnet acces key

  1. After first upload firmware via USB, open serial monitor in Arduino IDE (Ctrl+Shift+M) and set
    1. baudrate to 115200
    2. No Line ending
  2. write
    ?

    and press enter show settings Command line interface

  3. Now copy and save
    • IP address
    • Key for telnet access (100 characters)

Key are generated automatically from internal pseudo random generator after start if EEPROM is clear. Therefore you can generate new key after clear EEPROM with E command.

Second step connect remotely via IP

How command are available

? List status information and command
a set wind speed alert, if exceed limit (not implemented)
O set pressure ofset in hPa
* enable/disable serial/telnet debug, switching between three status
disable, enable, enable frenetic mode
+ change MQTT broker IP and port - defailt value used RemoteQTH.com public MQTT broker
L change location name, or callsign with ssid if enable APRS
A enable/disable upload to hamradio APRS network (requires a valid license)
s enable/disable external temperature sensor DS18B20
connected to P4 by this schematics/picture

NOTICE
If use external temperature sensor DS18B20,
must add 4k7 pull-up rezistor
between +3,3V and data (pin 1 and pin3 on P4 connector)
remoteqth.com_img_wiki-wx-station-02.jpg

How to build passive thermometer sun shield
q disconect telnet, also show login verified IP address
Q disconect telnet with erase verified IP addres - will be required key in the next time you log in
e list EEPROM (only for debbuging)
. reset half hour timer and send measure to MQTT (and APRS if enable)
@ restart device (causes telnet disconnection)

Third step - MQTT

If open IP address of WX station in web browser, load MQTT-wall.
That propagate every half hour last measured value.



How to build

The screws do not need any nuts because the holes are conical.
  1. Check if all parts is presentremoteqth.com_img_wiki-wx-station-07.jpg

  2. Trim all soldered THT pin on back side of PCBremoteqth.com_img_wiki-wx-station-08a.jpg

  3. Use two screw M3x10 for mount PCB to printed parts number 2 and use two cable tieremoteqth.com_img_wiki-wx-station-08.jpg

  4. Use two screw M3x10 for mount PCB to printed parts number 1remoteqth.com_img_wiki-wx-station-09.jpg

  5. You can seal the hole on the top with siliconeremoteqth.com_img_wiki-wx-station-34.jpg

  6. Silicone top holeremoteqth.com_img_wiki-wx-station-35.jpg

  7. Slide in brass threaded rod M6x220mm
    Slide in printed parts number 7 and screw in 2x M2x10remoteqth.com_img_wiki-wx-station-11.jpg

  8. remoteqth.com_img_wiki-wx-station-36.jpg

  9. Press the bearing into printed parts number 8
    If need precise tuning outside diameter, use this value in OpenScad source
    BearingInTuning  = +20;  // +- smooth tuning bearing inner diameter in um

    remoteqth.com_img_wiki-wx-station-12.jpg

  10. Slide in neodymium magnet - magnet must be turned north side inwardsremoteqth.com_img_wiki-wx-station-13.jpg

  11. Slide the printed part onto the assembled partremoteqth.com_img_wiki-wx-station-14.jpgif your printer's tolerance is different, you can generate a set with select part number 16 in openScad source
    Part                      =    16;   // select part 0-16, -1=all, 16=variant of inner

  12. Slide in printed parts number 10 and screw in 2x M2x10remoteqth.com_img_wiki-wx-station-15.jpg

  13. Press the bearing into printed parts number 11
    If need precise tuning outside diameter, use this value in OpenScad source
    BearingInTuning  = +20;  // +- smooth tuning bearing inner diameter in um

    remoteqth.com_img_wiki-wx-station-16.jpg

  14. Slide in neodymium magnet - magnet must be turned north side topremoteqth.com_img_wiki-wx-station-17.jpg

  15. Slide the printed part onto the assembled partremoteqth.com_img_wiki-wx-station-18.jpgremoteqth.com_img_wiki-wx-station-19.jpg

  16. Slide in two small neodymium magnet - must be turned bottom north sideremoteqth.com_img_wiki-wx-station-20.jpg

  17. Screw in 2x M3x10 - after tightening, loosen by one turnremoteqth.com_img_wiki-wx-station-21.jpg

  18. Carefully insert the PCB coin and plug in to connectorremoteqth.com_img_wiki-wx-station-22.jpg

  19. Silicone top holeremoteqth.com_img_wiki-wx-station-37.jpg

  20. Put on printed parts number 12 and tighten with a brass nut
    free hole around PCB it is necessary to seal with siliconeremoteqth.com_img_wiki-wx-station-23.jpg

  21. The screw must not protrude beyond the nutremoteqth.com_img_wiki-wx-station-24.jpg

  22. Silicone top holeremoteqth.com_img_wiki-wx-station-38.jpg

  23. With press the pliers to put onremoteqth.com_img_wiki-wx-station-25.jpg

  24. Screw in M3x10 to printed parts number 14remoteqth.com_img_wiki-wx-station-26.jpg

  25. fit the azimuth blade and screw it on stainless steel threaded rod M6x125mm on, so as to keep them horizontally balanced - M6 nuts can be screwed in for balancing

  26. Fit part number 14 on part number 12 so that the locking screw is against the bottom holeremoteqth.com_img_wiki-wx-station-28.jpg

  27. Install the three anemometer bladesremoteqth.com_img_wiki-wx-station-29.jpg

  28. Connect ESP32-POE to PCB and fix with two lashing strapsremoteqth.com_img_wiki-wx-station-30.jpg

  29. Slide in printed part number 0 and fasten with a screw M3x10remoteqth.com_img_wiki-wx-station-32.jpg

  30. Pass two lashing straps to attach to the mastremoteqth.com_img_wiki-wx-station-33.jpg



Passive thermometer sun shield


This part needed for accurate measure of temperature.

M3 x10 mm 18x
M3 x 20mm 3x
Outdoor DS18B20 temperature sensor 1x
Plastic binder 5x



Instalation

ToDo