Electronic mortar