This submission includes measurement data of the Sharp IR Sensor that is used in a number of steps (different models) to build a plant model of the sensor. The model includes noise, high and low frequency spikes and the nonlinear characteristics of the sensor.
The knowledge from building the plant model is then used to implement proximity detection in a model that can be run on an Arduino Mega.
A detailed description of the development is located on: (https://www.hackster.io/matlab-makers/ir-proximity-sensors-with-simulinkand-arduino-part-1-037f3a ).
Roger Aarenstrup (2022). Developing Sharp IR proximity sensor model in Simulink(R) (https://www.mathworks.com/matlabcentral/fileexchange/44003-developing-sharp-ir-proximity-sensor-model-in-simulink-r), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!