Precision Inventory: The Digital Stock Counter
The Digital Stock Counter is a practical automation project designed for small warehouses, shops, or DIY enthusiasts. It replaces manual counting with high-speed digital accuracy, ensuring you never lose track of your stock again.

How It Works
The system utilizes an Infrared (IR) Proximity Sensor to detect objects.
- The Detection: When an item passes in front of the IR sensor, it reflects the IR beam back to the receiver.
- The Logic: The Arduino detects this signal change and increments a internal variable.
- The Feedback: The current "Stock Count" is displayed live on a 16x2 I2C LCD screen.
- The Reset: A physical push button is included to reset the count to zero whenever needed.
Key Hardware
- Arduino Uno/Nano: The logic controller.
- IR Proximity Sensor (Digital): The detection unit.
- 16x2 LCD Display (I2C preferred): For clear visual feedback.
- Tactile Push Button: For resetting the system.
- Buzzer (Optional): To provide an audible "beep" every time an item is counted.

Why This Project?
Building a stock counter teaches you about debouncing (ensuring one object doesn't count as two) and interfacing with digital sensors. It’s a scalable project; you can easily add an SD card module to log data or an Ethernet/Wi-Fi shield to send count data directly to a cloud spreadsheet.