Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leak Detection Firmware #8

Open
4 tasks
davidlenfesty opened this issue Oct 26, 2019 · 2 comments
Open
4 tasks

Leak Detection Firmware #8

davidlenfesty opened this issue Oct 26, 2019 · 2 comments
Assignees

Comments

@davidlenfesty
Copy link
Contributor

davidlenfesty commented Oct 26, 2019

Hardware is complete for leak detection. FIrmware however, remains unimplemented.

Completion checklist:

  • Read leak voltage every n seconds
  • Find the threshold to say there is water detected
  • Figure out what message type to send, or make your own
  • Send that when a leak is detected.
@davidlenfesty
Copy link
Contributor Author

davidlenfesty commented Nov 23, 2019

Specifications we need:

Leaks are detected on pin 14, or Analog 0 (A0).
The more water is on the sensors, the higher this voltage will be.

You'll need to read the voltage and set a voltage threshold to to say when it leaks.

From there, you need to publish to can bus with avcan.equipment.safety.ArmingStatus,
and set to disarmed if there is a leak.

Eventually we'll make our own data types.

@davidlenfesty
Copy link
Contributor Author

This will be based on the internal environment board firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants