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
Next revision
Previous revision
Next revision Both sides next revision
operations:temphumidmonitor [2018/09/09 22:00]
Jim Lovell [Configuration:]
operations:temphumidmonitor [2018/09/11 07:22]
Jim Lovell [Software]
Line 1: Line 1:
-====== ​Temperature and Humidity monitoring ​at AuScope sites ======+====== ​Monitoring ​at AuScope sites ======
  
 First system will go in at Katherine soon. There are two raspberry pi PCs, one for the antenna and one for the maser room. First system will go in at Katherine soon. There are two raspberry pi PCs, one for the antenna and one for the maser room.
Line 11: Line 11:
  
 ===== Hardware setup ===== ===== Hardware setup =====
 +
 +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.
 +
 +==== DHT11 temperature and humidity sensors ====
  
 Each DHT11 sensor requires 3.3 - 5V, ground and a digital input pin. Pinouts are shown below: Each DHT11 sensor requires 3.3 - 5V, ground and a digital input pin. Pinouts are shown below:
Line 22: Line 26:
 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. 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.
  
-===== Software =====+==== IR transmitters,​ receivers ​==== 
 +These have three pins as well: 
 +<​code>​ 
 +pin    connection 
 +---    --------------- 
 +-      GND 
 +middle +5V 
 +S      digital signal 
 +</​code>​ 
 +Connect them to the Raspberry Pi. Any GND or +5V pin will be fine. 
 +Use any digital pin on the Pi and make sure they are set to "​False"​ in ''​TempHumid.conf''​ (you can give them an appropriate label though). See below. 
 + 
 +==== Accelerometer ==== 
 +This should be connected to the Arduino: 
 +<​code>​ 
 +module pin    Arduino connection 
 +---------- ​   --------------- 
 +VCC           +5V 
 +X out         A0 
 +Y out         A1 
 +Z out         A2 
 +GND           GND 
 +</​code>​ 
 + 
 +Attach the accelerometer to the maser (or whatever you want to measure). You might want to align it according to the orientation diagram on the module. 
 +==== Analog (Eric) Temperature/​Humidity Sensor ==== 
 +This should also be connected to the Arduino: 
 +<​code>​ 
 +module pin    Arduino connection 
 +---------- ​   --------------- 
 +T             A3 
 +G             GND 
 +H             A4 
 +5V            +5V 
 +</​code>​ 
 + 
 + 
 +===== DHT11 monitoring ​Software =====
 Software, config file etc are stored in ''​~pi/​TempHumid''​ Software, config file etc are stored in ''​~pi/​TempHumid''​
  
Line 48: Line 89:
  
 ==== Network config ==== ==== Network config ====
-Edit these files to change ​the network ​configuration:+For masertempke the IP address should be 131.217.61.28. 
 +For antennatempke the IP address should be 131.217.61.29. 
 + 
 +Edit ''/​etc/​dhcpcd.conf'':​ 
 + 
 +<​code>​ 
 +interface eth0 
 +static ip_address=131.217.61.28/​26 
 +# /26 = netmask of 255.255.255.192 
 +static routers=131.217.61.1 
 +static domain_name_servers=131.217.0.19 
 +</​code>​ 
 + 
 +The hostname should be correct but can be set via the Preferences/​Raspberry Pi configuration ​GUI on the desktop. 
 + 
 +Reboot.
  
 ==== Packages installed ==== ==== Packages installed ====
/home/www/auscope/opswiki/data/pages/operations/temphumidmonitor.txt · Last modified: 2019/03/25 21:20 by Jim Lovell