December 5, 2018 at 10:00 am #8325
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.
Attachments:You must be logged in to view attached files.December 20, 2018 at 1:35 pm #8450
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.
You must be logged in to reply to this topic.