Skip to content

Commit

Permalink
I2C_AMMETER for Laser
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 8, 2021
1 parent a040c20 commit 96bdb2f
Show file tree
Hide file tree
Showing 244 changed files with 2,684 additions and 244 deletions.
12 changes: 11 additions & 1 deletion config/default/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/3DFabXYZ/Migbot/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/ADIMLab/Gantry v1/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/ADIMLab/Gantry v2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/AlephObjects/TAZ4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Alfawise/U20-bltouch/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3426,8 +3426,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Alfawise/U20/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3416,8 +3416,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/AliExpress/UM2pExt/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3417,8 +3417,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A2/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A2plus/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A6/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A8/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A8plus/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/A9/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/E10/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/E16/BTT SKR 1.3/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/E16/Stock/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/ET4+/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/ET4-Pro/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
12 changes: 11 additions & 1 deletion config/examples/Anet/ET4/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop

#endif

//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif

#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE

/**
* Synchronous Laser Control with M106/M107
Expand Down
Loading

0 comments on commit 96bdb2f

Please sign in to comment.