Projects / Ideas / Conveyor item counter with IR distance

Conveyor item counter with IR distance

IntermediateIndustrialIdeaReviewed
In short

How do you build a conveyor item counter with IR distance?

A Sharp IR distance sensor counts boxes passing on a small conveyor by their height. You need Arduino Nano, Sharp GP2Y0A21YK0F IR distance sensor, 16x2 LCD with I2C backpack (PCF8574), DC motor 130 size (toy motor) and Tactile push button 6 mm.

Level
Intermediate
Time
About 90 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Count objects using a changing analog distance.

How to build it

  1. Mount the sensor over the belt
  2. Read the distance
  3. Detect the rise as a box passes
  4. Count each box
  5. Ignore bounces

Related projects

Common questions

What parts do I need for the conveyor item counter with IR distance?

Arduino Nano, Sharp GP2Y0A21YK0F IR distance sensor, 16x2 LCD with I2C backpack (PCF8574), DC motor 130 size (toy motor) and Tactile push button 6 mm.

How long does the conveyor item counter with IR distance take to build?

About 90 minutes for a intermediate maker.