Skip to content
This repo all code related to MHP's DAS project.
C Python Roff C++ Shell Makefile JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Raspi
Teensy
.all-contributorsrc
.gitignore
.travis.yml
README.md

README.md

Monash Human Power Data Acquisition System

All Contributors

Codacy Badge

The Data Acquisition System (DAS) allows us to collect and store data from various sensors attached to the bike. The DAS consists of a Raspberry Pi which serves as the main ‘brain’ of the system, and a Teensy LC in which the sensors interface with. This manual acts as an operating guide to use the DAS.

This repository contains all the code related to Monash Human Power's Data Acquisition System (DAS).

Getting Started

  1. Type git clone https://github.com/Monash-Human-Power/MHP_DAS.git on the command line to download the whole repository.
  2. Type git submodule update --init on the command line to download and update the submodules within the repository.

Contents

Raspi

DAS.js

node.js program we run to communicate to the Teensy that is connected to the Raspberry Pi via serial communication.

Test/serial_test.py

Imitates the Teensy serial connection by creating a virtual serial port. Note that this will only work on Unix systems - if you're running Windows, perhaps try running the script under Windows Subsystem for Linux (WSL).

Usage: This script uses the same arguments as mqtt_test.py. For example, run the script with python serial_test.py -f data_173.csv -j 1500. The script will provide you with a serial port address. Run the DAS script with node DAS.js -a -p [serial port]. Return to the serial_test terminal, and press enter to begin sending data.

Teensy

Script Name Description
DAS.ino Script that collects data from each sensor
DAS_MOCK.ino Script that mocks fake data coming into the Teensy. Useful for checking if serial communication is working
DAS_NO_GPS.ino DAS.ino with the GPS disabled. Useful for testing the DAS inside.

Contributors

Thanks goes to these wonderful people (emoji key):

Harsil Patel
Harsil Patel

💻
Angus Lee
Angus Lee

💻
pdgra1
pdgra1

💻
Christopher Hall
Christopher Hall

💻
chamaka wijesinghe
chamaka wijesinghe

💻
Riley Clarke
Riley Clarke

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

You can’t perform that action at this time.