User Tools

Site Tools


eolab:weather_station:makerere:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
eolab:weather_station:makerere:start [2026/06/29 16:08] – [Table] harley.laraeolab:weather_station:makerere:start [2026/07/02 11:08] (current) – [Raspberry] harley.lara
Line 3: Line 3:
 ===== List of Components ===== ===== List of Components =====
  
-^ Component                                                                                                                                            ^ Reference Docs                                                                                                                                    +^ Expected Env. Var  ^ Component                                                                                                                                            ^ Signal                                                      ^ Reference Docs                                                                                                                                                                                                                                                                                                                                                                                                                                  
-| Rain-O-Matic "Professional" rain gauge                                                                                                               | [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:rain%E2%80%90o%E2%80%90matic-professional-rain-gauge.pdf|Manual]]  +| mm/min             | [[https://pronamic.com/products/professional-rain-and-precipitation-sensor/| Rain-O-Matic "Professional" rain gauge]]                                | Pulse from High to Low and back to High                     | [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:rain%E2%80%90o%E2%80%90matic-professional-rain-gauge.pdf|Manual]]                                                                                                                                                                                                                                                                                                
-| [[https://www.thiesclima.com/en/small-wind-transmitters/small-wind-transmitter~4.3515.30.000/| Small Wind Transmitter]]                              |                                                                                                                                                   +| m/s                | [[https://www.thiesclima.com/en/small-wind-transmitters/small-wind-transmitter~4.3515.30.000/| Small Wind Transmitter]]                              | Pulses in Hz. 50 Hz @ 40 m/s                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                 
-| [[https://www.thiesclima.com/en/compact--industrial-standard/wind-direction-transmitter-compact~4.3129.00.xxx/|Wind Direction Transmitter Compact]]                                                                                                                                                   +| deg                | [[https://www.thiesclima.com/en/compact--industrial-standard/wind-direction-transmitter-compact~4.3129.00.xxx/|Wind Direction Transmitter Compact]] Current 0 to 20mA. 0 and 20mA Magnetic North                |                                                                                                                                                                                                                                                                                                                                                                                                                                                 
-| Rotronic HygroClip2 HC2A-S                                                                                                                           | [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:hc2a-humidity-probes.pdf| Probes]]                                 |+| Temp. and %RH      | [[https://de.rs-online.com/web/p/hygrometer/1365501| Rotronic HygroClip2 HC2A-S]]                                                                    | Digital signal UART                                         | [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:hc2a-humidity-probes.pdf| Probes]] [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:hc2a-guide.pdfGuide]] [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:hc2a-manual.pdf| Manual]] [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:hc2a-mounting.pdf| Mounting]] 
 +| W/m2               | [[https://www.kippzonen.com/products/cmp3_pyranometer| Kipp & Zonen CMP3 Pyranometer]]                                                               | Voltage 20.39 uV per W/m**2 (from calibration certificate_  | [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:cmp-manual.pdf| Manual ]] [[https://wiki.eolab.de/lib/exe/fetch.php?media=eolab:weather_station:makerere:cmp3.pdf| Datasheet ]]                                                                                                                                                                                                                                  | 
 +|                    | [[https://www.raspberrypi.com/products/raspberry-pi-zero-w/| Raspberry Pi Zero W]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 
 + 
 +===== Raspberry =====  
 + 
 +[[https://www.raspberrypi.com/documentation/computers/getting-started.html | Raspberry Pi Setup]] 
 +[[https://www.pi4j.com/1.2/pins/model-2b-rev1.html | Pin Numbering - Raspberry Pi 2 Model B]] 
 + 
 +===== First Program =====  
 + 
 +Rain Bucket 
 + 
 +<file python intro.py> 
 +import time 
 +import RPi.GPIO as GPIO 
 + 
 +BUCKET_PIN = 7 
 + 
 +GPIO.setmode(GPIO.BOARD) 
 + 
 +GPIO.setup(BUCKET_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP) 
 + 
 +def bucket_back(channel): 
 +    print("Back"
 + 
 +GPIO.add_event_detect(BUCKET_PIN, GPIO.RISING, callback=bucket_back) 
 + 
 +try: 
 +    while True: 
 +        time.sleep(0.1) 
 +except KeyboardInterrupt: 
 +    pass 
 + 
 +GPIO.cleanup() 
 + 
 +</file> 
eolab/weather_station/makerere/start.1782742118.txt.gz · Last modified: 2026/06/29 16:08 by harley.lara