-
Dependencies:
- Python v3.5 or 3.6 or later, and the following modules:
- pyserial >= 3.3
- RPi.GPIO >= 0.6.3
- The following system packages are required for full functionality of the USB collector copying:
- ntfs-3g
- exfat-fuse
- exfat-utils
- Python v3.5 or 3.6 or later, and the following modules:
-
Installation:
-
The installation of atgmlogger on a Raspberry Pi requires several supporting configuration changes and updates; to automate the process an ansible playbook is provided: ATGMLogger Ansible Playbook
-
In general the following steps are taken to prepare the system:
- Configure values in /boot/cmdline.txt and /boot/config.txt to enable UART and disable the TTY on the serial GPIO
- Install dependencies that enable the use of NTFS/FAT/EXFAT formatted external devices (for data retrieval)
- Add a UDEV rule and systemd mount unit to auto-mount any removable block device (e.g. USB drive) in order to allow copying of logged data for retrieval
- Add a logrotate configuration to automatically rotate data and application logs
- Install python3 and the ATGMLogger python application
- Install a systemd service unit file to control the automatic startup of the ATGMLogger application
- Secure the raspberry Pi by changing the default 'pi' user password, and adding an authorized key for factory maintenance usage
-
-
Execution:
-
Once installed with the ansible deploy playbook, ATGMLogger will automatically start every time the system is booted via a systemd service unit.
-
ATGMLogger can otherwise be manually executed (e.g. for debugging purposes) with the following command
/usr/bin/python3 -m atgmlogger -vvv
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Dynamic Gravity System Serial Data Logger
License
DynamicGravitySystems/atgmlogger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Dynamic Gravity System Serial Data Logger
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published