Mechanisms for dispensing products such as pharmaceutical and medical supplies are disclosed. Different mechanisms can be customized to dispense different types of products, such as vials, syringes, other similarly shaped products, or medications in a single dosage package. The dispensers can be arranged in a dispensing unit, which has a lockable resupply drawer and a dispensing drawer, so that products are dispensed into the dispensing drawer by a dispensing mechanism. Various types of dispensing mechanisms can be installed in the resupply drawer in any operable ratio and configuration. The dispensing mechanism includes a number of sensing techniques for tracking and inventory of products and for accurate sensing of products when they are dispensed.약품 및 의료용 공급품과 같은 제품을 분배하는 메커니즘이 개시된다. 예를 들어 약병, 주사기, 다른 유사하게 형상화된 제품 또는 단일 투약 패키지에 있는 약품과 같은, 상이한 종류의 제품들을 분배하도록 상이한 메커니즘이 주문 제작될 수 있다. 분배기들은 분배 유닛에 배치될 수 있으며, 이것은 잠글 수 있는 재공급 서랍 및 분배 서랍을 구비하여, 분배 서랍 안으로 제품들이 분배 메커니즘에 의해 분배된다. 다양한 종류의 분배 메커니즘들이 그 어떤 작동 가능한 비율 및 구성으로도 재공급 서랍 안에 설치될 수 있다. 분배 메커니즘은 제품들의 추적 및 재고 조사를 위하여 그리고 제품이들이 분배될 때 제품의 정확한 감지를 위하여 다수의 감지 기술을 포함한다.