Arduino IR Proximity Detector
Write an S-Function to detect proximity of an object and play a note in response. This project uses an IR LED that emits light in the IR region. An IR sensor (photo-transistor) is used in pair with the IR LED, and is connected closely to the IR LED. When an object is brought close to the IR-LED, IR-light will be reflected and will cause the light intensity to change, depending on how close the object is. The sensor will measure the changes in intensity and map those values to different notes.
In the modelling stage, use Simulink External Mode to run the model live-time in order to locate and program appropriate threshold values.
By:
Esther Ling, Edu Engineer
Citar como
Techsource Technical Team (2024). Arduino IR Proximity Detector (https://www.mathworks.com/matlabcentral/fileexchange/51987-arduino-ir-proximity-detector), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | Added image to mask. |