Digital sensor(IR) with Counter -Arduino and Simulink

When object is detected by IR sensor, Counter starts increasing. Alarm is ON, When counter reaches maximum value

https://youtu.be/Nc_Id2H3ttk

You are now following this Submission

IR sensor connected to Arduino(pin 2) and LED and Buzzer are connected to Digital output pin (13,8). Sensor detects the object and counter value is increasing. If the counter reaches maximum value 6, the Alarm is ON
The simulation circuit is developed for the application mentioned below and it is downloaded to Arduino.
Application:1. "Detection of Number of person entering lift/room/vehicle"
2. Counting living things/non living things

Cite As

R SRIRANJANI RAMAKRISHNAN (2026). Digital sensor(IR) with Counter -Arduino and Simulink (https://www.mathworks.com/matlabcentral/fileexchange/120313-digital-sensor-ir-with-counter-arduino-and-simulink), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0