Some resources to help you getting started with STM32 programming.
2 Item Items
Warning: Last items in stock!
Expected Availability Date:
By buying this product you can collect up to 42 loyalty points. Your cart will total 42 points that can be converted into a voucher of ₹ 4.20.
This popular sensor made by Sharp produces an analog output that varies from 3.1V at 4cm to 0.3V at 30cm. Based on 'typical values' from Sharp, the formula to translate Sensor value into Distance (the formula is only valid for a Sensor value between 80 to 530) is:
Distance (cm) = 2076/(SensorValue - 11)
This sensor can find the distance to objects that present a very narrow edge such as a wall at a very sharp angle.
Note: The output of this sensor will vary from unit to unit, and based on the characteristics of the target (reflectance, size, direction of motion, object alignment, ...). If you find that you are not getting good results with the standard formulas, you may want to derive your own formula to better characterize your situation.