A dispensing system comprises a cartridge 20 and a cabinet 10. The cartridge comprises a body having an exterior and a plurality of bins 32, with a plurality of lids 30 movably attached to the body, and a connector having contacts exposed on the exterior of the body. The lids have closed positions wherein the lids cover the respective bins. The cartridge is configured such that the lids cannot be opened except by receipt of a command signal by the cartridge through the connector. The cabinet comprises a housing 11 having a docking location configured to accept a cartridge, a docking connector attached to the housing, and a controller coupled to the docking connector. The housing is configured such that the docking connector connects to the cartridge connector when the cartridge is placed on the docking location. The controller is configured to send the command signals to the cartridge via the docking connector to open one of the lids.