User Tools

Site Tools


operations:temphumidmonitor

This wiki is not maintained! Do not use this when setting up AuScope experiments!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
operations:temphumidmonitor [2019/03/25 21:02]
Jim Lovell [Monitoring at AuScope sites]
operations:temphumidmonitor [2019/03/25 21:17]
Jim Lovell
Line 4: Line 4:
  
 First system is in at Katherine which has two raspberry pi PCs, one for the antenna and one for the maser room. The other sites will have PCs in the antenna. First system is in at Katherine which has two raspberry pi PCs, one for the antenna and one for the maser room. The other sites will have PCs in the antenna.
-===== Access: ===== 
  
-Access via VNC or SSH:+===== Hardware and Software setup ===== 
 + 
 +  * [[operations:temphumidmonitor_hardware|Hardware setup and configuration]] 
 +  * [[operations:​temphumidmonitor_software|Software setup and configuration]]
  
-username is pi, password is as usual+====== Hardware setup and configuration ======
  
 +Katherine is set up with a different set of temperature and humidity sensors to the other two sites (DHT11 compared to DHT22). The Raspberry Pi in the maser room also has an Arduino board attached to it for the accelerometer and some analog temperature sensors.
  
-===== Hardware setup =====+===== Katherine ​=====
  
 Connect the Raspberry Pi to the Arduino via a USB cable. The Arduino will get power via the cable but it's a good idea to also give the Arduino power via a DC power supply as this provides a more stable reference voltage for the analog sensors. Connect the Raspberry Pi to the Arduino via a USB cable. The Arduino will get power via the cable but it's a good idea to also give the Arduino power via a DC power supply as this provides a more stable reference voltage for the analog sensors.
Line 24: Line 27:
  
 {{ :​operations:​dpi_at_raspberry_pi_gpio_pinout.png?​direct&​100 | RPi pinout diagram}} {{ :​operations:​dpi_at_raspberry_pi_gpio_pinout.png?​direct&​100 | RPi pinout diagram}}
- 
-Edit the ''​TempHumid.conf''​ file accordingly (see below), then either restart the software by typing CTRL-C in the start_THRecord xterm or by rebooting the Pi. 
  
 ==== IR transmitters,​ receivers ==== ==== IR transmitters,​ receivers ====
Line 64: Line 65:
  
  
-===== DHT11 monitoring Software =====+ 
 + 
 +===== Hobart and Yarragadee ===== 
 + 
 +====== Software ====== 
 + 
 +===== All sites ===== 
 + 
 + 
 +Edit the ''​TempHumid.conf''​ file accordingly (see below), then either restart the software by typing CTRL-C in the start_THRecord xterm or by rebooting the Pi. 
 + 
 +===== Temperature and Humidity ​monitoring Software =====
 Software, config file etc are stored in ''​~pi/​TempHumid''​ Software, config file etc are stored in ''​~pi/​TempHumid''​
  
Line 88: Line 100:
   * ''​client_test.py'':​ a test script to poll the server and get the most recent data   * ''​client_test.py'':​ a test script to poll the server and get the most recent data
   * ''​start_THRecord.sh''​ and ''​start_THServer.sh''​ are started automatically after the RPi boots into a desktop session, so a reboot of the RPi should start these processes. They are called from ''​~/​.config/​lxsession/​LXDE-pi/​autostart''​. Edit this file if you want to change what happens when the desktop starts.   * ''​start_THRecord.sh''​ and ''​start_THServer.sh''​ are started automatically after the RPi boots into a desktop session, so a reboot of the RPi should start these processes. They are called from ''​~/​.config/​lxsession/​LXDE-pi/​autostart''​. Edit this file if you want to change what happens when the desktop starts.
 +
 +
 +
 +
 +===== Katherine =====
  
 ===== Accelerometer,​ Analog temp/humid monitoring Software ====== ===== Accelerometer,​ Analog temp/humid monitoring Software ======
-A work in progress...+A work in progress... The accelerometer data are available via the web but an alarm system for jolts needs to be implemented. At the moment, no analog temp/humid sensors are in use.
  
 ===== Software for IR remote control of aircon ====== ===== Software for IR remote control of aircon ======
-A work in progress...+A work in progress... ​Some preliminary work has been done but we are having trouble '​learning'​ the remote. 
 + 
 + 
 + 
 +===== Access: ===== 
 + 
 +Access via VNC or SSH: 
 + 
 +username is ''​pi'',​ password is as usual 
  
 ====== Network config ===== ====== Network config =====
 This should be done already, but just in case... This should be done already, but just in case...
  
-For masertempke the IP address should be 131.217.61.28. +  * For masertempke the IP address should be 131.217.61.28. 
-For antennatempke the IP address should be 131.217.61.29.+  ​* ​For antennatempke the IP address should be 131.217.61.29.
  
 Edit ''/​etc/​dhcpcd.conf'':​ Edit ''/​etc/​dhcpcd.conf'':​
Line 118: Line 144:
  
 [[operations:​temphumidmonitorrpi|Configuring Raspberry Pis for Temperature and Humidity monitoring]] [[operations:​temphumidmonitorrpi|Configuring Raspberry Pis for Temperature and Humidity monitoring]]
- 
/home/www/auscope/opswiki/data/pages/operations/temphumidmonitor.txt · Last modified: 2019/03/25 21:20 by Jim Lovell