Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.41 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.41 KB

Datalogger Repo

This repo contains more experimentation with Embassy embedded crates. The high-level goal is to have a microcontroller that collects data and an application running on a PC that can interface with the microcontroller to control aspects of the collection process as well as grab, store, and display data.

┌───────────┐                            ┌───────┬─────────┬─┐
│Temperature│   I2C    ┌──────┐    USB   │       │Real-Time│ │
│Pressure   │◀────────▶│MCU   │◀───┐     │Mac    │   TUI   │ │
│Humidity   │          └──────┘    └────▶│       └─────────┘ │
└───────────┘                            │                   │
                                         └───────────────────┘

Quick Start

After cloning this repo run just embassy to make sure all the prerequisits are in the right places.

Building Firmware

cd into the firmware directory and run

cargo build

To program a target and run the program

cargo run --release

To run a specific binary inside the src/bin/ directory

cargo run --bin usb_raw --release

Requirements

  1. Embassy source code must be cloned locally (for now).