Engineering team invents affordable medical sensor