- Wireless Power TransferPosted 2 hours ago
- Robot Punchers with ArduinoPosted 1 day ago
- A minimal 3D-printed scalePosted 3 days ago
- Expanding the pins of a microcontrollerPosted 6 days ago
- Let’s create a small level with a matrix displayPosted 1 week ago
- ChatGPT: Writing Code with Artificial IntelligencePosted 1 week ago
- Free Webinar: Arduino IoT Cloud and ESP32 DemoboardPosted 1 week ago
- Maker Faire Rome – The European edition and FAE Technology launch the contest “MY Maker PCBA: your electronics for a better planet”Posted 3 months ago
- Efficient and Compact Stereo Power Amplifier: Unleash High-Quality Audio with the PAM8610Posted 3 months ago
- Terminus FE1.1 USB hub board: the solution to connect four USB devicesPosted 6 months ago
Arduino Range Measurer and Digital Spirit Level
“The device features an ultrasonic sensor for measuring the distance to the nearest object, an accelerometer for measuring the angle with respect to the ground, an LCD display for showing the results and a custom designed PCB on which all components are connected.”
Combining an ultrasonic sensor for range measurement and an accelerometer for measuring angles leads to a double advantage: it saves space, and allows the Arduino Nano onboard to use the two readings together to calculate a square area automatically. That is what the maker Dejan Nedelkovski of How To Mechatronics implemented in his project.
User interface consists of a power switch, along with a single button for program interaction and to choose between the different measurement routines. Results are displayed on an LCD screen, and the electronics are encased in clear acrylic for visibility.
All you need for this project is:
- Ultrasonic Sensor HC-SR04
- MPU6050 3 Axis Gyroscope Accelerometer
- 16×2 Character LCD
- Arduino Nano
Code, schematics and the full tutorial are available at howtomechatronics.com.