Real time damage detection through single low-cost smart sensor