Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Comments

  • We will have three types of events.

    • Action events will cause something to physically happen - like opening the relay or shutting down an MPPT. They have EVENT_PRIORITY_HIGHEST.

    • Fault events are raised when a fault is detected. They have EVENT_PRIORITY_HIGH.

    • Data ready events are raised by data_store when new data is available. They have EVENT_PRIORITY_NORMAL.

  • ICs we don’t need drivers for include:

    • ACS722 current sense: nothing configurable, hidden behind an MCP3427

  • From a separation-of-concerns standpoint it might make sense to move the MPPT fault detection logic out of sense_mppt to its own module since it isn’t strictly related to data collection, but that would be more complex and would require duplicating the soft timer logic (though that could be desired if we wanted to check faults more or less frequently). We could do it either way.

...