|
| | adc_chain.h |
| | The six ADC conversions of the 3-phase board, and the ADMUX pipeline of the free-running ADC.
|
| |
| | calibration.h |
| | Calibration values definition.
|
| |
| | config.h |
| | Router configuration: loads, relays, control pins and features.
|
| |
| | config_derived.h |
| | The configuration as the firmware uses it: the settings, and what is built from them.
|
| |
| | config_rf.h |
| | RF module configuration for RFM69.
|
| |
| | config_system.h |
| | Basic configuration values to be set by the end-user.
|
| |
| | config_types.h |
| | What config.h is written with: its types, constants and helpers.
|
| |
| | constants.h |
| | Some constants.
|
| |
| | ct_filter.h |
| | The CT filter: a low-pass of the current added back with a gain, one per phase.
|
| |
| | datalog_math.h |
| | Integer arithmetic of the datalog: power and RMS voltage per phase.
|
| |
| | debug.h |
| | The text output: informational messages (info) and debug messages (debug)
|
| |
| | ds18b20.h |
| | The checks of a DS18B20 reading: CRC, conversion to hundredths of °C, range, power-on value.
|
| |
| | dualtariff.h |
| | The scheduled boosts of the dual tariff, resolved at compile time.
|
| |
| | energy_bucket.h |
| | Integer arithmetic of the energy bucket.
|
| |
| | ewma_avg.hpp |
| | This file implements an Exponentially Weighted Moving Average template class.
|
| |
| | FastDivision.cpp |
| |
| | FastDivision.h |
| |
| | load_map.h |
| | Encoding of the load map: one packed byte per dump load.
|
| |
| | load_priorities.h |
| | The load priority state machine: which load to switch at each mains cycle.
|
| |
| | main.cpp |
| | Main code for the PVRouter 3-phase project.
|
| |
| | main.h |
| | Header file for the main application.
|
| |
| | Mk2_3phase_RFdatalog_temp.ino |
| | A photovoltaic energy diverter.
|
| |
| | mult_asm.h |
| | Assembly-optimized multiplication functions for AVR microcontrollers.
|
| |
| | onewire_search.h |
| | The ROM search of a 1-Wire bus, on the bit primitives of the bus.
|
| |
| | override_masks.h |
| | The forced outputs: the override pins, and the scheduled boosts of the dual tariff.
|
| |
| | pin_edges.h |
| | The edges of the active-LOW input pins: pressed, released, or no change.
|
| |
| | processing.cpp |
| | Implements the processing engine.
|
| |
| | processing.h |
| | Public functions/variables of processing engine.
|
| |
| | relay_engine.h |
| | Decisions of the relay diversion: which relay switches, and when.
|
| |
| | remote_loads.h |
| | Support for remotely controlled loads via RF using RFM69.
|
| |
| | remote_loads_core.h |
| | Unit grouping and payload bookkeeping for remotely controlled loads.
|
| |
| | rotation_groups.h |
| | The rotation groups: which loads take turns, checked and resolved at compile time.
|
| |
| | serial_output.h |
| | Non-blocking serial output of the datalog.
|
| |
| | shared_var.h |
| |
| | teleinfo.h |
| | The telemetry frame of the IoT output, written a line at a time.
|
| |
| | temp_schedule.h |
| | Which 1-Wire transaction of the temperature sensors runs on which mains cycle.
|
| |
| | type_traits.hpp |
| | Some useful but missing stl functions templates.
|
| |
| | types.h |
| | Some basics classes/types.
|
| |
| | utils.h |
| | Some utility functions.
|
| |
| | utils_bits.h |
| | Bit manipulation utility functions.
|
| |
| | utils_dualtariff.h |
| | Some utility functions for dual tariff feature.
|
| |
| | utils_override.h |
| | Compile-time utilities for managing override pins and index-to-bitmask mapping.
|
| |
| | utils_pins.h |
| | Some utility functions for pins manipulation.
|
| |
| | utils_relay.h |
| | Some utility functions for the relay output feature.
|
| |
| | utils_rf.h |
| | RF module support for RFM69.
|
| |
| | utils_temp.h |
| | Provides utilities for managing temperature sensors.
|
| |
| | validation.h |
| | Compile-time validations.
|
| |
| | version.h |
| |