Home 2018 Forums Crumble General Crumble Ultrasonic Tape Measure

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8325
    Dr_Alex
    Participant

    One problem with the Crumble, is that it is difficult to get data out of it. I’ve been able to get around this by using a servo for various projects, to give an analogue output. In this example, the ultrasonic sensor measures the distance to an object. It then converts this distance into an angle for the servo. Put a needle on the servo and some white card behind it. Move the servo in 10 Deg increments and mark off the angles. 1 Deg corresponds to 1 cm, and it can measure up to 180 cm in this way, with 1 cm resolution. If the distance is >180 cm, then the servo stays on zero. It could be improved by adding a sparkle to indicate the status, yellow for measuring underway, green when a valid result is produced and red when the distance is >180 cm.

    So in this way we can use a servo for all kinds of projects, to measure current, voltage, temperature etc, depending on the sensor we have on the Crumble. With two servos, you could even make a clock, with one scale indicating hours and the other minutes.

    #8450
    Daniel
    Moderator

    That’s a great set-up for getting information out of the Crumble! It’s amazing what solutions you can come up with to solve a problem.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.