Skip to content

Sender Resources

barrett edited this page Sep 17, 2023 · 6 revisions

The resources below may be used to create the new send_data.ino port. If you have something to add to the list, please include its name, link, and a description of why it could be useful.

Resources

Hardware

Some information about using our '22-23 hardware in Rust.

  • mpu6050 docs.rs: A replacement for the old Adafruit_MPU6050.h library - our accelerometer of choice.
    • Uses embedded_hal to abstract over the technical nonsense.
    • Requires a "concrete embedded_hal implementation." We'd probably just use the default for Arduino boards: avr-hal.
  • max31855.rs project: It seems that everyone and their mother is using the new MAX31855. Since there's no max6675 (thermocouple) library in Rust, we should make our own! We can start by looking to (and copying from) this project! (;
    • It's only one file with around 100 lines of code. Pretty easy to modify into our needs!
    • Adafruit's MAX6675-library: We can also look at this existing Adafruit C library for inspiration.
      • There are a couple problems mentioned in the (ancient) project's issues and PRs. Keep them in mind if we use it as a baseline comparison.
    • Note: MAX6675 production is discontinued - and has been for at least a decade. It might be worth upgrading the component itself so we can avoid building a library and also utilize more reliable hardware. This idea is particularly important if the new car's components are... new!
    • MAX6675 Specsheet: b/c we need to see pinouts, details, etc.
  • HC-12 Rust Lib: a simple library to abstract over the HC-12. (just another thing we don't have to build. we love our good friend barafael!!)

Software

Resources revolving around the different techniques we could use. May optimize for performance or maintainability.

Clone this wiki locally