0
0
:
0
0
:
0
0
:
0
0
Celebrate 11 Years with Anycubic: Capture Your 3D Printing Moments.
Makeronline
2025-05-09 00:57:49
2.9k
140
Report

Digital Distance Counter with OLED Display

@singh_4310789
Message
Follow
Description

Digital Distance Counter with AS5600 Magnetic Encoder and OLED Display

 Project Description

This project is a high-precision digital distance counter based on an AS5600 magnetic angle sensor and an SSD1306 OLED display. It is designed to measure the distance traveled by a wheel with a known diameter, converting its rotation into meters, centimeters, millimeters, or inches, feet, and thousandths of an inch (mil).

 Main Components

  • AS5600 Magnetic Encoder (12-bit) – detects the rotation angle of the wheel with high accuracy
  • OLED SSD1306 128x64 Display – shows the measured distance in real time
  • Arduino (Uno, Nano, etc.) – the main controller for the system
  • Wheel with a circumference of 15 cm – attached to the shaft for motion tracking
  • Two buttons:
  • Reset – resets the distance counter
  • Mode switch – toggles between metric and imperial unit modes

 Key Features

  •  Accurate distance measurement based on the number of ticks read from the encoder
  •  Supports reverse direction: distance increases only when the wheel rotates counterclockwise
  •  Dual display modes:
  • Metric system: meters, centimeters, millimeters
  • Imperial system: inches, feet + inches, and mil
  •  Mode switch button to toggle unit systems
  •  Reset button to zero the measured distance
  •  High resolution using 12-bit precision from the AS5600 (4096 steps per revolution)
  •  Continuous real-time distance calculation
  •  Clear and structured display: large text for main units, smaller text for subunits

 Possible Applications

  • Measuring distances on surfaces (fabric, floors, terrain)
  • Mobile robotics
  • Handheld measuring tools
  • Industrial process length tracking

Material and assembly.

The Arduino code has been uploaded to the Documentation section.



Electrical connections.


Tags
arduino
meter
meter accessories
meter accessory
metro
dihital meter
metro digitale
as5600
encoder
magneticencoder
contametri
distancecounter
distanceometer
ssd1306
makerproject
millimetercounter
sensorproject
metrimisurati
diytools
tool
License
Standard Digital File License
This work is licensed under the Standard Digital File License.
You are prohibited from sharing, sub-licensing, selling, renting, hosting, transferring, or distributing the digital file or 3D printed versions of this object, as well as any other derivative work in either digital or physical form (including remixes).You are not allowed to use the objects in any manner that involves charging money or collecting fees without permission.
Documentation
TXT
Arduino code digital meter.txt
2.55KB