A surgical instrument , comprising: a motor configured to generate a closure motion; an end effector configured to grasp tissue, the end effector comprising: a first jaw comprising an anvil comprising a first tissue contacting surface; a second jaw, wherein the closure motion causes at least one of the first jaw and the second jaw to move relative to the other to transition the end effector toward a closed configuration; a staple cartridge seatable in the second jaw, wherein the staple cartridge comprises: a cartridge deck comprising a second tissue contacting surface; a cartridge body; staples removably stored in the cartridge body; and a sensor; and a control circuit configured to: measure a physical parameter of the staple cartridge , wherein the physical parameter is a tissue gap, wherein measuring the physical parameter comprises: detecting the closed configuration based on a current draw of the motor ; and determining a minimum gap between the anvil and the staple cartridge from an output signal of the sensor at the closed configuration; and modulate a control parameter of the surgical instrument based on the tissue gap of the staple cartridge measured by the control circuit. a motor configured to generate a closure motion; an end effector configured to grasp tissue, the end effector comprising: a first jaw comprising an anvil comprising a first tissue contacting surface; a second jaw, wherein the closure motion causes at least one of the first jaw and the second jaw to move relative to the other to transition the end effector toward a closed configuration; a staple cartridge seatable in the second jaw, wherein the staple cartridge comprises: a cartridge deck comprising a second tissue contacting surface; a cartridge body; staples removably stored in the cartridge body; and a sensor; and a first jaw comprising an anvil comprising a first tissue contacting surface; a second jaw, wherein the closure motion causes at least one of the first jaw and the second jaw to move relative to the other to transition the end effector toward a closed configuration; a staple cartridge seatable in the second jaw, wherein the staple cartridge comprises: a cartridge deck comprising a second tissue contacting surface; a cartridge body; staples removably stored in the cartridge body; and a sensor; and a cartridge deck comprising a second tissue contacting surface; a cartridge body; staples removably stored in the cartridge body; and a sensor; and a control circuit configured to: measure a physical parameter of the staple cartridge , wherein the physical parameter is a tissue gap, wherein measuring the physical parameter comprises: detecting the closed configuration based on a current draw of the motor ; and determining a minimum gap between the anvil and the staple cartridge from an output signal of the sensor at the closed configuration; and modulate a control parameter of the surgical instrument based on the tissue gap of the staple cartridge measured by the control circuit. measure a physical parameter of the staple cartridge , wherein the physical parameter is a tissue gap, wherein measuring the physical parameter comprises: detecting the closed configuration based on a current draw of the motor ; and determining a minimum gap between the anvil and the staple cartridge from an output signal of the sensor at the closed configuration; and modulate a control parameter of the surgical instrument based on the tissue gap of the staple cartridge measured by the control circuit. <EOS>