Designing a Digital Ruler with Arduino