Challenge

Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter

Using Averaging method for the extract to filter the distance point.

The connection diagram is in the screenshot.

Serial monitor screenshot for value.

.ino file for code.

Abhishek Kumar

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.