remove(exec/bkplog):Retire old pressure logging script
[EVA-2020-02.git] / doc / pressure / README.org
CommitLineData
b6f22edb 1* Software
62066529
SBS
2** Dependencies
3Install packages using these commands:
4: $ sudo apt install python-smbus # Needed for bmp388.py
b6f22edb
SBS
5** BMP388 Pressure sensor
6The following command will download a repository containing a python
7script that can pull pressure data from the BerryGPS-IMU v3.5's BMP388
8: git clone https://github.com/getelectronics/PIBits.git
9*** 2020-04-10 Note regarding getting data from BMP388 (task:8a5607fe)
102020-04-10T03:03Z; baltakatei>
11
12- I ordered another two Raspberry Pi Zero W's and another BerryIMU-GPS.
13
14- I think I found the problem with the pressure sensor. According to a
15 2020-03-12 post by johnmark at
16 https://ozzmaker.com/forums/topic/temp-barometer/ , the BerryIMU-GPS
17 version 3.5 uses BMP388, not BMP280. johnmark posted a link to a
18 python script that works for the BMP388 pressure sensor at:
19
20 https://github.com/getelectronics/PIBits/blob/master/python/bmp388.py
21
22- I have downloaded this PIBits git repository to jalrasaroa-02 and am
23 testing it now. It works.
24
25- I am checking to see how I can automatically update the clock on
26 jalrasaora-02 via a network time server. Reading instructions at
27 https://www.garron.me/en/go2linux/how-to-set-date-and-time-linux.html
28 .
29
30- I am installing the `ntp` package described here:
31
32 https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-debian-10
33
34 $ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install ntp
35
36 - I confirmed that the ntp time synchronization service is running with:
37
38 sudo systemctl status ntp
39
40- I am creating a git repository to store executables and setup
41 instructions for Raspberry Pi Zero W's used for logging:
42
43 - Location (GPS WGS84)
44 - Air pressure (Pa)
45 - Temperature (°C)
46 - Direction (magnetic north heading)