The ingenious device cost just $2 to make, yet works almost as well as its expensive and cumbersome lab counterparts.