Menu

  • Purchase
  • FAQs
  • Forums
  • OpenThings
  • Support
  • About Us

Reply To: OG shows same distance measure no matter the distance

OpenGarage › Forums › Hardware Questions › OG shows same distance measure no matter the distance › Reply To: OG shows same distance measure no matter the distance

September 7, 2017 at 8:24 pm #648

lawrence_jeff
Participant

FYI – 562 is what is returned if the read distance function hits this code
if (lapse>32767L) lapse = 32767L;

and then in the conversion function 32767 is multiplied by 0.01716f which gives you 562

So the distance sensor isn’t properly working or connected.

Resources

  • Contact Us
  • Shipping
  • Return Policy
  • Terms and Conditions
  • Privacy Policy

Follow Us

Copyright © 2025 OpenGarage