mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-21 21:58:06 -06:00
Add Power Monitor
This commit is contained in:
parent
0e64c5e75e
commit
0a8bf775f4
166 changed files with 2822 additions and 0 deletions
|
@ -3016,6 +3016,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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue