Development and analysis of a device for measuring compressive stress in concrete