Power monitor and display (#17437)
This commit is contained in:
@ -2984,6 +2984,23 @@
|
||||
//#define FILAMENT_LCD_DISPLAY
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Power Monitor
|
||||
* Monitor voltage (V) and/or current (A), and -when possible- power (W)
|
||||
*
|
||||
* Read and configure with M430
|
||||
*
|
||||
* The current sensor feeds DC voltage (relative to the measured current) to an analog pin
|
||||
* The voltage sensor feeds DC voltage (relative to the measured voltage) to an analog pin
|
||||
*/
|
||||
//#define POWER_MONITOR_CURRENT // Monitor the system current
|
||||
//#define POWER_MONITOR_VOLTAGE // Monitor the system voltage
|
||||
#if EITHER(POWER_MONITOR_CURRENT, POWER_MONITOR_VOLTAGE)
|
||||
#define POWER_MONITOR_VOLTS_PER_AMP 0.05000 // Input voltage to the MCU analog pin per amp - DO NOT apply more than ADC_VREF!
|
||||
#define POWER_MONITOR_VOLTS_PER_VOLT 0.11786 // Input voltage to the MCU analog pin per volt - DO NOT apply more than ADC_VREF!
|
||||
#define POWER_MONITOR_FIXED_VOLTAGE 13.6 // Voltage for a current sensor with no voltage sensor (for power display)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* CNC Coordinate Systems
|
||||
*
|
||||
|
Reference in New Issue
Block a user